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
 
| 
         @@ -5,12 +5,12 @@ 
     | 
|
| 
       5 
5 
     | 
    
         
             
            [](https://github.com/rubocop/rubocop)
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            | 
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            | Windows 2019 |  
     | 
| 
       11 
     | 
    
         
            -
            | Windows 2022 |  
     | 
| 
       12 
     | 
    
         
            -
            | Ubuntu  
     | 
| 
       13 
     | 
    
         
            -
            | Ubuntu  
     | 
| 
      
 8 
     | 
    
         
            +
            |    **OS**    |      **Ruby**      |
         
     | 
| 
      
 9 
     | 
    
         
            +
            |:------------:|:------------------:|
         
     | 
| 
      
 10 
     | 
    
         
            +
            | Windows 2019 | 3.0, 3.1, 3.2, 3.3 |
         
     | 
| 
      
 11 
     | 
    
         
            +
            | Windows 2022 | 3.0, 3.1, 3.2, 3.3 |
         
     | 
| 
      
 12 
     | 
    
         
            +
            | Ubuntu 22.04 | 3.0, 3.1, 3.2, 3.3 |
         
     | 
| 
      
 13 
     | 
    
         
            +
            | Ubuntu 24.04 | 3.0, 3.1, 3.2, 3.3 |
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            {{moduleName}} - the Ruby gem for the {{appName}} SDK
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::AdditionalDenialReason
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **status_code** | **Integer** | Reason code for denial. |  |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **reason** | **String** | Explanation for why a verification request was declined. |  |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **resubmit_allowed** | **Boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. |  |
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            instance = Bandwidth::AdditionalDenialReason.new(
         
     | 
| 
      
 17 
     | 
    
         
            +
              status_code: 511,
         
     | 
| 
      
 18 
     | 
    
         
            +
              reason: Invalid Information - Can't Validate URL - Website is not accessible / not available,
         
     | 
| 
      
 19 
     | 
    
         
            +
              resubmit_allowed: true
         
     | 
| 
      
 20 
     | 
    
         
            +
            )
         
     | 
| 
      
 21 
     | 
    
         
            +
            ```
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
    
        data/docs/Address.md
    ADDED
    
    | 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::Address
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **name** | **String** | The name of the business using the toll-free number. |  |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **addr1** | **String** | The address of the business using the toll-free number. |  |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **addr2** | **String** | The address of the business using the toll-free number. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **city** | **String** | The city of the business using the toll-free number. |  |
         
     | 
| 
      
 11 
     | 
    
         
            +
            | **state** | **String** | The state of the business using the toll-free number. |  |
         
     | 
| 
      
 12 
     | 
    
         
            +
            | **zip** | **String** | The zip of the business using the toll-free number. |  |
         
     | 
| 
      
 13 
     | 
    
         
            +
            | **url** | **String** | The website of the business using the toll-free number. |  |
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 18 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            instance = Bandwidth::Address.new(
         
     | 
| 
      
 21 
     | 
    
         
            +
              name: Bandwidth Inc.,
         
     | 
| 
      
 22 
     | 
    
         
            +
              addr1: 2230 Bandmate Way,
         
     | 
| 
      
 23 
     | 
    
         
            +
              addr2: null,
         
     | 
| 
      
 24 
     | 
    
         
            +
              city: Raleigh,
         
     | 
| 
      
 25 
     | 
    
         
            +
              state: NC,
         
     | 
| 
      
 26 
     | 
    
         
            +
              zip: 27606,
         
     | 
| 
      
 27 
     | 
    
         
            +
              url: https://www.example.com/path/to/resource
         
     | 
| 
      
 28 
     | 
    
         
            +
            )
         
     | 
| 
      
 29 
     | 
    
         
            +
            ```
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
    
        data/docs/Contact.md
    ADDED
    
    | 
         @@ -0,0 +1,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::Contact
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **first_name** | **String** | The first name of the business contact using the toll-free number. |  |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **last_name** | **String** | The last name of the business contact using the toll-free number. |  |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **email** | **String** |  |  |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **phone_number** | **String** | Contact telephone number |  |
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 15 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            instance = Bandwidth::Contact.new(
         
     | 
| 
      
 18 
     | 
    
         
            +
              first_name: John,
         
     | 
| 
      
 19 
     | 
    
         
            +
              last_name: Doe,
         
     | 
| 
      
 20 
     | 
    
         
            +
              email: foo@bar.com,
         
     | 
| 
      
 21 
     | 
    
         
            +
              phone_number: +19192654500
         
     | 
| 
      
 22 
     | 
    
         
            +
            )
         
     | 
| 
      
 23 
     | 
    
         
            +
            ```
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
    
        data/docs/Error.md
    ADDED
    
    | 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::Error
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **code** | **Integer** |  | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **description** | **String** |  | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **telephone_numbers** | [**Array<TelephoneNumber>**](TelephoneNumber.md) |  | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            instance = Bandwidth::Error.new(
         
     | 
| 
      
 17 
     | 
    
         
            +
              code: null,
         
     | 
| 
      
 18 
     | 
    
         
            +
              description: null,
         
     | 
| 
      
 19 
     | 
    
         
            +
              telephone_numbers: null
         
     | 
| 
      
 20 
     | 
    
         
            +
            )
         
     | 
| 
      
 21 
     | 
    
         
            +
            ```
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::FailureWebhook
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **account_id** | **String** | User's account ID. | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **phone_number** | **String** | Toll-free telephone number in E.164 format. | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **error_code** | **String** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **error_description** | **String** | A description of the error that was encountered. | [optional] |
         
     | 
| 
      
 11 
     | 
    
         
            +
            | **errors** | **Array<String>** | Details of the errors that were encountered when processing the request. | [optional] |
         
     | 
| 
      
 12 
     | 
    
         
            +
            | **internal_ticket_number** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 17 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            instance = Bandwidth::FailureWebhook.new(
         
     | 
| 
      
 20 
     | 
    
         
            +
              account_id: 1234567,
         
     | 
| 
      
 21 
     | 
    
         
            +
              phone_number: +18005555555,
         
     | 
| 
      
 22 
     | 
    
         
            +
              error_code: 400,
         
     | 
| 
      
 23 
     | 
    
         
            +
              error_description: cannot process request.,
         
     | 
| 
      
 24 
     | 
    
         
            +
              errors: null,
         
     | 
| 
      
 25 
     | 
    
         
            +
              internal_ticket_number: acde070d-8c4c-4f0d-9d8a-162843c10333
         
     | 
| 
      
 26 
     | 
    
         
            +
            )
         
     | 
| 
      
 27 
     | 
    
         
            +
            ```
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
    
        data/docs/InitiateCallback.md
    CHANGED
    
    | 
         @@ -16,6 +16,7 @@ 
     | 
|
| 
       16 
16 
     | 
    
         
             
            | **start_time** | **Time** | Time the call was started, in ISO 8601 format. | [optional] |
         
     | 
| 
       17 
17 
     | 
    
         
             
            | **diversion** | [**Diversion**](Diversion.md) |  | [optional] |
         
     | 
| 
       18 
18 
     | 
    
         
             
            | **stir_shaken** | [**StirShaken**](StirShaken.md) |  | [optional] |
         
     | 
| 
      
 19 
     | 
    
         
            +
            | **uui** | **String** | The value of the `User-To-User` header to send within the initial `INVITE`. Must include the encoding parameter as specified in RFC 7433. Only `base64`, `jwt` and `hex` encoding are currently allowed. This value, including the encoding specifier, may not exceed 256 characters. | [optional] |
         
     | 
| 
       19 
20 
     | 
    
         | 
| 
       20 
21 
     | 
    
         
             
            ## Example
         
     | 
| 
       21 
22 
     | 
    
         | 
| 
         @@ -34,7 +35,8 @@ instance = Bandwidth::InitiateCallback.new( 
     | 
|
| 
       34 
35 
     | 
    
         
             
              call_url: https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
         
     | 
| 
       35 
36 
     | 
    
         
             
              start_time: 2022-06-17T22:19:40.375Z,
         
     | 
| 
       36 
37 
     | 
    
         
             
              diversion: null,
         
     | 
| 
       37 
     | 
    
         
            -
              stir_shaken: null
         
     | 
| 
      
 38 
     | 
    
         
            +
              stir_shaken: null,
         
     | 
| 
      
 39 
     | 
    
         
            +
              uui: bXktdXVp
         
     | 
| 
       38 
40 
     | 
    
         
             
            )
         
     | 
| 
       39 
41 
     | 
    
         
             
            ```
         
     | 
| 
       40 
42 
     | 
    
         | 
    
        data/docs/LinksObject.md
    ADDED
    
    | 
         @@ -0,0 +1,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::LinksObject
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **first** | **String** | The first (or only) page of results matching the query. | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **_next** | **String** | If more results exist than specified by 'size', this link returns the next page of 'size' results. | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **previous** | **String** | If the results are more than one page, this link returns the previous page of 'size' results. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **last** | **String** | If more results exist than specified by 'size', this link return the last page of result. | [optional] |
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 15 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            instance = Bandwidth::LinksObject.new(
         
     | 
| 
      
 18 
     | 
    
         
            +
              first: null,
         
     | 
| 
      
 19 
     | 
    
         
            +
              _next: null,
         
     | 
| 
      
 20 
     | 
    
         
            +
              previous: null,
         
     | 
| 
      
 21 
     | 
    
         
            +
              last: null
         
     | 
| 
      
 22 
     | 
    
         
            +
            )
         
     | 
| 
      
 23 
     | 
    
         
            +
            ```
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::OptInWorkflow
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **description** | **String** |  |  |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **image_urls** | **Array<String>** |  |  |
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 13 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            instance = Bandwidth::OptInWorkflow.new(
         
     | 
| 
      
 16 
     | 
    
         
            +
              description: Opt In Flow,
         
     | 
| 
      
 17 
     | 
    
         
            +
              image_urls: null
         
     | 
| 
      
 18 
     | 
    
         
            +
            )
         
     | 
| 
      
 19 
     | 
    
         
            +
            ```
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TelephoneNumber
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **telephone_number** | **String** | Simple Telephone Number. | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 12 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            instance = Bandwidth::TelephoneNumber.new(
         
     | 
| 
      
 15 
     | 
    
         
            +
              telephone_number: null
         
     | 
| 
      
 16 
     | 
    
         
            +
            )
         
     | 
| 
      
 17 
     | 
    
         
            +
            ```
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvBasicAuthentication
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **username** | **String** |  |  |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **password** | **String** |  |  |
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 13 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            instance = Bandwidth::TfvBasicAuthentication.new(
         
     | 
| 
      
 16 
     | 
    
         
            +
              username: null,
         
     | 
| 
      
 17 
     | 
    
         
            +
              password: null
         
     | 
| 
      
 18 
     | 
    
         
            +
            )
         
     | 
| 
      
 19 
     | 
    
         
            +
            ```
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Bandwidth:: 
     | 
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvCallbackStatusEnum
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            ## Properties
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
         @@ -10,6 +10,6 @@ 
     | 
|
| 
       10 
10 
     | 
    
         
             
            ```ruby
         
     | 
| 
       11 
11 
     | 
    
         
             
            require 'bandwidth-sdk'
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            instance = Bandwidth:: 
     | 
| 
      
 13 
     | 
    
         
            +
            instance = Bandwidth::TfvCallbackStatusEnum.new()
         
     | 
| 
       14 
14 
     | 
    
         
             
            ```
         
     | 
| 
       15 
15 
     | 
    
         | 
    
        data/docs/TfvError.md
    ADDED
    
    | 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvError
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **type** | **String** |  | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **description** | **String** |  | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **errors** | **Object** | Each key of this errors object refers to a field of the submitted object (using dot notation for nested objects), with the field being a key to an array of one or more errors for that field. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            instance = Bandwidth::TfvError.new(
         
     | 
| 
      
 17 
     | 
    
         
            +
              type: Error Type,
         
     | 
| 
      
 18 
     | 
    
         
            +
              description: Error Message,
         
     | 
| 
      
 19 
     | 
    
         
            +
              errors: {"field":"error message"}
         
     | 
| 
      
 20 
     | 
    
         
            +
            )
         
     | 
| 
      
 21 
     | 
    
         
            +
            ```
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
    
        data/docs/TfvStatus.md
    ADDED
    
    | 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvStatus
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **phone_number** | **String** | Toll-free telephone number in E.164 format. | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **status** | [**TfvStatusEnum**](TfvStatusEnum.md) |  | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **internal_ticket_number** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **decline_reason_description** | **String** | Explanation for why a verification request was declined. | [optional] |
         
     | 
| 
      
 11 
     | 
    
         
            +
            | **resubmit_allowed** | **Boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] |
         
     | 
| 
      
 12 
     | 
    
         
            +
            | **created_date_time** | **Time** | Date and time the verification request was created. | [optional] |
         
     | 
| 
      
 13 
     | 
    
         
            +
            | **modified_date_time** | **Time** | Date and time the verification request was last modified. | [optional] |
         
     | 
| 
      
 14 
     | 
    
         
            +
            | **submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) |  | [optional] |
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 19 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            instance = Bandwidth::TfvStatus.new(
         
     | 
| 
      
 22 
     | 
    
         
            +
              phone_number: +18005555555,
         
     | 
| 
      
 23 
     | 
    
         
            +
              status: null,
         
     | 
| 
      
 24 
     | 
    
         
            +
              internal_ticket_number: acde070d-8c4c-4f0d-9d8a-162843c10333,
         
     | 
| 
      
 25 
     | 
    
         
            +
              decline_reason_description: Invalid Information - Can't Validate URL - Website is not accessible / not available,
         
     | 
| 
      
 26 
     | 
    
         
            +
              resubmit_allowed: true,
         
     | 
| 
      
 27 
     | 
    
         
            +
              created_date_time: 2021-06-08T06:45:13Z,
         
     | 
| 
      
 28 
     | 
    
         
            +
              modified_date_time: 2021-06-08T06:45:13Z,
         
     | 
| 
      
 29 
     | 
    
         
            +
              submission: null
         
     | 
| 
      
 30 
     | 
    
         
            +
            )
         
     | 
| 
      
 31 
     | 
    
         
            +
            ```
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,34 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvSubmissionInfo
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **business_address** | [**Address**](Address.md) |  | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
            | **business_contact** | [**Contact**](Contact.md) |  | [optional] |
         
     | 
| 
      
 9 
     | 
    
         
            +
            | **message_volume** | **Integer** | Estimated monthly volume of messages from the toll-free number. | [optional] |
         
     | 
| 
      
 10 
     | 
    
         
            +
            | **use_case** | **String** | The category of the use case. | [optional] |
         
     | 
| 
      
 11 
     | 
    
         
            +
            | **use_case_summary** | **String** | A general idea of the use case and customer. | [optional] |
         
     | 
| 
      
 12 
     | 
    
         
            +
            | **production_message_content** | **String** | Example of message content. | [optional] |
         
     | 
| 
      
 13 
     | 
    
         
            +
            | **opt_in_workflow** | [**OptInWorkflow**](OptInWorkflow.md) |  | [optional] |
         
     | 
| 
      
 14 
     | 
    
         
            +
            | **additional_information** | **String** | Any additional information. | [optional] |
         
     | 
| 
      
 15 
     | 
    
         
            +
            | **isv_reseller** | **String** | ISV name. | [optional] |
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 20 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            instance = Bandwidth::TfvSubmissionInfo.new(
         
     | 
| 
      
 23 
     | 
    
         
            +
              business_address: null,
         
     | 
| 
      
 24 
     | 
    
         
            +
              business_contact: null,
         
     | 
| 
      
 25 
     | 
    
         
            +
              message_volume: 10000,
         
     | 
| 
      
 26 
     | 
    
         
            +
              use_case: 2FA,
         
     | 
| 
      
 27 
     | 
    
         
            +
              use_case_summary: Text summarizing the use case for the toll-free number,
         
     | 
| 
      
 28 
     | 
    
         
            +
              production_message_content: Production message content,
         
     | 
| 
      
 29 
     | 
    
         
            +
              opt_in_workflow: null,
         
     | 
| 
      
 30 
     | 
    
         
            +
              additional_information: Any additional information,
         
     | 
| 
      
 31 
     | 
    
         
            +
              isv_reseller: Test ISV
         
     | 
| 
      
 32 
     | 
    
         
            +
            )
         
     | 
| 
      
 33 
     | 
    
         
            +
            ```
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Bandwidth::TfvSubmissionWrapper
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            | Name | Type | Description | Notes |
         
     | 
| 
      
 6 
     | 
    
         
            +
            | ---- | ---- | ----------- | ----- |
         
     | 
| 
      
 7 
     | 
    
         
            +
            | **submission** | [**VerificationUpdateRequest**](VerificationUpdateRequest.md) |  | [optional] |
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ## Example
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 12 
     | 
    
         
            +
            require 'bandwidth-sdk'
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            instance = Bandwidth::TfvSubmissionWrapper.new(
         
     | 
| 
      
 15 
     | 
    
         
            +
              submission: null
         
     | 
| 
      
 16 
     | 
    
         
            +
            )
         
     | 
| 
      
 17 
     | 
    
         
            +
            ```
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     |