import { Attachment } from 'qase-javascript-commons'; export interface NetworkRequestData { method: string; url: string; statusCode: number | null; duration: number; responseBody: string | null; startTime: number; } export interface Metadata { title?: string | undefined; fields?: Record; parameters?: Record; groupParams?: Record; ignore?: boolean; suite?: string | undefined; comment?: string | undefined; steps?: (StepStart | StepEnd)[]; cucumberSteps?: StepStart[]; currentStepId?: string | undefined; firstStepName?: string | undefined; attachments?: Attachment[]; stepAttachments?: Record; networkRequests?: NetworkRequestData[]; } export interface StepStart { id: string; timestamp: number; name: string; parentId: string | undefined; } export interface StepEnd { id: string; timestamp: number; status: string; } export interface Attach { name?: string; paths?: string | string[]; content?: Buffer | string; contentType?: string; }