22
33from ..core .client_wrapper import SyncClientWrapper
44from ..inboxes .types .inbox_id import InboxId
5+ import typing
56from ..types .received import Received
67from ..types .sent import Sent
78from ..types .query_limit import QueryLimit
89from ..types .last_key import LastKey
9- import typing
1010from ..core .request_options import RequestOptions
1111from .types .list_threads_response import ListThreadsResponse
1212from ..core .jsonable_encoder import jsonable_encoder
@@ -28,10 +28,10 @@ def list(
2828 self ,
2929 inbox_id : InboxId ,
3030 * ,
31- received : Received ,
32- sent : Sent ,
33- limit : QueryLimit ,
34- last_key : LastKey ,
31+ received : typing . Optional [ Received ] = None ,
32+ sent : typing . Optional [ Sent ] = None ,
33+ limit : typing . Optional [ QueryLimit ] = None ,
34+ last_key : typing . Optional [ LastKey ] = None ,
3535 request_options : typing .Optional [RequestOptions ] = None ,
3636 ) -> ListThreadsResponse :
3737 """
@@ -41,13 +41,13 @@ def list(
4141 ----------
4242 inbox_id : InboxId
4343
44- received : Received
44+ received : typing.Optional[ Received]
4545
46- sent : Sent
46+ sent : typing.Optional[ Sent]
4747
48- limit : QueryLimit
48+ limit : typing.Optional[ QueryLimit]
4949
50- last_key : LastKey
50+ last_key : typing.Optional[ LastKey]
5151
5252 request_options : typing.Optional[RequestOptions]
5353 Request-specific configuration.
@@ -169,10 +169,10 @@ async def list(
169169 self ,
170170 inbox_id : InboxId ,
171171 * ,
172- received : Received ,
173- sent : Sent ,
174- limit : QueryLimit ,
175- last_key : LastKey ,
172+ received : typing . Optional [ Received ] = None ,
173+ sent : typing . Optional [ Sent ] = None ,
174+ limit : typing . Optional [ QueryLimit ] = None ,
175+ last_key : typing . Optional [ LastKey ] = None ,
176176 request_options : typing .Optional [RequestOptions ] = None ,
177177 ) -> ListThreadsResponse :
178178 """
@@ -182,13 +182,13 @@ async def list(
182182 ----------
183183 inbox_id : InboxId
184184
185- received : Received
185+ received : typing.Optional[ Received]
186186
187- sent : Sent
187+ sent : typing.Optional[ Sent]
188188
189- limit : QueryLimit
189+ limit : typing.Optional[ QueryLimit]
190190
191- last_key : LastKey
191+ last_key : typing.Optional[ LastKey]
192192
193193 request_options : typing.Optional[RequestOptions]
194194 Request-specific configuration.
0 commit comments