export interface UserSearchItem {
  id: number
  cellNumber: string
  firstName: string | null
  lastName: string | null
  email: string | null
  label: string
}

export interface UserSearchResponse {
  items: UserSearchItem[]
}

export interface UserListItem {
  id: number
  firstName: string | null
  lastName: string | null
  cellNumber: string
  roles: string | null
  roleSlug: string | null
  businesses: string | null
  businessMemberId: number | null
  isBusinessOwner: boolean | null
  teamRole: string | null
  createdAt: string
  isActive: boolean
}

export interface UsersListResponse {
  items: UserListItem[]
  total: number
  page: number
  pageSize: number
}

export interface RoleOption {
  slug: string
  name: string
}

export interface RolesListResponse {
  items: RoleOption[]
}
