bandwidth-sdk 14.0.0 → 14.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/Gemfile.lock +10 -10
 - data/README.md +42 -10
 - data/bandwidth.yml +1113 -0
 - data/coverage/.last_run.json +1 -1
 - data/coverage/.resultset.json +1204 -231
 - data/coverage/index.html +20499 -10053
 - data/custom_templates/README.mustache +6 -6
 - data/docs/AdditionalDenialReason.md +22 -0
 - data/docs/Address.md +30 -0
 - data/docs/Contact.md +24 -0
 - data/docs/Error.md +22 -0
 - data/docs/FailureWebhook.md +28 -0
 - data/docs/InitiateCallback.md +3 -1
 - data/docs/LinksObject.md +24 -0
 - data/docs/OptInWorkflow.md +20 -0
 - data/docs/TelephoneNumber.md +18 -0
 - data/docs/TfvBasicAuthentication.md +20 -0
 - data/docs/{PublishPermissionsEnum.md → TfvCallbackStatusEnum.md} +2 -2
 - data/docs/TfvError.md +22 -0
 - data/docs/TfvStatus.md +32 -0
 - data/docs/{DeviceApiVersionEnum.md → TfvStatusEnum.md} +2 -2
 - data/docs/TfvSubmissionInfo.md +34 -0
 - data/docs/TfvSubmissionWrapper.md +18 -0
 - data/docs/TollFreeVerificationApi.md +585 -0
 - data/docs/VerificationDenialWebhook.md +32 -0
 - data/docs/VerificationRequest.md +36 -0
 - data/docs/VerificationUpdateRequest.md +34 -0
 - data/docs/VerificationWebhook.md +24 -0
 - data/docs/WebhookSubscription.md +30 -0
 - data/docs/WebhookSubscriptionBasicAuthentication.md +20 -0
 - data/docs/WebhookSubscriptionRequestSchema.md +22 -0
 - data/docs/WebhookSubscriptionTypeEnum.md +15 -0
 - data/docs/WebhookSubscriptionsListBody.md +22 -0
 - data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +614 -0
 - data/lib/bandwidth-sdk/configuration.rb +48 -0
 - data/lib/bandwidth-sdk/models/additional_denial_reason.rb +254 -0
 - data/lib/bandwidth-sdk/models/address.rb +501 -0
 - data/lib/bandwidth-sdk/models/contact.rb +393 -0
 - data/lib/bandwidth-sdk/models/error.rb +232 -0
 - data/lib/bandwidth-sdk/models/failure_webhook.rb +304 -0
 - data/lib/bandwidth-sdk/models/initiate_callback.rb +33 -4
 - data/lib/bandwidth-sdk/models/links_object.rb +243 -0
 - data/lib/bandwidth-sdk/models/opt_in_workflow.rb +265 -0
 - data/lib/bandwidth-sdk/models/telephone_number.rb +213 -0
 - data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +273 -0
 - data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +40 -0
 - data/lib/bandwidth-sdk/models/tfv_error.rb +232 -0
 - data/lib/bandwidth-sdk/models/tfv_status.rb +342 -0
 - data/lib/bandwidth-sdk/models/tfv_status_enum.rb +43 -0
 - data/lib/bandwidth-sdk/models/tfv_submission_info.rb +452 -0
 - data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +212 -0
 - data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +325 -0
 - data/lib/bandwidth-sdk/models/verification_request.rb +547 -0
 - data/lib/bandwidth-sdk/models/verification_update_request.rb +501 -0
 - data/lib/bandwidth-sdk/models/verification_webhook.rb +303 -0
 - data/lib/bandwidth-sdk/models/webhook_subscription.rb +328 -0
 - data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +274 -0
 - data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +306 -0
 - data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +40 -0
 - data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +242 -0
 - data/lib/bandwidth-sdk/version.rb +1 -1
 - data/lib/bandwidth-sdk.rb +25 -0
 - data/openapi-config.yml +1 -1
 - data/spec/call_utils.rb +2 -2
 - data/spec/smoke/toll_free_verification_api_spec.rb +69 -0
 - data/spec/spec_helper.rb +1 -1
 - data/spec/unit/api/mfa_api_spec.rb +1 -1
 - data/spec/unit/api/toll_free_verification_api_spec.rb +278 -0
 - data/spec/unit/client/api_client_spec.rb +1 -1
 - metadata +91 -61
 - data/docs/CreateParticipantRequest.md +0 -24
 - data/docs/CreateParticipantResponse.md +0 -20
 - data/docs/DisconenctCallback.md +0 -50
 - data/docs/ForbiddenRequest.md +0 -18
 - data/docs/InboundMessageCallback.md +0 -26
 - data/docs/InboundMessageCallbackMessage.md +0 -40
 - data/docs/MessageDeliveredCallback.md +0 -26
 - data/docs/MessageDeliveredCallbackMessage.md +0 -40
 - data/docs/MessageFailedCallback.md +0 -28
 - data/docs/MessageFailedCallbackMessage.md +0 -40
 - data/docs/MessageSendingCallback.md +0 -26
 - data/docs/MessageSendingCallbackMessage.md +0 -40
 - data/docs/Participant.md +0 -30
 - data/docs/ParticipantSubscription.md +0 -20
 - data/docs/ParticipantsApi.md +0 -227
 - data/docs/RequestError.md +0 -20
 - data/docs/Session.md +0 -20
 - data/docs/SessionsApi.md +0 -605
 - data/docs/Subscriptions.md +0 -20
 - data/docs/TranscriptionList.md +0 -18
 - data/docs/TranscriptionMetadata.md +0 -24
 - data/docs/UnauthorizedRequest.md +0 -18
 
| 
         @@ -0,0 +1,278 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Unit tests for Bandwidth::TollFreeVerificationApi
         
     | 
| 
      
 2 
     | 
    
         
            +
            describe 'TollFreeVerificationApi' do
         
     | 
| 
      
 3 
     | 
    
         
            +
              let (:webhook_subscription_request_schema) { Bandwidth::WebhookSubscriptionRequestSchema.new(
         
     | 
| 
      
 4 
     | 
    
         
            +
                basic_authentication: {
         
     | 
| 
      
 5 
     | 
    
         
            +
                  username: 'username',
         
     | 
| 
      
 6 
     | 
    
         
            +
                  password: 'password'
         
     | 
| 
      
 7 
     | 
    
         
            +
                },
         
     | 
| 
      
 8 
     | 
    
         
            +
                callback_url: 'https://example.com',
         
     | 
| 
      
 9 
     | 
    
         
            +
                shared_secret_key: 'shared-secret-key'
         
     | 
| 
      
 10 
     | 
    
         
            +
              ) }
         
     | 
| 
      
 11 
     | 
    
         
            +
              let (:verification) { {
         
     | 
| 
      
 12 
     | 
    
         
            +
                business_address: Bandwidth::Address.new(
         
     | 
| 
      
 13 
     | 
    
         
            +
                  name: 'name',
         
     | 
| 
      
 14 
     | 
    
         
            +
                  addr1: 'addr1',
         
     | 
| 
      
 15 
     | 
    
         
            +
                  addr2: 'addr2',
         
     | 
| 
      
 16 
     | 
    
         
            +
                  city: 'city',
         
     | 
| 
      
 17 
     | 
    
         
            +
                  state: 'state',
         
     | 
| 
      
 18 
     | 
    
         
            +
                  zip: 'zip',
         
     | 
| 
      
 19 
     | 
    
         
            +
                  url: 'https://example.com'
         
     | 
| 
      
 20 
     | 
    
         
            +
                ),
         
     | 
| 
      
 21 
     | 
    
         
            +
                business_contact: Bandwidth::Contact.new(
         
     | 
| 
      
 22 
     | 
    
         
            +
                  first_name: 'first-name',
         
     | 
| 
      
 23 
     | 
    
         
            +
                  last_name: 'last-name',
         
     | 
| 
      
 24 
     | 
    
         
            +
                  email: 'email@email.com',
         
     | 
| 
      
 25 
     | 
    
         
            +
                  phone_number: '+19195551234'
         
     | 
| 
      
 26 
     | 
    
         
            +
                ),
         
     | 
| 
      
 27 
     | 
    
         
            +
                message_volume: 12,
         
     | 
| 
      
 28 
     | 
    
         
            +
                use_case: 'useCase',
         
     | 
| 
      
 29 
     | 
    
         
            +
                use_case_summary: 'useCaseSummary',
         
     | 
| 
      
 30 
     | 
    
         
            +
                production_message_content: 'productionMessageContent',
         
     | 
| 
      
 31 
     | 
    
         
            +
                opt_in_workflow: Bandwidth::OptInWorkflow.new(
         
     | 
| 
      
 32 
     | 
    
         
            +
                  description: 'description',
         
     | 
| 
      
 33 
     | 
    
         
            +
                  image_urls: ['https://example.com']
         
     | 
| 
      
 34 
     | 
    
         
            +
                ),
         
     | 
| 
      
 35 
     | 
    
         
            +
                additional_information: 'additionalInformation',
         
     | 
| 
      
 36 
     | 
    
         
            +
                isv_reseller: 'isvReseller'
         
     | 
| 
      
 37 
     | 
    
         
            +
              } }
         
     | 
