From 605c176fa76cee48ae70e33995d55d7d507bbf73 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 16 Sep 2025 14:07:15 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version --- bandwidth.yml | 8 ++++---- bandwidth/models/call_state.py | 2 +- bandwidth/models/stir_shaken.py | 2 +- docs/CallState.md | 2 +- docs/StirShaken.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bandwidth.yml b/bandwidth.yml index b7f79686..3cc990a7 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -3357,7 +3357,7 @@ components: | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are - `TN-Verification-Passed` or `TN-Verification-Failed`. | + `TN-Validation-Passed` or `TN-Validation-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` @@ -3375,7 +3375,7 @@ components: additionalProperties: type: string example: - verstat: TN-Verification-Passed + verstat: TN-Validation-Passed attestationIndicator: A originatingId: abc123 identity: @@ -5211,8 +5211,8 @@ components: description: >- (optional) The verification status indicating whether the verification was successful or not. Possible values are - TN-Verification-Passed and TN-Verification-Failed. - example: Tn-Verification-Passed + TN-Validation-Passed and TN-Validation-Failed. + example: Tn-Validation-Passed attestationIndicator: type: string description: >- diff --git a/bandwidth/models/call_state.py b/bandwidth/models/call_state.py index 6fa03ff0..9ffaf336 100644 --- a/bandwidth/models/call_state.py +++ b/bandwidth/models/call_state.py @@ -37,7 +37,7 @@ class CallState(BaseModel): var_from: Optional[StrictStr] = Field(default=None, description="The phone number that made the call, in E.164 format (e.g. +15555555555).", alias="from") direction: Optional[CallDirectionEnum] = None 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.") - 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") + 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") 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.") enqueued_time: Optional[datetime] = Field(default=None, description="The time this call was placed in queue.", alias="enqueuedTime") 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") diff --git a/bandwidth/models/stir_shaken.py b/bandwidth/models/stir_shaken.py index 3e23d6a1..906d3ce1 100644 --- a/bandwidth/models/stir_shaken.py +++ b/bandwidth/models/stir_shaken.py @@ -27,7 +27,7 @@ class StirShaken(BaseModel): """ StirShaken """ # noqa: E501 - 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.") + 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.") 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") originating_id: Optional[StrictStr] = Field(default=None, description="(optional) A unique origination identifier.", alias="originatingId") additional_properties: Dict[str, Any] = {} diff --git a/docs/CallState.md b/docs/CallState.md index 07354920..9c54d3f3 100644 --- a/docs/CallState.md +++ b/docs/CallState.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **var_from** | **str** | The phone number that made the call, in E.164 format (e.g. +15555555555). | [optional] **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] **state** | **str** | 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. | [optional] -**stir_shaken** | **Dict[str, str]** | 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). | [optional] +**stir_shaken** | **Dict[str, str]** | 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). | [optional] **identity** | **str** | 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. | [optional] **enqueued_time** | **datetime** | The time this call was placed in queue. | [optional] **start_time** | **datetime** | The time the call was initiated, in ISO 8601 format. `null` if the call is still in your queue. | [optional] diff --git a/docs/StirShaken.md b/docs/StirShaken.md index 17c4ddc5..de59831f 100644 --- a/docs/StirShaken.md +++ b/docs/StirShaken.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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] +**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] **attestation_indicator** | **str** | (optional) The attestation level verified by Bandwidth. Possible values are A (full), B (partial) or C (gateway). | [optional] **originating_id** | **str** | (optional) A unique origination identifier. | [optional]