Skip to content

Commit

Permalink
Update admin.users.list API method
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Nov 2, 2023
1 parent d7a7098 commit 366dbc3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/generated-response/AdminUsersListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export interface User {
email?: string;
expiration_ts?: number;
full_name?: string;
has_2fa?: boolean;
has_sso?: boolean;
id?: string;
is_active?: boolean;
is_admin?: boolean;
Expand All @@ -31,5 +33,7 @@ export interface User {
is_primary_owner?: boolean;
is_restricted?: boolean;
is_ultra_restricted?: boolean;
roles?: string[];
username?: string;
workspaces?: string[];
}
2 changes: 2 additions & 0 deletions src/client/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ export interface AdminUsersListRequest
extends SlackAPIRequest,
CursorPaginationEnabled {
team_id: string;
include_deactivated_user_workspaces?: boolean;
is_active?: boolean;
}
export interface AdminUsersRemoveRequest extends SlackAPIRequest {
team_id: string;
Expand Down
4 changes: 4 additions & 0 deletions src_deno/client/generated-response/AdminUsersListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export interface User {
email?: string;
expiration_ts?: number;
full_name?: string;
has_2fa?: boolean;
has_sso?: boolean;
id?: string;
is_active?: boolean;
is_admin?: boolean;
Expand All @@ -31,5 +33,7 @@ export interface User {
is_primary_owner?: boolean;
is_restricted?: boolean;
is_ultra_restricted?: boolean;
roles?: string[];
username?: string;
workspaces?: string[];
}
2 changes: 2 additions & 0 deletions src_deno/client/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ export interface AdminUsersInviteRequest extends SlackAPIRequest {
export interface AdminUsersListRequest
extends SlackAPIRequest, CursorPaginationEnabled {
team_id: string;
include_deactivated_user_workspaces?: boolean;
is_active?: boolean;
}
export interface AdminUsersRemoveRequest extends SlackAPIRequest {
team_id: string;
Expand Down

0 comments on commit 366dbc3

Please sign in to comment.