UNPKG

@ecoba-vn/tender-feature

Version:
23 lines (22 loc) 689 B
export declare type RequestModel = { id: number; projectCode: string; createdDate: string; versionCode: string; content: string; isClosed: boolean; closedReason: number; }; export declare type CreateRequestModel = { versionCode: string; content: string; }; declare function getAll(projectCode: string): Promise<RequestModel[]>; declare function create(projectCode: string, model: CreateRequestModel): Promise<unknown>; declare function approve(projectCode: string): Promise<unknown>; declare const optionService: { getAll: typeof getAll; create: typeof create; approve: typeof approve; }; export default optionService;