33from __future__ import annotations
44
55from typing import Optional
6+ from typing_extensions import Literal
67
78import httpx
89
@@ -195,6 +196,12 @@ def list(
195196 self ,
196197 * ,
197198 organization_id : str ,
199+ include_entry_counts : bool | NotGiven = NOT_GIVEN ,
200+ limit : int | NotGiven = NOT_GIVEN ,
201+ offset : int | NotGiven = NOT_GIVEN ,
202+ order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
203+ query : Optional [str ] | NotGiven = NOT_GIVEN ,
204+ sort : Literal ["created_at" , "updated_at" ] | NotGiven = NOT_GIVEN ,
198205 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
199206 # The extra values given here take precedence over values defined on the client or passed to this method.
200207 extra_headers : Headers | None = None ,
@@ -221,7 +228,18 @@ def list(
221228 extra_query = extra_query ,
222229 extra_body = extra_body ,
223230 timeout = timeout ,
224- query = maybe_transform ({"organization_id" : organization_id }, project_list_params .ProjectListParams ),
231+ query = maybe_transform (
232+ {
233+ "organization_id" : organization_id ,
234+ "include_entry_counts" : include_entry_counts ,
235+ "limit" : limit ,
236+ "offset" : offset ,
237+ "order" : order ,
238+ "query" : query ,
239+ "sort" : sort ,
240+ },
241+ project_list_params .ProjectListParams ,
242+ ),
225243 ),
226244 cast_to = ProjectListResponse ,
227245 )
@@ -446,6 +464,12 @@ async def list(
446464 self ,
447465 * ,
448466 organization_id : str ,
467+ include_entry_counts : bool | NotGiven = NOT_GIVEN ,
468+ limit : int | NotGiven = NOT_GIVEN ,
469+ offset : int | NotGiven = NOT_GIVEN ,
470+ order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
471+ query : Optional [str ] | NotGiven = NOT_GIVEN ,
472+ sort : Literal ["created_at" , "updated_at" ] | NotGiven = NOT_GIVEN ,
449473 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
450474 # The extra values given here take precedence over values defined on the client or passed to this method.
451475 extra_headers : Headers | None = None ,
@@ -473,7 +497,16 @@ async def list(
473497 extra_body = extra_body ,
474498 timeout = timeout ,
475499 query = await async_maybe_transform (
476- {"organization_id" : organization_id }, project_list_params .ProjectListParams
500+ {
501+ "organization_id" : organization_id ,
502+ "include_entry_counts" : include_entry_counts ,
503+ "limit" : limit ,
504+ "offset" : offset ,
505+ "order" : order ,
506+ "query" : query ,
507+ "sort" : sort ,
508+ },
509+ project_list_params .ProjectListParams ,
477510 ),
478511 ),
479512 cast_to = ProjectListResponse ,
0 commit comments