| 
      
 38 
     | 
    
         
            +
              let (:subscription_id) { 'test-id-1234' }
         
     | 
| 
      
 39 
     | 
    
         
            +
              let (:tf_phone_number) { '+18005551234' }
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
              before(:all) do
         
     | 
| 
      
 42 
     | 
    
         
            +
                Bandwidth.configure do |config|
         
     | 
| 
      
 43 
     | 
    
         
            +
                  config.debugging = true
         
     | 
| 
      
 44 
     | 
    
         
            +
                  config.username = BW_USERNAME
         
     | 
| 
      
 45 
     | 
    
         
            +
                  config.password = BW_PASSWORD
         
     | 
| 
      
 46 
     | 
    
         
            +
                  config.ignore_operation_servers = true
         
     | 
| 
      
 47 
     | 
    
         
            +
                  config.host = '127.0.0.1:4010'
         
     | 
| 
      
 48 
     | 
    
         
            +
                end
         
     | 
| 
      
 49 
     | 
    
         
            +
                @tfv_api_instance = Bandwidth::TollFreeVerificationApi.new
         
     | 
| 
      
 50 
     | 
    
         
            +
              end
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
              describe 'test an instance of TollFreeVerificationApi' do
         
     | 
| 
      
 53 
     | 
    
         
            +
                it 'should create an instance of TollFreeVerificationApi' do
         
     | 
| 
      
 54 
     | 
    
         
            +
                  expect(@tfv_api_instance).to be_instance_of(Bandwidth::TollFreeVerificationApi)
         
     | 
| 
      
 55 
     | 
    
         
            +
                end
         
     | 
| 
      
 56 
     | 
    
         
            +
              end
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
              # Create Webhook Subscription
         
     | 
| 
      
 59 
     | 
    
         
            +
              describe 'create_webhook_subscription test' do
         
     | 
| 
      
 60 
     | 
    
         
            +
                it 'creates webhook subscription' do
         
     | 
| 
      
 61 
     | 
    
         
            +
                  data, status_code = @tfv_api_instance.create_webhook_subscription_with_http_info(BW_ACCOUNT_ID, webhook_subscription_request_schema)
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                  expect(status_code).to eq(201)
         
     | 
| 
      
 64 
     | 
    
         
            +
                  expect(data).to be_instance_of(Bandwidth::WebhookSubscription)
         
     | 
| 
      
 65 
     | 
    
         
            +
                  expect(data.id).to be_instance_of(String)
         
     | 
| 
      
 66 
     | 
    
         
            +
                  expect(data.account_id.length).to eq(7)
         
     | 
| 
      
 67 
     | 
    
         
            +
                  expect(data.callback_url).to be_instance_of(String)
         
     | 
| 
      
 68 
     | 
    
         
            +
                  expect(data.type).to be_one_of(Bandwidth::WebhookSubscriptionTypeEnum.all_vars)
         
     | 
| 
      
 69 
     | 
    
         
            +
                  expect(data.basic_authentication).to be_instance_of(Bandwidth::WebhookSubscriptionBasicAuthentication)
         
     | 
| 
      
 70 
     | 
    
         
            +
                  expect(data.basic_authentication.username).to be_instance_of(String)
         
     | 
| 
      
 71 
     | 
    
         
            +
                  expect(data.basic_authentication.password).to be_instance_of(String)
         
     | 
| 
      
 72 
     | 
    
         
            +
                  expect(data.created_date).to be_instance_of(Time)
         
     | 
| 
      
 73 
     | 
    
         
            +
                  expect(data.modified_date).to be_instance_of(Time)
         
     | 
| 
      
 74 
     | 
    
         
            +
                end
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 77 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 78 
     | 
    
         
            +
                    @tfv_api_instance.create_webhook_subscription(nil, {})
         
     | 
| 
      
 79 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 80 
     | 
    
         
            +
                end
         
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing webhook_subscription_request_schema' do
         
     | 
| 
      
 83 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 84 
     | 
    
         
            +
                    @tfv_api_instance.create_webhook_subscription(BW_ACCOUNT_ID, nil)
         
     | 
| 
      
 85 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 86 
     | 
    
         
            +
                end
         
     | 
| 
      
 87 
     | 
    
         
            +
              end
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
              # Delete Webhook Subscription
         
     | 
| 
      
 90 
     | 
    
         
            +
              describe 'delete_webhook_subscription test' do
         
     | 
| 
      
 91 
     | 
    
         
            +
                it 'deletes webhook subscription' do
         
     | 
| 
      
 92 
     | 
    
         
            +
                  _data, status_code = @tfv_api_instance.delete_webhook_subscription_with_http_info(BW_ACCOUNT_ID, subscription_id)
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
                  expect(status_code).to eq(204)
         
     | 
| 
      
 95 
     | 
    
         
            +
                end
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 98 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 99 
     | 
    
         
            +
                    @tfv_api_instance.delete_webhook_subscription(nil, subscription_id)
         
     | 
| 
      
 100 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 101 
     | 
    
         
            +
                end
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing subscription_id' do
         
     | 
| 
      
 104 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 105 
     | 
    
         
            +
                    @tfv_api_instance.delete_webhook_subscription(BW_ACCOUNT_ID, nil)
         
     | 
| 
      
 106 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 107 
     | 
    
         
            +
                end
         
     | 
| 
      
 108 
     | 
    
         
            +
              end
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
              # Get Toll-Free Verification Status
         
     | 
| 
      
 111 
     | 
    
         
            +
              describe 'get_toll_free_verification_status test' do
         
     | 
| 
      
 112 
     | 
    
         
            +
                it 'gets toll free verification status' do
         
     | 
| 
      
 113 
     | 
    
         
            +
                  data, status_code = @tfv_api_instance.get_toll_free_verification_status_with_http_info(BW_ACCOUNT_ID, tf_phone_number)
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
                  expect(status_code).to eq(200)
         
     | 
| 
      
 116 
     | 
    
         
            +
                  expect(data).to be_instance_of(Bandwidth::TfvStatus)
         
     | 
| 
      
 117 
     | 
    
         
            +
                  expect(data.phone_number).to be_instance_of(String)
         
     | 
| 
      
 118 
     | 
    
         
            +
                  expect(data.status).to be_one_of(Bandwidth::TfvStatusEnum.all_vars)
         
     | 
| 
      
 119 
     | 
    
         
            +
                  expect(data.internal_ticket_number).to be_instance_of(String)
         
     | 
| 
      
 120 
     | 
    
         
            +
                  expect(data.decline_reason_description).to be_instance_of(String)
         
     | 
| 
      
 121 
     | 
    
         
            +
                  expect(data.resubmit_allowed).to be_one_of([true, false])
         
     | 
| 
      
 122 
     | 
    
         
            +
                  expect(data.created_date_time).to be_instance_of(Time)
         
     | 
| 
      
 123 
     | 
    
         
            +
                  expect(data.modified_date_time).to be_instance_of(Time)
         
     | 
