Skip to content

Commit 18e68d2

Browse files
Generate SDK with OpenAPI Generator Version (#264)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 48e4704 commit 18e68d2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
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: >-

bandwidth/models/call_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CallState(BaseModel):
3737
var_from: Optional[StrictStr] = Field(default=None, description="The phone number that made the call, in E.164 format (e.g. +15555555555).", alias="from")
3838
direction: Optional[CallDirectionEnum] = None
3939
state: Optional[StrictStr] = Field(default=None, description="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.")
40-
stir_shaken: Optional[Dict[str, StrictStr]] = Field(default=None, description="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).", alias="stirShaken")
40+
stir_shaken: Optional[Dict[str, StrictStr]] = Field(default=None, description="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).", alias="stirShaken")
4141
identity: Optional[StrictStr] = Field(default=None, description="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.")
4242
enqueued_time: Optional[datetime] = Field(default=None, description="The time this call was placed in queue.", alias="enqueuedTime")
4343
start_time: Optional[datetime] = Field(default=None, description="The time the call was initiated, in ISO 8601 format. `null` if the call is still in your queue.", alias="startTime")

bandwidth/models/stir_shaken.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class StirShaken(BaseModel):
2727
"""
2828
StirShaken
2929
""" # noqa: E501
30-
verstat: Optional[StrictStr] = Field(default=None, description="(optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Verification-Passed and TN-Verification-Failed.")
30+
verstat: Optional[StrictStr] = Field(default=None, description="(optional) The verification status indicating whether the verification was successful or not. Possible values are TN-Validation-Passed and TN-Validation-Failed.")
3131
attestation_indicator: Optional[StrictStr] = Field(default=None, description="(optional) The attestation level verified by Bandwidth. Possible values are A (full), B (partial) or C (gateway).", alias="attestationIndicator")
3232
originating_id: Optional[StrictStr] = Field(default=None, description="(optional) A unique origination identifier.", alias="originatingId")
3333
additional_properties: Dict[str, Any] = {}

docs/CallState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**var_from** | **str** | The phone number that made the call, in E.164 format (e.g. +15555555555). | [optional]
1414
**direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional]
1515
**state** | **str** | 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]
16-
**stir_shaken** | **Dict[str, str]** | 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]
16+
**stir_shaken** | **Dict[str, str]** | 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]
1717
**identity** | **str** | 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]
1818
**enqueued_time** | **datetime** | The time this call was placed in queue. | [optional]
1919
**start_time** | **datetime** | The time the call was initiated, in ISO 8601 format. &#x60;null&#x60; if the call is still in your queue. | [optional]

docs/StirShaken.md

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

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

0 commit comments

Comments
 (0)