You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bandwidth/models/multi_channel_action_calendar_event.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ class MultiChannelActionCalendarEvent(BaseModel):
34
34
text: Annotated[str, Field(strict=True, max_length=25)] =Field(description="Displayed text for user to click")
35
35
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")
36
36
title: Annotated[str, Field(strict=True, max_length=100)] =Field(description="The title of the event.")
37
-
start_time: datetime=Field(description="The start time of the event.", alias="startTime")
38
-
end_time: datetime=Field(description="The end time of the event.", alias="endTime")
37
+
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")
38
+
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")
39
39
description: Optional[Annotated[str, Field(strict=True, max_length=500)]] =Field(default=None, description="The description of the event.")
Copy file name to clipboardExpand all lines: bandwidth/models/rbm_action_open_url.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ class RbmActionOpenUrl(BaseModel):
34
34
type: RbmActionTypeEnum
35
35
text: Annotated[str, Field(strict=True, max_length=25)] =Field(description="Displayed text for user to click")
36
36
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")
37
-
url: Annotated[str, Field(strict=True, max_length=2048)] =Field(description="The URL to open in browser.")
37
+
url: Annotated[str, Field(strict=True, max_length=2048)] =Field(description="The URL to open in browser. Must use http:// or https:// scheme.")
Copy file name to clipboardExpand all lines: bandwidth/models/rbm_action_view_location.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ class RbmActionViewLocation(BaseModel):
32
32
type: RbmActionTypeEnum
33
33
text: Annotated[str, Field(strict=True, max_length=25)] =Field(description="Displayed text for user to click")
34
34
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")
35
-
latitude: StrictStr=Field(description="The latitude of the location.")
36
-
longitude: StrictStr=Field(description="The longitude of the location.")
35
+
latitude: StrictStr=Field(description="The latitude of the location. Must be in range [-90.000000, 90.000000].")
36
+
longitude: StrictStr=Field(description="The longitude of the location. Must be in range [-180.000000, 180.000000].")
37
37
label: Optional[Annotated[str, Field(strict=True, max_length=100)]] =Field(default=None, description="The label of the location.")
Copy file name to clipboardExpand all lines: bandwidth/models/rbm_card_content.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
29
29
classRbmCardContent(BaseModel):
30
30
"""
31
-
RbmCardContent
31
+
Must contain at least one of title, description, or media to be valid.
32
32
"""# noqa: E501
33
33
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.")
34
34
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.")
suggestions: Optional[Annotated[List[MultiChannelAction], Field(max_length=11)]] =Field(default=None, description="An array of suggested actions for the recipient.")
suggestions: Optional[Annotated[List[MultiChannelAction], Field(max_length=11)]] =Field(default=None, description="An array of suggested actions for the recipient.")
Copy file name to clipboardExpand all lines: bandwidth/models/rbm_web_view_enum.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
22
22
classRbmWebViewEnum(str, Enum):
23
23
"""
24
-
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.
24
+
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.
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")
37
38
decline_reason_description: Optional[StrictStr] =Field(default=None, description="Explanation for why a verification request was declined.", alias="declineReasonDescription")
39
+
denial_status_code: Optional[StrictInt] =Field(default=None, description="Reason code for denial.", alias="denialStatusCode")
40
+
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")
38
41
resubmit_allowed: Optional[StrictBool] =Field(default=None, description="Whether a Toll-Free Verification request qualifies for resubmission via PUT.", alias="resubmitAllowed")
39
42
created_date_time: Optional[datetime] =Field(default=None, description="Date and time the verification request was created.", alias="createdDateTime")
40
43
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):
43
46
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")
44
47
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")
0 commit comments