53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
import type { ApiResponse } from "./statistics-interface";
|
|
|
|
/**
|
|
* 검토-00.통계 입력현황 아이템 인터페이스
|
|
*/
|
|
export interface StatsInputStatusReviewItem {
|
|
ctpvNm?: string;
|
|
sggNm?: string;
|
|
sewerBzmnCd?: string;
|
|
tabNm?: string;
|
|
statsCd?: string;
|
|
submitStatusNm?: string;
|
|
prvnStatusNm?: string;
|
|
chargerNm?: string;
|
|
chargerCttpc?: string;
|
|
submitStatusCd?: string;
|
|
prvnStatusCd?: string;
|
|
}
|
|
|
|
export interface StatsInputStatusReviewResponseData {
|
|
sewerageInputList: StatsInputStatusReviewItem[];
|
|
}
|
|
|
|
|
|
export type StatsInputStatusReviewApiResponse = ApiResponse<StatsInputStatusReviewResponseData> & {
|
|
message: string;
|
|
};
|
|
|
|
|
|
export interface ReviewHistoryRequest {
|
|
statsCd: string;
|
|
statsYr: string;
|
|
sewerBzmnCd: string;
|
|
}
|
|
|
|
export interface ReviewHistoryResponse {
|
|
status: string;
|
|
message?: string;
|
|
data: {
|
|
logDt: string;
|
|
historyContent: string;
|
|
}[]
|
|
}
|
|
|
|
export interface StatsInputStatusReviewService {
|
|
getStatsInputStatusList(params: {
|
|
yr?: string;
|
|
bsnmCd?: string;
|
|
sido?: string;
|
|
gugun?: string;
|
|
}): Promise<StatsInputStatusReviewApiResponse>;
|
|
getReviewHistory(param: ReviewHistoryRequest): Promise<ReviewHistoryResponse>;
|
|
} |