From 6654eed850f6636774f8ad39b407aed48017c694 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 2 Jun 2026 15:26:41 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version --- bandwidth.yml | 81 +++++++++++++------ .../multi_channel_action_calendar_event.py | 4 +- bandwidth/models/rbm_action_open_url.py | 2 +- bandwidth/models/rbm_action_view_location.py | 4 +- bandwidth/models/rbm_card_content.py | 2 +- bandwidth/models/rbm_message_carousel_card.py | 2 +- bandwidth/models/rbm_standalone_card.py | 2 +- bandwidth/models/rbm_web_view_enum.py | 2 +- bandwidth/models/tfv_status.py | 26 +++++- bandwidth/models/thumbnail_alignment_enum.py | 2 +- docs/MultiChannelAction.md | 10 +-- docs/MultiChannelActionCalendarEvent.md | 4 +- ...ChannelChannelListRBMObjectAllOfContent.md | 2 +- docs/RbmActionOpenUrl.md | 2 +- docs/RbmActionViewLocation.md | 4 +- docs/RbmCardContent.md | 1 + docs/RbmMessageContentRichCard.md | 2 +- docs/RbmStandaloneCard.md | 2 +- docs/RbmWebViewEnum.md | 2 +- docs/TfvStatus.md | 2 + docs/ThumbnailAlignmentEnum.md | 2 +- 21 files changed, 110 insertions(+), 50 deletions(-) diff --git a/bandwidth.yml b/bandwidth.yml index 84e00b33..5e2bc9b3 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -2436,6 +2436,7 @@ components: - media rbmCardContent: type: object + description: Must contain at least one of title, description, or media to be valid. properties: title: type: string @@ -2478,7 +2479,6 @@ components: $ref: '#/components/schemas/multiChannelFullActions' required: - orientation - - thumbnailImageAlignment - cardContent standaloneCardOrientationEnum: type: string @@ -2489,8 +2489,8 @@ components: thumbnailAlignmentEnum: type: string description: >- - The alignment of the thumbnail image in the card. Only applicable if the - card using horizontal orientation. + The alignment of the thumbnail image in the card. Required when + orientation is HORIZONTAL. enum: - LEFT - RIGHT @@ -2505,6 +2505,7 @@ components: type: array items: $ref: '#/components/schemas/rbmCardContent' + minItems: 2 maxItems: 10 suggestions: $ref: '#/components/schemas/multiChannelFullActions' @@ -2568,7 +2569,11 @@ components: type: string description: >- Defines the layout of the WebView on a mobile device. It must be defined - when application is set to `WEBVIEW` + + when application is set to `WEBVIEW` and must not be set when + application + + is set to `BROWSER`. - `FULL` WebView takes the full screen. @@ -2626,12 +2631,16 @@ components: latitude: type: string format: double - description: The latitude of the location. + description: >- + The latitude of the location. Must be in range [-90.000000, + 90.000000]. example: '37.7749' longitude: type: string format: double - description: The longitude of the location. + description: >- + The longitude of the location. Must be in range [-180.000000, + 180.000000]. example: '-122.4194' label: type: string @@ -2655,12 +2664,16 @@ components: startTime: type: string format: date-time - description: The start time of the event. + description: >- + The start time of the event. Must be a valid RFC-3339 value, + e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. example: 2022-09-14T18:20:16.000Z endTime: type: string format: date-time - description: The end time of the event. + description: >- + The end time of the event. Must be a valid RFC-3339 value, e.g., + 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. example: 2022-09-14T18:20:16.000Z description: type: string @@ -2680,7 +2693,7 @@ components: url: type: string format: uri - description: The URL to open in browser. + description: The URL to open in browser. Must use http:// or https:// scheme. example: https://dev.bandwidth.com maxLength: 2048 application: @@ -6021,12 +6034,30 @@ components: description: Reason code for denial. type: integer example: 511 + denialStatusCodeNullable: + description: Reason code for denial. + nullable: true + type: integer + example: 511 resubmitAllowed: description: >- Whether a Toll-Free Verification request qualifies for resubmission via PUT. example: true type: boolean + additionalDenialReason: + type: object + properties: + statusCode: + $ref: '#/components/schemas/denialStatusCode' + reason: + $ref: '#/components/schemas/declineReasonDescription' + resubmitAllowed: + $ref: '#/components/schemas/resubmitAllowed' + required: + - statusCode + - reason + - resubmitAllowed blocked: description: >- Whether a Toll-Free Verification is blocked. This attribute will only be @@ -6181,19 +6212,6 @@ components: type: boolean description: Indicates whether the content is age-gated. example: false - additionalDenialReason: - properties: - statusCode: - $ref: '#/components/schemas/denialStatusCode' - reason: - $ref: '#/components/schemas/declineReasonDescription' - resubmitAllowed: - $ref: '#/components/schemas/resubmitAllowed' - required: - - statusCode - - reason - - resubmitAllowed - type: object internalTicketNumber: type: string description: >- @@ -6389,6 +6407,7 @@ components: description: >- An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. + type: array items: $ref: '#/components/schemas/additionalDenialReason' example: @@ -6398,7 +6417,6 @@ components: - statusCode: 513 reason: Reason B resubmitAllowed: true - type: array declineReasonDescription: $ref: '#/components/schemas/declineReasonDescription' denialStatusCode: @@ -6766,6 +6784,23 @@ components: $ref: '#/components/schemas/internalTicketNumber' declineReasonDescription: $ref: '#/components/schemas/declineReasonDescription' + denialStatusCode: + $ref: '#/components/schemas/denialStatusCodeNullable' + additionalDenialReasons: + description: >- + An optional list of denial reasons in addition to + declineReasonDescription when multiple reasons apply. + nullable: true + type: array + items: + $ref: '#/components/schemas/additionalDenialReason' + example: + - statusCode: 512 + reason: Reason A + resubmitAllowed: true + - statusCode: 513 + reason: Reason B + resubmitAllowed: true resubmitAllowed: $ref: '#/components/schemas/resubmitAllowed' createdDateTime: diff --git a/bandwidth/models/multi_channel_action_calendar_event.py b/bandwidth/models/multi_channel_action_calendar_event.py index 1a1d82cb..bf3f67ae 100644 --- a/bandwidth/models/multi_channel_action_calendar_event.py +++ b/bandwidth/models/multi_channel_action_calendar_event.py @@ -34,8 +34,8 @@ class MultiChannelActionCalendarEvent(BaseModel): text: Annotated[str, Field(strict=True, max_length=25)] = Field(description="Displayed text for user to click") postback_data: Union[Annotated[bytes, Field(strict=True, max_length=2048)], Annotated[str, Field(strict=True, max_length=2048)]] = Field(description="Base64 payload the customer receives when the reply is clicked.", alias="postbackData") title: Annotated[str, Field(strict=True, max_length=100)] = Field(description="The title of the event.") - start_time: datetime = Field(description="The start time of the event.", alias="startTime") - end_time: datetime = Field(description="The end time of the event.", alias="endTime") + start_time: datetime = Field(description="The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.", alias="startTime") + end_time: datetime = Field(description="The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.", alias="endTime") description: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The description of the event.") additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["type", "text", "postbackData", "title", "startTime", "endTime", "description"] diff --git a/bandwidth/models/rbm_action_open_url.py b/bandwidth/models/rbm_action_open_url.py index ec6dca2a..0e743910 100644 --- a/bandwidth/models/rbm_action_open_url.py +++ b/bandwidth/models/rbm_action_open_url.py @@ -34,7 +34,7 @@ class RbmActionOpenUrl(BaseModel): type: RbmActionTypeEnum text: Annotated[str, Field(strict=True, max_length=25)] = Field(description="Displayed text for user to click") postback_data: Union[Annotated[bytes, Field(strict=True, max_length=2048)], Annotated[str, Field(strict=True, max_length=2048)]] = Field(description="Base64 payload the customer receives when the reply is clicked.", alias="postbackData") - url: Annotated[str, Field(strict=True, max_length=2048)] = Field(description="The URL to open in browser.") + url: Annotated[str, Field(strict=True, max_length=2048)] = Field(description="The URL to open in browser. Must use http:// or https:// scheme.") application: Optional[RbmOpenUrlEnum] = None webview_view_mode: Optional[RbmWebViewEnum] = Field(default=None, alias="webviewViewMode") additional_properties: Dict[str, Any] = {} diff --git a/bandwidth/models/rbm_action_view_location.py b/bandwidth/models/rbm_action_view_location.py index 8a215b17..c2708fbe 100644 --- a/bandwidth/models/rbm_action_view_location.py +++ b/bandwidth/models/rbm_action_view_location.py @@ -32,8 +32,8 @@ class RbmActionViewLocation(BaseModel): type: RbmActionTypeEnum text: Annotated[str, Field(strict=True, max_length=25)] = Field(description="Displayed text for user to click") postback_data: Union[Annotated[bytes, Field(strict=True, max_length=2048)], Annotated[str, Field(strict=True, max_length=2048)]] = Field(description="Base64 payload the customer receives when the reply is clicked.", alias="postbackData") - latitude: StrictStr = Field(description="The latitude of the location.") - longitude: StrictStr = Field(description="The longitude of the location.") + latitude: StrictStr = Field(description="The latitude of the location. Must be in range [-90.000000, 90.000000].") + longitude: StrictStr = Field(description="The longitude of the location. Must be in range [-180.000000, 180.000000].") label: Optional[Annotated[str, Field(strict=True, max_length=100)]] = Field(default=None, description="The label of the location.") additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["type", "text", "postbackData", "latitude", "longitude", "label"] diff --git a/bandwidth/models/rbm_card_content.py b/bandwidth/models/rbm_card_content.py index a8888b08..2a39f30b 100644 --- a/bandwidth/models/rbm_card_content.py +++ b/bandwidth/models/rbm_card_content.py @@ -28,7 +28,7 @@ class RbmCardContent(BaseModel): """ - RbmCardContent + Must contain at least one of title, description, or media to be valid. """ # noqa: E501 title: Optional[Annotated[str, Field(strict=True, max_length=200)]] = Field(default=None, description="The title of the card. Must be 200 characters or less.") description: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The description of the card. Must be 2000 characters or less.") diff --git a/bandwidth/models/rbm_message_carousel_card.py b/bandwidth/models/rbm_message_carousel_card.py index 7bf9ed39..1335a5aa 100644 --- a/bandwidth/models/rbm_message_carousel_card.py +++ b/bandwidth/models/rbm_message_carousel_card.py @@ -32,7 +32,7 @@ class RbmMessageCarouselCard(BaseModel): RbmMessageCarouselCard """ # noqa: E501 card_width: CardWidthEnum = Field(alias="cardWidth") - card_contents: Annotated[List[RbmCardContent], Field(max_length=10)] = Field(alias="cardContents") + card_contents: Annotated[List[RbmCardContent], Field(min_length=2, max_length=10)] = Field(alias="cardContents") suggestions: Optional[Annotated[List[MultiChannelAction], Field(max_length=11)]] = Field(default=None, description="An array of suggested actions for the recipient.") additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["cardWidth", "cardContents", "suggestions"] diff --git a/bandwidth/models/rbm_standalone_card.py b/bandwidth/models/rbm_standalone_card.py index f316aa0f..8757cd19 100644 --- a/bandwidth/models/rbm_standalone_card.py +++ b/bandwidth/models/rbm_standalone_card.py @@ -33,7 +33,7 @@ class RbmStandaloneCard(BaseModel): RbmStandaloneCard """ # noqa: E501 orientation: StandaloneCardOrientationEnum - thumbnail_image_alignment: ThumbnailAlignmentEnum = Field(alias="thumbnailImageAlignment") + thumbnail_image_alignment: Optional[ThumbnailAlignmentEnum] = Field(default=None, alias="thumbnailImageAlignment") card_content: RbmCardContent = Field(alias="cardContent") suggestions: Optional[Annotated[List[MultiChannelAction], Field(max_length=11)]] = Field(default=None, description="An array of suggested actions for the recipient.") additional_properties: Dict[str, Any] = {} diff --git a/bandwidth/models/rbm_web_view_enum.py b/bandwidth/models/rbm_web_view_enum.py index 71f697c2..8283b828 100644 --- a/bandwidth/models/rbm_web_view_enum.py +++ b/bandwidth/models/rbm_web_view_enum.py @@ -21,7 +21,7 @@ class RbmWebViewEnum(str, Enum): """ - Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen. + Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen. """ """ diff --git a/bandwidth/models/tfv_status.py b/bandwidth/models/tfv_status.py index 669c5f5b..883463df 100644 --- a/bandwidth/models/tfv_status.py +++ b/bandwidth/models/tfv_status.py @@ -19,9 +19,10 @@ import json from datetime import datetime -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from bandwidth.models.additional_denial_reason import AdditionalDenialReason from bandwidth.models.tfv_status_enum import TfvStatusEnum from bandwidth.models.tfv_submission_info import TfvSubmissionInfo from typing import Optional, Set @@ -35,6 +36,8 @@ class TfvStatus(BaseModel): status: Optional[TfvStatusEnum] = None internal_ticket_number: Optional[StrictStr] = Field(default=None, description="Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads.", alias="internalTicketNumber") decline_reason_description: Optional[StrictStr] = Field(default=None, description="Explanation for why a verification request was declined.", alias="declineReasonDescription") + denial_status_code: Optional[StrictInt] = Field(default=None, description="Reason code for denial.", alias="denialStatusCode") + additional_denial_reasons: Optional[List[AdditionalDenialReason]] = Field(default=None, description="An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.", alias="additionalDenialReasons") resubmit_allowed: Optional[StrictBool] = Field(default=None, description="Whether a Toll-Free Verification request qualifies for resubmission via PUT.", alias="resubmitAllowed") created_date_time: Optional[datetime] = Field(default=None, description="Date and time the verification request was created.", alias="createdDateTime") modified_date_time: Optional[datetime] = Field(default=None, description="Date and time the verification request was last modified.", alias="modifiedDateTime") @@ -43,7 +46,7 @@ class TfvStatus(BaseModel): blocked_reason: Optional[StrictStr] = Field(default=None, description="The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.", alias="blockedReason") cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.", alias="cvToken") additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["phoneNumber", "status", "internalTicketNumber", "declineReasonDescription", "resubmitAllowed", "createdDateTime", "modifiedDateTime", "submission", "blocked", "blockedReason", "cvToken"] + __properties: ClassVar[List[str]] = ["phoneNumber", "status", "internalTicketNumber", "declineReasonDescription", "denialStatusCode", "additionalDenialReasons", "resubmitAllowed", "createdDateTime", "modifiedDateTime", "submission", "blocked", "blockedReason", "cvToken"] @field_validator('phone_number') def phone_number_validate_regular_expression(cls, value): @@ -96,6 +99,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in additional_denial_reasons (list) + _items = [] + if self.additional_denial_reasons: + for _item_additional_denial_reasons in self.additional_denial_reasons: + if _item_additional_denial_reasons: + _items.append(_item_additional_denial_reasons.to_dict()) + _dict['additionalDenialReasons'] = _items # override the default output from pydantic by calling `to_dict()` of submission if self.submission: _dict['submission'] = self.submission.to_dict() @@ -104,6 +114,16 @@ def to_dict(self) -> Dict[str, Any]: for _key, _value in self.additional_properties.items(): _dict[_key] = _value + # set to None if denial_status_code (nullable) is None + # and model_fields_set contains the field + if self.denial_status_code is None and "denial_status_code" in self.model_fields_set: + _dict['denialStatusCode'] = None + + # set to None if additional_denial_reasons (nullable) is None + # and model_fields_set contains the field + if self.additional_denial_reasons is None and "additional_denial_reasons" in self.model_fields_set: + _dict['additionalDenialReasons'] = None + # set to None if cv_token (nullable) is None # and model_fields_set contains the field if self.cv_token is None and "cv_token" in self.model_fields_set: @@ -125,6 +145,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "status": obj.get("status"), "internalTicketNumber": obj.get("internalTicketNumber"), "declineReasonDescription": obj.get("declineReasonDescription"), + "denialStatusCode": obj.get("denialStatusCode"), + "additionalDenialReasons": [AdditionalDenialReason.from_dict(_item) for _item in obj["additionalDenialReasons"]] if obj.get("additionalDenialReasons") is not None else None, "resubmitAllowed": obj.get("resubmitAllowed"), "createdDateTime": obj.get("createdDateTime"), "modifiedDateTime": obj.get("modifiedDateTime"), diff --git a/bandwidth/models/thumbnail_alignment_enum.py b/bandwidth/models/thumbnail_alignment_enum.py index 0c019895..4b14b884 100644 --- a/bandwidth/models/thumbnail_alignment_enum.py +++ b/bandwidth/models/thumbnail_alignment_enum.py @@ -21,7 +21,7 @@ class ThumbnailAlignmentEnum(str, Enum): """ - The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation. + The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL. """ """ diff --git a/docs/MultiChannelAction.md b/docs/MultiChannelAction.md index 1f08cadf..5900a198 100644 --- a/docs/MultiChannelAction.md +++ b/docs/MultiChannelAction.md @@ -9,14 +9,14 @@ Name | Type | Description | Notes **text** | **str** | Displayed text for user to click | **postback_data** | **bytearray** | Base64 payload the customer receives when the reply is clicked. | **phone_number** | **str** | The phone number to dial. Must be E164 format. | -**latitude** | **float** | The latitude of the location. | -**longitude** | **float** | The longitude of the location. | +**latitude** | **float** | The latitude of the location. Must be in range [-90.000000, 90.000000]. | +**longitude** | **float** | The longitude of the location. Must be in range [-180.000000, 180.000000]. | **label** | **str** | The label of the location. | [optional] **title** | **str** | The title of the event. | -**start_time** | **datetime** | The start time of the event. | -**end_time** | **datetime** | The end time of the event. | +**start_time** | **datetime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. | +**end_time** | **datetime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. | **description** | **str** | The description of the event. | [optional] -**url** | **str** | The URL to open in browser. | +**url** | **str** | The URL to open in browser. Must use http:// or https:// scheme. | **application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] **webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] diff --git a/docs/MultiChannelActionCalendarEvent.md b/docs/MultiChannelActionCalendarEvent.md index 5f12d364..4ded4b68 100644 --- a/docs/MultiChannelActionCalendarEvent.md +++ b/docs/MultiChannelActionCalendarEvent.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **text** | **str** | Displayed text for user to click | **postback_data** | **bytearray** | Base64 payload the customer receives when the reply is clicked. | **title** | **str** | The title of the event. | -**start_time** | **datetime** | The start time of the event. | -**end_time** | **datetime** | The end time of the event. | +**start_time** | **datetime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. | +**end_time** | **datetime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. | **description** | **str** | The description of the event. | [optional] ## Example diff --git a/docs/MultiChannelChannelListRBMObjectAllOfContent.md b/docs/MultiChannelChannelListRBMObjectAllOfContent.md index acfe5a4b..8b46303d 100644 --- a/docs/MultiChannelChannelListRBMObjectAllOfContent.md +++ b/docs/MultiChannelChannelListRBMObjectAllOfContent.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **suggestions** | [**List[MultiChannelAction]**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional] **media** | [**List[RbmMessageContentFile]**](RbmMessageContentFile.md) | | **orientation** | [**StandaloneCardOrientationEnum**](StandaloneCardOrientationEnum.md) | | -**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | +**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | [optional] **card_content** | [**RbmCardContent**](RbmCardContent.md) | | **card_width** | [**CardWidthEnum**](CardWidthEnum.md) | | **card_contents** | [**List[RbmCardContent]**](RbmCardContent.md) | | diff --git a/docs/RbmActionOpenUrl.md b/docs/RbmActionOpenUrl.md index d42aa2b3..d71fd352 100644 --- a/docs/RbmActionOpenUrl.md +++ b/docs/RbmActionOpenUrl.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **type** | [**RbmActionTypeEnum**](RbmActionTypeEnum.md) | | **text** | **str** | Displayed text for user to click | **postback_data** | **bytearray** | Base64 payload the customer receives when the reply is clicked. | -**url** | **str** | The URL to open in browser. | +**url** | **str** | The URL to open in browser. Must use http:// or https:// scheme. | **application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] **webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] diff --git a/docs/RbmActionViewLocation.md b/docs/RbmActionViewLocation.md index 353c2427..60d2c4ef 100644 --- a/docs/RbmActionViewLocation.md +++ b/docs/RbmActionViewLocation.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **type** | [**RbmActionTypeEnum**](RbmActionTypeEnum.md) | | **text** | **str** | Displayed text for user to click | **postback_data** | **bytearray** | Base64 payload the customer receives when the reply is clicked. | -**latitude** | **float** | The latitude of the location. | -**longitude** | **float** | The longitude of the location. | +**latitude** | **float** | The latitude of the location. Must be in range [-90.000000, 90.000000]. | +**longitude** | **float** | The longitude of the location. Must be in range [-180.000000, 180.000000]. | **label** | **str** | The label of the location. | [optional] ## Example diff --git a/docs/RbmCardContent.md b/docs/RbmCardContent.md index 44bde90a..edc4bfcf 100644 --- a/docs/RbmCardContent.md +++ b/docs/RbmCardContent.md @@ -1,5 +1,6 @@ # RbmCardContent +Must contain at least one of title, description, or media to be valid. ## Properties diff --git a/docs/RbmMessageContentRichCard.md b/docs/RbmMessageContentRichCard.md index cc6941a6..797d602c 100644 --- a/docs/RbmMessageContentRichCard.md +++ b/docs/RbmMessageContentRichCard.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **orientation** | [**StandaloneCardOrientationEnum**](StandaloneCardOrientationEnum.md) | | -**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | +**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | [optional] **card_content** | [**RbmCardContent**](RbmCardContent.md) | | **suggestions** | [**List[MultiChannelAction]**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional] **card_width** | [**CardWidthEnum**](CardWidthEnum.md) | | diff --git a/docs/RbmStandaloneCard.md b/docs/RbmStandaloneCard.md index ca2c9d7d..a28b6ccb 100644 --- a/docs/RbmStandaloneCard.md +++ b/docs/RbmStandaloneCard.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **orientation** | [**StandaloneCardOrientationEnum**](StandaloneCardOrientationEnum.md) | | -**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | +**thumbnail_image_alignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | [optional] **card_content** | [**RbmCardContent**](RbmCardContent.md) | | **suggestions** | [**List[MultiChannelAction]**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional] diff --git a/docs/RbmWebViewEnum.md b/docs/RbmWebViewEnum.md index b794fcb5..a4fe7f29 100644 --- a/docs/RbmWebViewEnum.md +++ b/docs/RbmWebViewEnum.md @@ -1,6 +1,6 @@ # RbmWebViewEnum -Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen. +Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen. ## Enum diff --git a/docs/TfvStatus.md b/docs/TfvStatus.md index d27db92b..59643fa7 100644 --- a/docs/TfvStatus.md +++ b/docs/TfvStatus.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **status** | [**TfvStatusEnum**](TfvStatusEnum.md) | | [optional] **internal_ticket_number** | **str** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional] **decline_reason_description** | **str** | Explanation for why a verification request was declined. | [optional] +**denial_status_code** | **int** | Reason code for denial. | [optional] +**additional_denial_reasons** | [**List[AdditionalDenialReason]**](AdditionalDenialReason.md) | An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. | [optional] **resubmit_allowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] **created_date_time** | **datetime** | Date and time the verification request was created. | [optional] **modified_date_time** | **datetime** | Date and time the verification request was last modified. | [optional] diff --git a/docs/ThumbnailAlignmentEnum.md b/docs/ThumbnailAlignmentEnum.md index 21b2e5ea..36d86e4d 100644 --- a/docs/ThumbnailAlignmentEnum.md +++ b/docs/ThumbnailAlignmentEnum.md @@ -1,6 +1,6 @@ # ThumbnailAlignmentEnum -The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation. +The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL. ## Enum