| 
      
 124 
     | 
    
         
            +
                end
         
     | 
| 
      
 125 
     | 
    
         
            +
             
     | 
| 
      
 126 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 127 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 128 
     | 
    
         
            +
                    @tfv_api_instance.get_toll_free_verification_status(nil, tf_phone_number)
         
     | 
| 
      
 129 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 130 
     | 
    
         
            +
                end
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing phone_number' do
         
     | 
| 
      
 133 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 134 
     | 
    
         
            +
                    @tfv_api_instance.get_toll_free_verification_status(BW_ACCOUNT_ID, nil)
         
     | 
| 
      
 135 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 136 
     | 
    
         
            +
                end
         
     | 
| 
      
 137 
     | 
    
         
            +
              end
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
      
 139 
     | 
    
         
            +
              # List Toll-Free Use Cases
         
     | 
| 
      
 140 
     | 
    
         
            +
              describe 'list_toll_free_use_cases test' do
         
     | 
| 
      
 141 
     | 
    
         
            +
                it 'lists toll free use cases' do
         
     | 
| 
      
 142 
     | 
    
         
            +
                  data, status_code = @tfv_api_instance.list_toll_free_use_cases_with_http_info
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
                  expect(status_code).to eq(200)
         
     | 
| 
      
 145 
     | 
    
         
            +
                  expect(data).to be_instance_of(Array)
         
     | 
| 
      
 146 
     | 
    
         
            +
                  expect(data.length).to be > 0
         
     | 
| 
      
 147 
     | 
    
         
            +
                  expect(data[0]).to be_instance_of(String)
         
     | 
| 
      
 148 
     | 
    
         
            +
                end
         
     | 
| 
      
 149 
     | 
    
         
            +
              end
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
              # List Webhook Subscriptions
         
     | 
| 
      
 152 
     | 
    
         
            +
              describe 'list_webhook_subscriptions test' do
         
     | 
| 
      
 153 
     | 
    
         
            +
                it 'lists webhook subscriptions' do
         
     | 
| 
      
 154 
     | 
    
         
            +
                  data, status_code = @tfv_api_instance.list_webhook_subscriptions_with_http_info(BW_ACCOUNT_ID)
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
                  expect(status_code).to eq(200)
         
     | 
| 
      
 157 
     | 
    
         
            +
                  expect(data).to be_instance_of(Bandwidth::WebhookSubscriptionsListBody)
         
     | 
| 
      
 158 
     | 
    
         
            +
                  expect(data.links).to be_instance_of(Bandwidth::LinksObject)
         
     | 
| 
      
 159 
     | 
    
         
            +
                  expect(data.links.first).to be_instance_of(String)
         
     | 
| 
      
 160 
     | 
    
         
            +
                  expect(data.links._next).to be_instance_of(String)
         
     | 
| 
      
 161 
     | 
    
         
            +
                  expect(data.links.previous).to be_instance_of(String)
         
     | 
| 
      
 162 
     | 
    
         
            +
                  expect(data.links.last).to be_instance_of(String)
         
     | 
| 
      
 163 
     | 
    
         
            +
                  expect(data.errors).to be_instance_of(Array)
         
     | 
| 
      
 164 
     | 
    
         
            +
                  expect(data.errors[0].code).to be_instance_of(Integer)
         
     | 
| 
      
 165 
     | 
    
         
            +
                  expect(data.errors[0].description).to be_instance_of(String)
         
     | 
| 
      
 166 
     | 
    
         
            +
                  expect(data.errors[0].telephone_numbers).to be_instance_of(Array)
         
     | 
| 
      
 167 
     | 
    
         
            +
                  expect(data.errors[0].telephone_numbers[0]).to be_instance_of(Bandwidth::TelephoneNumber)
         
     | 
| 
      
 168 
     | 
    
         
            +
                  expect(data.errors[0].telephone_numbers[0].telephone_number).to be_instance_of(String)
         
     | 
| 
      
 169 
     | 
    
         
            +
                  expect(data.data).to be_instance_of(Array)
         
     | 
| 
      
 170 
     | 
    
         
            +
                  expect(data.data[0]).to be_instance_of(Bandwidth::WebhookSubscription)
         
     | 
| 
      
 171 
     | 
    
         
            +
                  expect(data.data[0].id).to be_instance_of(String)
         
     | 
| 
      
 172 
     | 
    
         
            +
                  expect(data.data[0].account_id).to be_instance_of(String)
         
     | 
| 
      
 173 
     | 
    
         
            +
                  expect(data.data[0].callback_url).to be_instance_of(String)
         
     | 
| 
      
 174 
     | 
    
         
            +
                  expect(data.data[0].type).to be_one_of(Bandwidth::WebhookSubscriptionTypeEnum.all_vars)
         
     | 
| 
      
 175 
     | 
    
         
            +
                  expect(data.data[0].basic_authentication).to be_instance_of(Bandwidth::WebhookSubscriptionBasicAuthentication)
         
     | 
| 
      
 176 
     | 
    
         
            +
                  expect(data.data[0].basic_authentication.username).to be_instance_of(String)
         
     | 
| 
      
 177 
     | 
    
         
            +
                  expect(data.data[0].basic_authentication.password).to be_instance_of(String)
         
     | 
| 
      
 178 
     | 
    
         
            +
                  expect(data.data[0].created_date).to be_instance_of(Time)
         
     | 
| 
      
 179 
     | 
    
         
            +
                  expect(data.data[0].modified_date).to be_instance_of(Time)
         
     | 
| 
      
 180 
     | 
    
         
            +
                end
         
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 183 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 184 
     | 
    
         
            +
                    @tfv_api_instance.list_webhook_subscriptions(nil)
         
     | 
| 
      
 185 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 186 
     | 
    
         
            +
                end
         
     | 
| 
      
 187 
     | 
    
         
            +
              end
         
     | 
| 
      
 188 
     | 
    
         
            +
             
     | 
| 
      
 189 
     | 
    
         
            +
              # Request Toll-Free Verification
         
     | 
| 
      
 190 
     | 
    
         
            +
              describe 'request_toll_free_verification test' do
         
     | 
| 
      
 191 
     | 
    
         
            +
                it 'requests toll free verification' do
         
     | 
| 
      
 192 
     | 
    
         
            +
                  verification_request = Bandwidth::VerificationRequest.new(verification.merge(phone_numbers: [tf_phone_number]))
         
     | 
| 
      
 193 
     | 
    
         
            +
                  _data, status_code = @tfv_api_instance.request_toll_free_verification_with_http_info(BW_ACCOUNT_ID, verification_request)
         
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
      
 195 
     | 
    
         
            +
                  expect(status_code).to eq(202)
         
     | 
| 
      
 196 
     | 
    
         
            +
                end
         
     | 
| 
      
 197 
     | 
    
         
            +
             
     | 
| 
      
 198 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 199 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 200 
     | 
    
         
            +
                    @tfv_api_instance.request_toll_free_verification(nil, {})
         
     | 
| 
      
 201 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 202 
     | 
    
         
            +
                end
         
     | 
| 
      
 203 
     | 
    
         
            +
             
     | 
| 
      
 204 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing verification_request' do
         
     | 
| 
      
 205 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 206 
     | 
    
         
            +
                    @tfv_api_instance.request_toll_free_verification(BW_ACCOUNT_ID, nil)
         
     | 
| 
      
 207 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 208 
     | 
    
         
            +
                end
         
     | 
| 
      
 209 
     | 
    
         
            +
              end
         
     | 
| 
      
 210 
     | 
    
         
            +
             
     | 
| 
      
 211 
     | 
    
         
            +
              # Update Toll-Free Verification Request
         
     | 
| 
      
 212 
     | 
    
         
            +
              describe 'update_toll_free_verification_request test' do
         
     | 
| 
      
 213 
     | 
    
         
            +
                it 'updates toll free verification request' do
         
     | 
