diff --git a/bandwidth.yml b/bandwidth.yml index 5362a7c5..c4b1fb2b 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1862,7 +1862,6 @@ components: - from - text - media - - priority messageDeliveredCallback: description: Message Delivered Callback type: object @@ -2035,7 +2034,6 @@ components: - from - text - tag - - priority callbackMethodEnum: type: string nullable: true diff --git a/bandwidth/models/message_failed_callback_message.py b/bandwidth/models/message_failed_callback_message.py index eacc5256..a58445e4 100644 --- a/bandwidth/models/message_failed_callback_message.py +++ b/bandwidth/models/message_failed_callback_message.py @@ -41,7 +41,7 @@ class MessageFailedCallbackMessage(BaseModel): text: StrictStr tag: StrictStr media: Optional[List[StrictStr]] = None - priority: PriorityEnum + priority: Optional[PriorityEnum] = None additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["id", "owner", "applicationId", "time", "segmentCount", "direction", "to", "from", "text", "tag", "media", "priority"] diff --git a/bandwidth/models/message_sending_callback_message.py b/bandwidth/models/message_sending_callback_message.py index 3a919317..8387e75c 100644 --- a/bandwidth/models/message_sending_callback_message.py +++ b/bandwidth/models/message_sending_callback_message.py @@ -41,7 +41,7 @@ class MessageSendingCallbackMessage(BaseModel): text: StrictStr tag: Optional[StrictStr] = None media: List[StrictStr] - priority: PriorityEnum + priority: Optional[PriorityEnum] = None additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["id", "owner", "applicationId", "time", "segmentCount", "direction", "to", "from", "text", "tag", "media", "priority"] diff --git a/docs/MessageFailedCallbackMessage.md b/docs/MessageFailedCallbackMessage.md index 582020e0..25f77fe7 100644 --- a/docs/MessageFailedCallbackMessage.md +++ b/docs/MessageFailedCallbackMessage.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **text** | **str** | | **tag** | **str** | | **media** | **List[str]** | | [optional] -**priority** | [**PriorityEnum**](PriorityEnum.md) | | +**priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] ## Example diff --git a/docs/MessageSendingCallbackMessage.md b/docs/MessageSendingCallbackMessage.md index e7691078..9aca3fdb 100644 --- a/docs/MessageSendingCallbackMessage.md +++ b/docs/MessageSendingCallbackMessage.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **text** | **str** | | **tag** | **str** | | [optional] **media** | **List[str]** | | -**priority** | [**PriorityEnum**](PriorityEnum.md) | | +**priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] ## Example