import { ProfileUpdate, UserResponse } from "./user.types";

/**
 * User management types
 */
export interface ListUsersResponse {
    code: number;
    message: string;
    total: number;
    data: UserResponse[] | null;
}

export interface GetUserResponse {
    code: number;
    message: string;
    data: UserResponse;
}

export interface UpdateUser {
    id: number;
    username?: string;
    email?: string;
    role?: string;
    profile?: ProfileUpdate;
}

export interface UpdateRole {
    id: number;
    role_id: number;
}

export interface UpdateRoleResponse {
    code: number;
    message: string;
}

export interface DeactivateAccountResponse {
    code: number;
    message: string;
}

export interface ActivateAccountResponse {
    code: number;
    message: string;
}