| 
      
 214 
     | 
    
         
            +
                  tfv_submission_wrapper = Bandwidth::TfvSubmissionWrapper.new(
         
     | 
| 
      
 215 
     | 
    
         
            +
                    submission: Bandwidth::VerificationUpdateRequest.new(verification)
         
     | 
| 
      
 216 
     | 
    
         
            +
                  )
         
     | 
| 
      
 217 
     | 
    
         
            +
             
     | 
| 
      
 218 
     | 
    
         
            +
                  _data, status_code = @tfv_api_instance.update_toll_free_verification_request_with_http_info(BW_ACCOUNT_ID, tf_phone_number, tfv_submission_wrapper)
         
     | 
| 
      
 219 
     | 
    
         
            +
             
     | 
| 
      
 220 
     | 
    
         
            +
                  expect(status_code).to eq(202)
         
     | 
| 
      
 221 
     | 
    
         
            +
                end
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
      
 223 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 224 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 225 
     | 
    
         
            +
                    @tfv_api_instance.update_toll_free_verification_request(nil, tf_phone_number, {})
         
     | 
| 
      
 226 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 227 
     | 
    
         
            +
                end
         
     | 
| 
      
 228 
     | 
    
         
            +
             
     | 
| 
      
 229 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing phone_number' do
         
     | 
| 
      
 230 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 231 
     | 
    
         
            +
                    @tfv_api_instance.update_toll_free_verification_request(BW_ACCOUNT_ID, nil, {})
         
     | 
| 
      
 232 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 233 
     | 
    
         
            +
                end
         
     | 
| 
      
 234 
     | 
    
         
            +
             
     | 
| 
      
 235 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing tfv_submission_wrapper' do
         
     | 
| 
      
 236 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 237 
     | 
    
         
            +
                    @tfv_api_instance.update_toll_free_verification_request(BW_ACCOUNT_ID, tf_phone_number, nil)
         
     | 
| 
      
 238 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 239 
     | 
    
         
            +
                end
         
     | 
| 
      
 240 
     | 
    
         
            +
              end
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
              # Update Webhook Subscription
         
     | 
| 
      
 243 
     | 
    
         
            +
              describe 'update_webhook_subscription test' do
         
     | 
| 
      
 244 
     | 
    
         
            +
                it 'updates webhook subscription' do
         
     | 
| 
      
 245 
     | 
    
         
            +
                  data, status_code = @tfv_api_instance.update_webhook_subscription_with_http_info(BW_ACCOUNT_ID, subscription_id, webhook_subscription_request_schema)
         
     | 
| 
      
 246 
     | 
    
         
            +
             
     | 
| 
      
 247 
     | 
    
         
            +
                  expect(status_code).to eq(200)
         
     | 
| 
      
 248 
     | 
    
         
            +
                  expect(data).to be_instance_of(Bandwidth::WebhookSubscription)
         
     | 
| 
      
 249 
     | 
    
         
            +
                  expect(data.id).to be_instance_of(String)
         
     | 
| 
      
 250 
     | 
    
         
            +
                  expect(data.account_id.length).to eq(7)
         
     | 
| 
      
 251 
     | 
    
         
            +
                  expect(data.callback_url).to be_instance_of(String)
         
     | 
| 
      
 252 
     | 
    
         
            +
                  expect(data.type).to be_one_of(Bandwidth::WebhookSubscriptionTypeEnum.all_vars)
         
     | 
| 
      
 253 
     | 
    
         
            +
                  expect(data.basic_authentication).to be_instance_of(Bandwidth::WebhookSubscriptionBasicAuthentication)
         
     | 
| 
      
 254 
     | 
    
         
            +
                  expect(data.basic_authentication.username).to be_instance_of(String)
         
     | 
| 
      
 255 
     | 
    
         
            +
                  expect(data.basic_authentication.password).to be_instance_of(String)
         
     | 
| 
      
 256 
     | 
    
         
            +
                  expect(data.created_date).to be_instance_of(Time)
         
     | 
| 
      
 257 
     | 
    
         
            +
                  expect(data.modified_date).to be_instance_of(Time)
         
     | 
| 
      
 258 
     | 
    
         
            +
                end
         
     | 
| 
      
 259 
     | 
    
         
            +
             
     | 
| 
      
 260 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing account_id' do
         
     | 
| 
      
 261 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 262 
     | 
    
         
            +
                    @tfv_api_instance.update_webhook_subscription(nil, subscription_id, {})
         
     | 
| 
      
 263 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 264 
     | 
    
         
            +
                end
         
     | 
| 
      
 265 
     | 
    
         
            +
             
     | 
| 
      
 266 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing subscription_id' do
         
     | 
| 
      
 267 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 268 
     | 
    
         
            +
                    @tfv_api_instance.update_webhook_subscription(BW_ACCOUNT_ID, nil, {})
         
     | 
| 
      
 269 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 270 
     | 
    
         
            +
                end
         
     | 
| 
      
 271 
     | 
    
         
            +
             
     | 
| 
      
 272 
     | 
    
         
            +
                it 'causes an ArgumentError for a missing webhook_subscription_request_schema' do
         
     | 
| 
      
 273 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 274 
     | 
    
         
            +
                    @tfv_api_instance.update_webhook_subscription(BW_ACCOUNT_ID, subscription_id, nil)
         
     | 
| 
      
 275 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 276 
     | 
    
         
            +
                end
         
     | 
| 
      
 277 
     | 
    
         
            +
              end
         
     | 
| 
      
 278 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -221,7 +221,7 @@ describe Bandwidth::ApiClient do 
     | 
|
| 
       221 
221 
     | 
    
         
             
                  response = double('response', headers: headers, body: '{id 1}')
         
     | 
| 
       222 
222 
     | 
    
         
             
                  expect {
         
     | 
| 
       223 
223 
     | 
    
         
             
                    api_client_default.deserialize(response, 'Hash<String, Integer>')
         
     | 
| 
       224 
     | 
    
         
            -
                  }.to raise_error(JSON::ParserError 
     | 
| 
      
 224 
     | 
    
         
            +
                  }.to raise_error(JSON::ParserError)
         
     | 
| 
       225 
225 
     | 
    
         
             
                end
         
     | 
| 
       226 
226 
     | 
    
         | 
| 
       227 
227 
     | 
    
         
             
                it 'rescues invalid JSON when expecting non-JSON' do
         
     | 
    
        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: 14. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 14.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Bandwidth
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-03-18 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     | 
| 
         @@ -144,6 +144,8 @@ files: 
     | 
|
| 
       144 
144 
     | 
    
         
             
            - custom_templates/gem.mustache
         
     | 
| 
       145 
145 
     | 
    
         
             
            - custom_templates/gemspec.mustache
         
     | 
| 
       146 
146 
     | 
    
         
             
            - docs/AccountStatistics.md
         
     | 
| 
      
 147 
     | 
    
         
            +
            - docs/AdditionalDenialReason.md
         
     | 
| 
      
 148 
     | 
    
         
            +
            - docs/Address.md
         
     | 
| 
       147 
149 
     | 
    
         
             
            - docs/AnswerCallback.md
         
     | 
| 
       148 
150 
     | 
    
         
             
            - docs/BridgeCompleteCallback.md
         
     | 
| 
       149 
151 
     | 
    
         
             
            - docs/BridgeTargetCompleteCallback.md
         
     | 
| 
         @@ -171,25 +173,22 @@ files: 
     | 
|
| 
       171 
173 
     | 
    
         
             
            - docs/ConferenceRedirectCallback.md
         
     | 
| 
       172 
174 
     | 
    
         
             
            - docs/ConferenceStateEnum.md
         
     | 
| 
       173 
175 
     | 
    
         
             
            - docs/ConferencesApi.md
         
     | 
| 
      
 176 
     | 
    
         
            +
            - docs/Contact.md
         
     | 
| 
       174 
177 
     | 
    
         
             
            - docs/CreateCall.md
         
     | 
| 
       175 
178 
     | 
    
         
             
            - docs/CreateCallResponse.md
         
     | 
| 
       176 
179 
     | 
    
         
             
            - docs/CreateLookupResponse.md
         
     | 
| 
       177 
