@@ -507,6 +507,7 @@ def list_members(
507507 page_size : int | Omit = omit ,
508508 filter : organization_list_members_params .Filter | Omit = omit ,
509509 pagination : organization_list_members_params .Pagination | Omit = omit ,
510+ sort : organization_list_members_params .Sort | Omit = omit ,
510511 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
511512 # The extra values given here take precedence over values defined on the client or passed to this method.
512513 extra_headers : Headers | None = None ,
@@ -551,6 +552,11 @@ def list_members(
551552
552553 pagination: pagination contains the pagination options for listing members
553554
555+ sort: sort specifies the order of results. When unspecified, the authenticated user is
556+ returned first, followed by other members sorted by name ascending. When an
557+ explicit sort is specified, results are sorted purely by the requested field
558+ without any special handling for the authenticated user.
559+
554560 extra_headers: Send extra headers
555561
556562 extra_query: Add additional query parameters to the request
@@ -567,6 +573,7 @@ def list_members(
567573 "organization_id" : organization_id ,
568574 "filter" : filter ,
569575 "pagination" : pagination ,
576+ "sort" : sort ,
570577 },
571578 organization_list_members_params .OrganizationListMembersParams ,
572579 ),
@@ -1086,6 +1093,7 @@ def list_members(
10861093 page_size : int | Omit = omit ,
10871094 filter : organization_list_members_params .Filter | Omit = omit ,
10881095 pagination : organization_list_members_params .Pagination | Omit = omit ,
1096+ sort : organization_list_members_params .Sort | Omit = omit ,
10891097 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10901098 # The extra values given here take precedence over values defined on the client or passed to this method.
10911099 extra_headers : Headers | None = None ,
@@ -1130,6 +1138,11 @@ def list_members(
11301138
11311139 pagination: pagination contains the pagination options for listing members
11321140
1141+ sort: sort specifies the order of results. When unspecified, the authenticated user is
1142+ returned first, followed by other members sorted by name ascending. When an
1143+ explicit sort is specified, results are sorted purely by the requested field
1144+ without any special handling for the authenticated user.
1145+
11331146 extra_headers: Send extra headers
11341147
11351148 extra_query: Add additional query parameters to the request
@@ -1146,6 +1159,7 @@ def list_members(
11461159 "organization_id" : organization_id ,
11471160 "filter" : filter ,
11481161 "pagination" : pagination ,
1162+ "sort" : sort ,
11491163 },
11501164 organization_list_members_params .OrganizationListMembersParams ,
11511165 ),
0 commit comments