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/api/messages_api.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -412,7 +412,7 @@ def list_messages(
412
412
) ->MessagesList:
413
413
"""List Messages
414
414
415
-
Returns a list of messages based on query parameters.
415
+
Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
416
416
417
417
:param account_id: Your Bandwidth Account ID. (required)
Returns a list of messages based on query parameters.
598
+
Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
598
599
599
600
:param account_id: Your Bandwidth Account ID. (required)
Returns a list of messages based on query parameters.
781
+
Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
780
782
781
783
:param account_id: Your Bandwidth Account ID. (required)
phone_number: Optional[Annotated[str, Field(min_length=12, strict=True, max_length=12)]] =Field(default=None, description="Toll-free telephone number in E.164 format.", alias="phoneNumber")
35
34
status: Optional[TfvCallbackStatusEnum] =None
36
-
internal_ticket_number: Optional[UUID] =Field(default=None, description="Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.", alias="internalTicketNumber")
35
+
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.", alias="internalTicketNumber")
37
36
blocked: Optional[StrictBool] =Field(default=None, description="Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.")
38
37
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")
@@ -34,7 +33,7 @@ class FailureWebhook(BaseModel):
34
33
error_code: Optional[StrictStr] =Field(default=None, description="An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered.", alias="errorCode")
35
34
error_message: Optional[StrictStr] =Field(default=None, description="A description of the error that was encountered.", alias="errorMessage")
36
35
errors: Optional[List[StrictStr]] =Field(default=None, description="Details of the errors that were encountered when processing the request.")
37
-
internal_ticket_number: Optional[UUID] =Field(default=None, description="Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.", alias="internalTicketNumber")
36
+
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.", alias="internalTicketNumber")
Copy file name to clipboardExpand all lines: bandwidth/models/rbm_message_media.py
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ class RbmMessageMedia(BaseModel):
30
30
"""
31
31
RbmMessageMedia
32
32
"""# noqa: E501
33
-
media: RbmMessageContentFile
33
+
media: List[RbmMessageContentFile]
34
34
suggestions: Optional[Annotated[List[MultiChannelAction], Field(max_length=11)]] =Field(default=None, description="An array of suggested actions for the recipient.")
phone_number: Optional[Annotated[str, Field(min_length=12, strict=True, max_length=12)]] =Field(default=None, description="Toll-free telephone number in E.164 format.", alias="phoneNumber")
36
35
status: Optional[TfvStatusEnum] =None
37
-
internal_ticket_number: Optional[UUID] =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")
36
+
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")
38
37
decline_reason_description: Optional[StrictStr] =Field(default=None, description="Explanation for why a verification request was declined.", alias="declineReasonDescription")
39
38
resubmit_allowed: Optional[StrictBool] =Field(default=None, description="Whether a Toll-Free Verification request qualifies for resubmission via PUT.", alias="resubmitAllowed")
40
39
created_date_time: Optional[datetime] =Field(default=None, description="Date and time the verification request was created.", alias="createdDateTime")
0 commit comments