180 
     | 
    
         
             
            - docs/CreateMessageRequestError.md
         
     | 
| 
       178 
     | 
    
         
            -
            - docs/CreateParticipantRequest.md
         
     | 
| 
       179 
     | 
    
         
            -
            - docs/CreateParticipantResponse.md
         
     | 
| 
       180 
181 
     | 
    
         
             
            - docs/DeferredResult.md
         
     | 
| 
       181 
     | 
    
         
            -
            - docs/DeviceApiVersionEnum.md
         
     | 
| 
       182 
     | 
    
         
            -
            - docs/DisconenctCallback.md
         
     | 
| 
       183 
182 
     | 
    
         
             
            - docs/DisconnectCallback.md
         
     | 
| 
       184 
183 
     | 
    
         
             
            - docs/Diversion.md
         
     | 
| 
       185 
184 
     | 
    
         
             
            - docs/DtmfCallback.md
         
     | 
| 
      
 185 
     | 
    
         
            +
            - docs/Error.md
         
     | 
| 
      
 186 
     | 
    
         
            +
            - docs/FailureWebhook.md
         
     | 
| 
       186 
187 
     | 
    
         
             
            - docs/FieldError.md
         
     | 
| 
       187 
188 
     | 
    
         
             
            - docs/FileFormatEnum.md
         
     | 
| 
       188 
     | 
    
         
            -
            - docs/ForbiddenRequest.md
         
     | 
| 
       189 
189 
     | 
    
         
             
            - docs/GatherCallback.md
         
     | 
| 
       190 
     | 
    
         
            -
            - docs/InboundMessageCallback.md
         
     | 
| 
       191 
     | 
    
         
            -
            - docs/InboundMessageCallbackMessage.md
         
     | 
| 
       192 
190 
     | 
    
         
             
            - docs/InitiateCallback.md
         
     | 
| 
      
 191 
     | 
    
         
            +
            - docs/LinksObject.md
         
     | 
| 
       193 
192 
     | 
    
         
             
            - docs/ListMessageDirectionEnum.md
         
     | 
| 
       194 
193 
     | 
    
         
             
            - docs/ListMessageItem.md
         
     | 
| 
       195 
194 
     | 
    
         
             
            - docs/LookupRequest.md
         
     | 
| 
         @@ -206,14 +205,8 @@ files: 
     | 
|
| 
       206 
205 
     | 
    
         
             
            - docs/Message.md
         
     | 
| 
       207 
206 
     | 
    
         
             
            - docs/MessageCallback.md
         
     | 
| 
       208 
207 
     | 
    
         
             
            - docs/MessageCallbackMessage.md
         
     | 
| 
       209 
     | 
    
         
            -
            - docs/MessageDeliveredCallback.md
         
     | 
| 
       210 
     | 
    
         
            -
            - docs/MessageDeliveredCallbackMessage.md
         
     | 
| 
       211 
208 
     | 
    
         
             
            - docs/MessageDirectionEnum.md
         
     | 
| 
       212 
     | 
    
         
            -
            - docs/MessageFailedCallback.md
         
     | 
| 
       213 
     | 
    
         
            -
            - docs/MessageFailedCallbackMessage.md
         
     | 
| 
       214 
209 
     | 
    
         
             
            - docs/MessageRequest.md
         
     | 
| 
       215 
     | 
    
         
            -
            - docs/MessageSendingCallback.md
         
     | 
| 
       216 
     | 
    
         
            -
            - docs/MessageSendingCallbackMessage.md
         
     | 
| 
       217 
210 
     | 
    
         
             
            - docs/MessageStatusEnum.md
         
     | 
| 
       218 
211 
     | 
    
         
             
            - docs/MessageTypeEnum.md
         
     | 
| 
       219 
212 
     | 
    
         
             
            - docs/MessagesApi.md
         
     | 
| 
         @@ -223,13 +216,10 @@ files: 
     | 
|
| 
       223 
216 
     | 
    
         
             
            - docs/MfaForbiddenRequestError.md
         
     | 
| 
       224 
217 
     | 
    
         
             
            - docs/MfaRequestError.md
         
     | 
| 
       225 
218 
     | 
    
         
             
            - docs/MfaUnauthorizedRequestError.md
         
     | 
| 
      
 219 
     | 
    
         
            +
            - docs/OptInWorkflow.md
         
     | 
| 
       226 
220 
     | 
    
         
             
            - docs/PageInfo.md
         
     | 
| 
       227 
     | 
    
         
            -
            - docs/Participant.md
         
     | 
| 
       228 
     | 
    
         
            -
            - docs/ParticipantSubscription.md
         
     | 
| 
       229 
     | 
    
         
            -
            - docs/ParticipantsApi.md
         
     | 
| 
       230 
221 
     | 
    
         
             
            - docs/PhoneNumberLookupApi.md
         
     | 
| 
       231 
222 
     | 
    
         
             
            - docs/PriorityEnum.md
         
     | 
| 
       232 
     | 
    
         
            -
            - docs/PublishPermissionsEnum.md
         
     | 
| 
       233 
223 
     | 
    
         
             
            - docs/RecordingAvailableCallback.md
         
     | 
| 
       234 
224 
     | 
    
         
             
            - docs/RecordingCompleteCallback.md
         
     | 
| 
       235 
225 
     | 
    
         
             
            - docs/RecordingStateEnum.md
         
     | 
| 
         @@ -238,32 +228,43 @@ files: 
     | 
|
| 
       238 
228 
     | 
    
         
             
            - docs/RecordingsApi.md
         
     | 
| 
       239 
229 
     | 
    
         
             
            - docs/RedirectCallback.md
         
     | 
| 
       240 
230 
     | 
    
         
             
            - docs/RedirectMethodEnum.md
         
     | 
| 
       241 
     | 
    
         
            -
            - docs/RequestError.md
         
     | 
| 
       242 
     | 
    
         
            -
            - docs/Session.md
         
     | 
| 
       243 
     | 
    
         
            -
            - docs/SessionsApi.md
         
     | 
| 
       244 
231 
     | 
    
         
             
            - docs/StatisticsApi.md
         
     | 
| 
       245 
232 
     | 
    
         
             
            - docs/StirShaken.md
         
     | 
| 
       246 
     | 
    
         
            -
            - docs/Subscriptions.md
         
     | 
| 
       247 
233 
     | 
    
         
             
            - docs/Tag.md
         
     | 
| 
      
 234 
     | 
    
         
            +
            - docs/TelephoneNumber.md
         
     | 
| 
      
 235 
     | 
    
         
            +
            - docs/TfvBasicAuthentication.md
         
     | 
| 
      
 236 
     | 
    
         
            +
            - docs/TfvCallbackStatusEnum.md
         
     | 
| 
      
 237 
     | 
    
         
            +
            - docs/TfvError.md
         
     | 
| 
      
 238 
     | 
    
         
            +
            - docs/TfvStatus.md
         
     | 
| 
      
 239 
     | 
    
         
            +
            - docs/TfvStatusEnum.md
         
     | 
| 
      
 240 
     | 
    
         
            +
            - docs/TfvSubmissionInfo.md
         
     | 
| 
      
 241 
     | 
    
         
            +
            - docs/TfvSubmissionWrapper.md
         
     | 
| 
       248 
242 
     | 
    
         
             
            - docs/TnLookupRequestError.md
         
     | 
| 
      
 243 
     | 
    
         
            +
            - docs/TollFreeVerificationApi.md
         
     | 
| 
       249 
244 
     | 
    
         
             
            - docs/TranscribeRecording.md
         
     | 
| 
       250 
245 
     | 
    
         
             
            - docs/Transcription.md
         
     | 
| 
       251 
246 
     | 
    
         
             
            - docs/TranscriptionAvailableCallback.md
         
     | 
| 
       252 
     | 
    
         
            -
            - docs/TranscriptionList.md
         
     | 
| 
       253 
     | 
    
         
            -
            - docs/TranscriptionMetadata.md
         
     | 
| 
       254 
247 
     | 
    
         
             
            - docs/TranscriptionsApi.md
         
     | 
| 
       255 
