File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
src/resources/organizations
tests/api-resources/organizations Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 160
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-47577991d03c0dab9d0f219bd3f6cf8cb3ea386a919a10c949318091aca5b10f .yml
3- openapi_spec_hash : ad236fd154210c60d9aca150a3fd51bc
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-3a8fb9d6b9645a483a08206e944cc388325e210f0bd54daa9e15ee561a37fabc .yml
3+ openapi_spec_hash : fe42cbf3b012e4aebf56f64a675c3dd3
44config_hash : f36d04c8359fe8baec226396a18b309e
Original file line number Diff line number Diff line change @@ -860,6 +860,14 @@ export interface OrganizationListMembersParams extends MembersPageParams {
860860 * Body param: pagination contains the pagination options for listing members
861861 */
862862 pagination ?: OrganizationListMembersParams . Pagination ;
863+
864+ /**
865+ * Body param: sort specifies the order of results. When unspecified, the
866+ * authenticated user is returned first, followed by other members sorted by name
867+ * ascending. When an explicit sort is specified, results are sorted purely by the
868+ * requested field without any special handling for the authenticated user.
869+ */
870+ sort ?: OrganizationListMembersParams . Sort ;
863871}
864872
865873export namespace OrganizationListMembersParams {
@@ -886,6 +894,18 @@ export namespace OrganizationListMembersParams {
886894 */
887895 pageSize ?: number ;
888896 }
897+
898+ /**
899+ * sort specifies the order of results. When unspecified, the authenticated user is
900+ * returned first, followed by other members sorted by name ascending. When an
901+ * explicit sort is specified, results are sorted purely by the requested field
902+ * without any special handling for the authenticated user.
903+ */
904+ export interface Sort {
905+ field ?: 'SORT_FIELD_UNSPECIFIED' | 'SORT_FIELD_NAME' | 'SORT_FIELD_DATE_JOINED' ;
906+
907+ order ?: 'SORT_ORDER_UNSPECIFIED' | 'SORT_ORDER_ASC' | 'SORT_ORDER_DESC' ;
908+ }
889909}
890910
891911export interface OrganizationSetRoleParams {
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ describe('resource organizations', () => {
145145 pageSize : 0 ,
146146 filter : { search : 'search' } ,
147147 pagination : { token : 'token' , pageSize : 20 } ,
148+ sort : { field : 'SORT_FIELD_UNSPECIFIED' , order : 'SORT_ORDER_UNSPECIFIED' } ,
148149 } ) ;
149150 } ) ;
150151
You can’t perform that action at this time.
0 commit comments