bandwidth-sdk 13.1.4 → 14.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -12
- data/README.md +45 -18
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +1638 -589
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +1388 -420
- data/coverage/index.html +20846 -10460
- data/custom_templates/README.mustache +6 -6
- data/custom_templates/gemspec.mustache +1 -1
- data/docs/AdditionalDenialReason.md +22 -0
- data/docs/Address.md +30 -0
- data/docs/CallbackTypeEnum.md +15 -0
- data/docs/Contact.md +24 -0
- data/docs/Error.md +22 -0
- data/docs/FailureWebhook.md +28 -0
- data/docs/LinksObject.md +24 -0
- data/docs/MediaApi.md +1 -1
- data/docs/Message.md +1 -1
- data/docs/MessageCallback.md +28 -0
- data/docs/MessageCallbackMessage.md +40 -0
- data/docs/OptInWorkflow.md +20 -0
- data/docs/TelephoneNumber.md +18 -0
- data/docs/TfvBasicAuthentication.md +20 -0
- data/docs/TfvCallbackStatusEnum.md +15 -0
- data/docs/TfvError.md +22 -0
- data/docs/TfvStatus.md +32 -0
- data/docs/TfvStatusEnum.md +15 -0
- 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/media_api.rb +1 -1
- 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/callback_type_enum.rb +42 -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/{transcription_metadata.rb → links_object.rb} +34 -35
- data/lib/bandwidth-sdk/models/{message_failed_callback.rb → message_callback.rb} +31 -13
- data/lib/bandwidth-sdk/models/{inbound_message_callback_message.rb → message_callback_message.rb} +6 -4
- data/lib/bandwidth-sdk/models/{inbound_message_callback.rb → opt_in_workflow.rb} +42 -61
- data/lib/bandwidth-sdk/models/telephone_number.rb +213 -0
- data/lib/bandwidth-sdk/models/{message_delivered_callback.rb → tfv_basic_authentication.rb} +58 -69
- data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/{message_sending_callback.rb → tfv_error.rb} +12 -64
- data/lib/bandwidth-sdk/models/{message_delivered_callback_message.rb → tfv_status.rb} +86 -162
- 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/{transcription_list.rb → tfv_submission_wrapper.rb} +12 -14
- 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/{message_failed_callback_message.rb → webhook_subscription.rb} +68 -158
- 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 +28 -8
- 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 +111 -62
- data/lib/bandwidth-sdk/models/disconenct_callback.rb +0 -405
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +0 -418
@@ -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
|
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
{{^isFaraday}}
|
28
28
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
29
29
|
{{/isFaraday}}
|
30
|
-
s.add_runtime_dependency 'ox', '~> 2.
|
30
|
+
s.add_runtime_dependency 'ox', '~> 2.14'
|
31
31
|
s.add_runtime_dependency 'marcel'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
@@ -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/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
|
+
|
data/docs/MediaApi.md
CHANGED
@@ -302,6 +302,6 @@ nil (empty response body)
|
|
302
302
|
|
303
303
|
### HTTP request headers
|
304
304
|
|
305
|
-
- **Content-Type**: application/json, application/ogg, application/pdf, application/rtf, application/zip, application/x-tar, application/xml, application/gzip, application/x-bzip2, application/x-gzip, application/smil, application/javascript, audio/mp4, audio/mpeg, audio/ogg, audio/flac, audio/webm, audio/wav, audio/amr, audio/3gpp, image/bmp, image/gif, image/jpeg, image/pjpeg, image/png, image/svg+xml, image/tiff, image/webp, image/x-icon, text/css, text/csv, text/calendar, text/plain, text/javascript, text/vcard, text/vnd.wap.wml, text/xml, video/avi, video/mp4, video/mpeg, video/ogg, video/quicktime, video/webm, video/x-ms-wmv
|
305
|
+
- **Content-Type**: application/json, application/ogg, application/pdf, application/rtf, application/zip, application/x-tar, application/xml, application/gzip, application/x-bzip2, application/x-gzip, application/smil, application/javascript, audio/mp4, audio/mpeg, audio/ogg, audio/flac, audio/webm, audio/wav, audio/amr, audio/3gpp, image/bmp, image/gif, image/heic, image/heif, image/jpeg, image/pjpeg, image/png, image/svg+xml, image/tiff, image/webp, image/x-icon, text/css, text/csv, text/calendar, text/html, text/plain, text/javascript, text/vcard, text/vnd.wap.wml, text/xml, video/avi, video/mp4, video/mpeg, video/ogg, video/quicktime, video/webm, video/x-ms-wmv, video/x-flv
|
306
306
|
- **Accept**: application/json
|
307
307
|
|
data/docs/Message.md
CHANGED
@@ -27,7 +27,7 @@ instance = Bandwidth::Message.new(
|
|
27
27
|
id: 1589228074636lm4k2je7j7jklbn2,
|
28
28
|
owner: +15554443333,
|
29
29
|
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
30
|
-
time:
|
30
|
+
time: 2024-12-02T20:15:57.278Z,
|
31
31
|
segment_count: 2,
|
32
32
|
direction: null,
|
33
33
|
to: ["+15552223333"],
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Bandwidth::MessageCallback
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time** | **Time** | | |
|
8
|
+
| **type** | [**CallbackTypeEnum**](CallbackTypeEnum.md) | | |
|
9
|
+
| **to** | **String** | | |
|
10
|
+
| **description** | **String** | A detailed description of the event described by the callback. | |
|
11
|
+
| **message** | [**MessageCallbackMessage**](MessageCallbackMessage.md) | | |
|
12
|
+
| **error_code** | **Integer** | Optional error code, applicable only when type is `message-failed`. | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'bandwidth-sdk'
|
18
|
+
|
19
|
+
instance = Bandwidth::MessageCallback.new(
|
20
|
+
time: 2024-12-02T20:15:57.278Z,
|
21
|
+
type: null,
|
22
|
+
to: +15552223333,
|
23
|
+
description: rejected-unallocated-from-number,
|
24
|
+
message: null,
|
25
|
+
error_code: 4405
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Bandwidth::MessageCallbackMessage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **owner** | **String** | | |
|
9
|
+
| **application_id** | **String** | | |
|
10
|
+
| **time** | **Time** | | |
|
11
|
+
| **segment_count** | **Integer** | | |
|
12
|
+
| **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | |
|
13
|
+
| **to** | **Array<String>** | | |
|
14
|
+
| **from** | **String** | | |
|
15
|
+
| **text** | **String** | | |
|
16
|
+
| **tag** | **String** | | [optional] |
|
17
|
+
| **media** | **Array<String>** | Optional media, applicable only for mms | [optional] |
|
18
|
+
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'bandwidth-sdk'
|
24
|
+
|
25
|
+
instance = Bandwidth::MessageCallbackMessage.new(
|
26
|
+
id: 1661365814859loidf7mcwd4qacn7,
|
27
|
+
owner: +15553332222,
|
28
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
29
|
+
time: 2024-12-02T20:15:57.666Z,
|
30
|
+
segment_count: 1,
|
31
|
+
direction: null,
|
32
|
+
to: ["+15552223333"],
|
33
|
+
from: +15553332222,
|
34
|
+
text: Hello world,
|
35
|
+
tag: custom string,
|
36
|
+
media: ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"],
|
37
|
+
priority: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -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
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Bandwidth::TfvCallbackStatusEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'bandwidth-sdk'
|
12
|
+
|
13
|
+
instance = Bandwidth::TfvCallbackStatusEnum.new()
|
14
|
+
```
|
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
|
+
|