248 
     | 
    
         
             
            - docs/TransferAnswerCallback.md
         
     | 
| 
       256 
249 
     | 
    
         
             
            - docs/TransferCompleteCallback.md
         
     | 
| 
       257 
250 
     | 
    
         
             
            - docs/TransferDisconnectCallback.md
         
     | 
| 
       258 
     | 
    
         
            -
            - docs/UnauthorizedRequest.md
         
     | 
| 
       259 
251 
     | 
    
         
             
            - docs/UpdateCall.md
         
     | 
| 
       260 
252 
     | 
    
         
             
            - docs/UpdateCallRecording.md
         
     | 
| 
       261 
253 
     | 
    
         
             
            - docs/UpdateConference.md
         
     | 
| 
       262 
254 
     | 
    
         
             
            - docs/UpdateConferenceMember.md
         
     | 
| 
      
 255 
     | 
    
         
            +
            - docs/VerificationDenialWebhook.md
         
     | 
| 
      
 256 
     | 
    
         
            +
            - docs/VerificationRequest.md
         
     | 
| 
      
 257 
     | 
    
         
            +
            - docs/VerificationUpdateRequest.md
         
     | 
| 
      
 258 
     | 
    
         
            +
            - docs/VerificationWebhook.md
         
     | 
| 
       263 
259 
     | 
    
         
             
            - docs/VerifyCodeRequest.md
         
     | 
| 
       264 
260 
     | 
    
         
             
            - docs/VerifyCodeResponse.md
         
     | 
| 
       265 
261 
     | 
    
         
             
            - docs/VoiceApiError.md
         
     | 
| 
       266 
262 
     | 
    
         
             
            - docs/VoiceCodeResponse.md
         
     | 
| 
      
 263 
     | 
    
         
            +
            - docs/WebhookSubscription.md
         
     | 
| 
      
 264 
     | 
    
         
            +
            - docs/WebhookSubscriptionBasicAuthentication.md
         
     | 
| 
      
 265 
     | 
    
         
            +
            - docs/WebhookSubscriptionRequestSchema.md
         
     | 
| 
      
 266 
     | 
    
         
            +
            - docs/WebhookSubscriptionTypeEnum.md
         
     | 
| 
      
 267 
     | 
    
         
            +
            - docs/WebhookSubscriptionsListBody.md
         
     | 
| 
       267 
268 
     | 
    
         
             
            - git_push.sh
         
     | 
| 
       268 
269 
     | 
    
         
             
            - lib/bandwidth-sdk.rb
         
     | 
| 
       269 
270 
     | 
    
         
             
            - lib/bandwidth-sdk/api/calls_api.rb
         
     | 
| 
         @@ -274,11 +275,14 @@ files: 
     | 
|
| 
       274 
275 
     | 
    
         
             
            - lib/bandwidth-sdk/api/phone_number_lookup_api.rb
         
     | 
| 
       275 
276 
     | 
    
         
             
            - lib/bandwidth-sdk/api/recordings_api.rb
         
     | 
| 
       276 
277 
     | 
    
         
             
            - lib/bandwidth-sdk/api/statistics_api.rb
         
     | 
| 
      
 278 
     | 
    
         
            +
            - lib/bandwidth-sdk/api/toll_free_verification_api.rb
         
     | 
| 
       277 
279 
     | 
    
         
             
            - lib/bandwidth-sdk/api/transcriptions_api.rb
         
     | 
| 
       278 
280 
     | 
    
         
             
            - lib/bandwidth-sdk/api_client.rb
         
     | 
| 
       279 
281 
     | 
    
         
             
            - lib/bandwidth-sdk/api_error.rb
         
     | 
| 
       280 
282 
     | 
    
         
             
            - lib/bandwidth-sdk/configuration.rb
         
     | 
| 
       281 
283 
     | 
    
         
             
            - lib/bandwidth-sdk/models/account_statistics.rb
         
     | 
| 
      
 284 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/additional_denial_reason.rb
         
     | 
| 
      
 285 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/address.rb
         
     | 
| 
       282 
286 
     | 
    
         
             
            - lib/bandwidth-sdk/models/answer_callback.rb
         
     | 
| 
       283 
287 
     | 
    
         
             
            - lib/bandwidth-sdk/models/bridge_complete_callback.rb
         
     | 
| 
       284 
288 
     | 
    
         
             
            - lib/bandwidth-sdk/models/bridge_target_complete_callback.rb
         
     | 
| 
         @@ -337,6 +341,7 @@ files: 
     | 
|
| 
       337 
341 
     | 
    
         
             
            - lib/bandwidth-sdk/models/conference_recording_metadata.rb
         
     | 
| 
       338 
342 
     | 
    
         
             
            - lib/bandwidth-sdk/models/conference_redirect_callback.rb
         
     | 
| 
       339 
343 
     | 
    
         
             
            - lib/bandwidth-sdk/models/conference_state_enum.rb
         
     | 
| 
      
 344 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/contact.rb
         
     | 
| 
       340 
345 
     | 
    
         
             
            - lib/bandwidth-sdk/models/create_call.rb
         
     | 
| 
       341 
346 
     | 
    
         
             
            - lib/bandwidth-sdk/models/create_call_response.rb
         
     | 
| 
       342 
347 
     | 
    
         
             
            - lib/bandwidth-sdk/models/create_lookup_response.rb
         
     | 
| 
         @@ -345,10 +350,13 @@ files: 
     | 
|
| 
       345 
350 
     | 
    
         
             
            - lib/bandwidth-sdk/models/disconnect_callback.rb
         
     | 
| 
       346 
351 
     | 
    
         
             
            - lib/bandwidth-sdk/models/diversion.rb
         
     | 
| 
       347 
352 
     | 
    
         
             
            - lib/bandwidth-sdk/models/dtmf_callback.rb
         
     | 
| 
      
 353 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/error.rb
         
     | 
| 
      
 354 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/failure_webhook.rb
         
     | 
| 
       348 
355 
     | 
    
         
             
            - lib/bandwidth-sdk/models/field_error.rb
         
     | 
| 
       349 
356 
     | 
    
         
             
            - lib/bandwidth-sdk/models/file_format_enum.rb
         
     | 
| 
       350 
357 
     | 
    
         
             
            - lib/bandwidth-sdk/models/gather_callback.rb
         
     | 
| 
       351 
358 
     | 
    
         
             
            - lib/bandwidth-sdk/models/initiate_callback.rb
         
     | 
| 
      
 359 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/links_object.rb
         
     | 
| 
       352 
360 
     | 
    
         
             
            - lib/bandwidth-sdk/models/list_message_direction_enum.rb
         
     | 
| 
       353 
361 
     | 
    
         
             
            - lib/bandwidth-sdk/models/list_message_item.rb
         
     | 
| 
       354 
362 
     | 
    
         
             
            - lib/bandwidth-sdk/models/lookup_request.rb
         
     | 
| 
         @@ -373,6 +381,7 @@ files: 
     | 
|
| 
       373 
381 
     | 
    
         
             
            - lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb
         
     | 
| 
       374 
382 
     | 
    
         
             
            - lib/bandwidth-sdk/models/mfa_request_error.rb
         
     | 
| 
       375 
383 
     | 
    
         
             
            - lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb
         
     | 
| 
      
 384 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/opt_in_workflow.rb
         
     | 
| 
       376 
385 
     | 
    
         
             
            - lib/bandwidth-sdk/models/page_info.rb
         
     | 
| 
       377 
386 
     | 
    
         
             
            - lib/bandwidth-sdk/models/priority_enum.rb
         
     | 
| 
       378 
387 
     | 
    
         
             
            - lib/bandwidth-sdk/models/recording_available_callback.rb
         
     | 
| 
         @@ -384,6 +393,14 @@ files: 
     | 
|
| 
       384 
393 
     | 
    
         
             
            - lib/bandwidth-sdk/models/redirect_method_enum.rb
         
     | 
| 
       385 
394 
     | 
    
         
             
            - lib/bandwidth-sdk/models/stir_shaken.rb
         
     | 
| 
       386 
