import type { AxiosResponse } from "axios"; import type { PageableList, PageableParams } from "@/shared/model"; export interface AttachmentParams extends PageableParams { keywordType?: string; keyword?: string; atflCd?: string; atflSn?: number; atflId?: string; orgnlFileNm?: string; atflFlieSz?: number; atflType?: string; dwnldNocs?: number; delYn?: string; lnkgDmnId?: string; lnkgDmnNm?: string; } export interface Attachment { atflCd: string; atflSn: number; atflId: string; physFileNm: string; orgnlFileNm: string; atflFlieSz: number; atflType: string; dwnldNocs: number; delYn: string; lnkgDmnId: string; lnkgDmnNm: string; regDt: string; } export type AttachmentList = PageableList; export interface AttachmentService { getAttachmentsList: (params: AttachmentParams) => Promise; getAttachmentsInfo: (atflCd: string) => Promise; deleteAttachmentByAtflId: (atflId: string) => Promise; deleteAttachmentByAtflCd: (atflCd: string) => Promise; getImageUrlByAtflId: (atflId: string) => Promise; getImageUrlByAtflCd: (atflCd: string) => Promise; getStreamVideoUrlByAtflId: (atflId: string) => Promise; getMovieThumbnailUrlByAtflId: (atflId: string) => Promise; getMovieThumbnailUrlByAtflCd: (atflCd: string) => Promise; downloadAttachmentByAtflCd: (atflCd: string) => Promise; }