import { BaseResource } from '@gitbeaker/requester-utils'; import { RequestHelper } from '../infrastructure'; import type { GitlabAPIResponse, ShowExpanded, Sudo } from '../infrastructure'; export interface AvatarSchema extends Record { avatar_url: string; } export class Avatar extends BaseResource { show( email: string, options?: Sudo & ShowExpanded, ): Promise> { return RequestHelper.get()(this, 'avatar', { email, ...options }); } }