395 
     | 
    
         
             
            - lib/bandwidth-sdk/models/tag.rb
         
     | 
| 
      
 396 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/telephone_number.rb
         
     | 
| 
      
 397 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_basic_authentication.rb
         
     | 
| 
      
 398 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_callback_status_enum.rb
         
     | 
| 
      
 399 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_error.rb
         
     | 
| 
      
 400 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_status.rb
         
     | 
| 
      
 401 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_status_enum.rb
         
     | 
| 
      
 402 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_submission_info.rb
         
     | 
| 
      
 403 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/tfv_submission_wrapper.rb
         
     | 
| 
       387 
404 
     | 
    
         
             
            - lib/bandwidth-sdk/models/tn_lookup_request_error.rb
         
     | 
| 
       388 
405 
     | 
    
         
             
            - lib/bandwidth-sdk/models/transcribe_recording.rb
         
     | 
| 
       389 
406 
     | 
    
         
             
            - lib/bandwidth-sdk/models/transcription.rb
         
     | 
| 
         @@ -395,10 +412,19 @@ files: 
     | 
|
| 
       395 
412 
     | 
    
         
             
            - lib/bandwidth-sdk/models/update_call_recording.rb
         
     | 
| 
       396 
413 
     | 
    
         
             
            - lib/bandwidth-sdk/models/update_conference.rb
         
     | 
| 
       397 
414 
     | 
    
         
             
            - lib/bandwidth-sdk/models/update_conference_member.rb
         
     | 
| 
      
 415 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/verification_denial_webhook.rb
         
     | 
| 
      
 416 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/verification_request.rb
         
     | 
| 
      
 417 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/verification_update_request.rb
         
     | 
| 
      
 418 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/verification_webhook.rb
         
     | 
| 
       398 
419 
     | 
    
         
             
            - lib/bandwidth-sdk/models/verify_code_request.rb
         
     | 
| 
       399 
420 
     | 
    
         
             
            - lib/bandwidth-sdk/models/verify_code_response.rb
         
     | 
| 
       400 
421 
     | 
    
         
             
            - lib/bandwidth-sdk/models/voice_api_error.rb
         
     | 
| 
       401 
422 
     | 
    
         
             
            - lib/bandwidth-sdk/models/voice_code_response.rb
         
     | 
| 
      
 423 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/webhook_subscription.rb
         
     | 
| 
      
 424 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb
         
     | 
| 
      
 425 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb
         
     | 
| 
      
 426 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb
         
     | 
| 
      
 427 
     | 
    
         
            +
            - lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb
         
     | 
| 
       402 
428 
     | 
    
         
             
            - lib/bandwidth-sdk/version.rb
         
     | 
| 
       403 
429 
     | 
    
         
             
            - openapi-config.yml
         
     | 
| 
       404 
430 
     | 
    
         
             
            - openapitools.json
         
     | 
| 
         @@ -412,6 +438,7 @@ files: 
     | 
|
| 
       412 
438 
     | 
    
         
             
            - spec/smoke/phone_number_lookup_api_spec.rb
         
     | 
| 
       413 
439 
     | 
    
         
             
            - spec/smoke/recordings_api_spec.rb
         
     | 
| 
       414 
440 
     | 
    
         
             
            - spec/smoke/statistics_api_spec.rb
         
     | 
| 
      
 441 
     | 
    
         
            +
            - spec/smoke/toll_free_verification_api_spec.rb
         
     | 
| 
       415 
442 
     | 
    
         
             
            - spec/smoke/transcriptions_api_spec.rb
         
     | 
| 
       416 
443 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       417 
444 
     | 
    
         
             
            - spec/unit/api/calls_api_spec.rb
         
     | 
| 
         @@ -422,6 +449,7 @@ files: 
     | 
|
| 
       422 
449 
     | 
    
         
             
            - spec/unit/api/phone_number_lookup_api_spec.rb
         
     | 
| 
       423 
450 
     | 
    
         
             
            - spec/unit/api/recordings_api_spec.rb
         
     | 
| 
       424 
451 
     | 
    
         
             
            - spec/unit/api/statistics_api_spec.rb
         
     | 
| 
      
 452 
     | 
    
         
            +
            - spec/unit/api/toll_free_verification_api_spec.rb
         
     | 
| 
       425 
453 
     | 
    
         
             
            - spec/unit/api/transcriptions_api_spec.rb
         
     | 
| 
       426 
454 
     | 
    
         
             
            - spec/unit/client/api_client_spec.rb
         
     | 
| 
       427 
455 
     | 
    
         
             
            - spec/unit/client/api_error_spec.rb
         
     | 
| 
         @@ -489,62 +517,64 @@ summary: Bandwidth Ruby SDK 
     | 
|
| 
       489 
517 
     | 
    
         
             
            test_files:
         
     | 
| 
       490 
518 
     | 
    
         
             
            - spec/call_utils.rb
         
     | 
| 
       491 
519 
     | 
    
         
             
            - spec/fixtures/ruby_cat.jpeg
         
     | 
| 
      
 520 
     | 
    
         
            +
            - spec/smoke/transcriptions_api_spec.rb
         
     | 
| 
       492 
521 
     | 
    
         
             
            - spec/smoke/mfa_api_spec.rb
         
     | 
| 
       493 
     | 
    
         
            -
            - spec/smoke/phone_number_lookup_api_spec.rb
         
     | 
| 
       494 
522 
     | 
    
         
             
            - spec/smoke/media_api_spec.rb
         
     | 
| 
      
 523 
     | 
    
         
            +
            - spec/smoke/phone_number_lookup_api_spec.rb
         
     | 
| 
      
 524 
     | 
    
         
            +
            - spec/smoke/statistics_api_spec.rb
         
     | 
| 
       495 
525 
     | 
    
         
             
            - spec/smoke/messages_api_spec.rb
         
     | 
| 
      
 526 
     | 
    
         
            +
            - spec/smoke/calls_api_spec.rb
         
     | 
| 
       496 
527 
     | 
    
         
             
            - spec/smoke/conferences_api_spec.rb
         
     | 
| 
       497 
     | 
    
         
            -
            - spec/smoke/ 
     | 
| 
      
 528 
     | 
    
         
            +
            - spec/smoke/toll_free_verification_api_spec.rb
         
     | 
| 
       498 
529 
     | 
    
         
             
            - spec/smoke/recordings_api_spec.rb
         
     | 
| 
       499 
     | 
    
         
            -
            - spec/smoke/calls_api_spec.rb
         
     | 
| 
       500 
     | 
    
         
            -
            - spec/smoke/transcriptions_api_spec.rb
         
     | 
| 
       501 
530 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       502 
     | 
    
         
            -
            - spec/unit/models/deferred_result_spec.rb
         
     | 
| 
       503 
531 
     | 
    
         
             
            - spec/unit/models/verify_code_request_spec.rb
         
     | 
| 
       504 
     | 
    
         
            -
            - spec/unit/models/call_state_enum_spec.rb
         
     | 
| 
       505 
532 
     | 
    
         
             
            - spec/unit/models/message_spec.rb
         
     | 
| 
      
 533 
     | 
    
         
            +
            - spec/unit/models/call_state_enum_spec.rb
         
     | 
| 
      
 534 
     | 
    
         
            +
            - spec/unit/models/bxml/nestable_verb_spec.rb
         
     | 
| 
      
 535 
     | 
    
         
            +
            - spec/unit/models/bxml/bxml_spec.rb
         
     | 
| 
      
 536 
     | 
    
         
            +
            - spec/unit/models/bxml/response_spec.rb
         
     | 
| 
      
 537 
     | 
    
         
            +
            - spec/unit/models/bxml/verb_spec.rb
         
     | 
| 
      
 538 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/ring_spec.rb
         
     | 
| 
      
 539 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/start_recording_spec.rb
         
     | 
| 
       506 
540 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/tag_spec.rb
         
     | 
| 
       507 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       508 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       509 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
         
     | 
| 
      
 541 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/forward_spec.rb
         
     | 
| 
      
 542 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/sip_uri_spec.rb
         
     | 
| 
       510 
