File tree Expand file tree Collapse file tree 6 files changed +8
-7
lines changed
Expand file tree Collapse file tree 6 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ 3.3.14 ] - 2024-08-30
8+ ## [ 3.3.15 ] - 2024-08-30
99
1010- Update get messages
1111
Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ following arguments:
507507- ` filter ` : Filter your Virtual Numbers by tag or by number.
508508- ` startTime ` : Use ISO format, e.g. "2024-01-24T15:39:00Z".
509509- ` endTime ` : Use ISO format, e.g. "2024-01-24T16:39:00Z".
510- - ` reverse ` : If set to true the results will be returned in reverse order.
510+ - ` reverse ` : If set to true the results will be returned in reverse order. The default value is false.
511511- ` direction ` : Filter your messages by direction: outgoing or incoming.
512512
513513Raises ` telstra.messaging.exceptions.MessageError ` if anything goes wrong.
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " telstra.messaging"
3- version = " 3.3.14 "
3+ version = " 3.3.15 "
44readme = " README.md"
55description = " SDK for the Telstra Messaging API V3 - Beta"
66license = " Apache-2.0"
Original file line number Diff line number Diff line change 11"""Messaging."""
22
3- __version__ = "3.3.14 "
3+ __version__ = "3.3.15 "
Original file line number Diff line number Diff line change @@ -725,9 +725,10 @@ def _validate_get_all_args(
725725 f'received "{ endTime } "'
726726 )
727727
728- if reverse is not None and not isinstance (reverse , types .TReverse ):
728+
729+ if reverse is not None and reverse not in ['true' , 'false' ]:
729730 raise exceptions .MessageError (
730- 'the value of "reverse" is not valid, expected a bool , '
731+ 'the value of "reverse" is not valid, expected "true" or "false" , '
731732 f'received "{ reverse } "'
732733 )
733734
Original file line number Diff line number Diff line change 1717TFilter = str
1818TStartTime = str
1919TEndTime = str
20- TReverse = bool
20+ TReverse = str
2121TDirection = str
2222
2323
You can’t perform that action at this time.
0 commit comments