Skip to content

Commit de531b6

Browse files
Generate SDK with OpenAPI Generator Version (#184)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 272a7a8 commit de531b6

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

bandwidth.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ components:
33573357
33583358
| verstat | (optional) The verification status indicating whether
33593359
the verification was successful or not. Possible values are
3360-
`TN-Verification-Passed` or `TN-Verification-Failed`. |
3360+
`TN-Validation-Passed` or `TN-Validation-Failed`. |
33613361
33623362
| attestationIndicator | (optional) The attestation level verified
33633363
by Bandwidth. Possible values are `A` (full), `B` (partial) or `C`
@@ -3375,7 +3375,7 @@ components:
33753375
additionalProperties:
33763376
type: string
33773377
example:
3378-
verstat: TN-Verification-Passed
3378+
verstat: TN-Validation-Passed
33793379
attestationIndicator: A
33803380
originatingId: abc123
33813381
identity:
@@ -5211,8 +5211,8 @@ components:
52115211
description: >-
52125212
(optional) The verification status indicating whether the
52135213
verification was successful or not. Possible values are
5214-
TN-Verification-Passed and TN-Verification-Failed.
5215-
example: Tn-Verification-Passed
5214+
TN-Validation-Passed and TN-Validation-Failed.
5215+
example: Tn-Validation-Passed
52165216
attestationIndicator:
52175217
type: string
52185218
description: >-

docs/CallState.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| **from** | **String** | The phone number that made the call, in E.164 format (e.g. +15555555555). | [optional] |
1313
| **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
1414
| **state** | **String** | The current state of the call. Current possible values are &#x60;queued&#x60;, &#x60;initiated&#x60;, &#x60;answered&#x60; and &#x60;disconnected&#x60;. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional] |
15-
| **stir_shaken** | **Hash&lt;String, String&gt;** | For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request &#x60;Identity&#x60; header. The verification status is stored in the call state &#x60;stirShaken&#x60; property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are &#x60;TN-Verification-Passed&#x60; or &#x60;TN-Verification-Failed&#x60;. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are &#x60;A&#x60; (full), &#x60;B&#x60; (partial) or &#x60;C&#x60; (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the &#x60;stirShaken&#x60; object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken). | [optional] |
15+
| **stir_shaken** | **Hash&lt;String, String&gt;** | For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request &#x60;Identity&#x60; header. The verification status is stored in the call state &#x60;stirShaken&#x60; property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are &#x60;TN-Validation-Passed&#x60; or &#x60;TN-Validation-Failed&#x60;. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are &#x60;A&#x60; (full), &#x60;B&#x60; (partial) or &#x60;C&#x60; (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the &#x60;stirShaken&#x60; object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken). | [optional] |
1616
| **identity** | **String** | The value of the &#x60;Identity&#x60; header from the inbound invite request. Only present for inbound calls and if the account is configured to forward this header. | [optional] |
1717
| **enqueued_time** | **Time** | The time this call was placed in queue. | [optional] |
1818
| **start_time** | **Time** | The time the call was initiated, in ISO 8601 format. &#x60;null&#x60; if the call is still in your queue. | [optional] |
@@ -37,7 +37,7 @@ instance = Bandwidth::CallState.new(
3737
from: +19195554321,
3838
direction: null,
3939
state: disconnected,
40-
stir_shaken: {&quot;verstat&quot;:&quot;TN-Verification-Passed&quot;,&quot;attestationIndicator&quot;:&quot;A&quot;,&quot;originatingId&quot;:&quot;abc123&quot;},
40+
stir_shaken: {&quot;verstat&quot;:&quot;TN-Validation-Passed&quot;,&quot;attestationIndicator&quot;:&quot;A&quot;,&quot;originatingId&quot;:&quot;abc123&quot;},
4141
identity: eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9idy1zaGFrZW4tY2VydC1wdWIuczMuYW1hem9uYXdzLmNvbS9iYW5kd2lkdGgtc2hha2VuLWNlcnRfMjAyMzA3MTYucGVtIn0.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxOTg0MjgyMDI4MCJdfSwiaWF0IjoxNjU2NTM0MzM2LCJvcmlnIjp7InRuIjoiMTkxOTQ0NDI2ODMifSwib3JpZ2lkIjoiNDk0NTlhOGEtNDJmNi0zNTFjLTkzNjEtYWRmNTdhOWUwOGNhIn0.56un9sRw_uH-sbJvnUsqdevlVxbOVjn8MVlGTlBMicjaZuRRwxfiNp-C9zYCMKTTCbc-QdYPN05F61XNVN4D3w;info&#x3D;&lt;https://bw-shaken-cert-pub.s3.amazonaws.com/bandwidth-shaken-cert_20230716.pem&gt;;alg&#x3D;ES256;ppt&#x3D;shaken,
4242
enqueued_time: 2022-06-16T13:15:07.160Z,
4343
start_time: 2022-06-16T13:15:07.160Z,

docs/StirShaken.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **verstat** | **String** | (optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Verification-Passed and TN-Verification-Failed. | [optional] |
7+
| **verstat** | **String** | (optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Validation-Passed and TN-Validation-Failed. | [optional] |
88
| **attestation_indicator** | **String** | (optional) The attestation level verified by Bandwidth. Possible values are A (full), B (partial) or C (gateway). | [optional] |
99
| **originating_id** | **String** | (optional) A unique origination identifier. | [optional] |
1010

@@ -14,7 +14,7 @@
1414
require 'bandwidth-sdk'
1515

1616
instance = Bandwidth::StirShaken.new(
17-
verstat: Tn-Verification-Passed,
17+
verstat: Tn-Validation-Passed,
1818
attestation_indicator: A,
1919
originating_id: 99759086-1335-11ed-9bcf-5f7d464e91af
2020
)

lib/bandwidth-sdk/models/call_state.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CallState
3838
# The current state of the call. Current possible values are `queued`, `initiated`, `answered` and `disconnected`. Additional states may be added in the future, so your application must be tolerant of unknown values.
3939
attr_accessor :state
4040

41-
# For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-Verification-Passed` or `TN-Verification-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the `stirShaken` object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken).
41+
# For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-Validation-Passed` or `TN-Validation-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the `stirShaken` object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken).
4242
attr_accessor :stir_shaken
4343

4444
# The value of the `Identity` header from the inbound invite request. Only present for inbound calls and if the account is configured to forward this header.

lib/bandwidth-sdk/models/stir_shaken.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
module Bandwidth
1717
class StirShaken
18-
# (optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Verification-Passed and TN-Verification-Failed.
18+
# (optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Validation-Passed and TN-Validation-Failed.
1919
attr_accessor :verstat
2020

2121
# (optional) The attestation level verified by Bandwidth. Possible values are A (full), B (partial) or C (gateway).

0 commit comments

Comments
 (0)