543 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/record_spec.rb
         
     | 
| 
      
 544 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/speak_sentence_spec.rb
         
     | 
| 
      
 545 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/send_dtmf_spec.rb
         
     | 
| 
      
 546 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/phone_number_spec.rb
         
     | 
| 
       511 
547 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/pause_spec.rb
         
     | 
| 
      
 548 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/transfer_spec.rb
         
     | 
| 
       512 
549 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/start_transcription_spec.rb
         
     | 
| 
       513 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
      
 550 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/resume_recording_spec.rb
         
     | 
| 
       514 
551 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/stop_recording_spec.rb
         
     | 
| 
       515 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       516 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/transfer_spec.rb
         
     | 
| 
      
 552 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/pause_recording_spec.rb
         
     | 
| 
       517 
553 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/redirect_spec.rb
         
     | 
| 
       518 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       519 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       520 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/play_audio_spec.rb
         
     | 
| 
       521 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ring_spec.rb
         
     | 
| 
       522 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/stream_param_spec.rb
         
     | 
| 
       523 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/start_stream_spec.rb
         
     | 
| 
       524 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/forward_spec.rb
         
     | 
| 
      
 554 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/custom_param_spec.rb
         
     | 
| 
      
 555 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/stop_stream_spec.rb
         
     | 
| 
       525 
556 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/conference_spec.rb
         
     | 
| 
       526 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       527 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
      
 557 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/gather_spec.rb
         
     | 
| 
      
 558 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/play_audio_spec.rb
         
     | 
| 
      
 559 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
         
     | 
| 
       528 
560 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/bridge_spec.rb
         
     | 
| 
       529 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
      
 561 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/start_gather_spec.rb
         
     | 
| 
      
 562 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/start_stream_spec.rb
         
     | 
| 
      
 563 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/stream_param_spec.rb
         
     | 
| 
       530 
564 
     | 
    
         
             
            - spec/unit/models/bxml/verbs/hangup_spec.rb
         
     | 
| 
       531 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/ 
     | 
| 
       532 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/stop_stream_spec.rb
         
     | 
| 
       533 
     | 
    
         
            -
            - spec/unit/models/bxml/verbs/custom_param_spec.rb
         
     | 
| 
       534 
     | 
    
         
            -
            - spec/unit/models/bxml/bxml_spec.rb
         
     | 
| 
       535 
     | 
    
         
            -
            - spec/unit/models/bxml/nestable_verb_spec.rb
         
     | 
| 
       536 
     | 
    
         
            -
            - spec/unit/models/bxml/verb_spec.rb
         
     | 
| 
       537 
     | 
    
         
            -
            - spec/unit/models/bxml/response_spec.rb
         
     | 
| 
      
 565 
     | 
    
         
            +
            - spec/unit/models/bxml/verbs/stop_gather_spec.rb
         
     | 
| 
       538 
566 
     | 
    
         
             
            - spec/unit/models/call_state_spec.rb
         
     | 
| 
      
 567 
     | 
    
         
            +
            - spec/unit/models/deferred_result_spec.rb
         
     | 
| 
      
 568 
     | 
    
         
            +
            - spec/unit/api/transcriptions_api_spec.rb
         
     | 
| 
       539 
569 
     | 
    
         
             
            - spec/unit/api/mfa_api_spec.rb
         
     | 
| 
       540 
     | 
    
         
            -
            - spec/unit/api/phone_number_lookup_api_spec.rb
         
     | 
| 
       541 
570 
     | 
    
         
             
            - spec/unit/api/media_api_spec.rb
         
     | 
| 
      
 571 
     | 
    
         
            +
            - spec/unit/api/phone_number_lookup_api_spec.rb
         
     | 
| 
      
 572 
     | 
    
         
            +
            - spec/unit/api/statistics_api_spec.rb
         
     | 
| 
       542 
573 
     | 
    
         
             
            - spec/unit/api/messages_api_spec.rb
         
     | 
| 
      
 574 
     | 
    
         
            +
            - spec/unit/api/calls_api_spec.rb
         
     | 
| 
       543 
575 
     | 
    
         
             
            - spec/unit/api/conferences_api_spec.rb
         
     | 
| 
       544 
     | 
    
         
            -
            - spec/unit/api/ 
     | 
| 
      
 576 
     | 
    
         
            +
            - spec/unit/api/toll_free_verification_api_spec.rb
         
     | 
| 
       545 
577 
     | 
    
         
             
            - spec/unit/api/recordings_api_spec.rb
         
     | 
| 
       546 
     | 
    
         
            -
            - spec/unit/api/calls_api_spec.rb
         
     | 
| 
       547 
     | 
    
         
            -
            - spec/unit/api/transcriptions_api_spec.rb
         
     | 
| 
       548 
     | 
    
         
            -
            - spec/unit/client/api_error_spec.rb
         
     | 
| 
       549 
     | 
    
         
            -
            - spec/unit/client/configuration_spec.rb
         
     | 
| 
       550 
578 
     | 
    
         
             
            - spec/unit/client/api_client_spec.rb
         
     | 
| 
      
 579 
     | 
    
         
            +
            - spec/unit/client/configuration_spec.rb
         
     | 
| 
      
 580 
     | 
    
         
            +
            - spec/unit/client/api_error_spec.rb
         
     | 
| 
         @@ -1,24 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Bandwidth::CreateParticipantRequest
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            ## Properties
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            | Name | Type | Description | Notes |
         
     | 
| 
       6 
     | 
    
         
            -
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
       7 
     | 
    
         
            -
            | **callback_url** | **String** | Full callback url to use for notifications about this participant. | [optional] |
         
     | 
| 
       8 
     | 
    
         
            -
            | **publish_permissions** | [**Array<PublishPermissionsEnum>**](PublishPermissionsEnum.md) | Defines if this participant can publish audio or video. | [optional] |
         
     | 
| 
       9 
     | 
    
         
            -
            | **tag** | **String** | User defined tag to associate with the participant. | [optional] |
         
     | 
| 
       10 
     | 
    
         
            -
            | **device_api_version** | [**DeviceApiVersionEnum**](DeviceApiVersionEnum.md) |  | [optional][default to 'V3'] |
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            ## Example
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
            ```ruby
         
     | 
| 
       15 
     | 
    
         
            -
            require 'bandwidth-sdk'
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
            instance = Bandwidth::CreateParticipantRequest.new(
         
     | 
| 
       18 
     | 
    
         
            -
              callback_url: https://example.com/callback,
         
     | 
| 
       19 
     | 
    
         
            -
              publish_permissions: ["VIDEO","AUDIO"],
         
     | 
| 
       20 
     | 
    
         
            -
              tag: participant1,
         
     | 
| 
       21 
     | 
    
         
            -
              device_api_version: null
         
     | 
| 
       22 
     | 
    
         
            -
            )
         
     | 
| 
       23 
     | 
    
         
            -
            ```
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
         @@ -1,20 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Bandwidth::CreateParticipantResponse
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            ## Properties
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            | Name | Type | Description | Notes |
         
     | 
| 
       6 
     | 
    
         
            -
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
       7 
     | 
    
         
            -
            | **participant** | [**Participant**](Participant.md) |  | [optional] |
         
     | 
| 
       8 
     | 
    
         
            -
            | **token** | **String** | Auth token for the returned participant.  This should be passed to the participant so that they can connect to the platform. | [optional] |
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            ## Example
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            ```ruby
         
     | 
| 
       13 
     | 
    
         
            -
            require 'bandwidth-sdk'
         
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            instance = Bandwidth::CreateParticipantResponse.new(
         
     | 
| 
       16 
     | 
    
         
            -
              participant: null,
         
     | 
| 
       17 
     | 
    
         
            -
              token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiaWF0IjoxNTE2MjM5MDIyfQ.L8i6g3PfcHlioHCCPURC9pmXT7gdJpx3kOoyAfNUwCc
         
     | 
| 
       18 
     | 
    
         
            -
            )
         
     | 
| 
       19 
     | 
    
         
            -
            ```
         
     | 
| 
       20 
     | 
    
         
            -
             
     |