[st] - 입력단 메뉴 작업중
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
type ExcretaTreatmentFacilityApiResponse,
|
||||
type ExcretaTreatmentFacilityRequestParams,
|
||||
type ExcretaTreatmentFacilitySaveRequest,
|
||||
type ExcretaTreatmentFacilitySaveResponse,
|
||||
type ExcretaTreatmentFacilitySubmitRequest,
|
||||
type ExcretaTreatmentFacilitySubmitResponse,
|
||||
type StatisticsInputExcretaTreatmentFacilityService,
|
||||
} from "../../model/input/statistics-input-excreta-treatment-facility-interface";
|
||||
|
||||
export class StatisticsInputExcretaTreatmentFacilityApiService
|
||||
implements StatisticsInputExcretaTreatmentFacilityService
|
||||
{
|
||||
/** 분뇨처리시설 조회 — ST00070001 */
|
||||
public async getExcretaTreatmentFacilityList(
|
||||
params: ExcretaTreatmentFacilityRequestParams,
|
||||
): Promise<ExcretaTreatmentFacilityApiResponse> {
|
||||
const response = await stClient.get<ExcretaTreatmentFacilityApiResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/excreta-treatment-facility`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 분뇨처리시설 저장 — ST00070001 */
|
||||
public async saveExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySaveRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySaveResponse> {
|
||||
const response = await stClient.put<ExcretaTreatmentFacilitySaveResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/excreta-treatment-facility/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 분뇨처리시설 제출 — ST00070001 */
|
||||
public async submitExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySubmitRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySubmitResponse> {
|
||||
const response = await stClient.put<ExcretaTreatmentFacilitySubmitResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/excreta-treatment-facility/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputExcretaTreatmentFacilityApi =
|
||||
new StatisticsInputExcretaTreatmentFacilityApiService();
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
type PrivateSewageDesigStatusApiResponse,
|
||||
type PrivateSewageDesigStatusRequestParams,
|
||||
type PrivateSewageDesigStatusSaveRequest,
|
||||
type PrivateSewageDesigStatusSaveResponse,
|
||||
type PrivateSewageDesigStatusSubmitRequest,
|
||||
type PrivateSewageDesigStatusSubmitResponse,
|
||||
type SepticTankStatusApiResponse,
|
||||
type SepticTankStatusRequestParams,
|
||||
type SepticTankStatusSaveRequest,
|
||||
type SepticTankStatusSaveResponse,
|
||||
type SepticTankStatusSubmitRequest,
|
||||
type SepticTankStatusSubmitResponse,
|
||||
type SewageTreatFactStatusApiResponse,
|
||||
type SewageTreatFactStatusRequestParams,
|
||||
type SewageTreatFactStatusSaveRequest,
|
||||
type SewageTreatFactStatusSaveResponse,
|
||||
type SewageTreatFactStatusSubmitRequest,
|
||||
type SewageTreatFactStatusSubmitResponse,
|
||||
type StatisticsInputPrivateSewageFacilityService,
|
||||
} from "../../model/input/statistics-input-private-sewage-facility-interface";
|
||||
|
||||
const BASE = `${ENDPOINT.ST_SERVICE.INPUT}/private-sewage-facility`;
|
||||
|
||||
export class StatisticsInputPrivateSewageFacilityApiService
|
||||
implements StatisticsInputPrivateSewageFacilityService
|
||||
{
|
||||
/** 처리용량별 오수처리시설 현황 조회 — ST00080001 */
|
||||
public async getSewageTreatFactStatusList(
|
||||
params: SewageTreatFactStatusRequestParams,
|
||||
): Promise<SewageTreatFactStatusApiResponse> {
|
||||
const response = await stClient.get<SewageTreatFactStatusApiResponse>(
|
||||
`${BASE}/sewage-treat-fact-status`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 처리용량별 오수처리시설 현황 저장 — ST00080001 */
|
||||
public async saveSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSaveRequest,
|
||||
): Promise<SewageTreatFactStatusSaveResponse> {
|
||||
const response = await stClient.put<SewageTreatFactStatusSaveResponse>(
|
||||
`${BASE}/sewage-treat-fact-status/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 처리용량별 오수처리시설 현황 제출 — ST00080001 */
|
||||
public async submitSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSubmitRequest,
|
||||
): Promise<SewageTreatFactStatusSubmitResponse> {
|
||||
const response = await stClient.put<SewageTreatFactStatusSubmitResponse>(
|
||||
`${BASE}/sewage-treat-fact-status/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 정화조 현황 조회 — ST00080002 */
|
||||
public async getSepticTankStatusList(
|
||||
params: SepticTankStatusRequestParams,
|
||||
): Promise<SepticTankStatusApiResponse> {
|
||||
const response = await stClient.get<SepticTankStatusApiResponse>(
|
||||
`${BASE}/septic-tank-status`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 정화조 현황 저장 — ST00080002 */
|
||||
public async saveSepticTankStatus(
|
||||
request: SepticTankStatusSaveRequest,
|
||||
): Promise<SepticTankStatusSaveResponse> {
|
||||
const response = await stClient.put<SepticTankStatusSaveResponse>(
|
||||
`${BASE}/septic-tank-status/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 정화조 현황 제출 — ST00080002 */
|
||||
public async submitSepticTankStatus(
|
||||
request: SepticTankStatusSubmitRequest,
|
||||
): Promise<SepticTankStatusSubmitResponse> {
|
||||
const response = await stClient.put<SepticTankStatusSubmitResponse>(
|
||||
`${BASE}/septic-tank-status/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 개인하수도 관리지역 지정공고 현황 조회 — ST00080003 */
|
||||
public async getPrivateSewageDesigStatusList(
|
||||
params: PrivateSewageDesigStatusRequestParams,
|
||||
): Promise<PrivateSewageDesigStatusApiResponse> {
|
||||
const response = await stClient.get<PrivateSewageDesigStatusApiResponse>(
|
||||
`${BASE}/desig-status`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 개인하수도 관리지역 지정공고 현황 저장 — ST00080003 */
|
||||
public async savePrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSaveRequest,
|
||||
): Promise<PrivateSewageDesigStatusSaveResponse> {
|
||||
const response = await stClient.put<PrivateSewageDesigStatusSaveResponse>(
|
||||
`${BASE}/desig-status/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 개인하수도 관리지역 지정공고 현황 제출 — ST00080003 */
|
||||
public async submitPrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSubmitRequest,
|
||||
): Promise<PrivateSewageDesigStatusSubmitResponse> {
|
||||
const response = await stClient.put<PrivateSewageDesigStatusSubmitResponse>(
|
||||
`${BASE}/desig-status/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputPrivateSewageFacilityApi =
|
||||
new StatisticsInputPrivateSewageFacilityApiService();
|
||||
@@ -0,0 +1,50 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
type PumpingStationApiResponse,
|
||||
type PumpingStationRequestParams,
|
||||
type PumpingStationSaveRequest,
|
||||
type PumpingStationSaveResponse,
|
||||
type PumpingStationSubmitRequest,
|
||||
type PumpingStationSubmitResponse,
|
||||
type StatisticsInputPumpingStationService,
|
||||
} from "../../model/input/statistics-input-pumping-station-interface";
|
||||
|
||||
export class StatisticsInputPumpingStationApiService implements StatisticsInputPumpingStationService {
|
||||
/** 펌프장 조회 — ST00050001 */
|
||||
public async getPumpingStationList(
|
||||
params: PumpingStationRequestParams,
|
||||
): Promise<PumpingStationApiResponse> {
|
||||
const response = await stClient.get<PumpingStationApiResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/pumping-station`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 펌프장 저장 — ST00050001 */
|
||||
public async savePumpingStationList(
|
||||
request: PumpingStationSaveRequest,
|
||||
): Promise<PumpingStationSaveResponse> {
|
||||
const response = await stClient.put<PumpingStationSaveResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/pumping-station/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 펌프장 제출 — ST00050001 */
|
||||
public async submitPumpingStationList(
|
||||
request: PumpingStationSubmitRequest,
|
||||
): Promise<PumpingStationSubmitResponse> {
|
||||
const response = await stClient.put<PumpingStationSubmitResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/pumping-station/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputPumpingStationApi = new StatisticsInputPumpingStationApiService();
|
||||
+3
-2
@@ -1,5 +1,6 @@
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
type StatisticsInputSewSupplyRateService,
|
||||
@@ -15,7 +16,7 @@ export class StatisticsInputSewSupplyRateApiService implements StatisticsInputSe
|
||||
public async getSewerageSupplyRateList(params: SewerageSupplyRateRequestParams): Promise<SewerageSupplyRateApiResponse> {
|
||||
const response = await stClient.get<SewerageSupplyRateApiResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewerage-supply-rate`,
|
||||
{ params }
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import type {
|
||||
@@ -20,7 +21,7 @@ export class SewagePipeMaintainApiService implements SewagePipeMaintainService {
|
||||
public async getSewagePipeMaintainRepair(param: SewagePipeMaintainRequestParams): Promise<SewagePipeMaintainRepairResponse> {
|
||||
const response = await stClient.get<SewagePipeMaintainRepairResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe-maintain/repair`,
|
||||
{ params: param }
|
||||
withAuthHeader({ params: param })
|
||||
);
|
||||
return response.data;
|
||||
};
|
||||
@@ -28,7 +29,7 @@ export class SewagePipeMaintainApiService implements SewagePipeMaintainService {
|
||||
public async getSewagePipeMaintainDredging(param: SewagePipeMaintainRequestParams): Promise<SewagePipeMaintainDredgingResponse> {
|
||||
const response = await stClient.get<SewagePipeMaintainDredgingResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe-maintain/dredging`,
|
||||
{ params: param }
|
||||
withAuthHeader({ params: param })
|
||||
);
|
||||
return response.data;
|
||||
};
|
||||
|
||||
+42
-2
@@ -1,4 +1,5 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
@@ -7,7 +8,13 @@ import {
|
||||
type SewageReservoirRequestParams,
|
||||
type SewageReservoirSaveRequest,
|
||||
type SewageReservoirSaveResponse,
|
||||
type SewageReservoirSubmitRequest,
|
||||
type SewageReservoirSubmitResponse,
|
||||
type RainfallPumpStationApiResponse,
|
||||
type RainfallPumpStationSaveRequest,
|
||||
type RainfallPumpStationSaveResponse,
|
||||
type RainfallPumpStationSubmitRequest,
|
||||
type RainfallPumpStationSubmitResponse,
|
||||
} from "../../model/input/statistics-input-sewage-reservoir-pump-interface";
|
||||
|
||||
export class StatisticsInputSewageReservoirPumpApiService implements StatisticsInputSewageReservoirPumpService {
|
||||
@@ -15,7 +22,7 @@ export class StatisticsInputSewageReservoirPumpApiService implements StatisticsI
|
||||
public async getSewageReservoirList(params: SewageReservoirRequestParams): Promise<SewageReservoirApiResponse> {
|
||||
const response = await stClient.get<SewageReservoirApiResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/sewage-reservoir`,
|
||||
{ params },
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -26,7 +33,7 @@ export class StatisticsInputSewageReservoirPumpApiService implements StatisticsI
|
||||
): Promise<RainfallPumpStationApiResponse> {
|
||||
const response = await stClient.get<RainfallPumpStationApiResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/rainfall-pump`,
|
||||
{ params },
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -41,6 +48,39 @@ export class StatisticsInputSewageReservoirPumpApiService implements StatisticsI
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 하수저류시설 제출 — ST00040001 */
|
||||
public async submitSewageReservoir(
|
||||
request: SewageReservoirSubmitRequest,
|
||||
): Promise<SewageReservoirSubmitResponse> {
|
||||
const response = await stClient.put<SewageReservoirSubmitResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/sewage-reservoir/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 빗물펌프장 저장 — ST00040002 */
|
||||
public async saveRainfallPumpStation(
|
||||
request: RainfallPumpStationSaveRequest,
|
||||
): Promise<RainfallPumpStationSaveResponse> {
|
||||
const response = await stClient.put<RainfallPumpStationSaveResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/rainfall-pump/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 빗물펌프장 제출 — ST00040002 */
|
||||
public async submitRainfallPumpStation(
|
||||
request: RainfallPumpStationSubmitRequest,
|
||||
): Promise<RainfallPumpStationSubmitResponse> {
|
||||
const response = await stClient.put<RainfallPumpStationSubmitResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/rainfall-pump/submit`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputSewageReservoirPumpApi = new StatisticsInputSewageReservoirPumpApiService();
|
||||
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import {
|
||||
type CauserBurdenApiResponse,
|
||||
type CauserBurdenRequestParams,
|
||||
type SewerageChargeApiResponse,
|
||||
type SewerageChargeRequestParams,
|
||||
type SewerageFinanceSettleApiResponse,
|
||||
type SewerageFinanceSettleRequestParams,
|
||||
type SewerageUsageFeeApiResponse,
|
||||
type SewerageUsageFeeRequestParams,
|
||||
type StatisticsInputSewerageFinanceService,
|
||||
} from "../../model/input/statistics-input-sewerage-finance-interface";
|
||||
|
||||
const BASE = `${ENDPOINT.ST_SERVICE.INPUT}/sewerage-finance`;
|
||||
|
||||
export class StatisticsInputSewerageFinanceApiService
|
||||
implements StatisticsInputSewerageFinanceService
|
||||
{
|
||||
/** 하수도재정 결산 조회 — ST00090001 */
|
||||
public async getSewerageFinanceSettleList(
|
||||
params: SewerageFinanceSettleRequestParams,
|
||||
): Promise<SewerageFinanceSettleApiResponse> {
|
||||
const response = await stClient.get<SewerageFinanceSettleApiResponse>(
|
||||
`${BASE}/settle`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 하수도 요금 조회 — ST00090002 */
|
||||
public async getSewerageChargeList(
|
||||
params: SewerageChargeRequestParams,
|
||||
): Promise<SewerageChargeApiResponse> {
|
||||
const response = await stClient.get<SewerageChargeApiResponse>(
|
||||
`${BASE}/charge`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 하수도 사용료 조회 — ST00090003 */
|
||||
public async getSewerageUsageFeeList(
|
||||
params: SewerageUsageFeeRequestParams,
|
||||
): Promise<SewerageUsageFeeApiResponse> {
|
||||
const response = await stClient.get<SewerageUsageFeeApiResponse>(
|
||||
`${BASE}/usage-fee`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 원인자 부담금 조회 — ST00090004 */
|
||||
public async getCauserBurdenList(
|
||||
params: CauserBurdenRequestParams,
|
||||
): Promise<CauserBurdenApiResponse> {
|
||||
const response = await stClient.get<CauserBurdenApiResponse>(
|
||||
`${BASE}/causer-burden`,
|
||||
withAuthHeader({ params }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputSewerageFinanceApi =
|
||||
new StatisticsInputSewerageFinanceApiService();
|
||||
+4
-3
@@ -1,4 +1,5 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import type {
|
||||
@@ -20,7 +21,7 @@ export class StatisticsInputPublicSewageFacilityApiService implements Statistics
|
||||
public async getPublicSewageFacility(param: PublicSewageFacilityRequestParams): Promise<PublicSewageFacilityResponse> {
|
||||
const response = await stClient.get<PublicSewageFacilityResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/public-sewage-facility/facility`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -28,7 +29,7 @@ export class StatisticsInputPublicSewageFacilityApiService implements Statistics
|
||||
public async getPublicSewageMainFacility(param: PublicSewageFacilityRequestParams): Promise<PublicSewageMainFacilityResponse> {
|
||||
const response = await stClient.get<PublicSewageMainFacilityResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/public-sewage-facility/main-facility`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -38,7 +39,7 @@ export class StatisticsInputPublicSewageFacilityApiService implements Statistics
|
||||
): Promise<PublicSewageMappingTargetsResponse> {
|
||||
const response = await stClient.get<PublicSewageMappingTargetsResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/public-sewage-facility/main-facility/mapping-targets`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { withAuthHeader } from "@/shared/api/with-auth-header";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
import type {
|
||||
SeweragePipeFacilityAdminAreaListRequest,
|
||||
SeweragePipeFacilityAdminAreaListResponse,
|
||||
@@ -39,7 +40,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getRegionalFactStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputRegionalResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputRegionalResponse> (
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/regional-facility-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -47,7 +48,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getFactInstallStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputFactInstallResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputFactInstallResponse> (
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/facility-install-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -55,7 +56,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getPipeTypeStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputPipeTypeResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputPipeTypeResponse> (
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/pipe-type-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -63,7 +64,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getPipeDiameterStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputPipeDiameterResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputPipeDiameterResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/pipe-diameter-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -71,7 +72,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getManholeStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputManholeResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputManholeResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/manhole-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -79,7 +80,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getConnectionStatus(param: SeweragePipeRequestParams): Promise<SeweragePipeInputConnectionStatusResponse> {
|
||||
const response = await stClient.get<SeweragePipeInputConnectionStatusResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/facility-connection-status`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -87,7 +88,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getFacilitiesList(param: SeweragePipeFacilitiesListRequest): Promise<SeweragePipeFacilitiesListResponse> {
|
||||
const response = await stClient.get<SeweragePipeFacilitiesListResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/facility-connection-status/popup/facilities`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
@@ -95,7 +96,7 @@ export class StatisticsInputSewPipeApiService implements StatisticsInputSewPipeS
|
||||
public async getFacilityAdminAreaList(param: SeweragePipeFacilityAdminAreaListRequest): Promise<SeweragePipeFacilityAdminAreaListResponse> {
|
||||
const response = await stClient.get<SeweragePipeFacilityAdminAreaListResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe/facility-connection-status/popup/areas`,
|
||||
{ params: param },
|
||||
withAuthHeader({ params: param }),
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 분뇨처리시설(ST00070001) — `ExcretaTreatFactInpColumn` */
|
||||
export const EXCRETA_TREATMENT_FACILITY_STATS_CD = "ST00070001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface ExcretaTreatmentFacilityVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type ExcretaTreatmentFacilityVerificationResult = Record<
|
||||
string,
|
||||
ExcretaTreatmentFacilityVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** 분뇨처리시설 조회 `data.commonInfo` */
|
||||
export interface ExcretaTreatmentFacilityCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: ExcretaTreatmentFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 분뇨처리시설 조회 `data.excretaTreatmentFacilityList[]` 한 행.
|
||||
* `ExcretaTreatFactInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface ExcretaTreatmentFacilityItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fcltSn: string;
|
||||
fcltNm: string;
|
||||
fcltPstnCn: string;
|
||||
telNo: string;
|
||||
cmptnStrtYmd: string;
|
||||
oprtngStrtYmd: string;
|
||||
wholPjtcoAmt: number;
|
||||
prcsFcltCpct: number;
|
||||
cpct: number;
|
||||
oprtngDayCnt: number;
|
||||
prcsMthdExpln: string;
|
||||
linkTmplntCn: string;
|
||||
linkPrcsQnt: number;
|
||||
inflwBodWqVl: number;
|
||||
inflwTocWqVl: number;
|
||||
inflwSsWqVl: number;
|
||||
inflwTnWqVl: number;
|
||||
inflwTpWqVl: number;
|
||||
inflwClfgCnt: number;
|
||||
dschgBodWqVl: number;
|
||||
dschgTocWqVl: number;
|
||||
dschgSsWqVl: number;
|
||||
dschgTnWqVl: number;
|
||||
dschgTpWqVl: number;
|
||||
dschgClfgCnt: number;
|
||||
wtsysNm: string;
|
||||
trbtrNm: string;
|
||||
msirbCn: string;
|
||||
ssirbCn: string;
|
||||
operMthdCdCn: string;
|
||||
wholNope: number;
|
||||
sftyAcdntEvntcsCnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: ExcretaTreatmentFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilityResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: ExcretaTreatmentFacilityCommonInfo;
|
||||
excretaTreatmentFacilityList: ExcretaTreatmentFacilityItem[];
|
||||
}
|
||||
|
||||
export type ExcretaTreatmentFacilityApiResponse =
|
||||
ApiResponse<ExcretaTreatmentFacilityResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 조회 요청 파라미터 */
|
||||
export interface ExcretaTreatmentFacilityRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
fcltNm?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 분뇨처리시설(ST00070001) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type ExcretaTreatmentFacilitySaveItem = Omit<
|
||||
ExcretaTreatmentFacilityItem,
|
||||
"sggNm" | "verificationResult"
|
||||
>;
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 저장 API 요청 */
|
||||
export interface ExcretaTreatmentFacilitySaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: ExcretaTreatmentFacilitySaveItem[];
|
||||
deleteList: ExcretaTreatmentFacilitySaveItem[];
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilitySaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
export type ExcretaTreatmentFacilitySubmitItem = ExcretaTreatmentFacilitySaveItem;
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 제출 API 요청 */
|
||||
export interface ExcretaTreatmentFacilitySubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: ExcretaTreatmentFacilitySubmitItem[];
|
||||
deleteList: ExcretaTreatmentFacilitySubmitItem[];
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilitySubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputExcretaTreatmentFacilityService {
|
||||
getExcretaTreatmentFacilityList(
|
||||
params: ExcretaTreatmentFacilityRequestParams,
|
||||
): Promise<ExcretaTreatmentFacilityApiResponse>;
|
||||
saveExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySaveRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySaveResponse>;
|
||||
submitExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySubmitRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySubmitResponse>;
|
||||
}
|
||||
+453
@@ -0,0 +1,453 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 처리용량별 오수처리시설 현황(ST00080001) — `SewageTreatFactStatusInpColumn.tabKey` */
|
||||
export const SEWAGE_TREAT_FACT_STATUS_STATS_CD = "ST00080001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface PrivateSewageFacilityVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type PrivateSewageFacilityVerificationResult = Record<
|
||||
string,
|
||||
PrivateSewageFacilityVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** ST00080001 조회 `data.commonInfo` */
|
||||
export interface SewageTreatFactStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080001 조회 `data.sewageTreatFactStatusList[]` 한 행.
|
||||
* `SewageTreatFactStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewageTreatFactStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
wholDrtwPrcsFcltCnt: number;
|
||||
wholStaaCnt: number;
|
||||
step1StaaPrcsQnt: number;
|
||||
step2StaaPrcsQnt: number;
|
||||
step3StaaPrcsQnt: number;
|
||||
step4StaaPrcsQnt: number;
|
||||
step5StaaPrcsQnt: number;
|
||||
step6StaaPrcsQnt: number;
|
||||
step7StaaPrcsQnt: number;
|
||||
staaExcpWhol: number;
|
||||
step1StaaExcpPrcsQnt: number;
|
||||
step2StaaExcpPrcsQnt: number;
|
||||
step3StaaExcpPrcsQnt: number;
|
||||
step4StaaExcpPrcsQnt: number;
|
||||
step5StaaExcpPrcsQnt: number;
|
||||
step6StaaExcpPrcsQnt: number;
|
||||
step7StaaExcpPrcsQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewageTreatFactStatusCommonInfo;
|
||||
sewageTreatFactStatusList: SewageTreatFactStatusItem[];
|
||||
}
|
||||
|
||||
export type SewageTreatFactStatusApiResponse = ApiResponse<SewageTreatFactStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080001 조회 요청 파라미터 */
|
||||
export interface SewageTreatFactStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 정화조 현황(ST00080002) — `SepticTankStatusInpColumn.tabKey` */
|
||||
export const SEPTIC_TANK_STATUS_STATS_CD = "ST00080002" as const;
|
||||
|
||||
/** ST00080002 조회 `data.commonInfo` */
|
||||
export interface SepticTankStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080002 조회 `data.septicTankStatusList[]` 한 행.
|
||||
* `SepticTankStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SepticTankStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
grssFcltCnt: number;
|
||||
staaInsdWhol: number;
|
||||
staaInsdPrcsMthByWhol: number;
|
||||
staaInsdSttkNprsflCnt: number;
|
||||
step1StaaInsdSttkFrcCnt: number;
|
||||
staaInsdSprktpFltrtbCnt: number;
|
||||
staaInsdAertMthdCnt: number;
|
||||
staaInsdCntcAertCnt: number;
|
||||
staaInsdEtcCnt: number;
|
||||
staaInsdPrcsCpctByWhol: number;
|
||||
step1StaaInsdNope: number;
|
||||
step2StaaInsdNope: number;
|
||||
step3StaaInsdNope: number;
|
||||
step4StaaInsdNope: number;
|
||||
step5StaaInsdNope: number;
|
||||
step6StaaInsdNope: number;
|
||||
step7StaaInsdNope: number;
|
||||
step8StaaInsdNope: number;
|
||||
staaExcpWhol: number;
|
||||
staaExcpPrcsMthByWhol: number;
|
||||
staaExcpSttkNprsflCnt: number;
|
||||
step1StaaExcpSttkFrcCnt: number;
|
||||
staaExcpSprktpFltrtbCnt: number;
|
||||
staaExcpAertMthdCnt: number;
|
||||
staaExcpCntcAertCnt: number;
|
||||
staaExcpEtcCnt: number;
|
||||
staaExcpPrcsCpctByWhol: number;
|
||||
step1StaaExcpNope: number;
|
||||
step2StaaExcpNope: number;
|
||||
step3StaaExcpNope: number;
|
||||
step4StaaExcpNope: number;
|
||||
step5StaaExcpNope: number;
|
||||
step6StaaExcpNope: number;
|
||||
step7StaaExcpNope: number;
|
||||
step8StaaExcpNope: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface SepticTankStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SepticTankStatusCommonInfo;
|
||||
septicTankStatusList: SepticTankStatusItem[];
|
||||
}
|
||||
|
||||
export type SepticTankStatusApiResponse = ApiResponse<SepticTankStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080002 조회 요청 파라미터 */
|
||||
export interface SepticTankStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 개인하수도 관리지역 지정공고 현황(ST00080003) — `PrivateSewageDesigStatusInpColumn` */
|
||||
export const PRIVATE_SEWAGE_DESIG_STATUS_STATS_CD = "ST00080003" as const;
|
||||
|
||||
/** ST00080003 조회 `data.commonInfo` */
|
||||
export interface PrivateSewageDesigStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080003 조회 `data.privateSewageDesigStatusList[]` 한 행.
|
||||
* `PrivateSewageDesigStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface PrivateSewageDesigStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
indvSwagePbancRgnCnt: number;
|
||||
indvSwageDsgnScpLen: number;
|
||||
spctnkGrssFcltCnt: number;
|
||||
spctnkQnt: number;
|
||||
drtwPrcsFcltGrssFcltCnt: number;
|
||||
drtwPrcsFcltQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: PrivateSewageDesigStatusCommonInfo;
|
||||
privateSewageDesigStatusList: PrivateSewageDesigStatusItem[];
|
||||
}
|
||||
|
||||
export type PrivateSewageDesigStatusApiResponse =
|
||||
ApiResponse<PrivateSewageDesigStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080003 조회 요청 파라미터 */
|
||||
export interface PrivateSewageDesigStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080001 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·계산필드(`wholDrtwPrcsFcltCnt`, `wholStaaCnt`, `staaExcpWhol`)·검증결과는 제외.
|
||||
*/
|
||||
export interface SewageTreatFactStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
step1StaaPrcsQnt: number;
|
||||
step2StaaPrcsQnt: number;
|
||||
step3StaaPrcsQnt: number;
|
||||
step4StaaPrcsQnt: number;
|
||||
step5StaaPrcsQnt: number;
|
||||
step6StaaPrcsQnt: number;
|
||||
step7StaaPrcsQnt: number;
|
||||
step1StaaExcpPrcsQnt: number;
|
||||
step2StaaExcpPrcsQnt: number;
|
||||
step3StaaExcpPrcsQnt: number;
|
||||
step4StaaExcpPrcsQnt: number;
|
||||
step5StaaExcpPrcsQnt: number;
|
||||
step6StaaExcpPrcsQnt: number;
|
||||
step7StaaExcpPrcsQnt: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080001 저장 API 요청 */
|
||||
export interface SewageTreatFactStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: SewageTreatFactStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080001 제출 API 요청 */
|
||||
export interface SewageTreatFactStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SewageTreatFactStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080002 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·계산필드(`grssFcltCnt`, `staaInsdWhol`, `staaInsdPrcsMthByWhol`, `staaInsdPrcsCpctByWhol`,
|
||||
* `staaExcpWhol`, `staaExcpPrcsMthByWhol`, `staaExcpPrcsCpctByWhol`)·검증결과는 제외.
|
||||
*/
|
||||
export interface SepticTankStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
staaInsdSttkNprsflCnt: number;
|
||||
step1StaaInsdSttkFrcCnt: number;
|
||||
staaInsdSprktpFltrtbCnt: number;
|
||||
staaInsdAertMthdCnt: number;
|
||||
staaInsdCntcAertCnt: number;
|
||||
staaInsdEtcCnt: number;
|
||||
step1StaaInsdNope: number;
|
||||
step2StaaInsdNope: number;
|
||||
step3StaaInsdNope: number;
|
||||
step4StaaInsdNope: number;
|
||||
step5StaaInsdNope: number;
|
||||
step6StaaInsdNope: number;
|
||||
step7StaaInsdNope: number;
|
||||
step8StaaInsdNope: number;
|
||||
staaExcpSttkNprsflCnt: number;
|
||||
step1StaaExcpSttkFrcCnt: number;
|
||||
staaExcpSprktpFltrtbCnt: number;
|
||||
staaExcpAertMthdCnt: number;
|
||||
staaExcpCntcAertCnt: number;
|
||||
staaExcpEtcCnt: number;
|
||||
step1StaaExcpNope: number;
|
||||
step2StaaExcpNope: number;
|
||||
step3StaaExcpNope: number;
|
||||
step4StaaExcpNope: number;
|
||||
step5StaaExcpNope: number;
|
||||
step6StaaExcpNope: number;
|
||||
step7StaaExcpNope: number;
|
||||
step8StaaExcpNope: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080002 저장 API 요청 */
|
||||
export interface SepticTankStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: SepticTankStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SepticTankStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080002 제출 API 요청 */
|
||||
export interface SepticTankStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SepticTankStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SepticTankStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080003 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·검증결과는 제외.
|
||||
*/
|
||||
export interface PrivateSewageDesigStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
indvSwagePbancRgnCnt: number;
|
||||
indvSwageDsgnScpLen: number;
|
||||
spctnkGrssFcltCnt: number;
|
||||
spctnkQnt: number;
|
||||
drtwPrcsFcltGrssFcltCnt: number;
|
||||
drtwPrcsFcltQnt: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080003 저장 API 요청 */
|
||||
export interface PrivateSewageDesigStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: PrivateSewageDesigStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080003 제출 API 요청 */
|
||||
export interface PrivateSewageDesigStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: PrivateSewageDesigStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputPrivateSewageFacilityService {
|
||||
getSewageTreatFactStatusList(
|
||||
params: SewageTreatFactStatusRequestParams,
|
||||
): Promise<SewageTreatFactStatusApiResponse>;
|
||||
saveSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSaveRequest,
|
||||
): Promise<SewageTreatFactStatusSaveResponse>;
|
||||
submitSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSubmitRequest,
|
||||
): Promise<SewageTreatFactStatusSubmitResponse>;
|
||||
getSepticTankStatusList(
|
||||
params: SepticTankStatusRequestParams,
|
||||
): Promise<SepticTankStatusApiResponse>;
|
||||
saveSepticTankStatus(
|
||||
request: SepticTankStatusSaveRequest,
|
||||
): Promise<SepticTankStatusSaveResponse>;
|
||||
submitSepticTankStatus(
|
||||
request: SepticTankStatusSubmitRequest,
|
||||
): Promise<SepticTankStatusSubmitResponse>;
|
||||
getPrivateSewageDesigStatusList(
|
||||
params: PrivateSewageDesigStatusRequestParams,
|
||||
): Promise<PrivateSewageDesigStatusApiResponse>;
|
||||
savePrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSaveRequest,
|
||||
): Promise<PrivateSewageDesigStatusSaveResponse>;
|
||||
submitPrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSubmitRequest,
|
||||
): Promise<PrivateSewageDesigStatusSubmitResponse>;
|
||||
}
|
||||
+174
@@ -0,0 +1,174 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 펌프장(ST00050001) — `PumpingStationInpColumn` tabKey */
|
||||
export const PUMPING_STATION_STATS_CD = "ST00050001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface PumpingStationVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type PumpingStationVerificationResult = Record<
|
||||
string,
|
||||
PumpingStationVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** 펌프장 조회 `data.commonInfo` */
|
||||
export interface PumpingStationCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PumpingStationVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 펌프장 조회 `data.pumpingStationList[]` 한 행.
|
||||
* `PumpingStationInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface PumpingStationItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fcltSn: string;
|
||||
swtrmtFcltNm: string;
|
||||
fcltNm: string;
|
||||
pumpSeNm: string;
|
||||
fcltPstnCn: string;
|
||||
oprtngStrtYmd: string;
|
||||
planMltvArea: number;
|
||||
sndyArea: number;
|
||||
rainArea: number;
|
||||
exlnQnt: number;
|
||||
drtwPumpGrssPpqty: number;
|
||||
drtwPumpN1DmtrArea: number;
|
||||
drtwPumpN1Ppqty: number;
|
||||
drtwPumpN1Cnt: number;
|
||||
drtwPumpN1RsrvCnt: number;
|
||||
drtwPumpN2DmtrArea: number;
|
||||
drtwPumpN2Ppqty: number;
|
||||
drtwPumpN2Cnt: number;
|
||||
drtwPumpN2RsrvCnt: number;
|
||||
drtwPumpN3DmtrArea: number;
|
||||
drtwPumpN3Ppqty: number;
|
||||
drtwPumpN3Cnt: number;
|
||||
drtwPumpN3RsrvCnt: number;
|
||||
exlnPumpGrssPpqty: number;
|
||||
exlnPumpN1DmtrArea: number;
|
||||
exlnPumpN1Ppqty: number;
|
||||
exlnPumpN1Cnt: number;
|
||||
exlnPumpN1RsrvCnt: number;
|
||||
exlnPumpN2DmtrArea: number;
|
||||
exlnPumpN2Ppqty: number;
|
||||
exlnPumpN2Cnt: number;
|
||||
exlnPumpN2RsrvCnt: number;
|
||||
exlnPumpN3DmtrArea: number;
|
||||
exlnPumpN3Ppqty: number;
|
||||
exlnPumpN3Cnt: number;
|
||||
exlnPumpN3RsrvCnt: number;
|
||||
anlElpwrUseQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PumpingStationVerificationResult;
|
||||
}
|
||||
|
||||
export interface PumpingStationResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: PumpingStationCommonInfo;
|
||||
pumpingStationList: PumpingStationItem[];
|
||||
}
|
||||
|
||||
export type PumpingStationApiResponse = ApiResponse<PumpingStationResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** 펌프장(ST00050001) 조회 요청 파라미터 */
|
||||
export interface PumpingStationRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
fcltNm?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 펌프장(ST00050001) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·계산필드·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type PumpingStationSaveItem = Omit<
|
||||
PumpingStationItem,
|
||||
| "sggNm"
|
||||
| "verificationResult"
|
||||
| "exlnQnt"
|
||||
| "drtwPumpGrssPpqty"
|
||||
| "exlnPumpGrssPpqty"
|
||||
>;
|
||||
|
||||
/** 펌프장(ST00050001) 저장 API 요청 */
|
||||
export interface PumpingStationSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: PumpingStationSaveItem[];
|
||||
deleteList: PumpingStationSaveItem[];
|
||||
}
|
||||
|
||||
export interface PumpingStationSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
export type PumpingStationSubmitItem = PumpingStationSaveItem;
|
||||
|
||||
/** 펌프장(ST00050001) 제출 API 요청 */
|
||||
export interface PumpingStationSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: PumpingStationSubmitItem[];
|
||||
deleteList: PumpingStationSubmitItem[];
|
||||
}
|
||||
|
||||
export interface PumpingStationSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputPumpingStationService {
|
||||
getPumpingStationList(
|
||||
params: PumpingStationRequestParams,
|
||||
): Promise<PumpingStationApiResponse>;
|
||||
savePumpingStationList(
|
||||
request: PumpingStationSaveRequest,
|
||||
): Promise<PumpingStationSaveResponse>;
|
||||
submitPumpingStationList(
|
||||
request: PumpingStationSubmitRequest,
|
||||
): Promise<PumpingStationSubmitResponse>;
|
||||
}
|
||||
+91
@@ -194,10 +194,101 @@ export interface SewageReservoirSaveResponse {
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** 하수저류시설(ST00040001) 제출 API 요청 */
|
||||
export interface SewageReservoirSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SewageReservoirSaveItem[];
|
||||
deleteList: SewageReservoirSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageReservoirSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 빗물펌프장(ST00040002) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type RainfallPumpStationSaveItem = Omit<
|
||||
RainfallPumpStationItem,
|
||||
"sggNm" | "verificationResult"
|
||||
>;
|
||||
|
||||
/**
|
||||
* 빗물펌프장(ST00040002) 저장 API 요청
|
||||
* (요청 shape은 예시 JSON과 동일)
|
||||
*/
|
||||
export interface RainfallPumpStationSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: RainfallPumpStationSaveItem[];
|
||||
deleteList: RainfallPumpStationSaveItem[];
|
||||
}
|
||||
|
||||
/** 빗물펌프장(ST00040002) 저장 응답 */
|
||||
export type RainfallPumpStationSaveResponse = SewageReservoirSaveResponse;
|
||||
|
||||
/** 빗물펌프장(ST00040002) 제출 API 요청 */
|
||||
export interface RainfallPumpStationSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: RainfallPumpStationSaveItem[];
|
||||
deleteList: RainfallPumpStationSaveItem[];
|
||||
}
|
||||
|
||||
/** 빗물펌프장(ST00040002) 제출 응답 */
|
||||
export type RainfallPumpStationSubmitResponse = SewageReservoirSubmitResponse;
|
||||
|
||||
export interface StatisticsInputSewageReservoirPumpService {
|
||||
getSewageReservoirList(params: SewageReservoirRequestParams): Promise<SewageReservoirApiResponse>;
|
||||
getRainfallPumpStationList(
|
||||
params: SewageReservoirRequestParams,
|
||||
): Promise<RainfallPumpStationApiResponse>;
|
||||
saveSewageReservoir(request: SewageReservoirSaveRequest): Promise<SewageReservoirSaveResponse>;
|
||||
submitSewageReservoir(
|
||||
request: SewageReservoirSubmitRequest,
|
||||
): Promise<SewageReservoirSubmitResponse>;
|
||||
/** 빗물펌프장 저장 — ST00040002 */
|
||||
saveRainfallPumpStation(
|
||||
request: RainfallPumpStationSaveRequest,
|
||||
): Promise<RainfallPumpStationSaveResponse>;
|
||||
/** 빗물펌프장 제출 — ST00040002 */
|
||||
submitRainfallPumpStation(
|
||||
request: RainfallPumpStationSubmitRequest,
|
||||
): Promise<RainfallPumpStationSubmitResponse>;
|
||||
}
|
||||
|
||||
+277
@@ -0,0 +1,277 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 하수도재정 결산(ST00090001) — `SewerageFinanceSettleInpColumn.tabKey` */
|
||||
export const SEWERAGE_FINANCE_SETTLE_STATS_CD = "ST00090001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface SewerageFinanceVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type SewerageFinanceVerificationResult = Record<
|
||||
string,
|
||||
SewerageFinanceVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** ST00090001 조회 `data.commonInfo` */
|
||||
export interface SewerageFinanceSettleCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090001 조회 `data.sewerageFinanceSettleList[]` 한 행.
|
||||
* `SewerageFinanceSettleInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageFinanceSettleItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fnnByWholPjtcoAmt: number;
|
||||
cnterGovSprtAmt: number;
|
||||
mctpvLcexpAmt: number;
|
||||
wareaSggLclAmt: number;
|
||||
sewerUseAmt: number;
|
||||
orgprBrdnAmt: number;
|
||||
etcIncmAmt: number;
|
||||
crfwAmt: number;
|
||||
lbltAmt: number;
|
||||
usgByWholPjtcoAmt: number;
|
||||
tmplntWholAmt: number;
|
||||
tmplntFcltAmt: number;
|
||||
tmplntMendngAmt: number;
|
||||
tmplntOperKeepAmt: number;
|
||||
tmplntEtcAmt: number;
|
||||
wholSwagePplAmt: number;
|
||||
swagePplFcltAmt: number;
|
||||
swagePplMendngAmt: number;
|
||||
swagePplOperKeepAmt: number;
|
||||
swagePplEtcAmt: number;
|
||||
wholSwageImpdFcltAmt: number;
|
||||
swageImpdFcltAmt: number;
|
||||
swageImpdMendngAmt: number;
|
||||
swageImpdOperKeepAmt: number;
|
||||
swageImpdFcltEtcAmt: number;
|
||||
etcWholAmt: number;
|
||||
etcAcdntCrfwAmt: number;
|
||||
etcNrcpAmt: number;
|
||||
etcAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageFinanceSettleResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageFinanceSettleCommonInfo;
|
||||
sewerageFinanceSettleList: SewerageFinanceSettleItem[];
|
||||
}
|
||||
|
||||
export type SewerageFinanceSettleApiResponse = ApiResponse<SewerageFinanceSettleResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090001 조회 요청 파라미터 */
|
||||
export interface SewerageFinanceSettleRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도 요금(ST00090002) — `SewerageChargeInpColumn.tabKey` */
|
||||
export const SEWERAGE_CHARGE_STATS_CD = "ST00090002" as const;
|
||||
|
||||
/** ST00090002 조회 `data.commonInfo` */
|
||||
export interface SewerageChargeCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090002 조회 `data.sewerageChargeList[]` 한 행.
|
||||
* `SewerageChargeInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageChargeItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
anlLevyQnt: number;
|
||||
levyAmt: number;
|
||||
avgUntprcAmt: number;
|
||||
grssPrmcoAmt: number;
|
||||
grssUnitPrmcoAmt: number;
|
||||
rlztnRt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageChargeResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageChargeCommonInfo;
|
||||
sewerageChargeList: SewerageChargeItem[];
|
||||
}
|
||||
|
||||
export type SewerageChargeApiResponse = ApiResponse<SewerageChargeResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090002 조회 요청 파라미터 */
|
||||
export interface SewerageChargeRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도 사용료(ST00090003) — `SewerageUsageFeeInpColumn.tabKey` */
|
||||
export const SEWERAGE_USAGE_FEE_STATS_CD = "ST00090003" as const;
|
||||
|
||||
/** ST00090003 조회 `data.commonInfo` */
|
||||
export interface SewerageUsageFeeCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090003 조회 `data.sewerageUsageFeeList[]` 한 행.
|
||||
* `SewerageUsageFeeInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageUsageFeeItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
levyAmt: number;
|
||||
levyQnt: number;
|
||||
hshusLevyAmt: number;
|
||||
hshusLevyQnt: number;
|
||||
hshusUntprcAmt: number;
|
||||
taskFrLevyAmt: number;
|
||||
taskFrLevyQnt: number;
|
||||
taskFrUntprcAmt: number;
|
||||
fbuLevyAmt: number;
|
||||
fbuLevyQnt: number;
|
||||
fbuUntprcAmt: number;
|
||||
bthhsFrSpcs1LevyAmt: number;
|
||||
bthhsFrSpcs1LevyQnt: number;
|
||||
bthhsFrSpcs1UntprcAmt: number;
|
||||
bthhsFrSpcs2LevyAmt: number;
|
||||
bthhsFrSpcs2LevyQnt: number;
|
||||
bthhsFrSpcs2UntprcAmt: number;
|
||||
induLevyAmt: number;
|
||||
induLevyQnt: number;
|
||||
induUntprcAmt: number;
|
||||
etcLevyAmt: number;
|
||||
etcLevyQnt: number;
|
||||
etcLevyUntprcAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageUsageFeeResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageUsageFeeCommonInfo;
|
||||
sewerageUsageFeeList: SewerageUsageFeeItem[];
|
||||
}
|
||||
|
||||
export type SewerageUsageFeeApiResponse = ApiResponse<SewerageUsageFeeResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090003 조회 요청 파라미터 */
|
||||
export interface SewerageUsageFeeRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 원인자 부담금(ST00090004) — `CauserBurdenInpColumn.tabKey` */
|
||||
export const CAUSER_BURDEN_STATS_CD = "ST00090004" as const;
|
||||
|
||||
/** ST00090004 조회 `data.commonInfo` */
|
||||
export interface CauserBurdenCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090004 조회 `data.causerBurdenList[]` 한 행.
|
||||
* `CauserBurdenInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface CauserBurdenItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
levyEvntcsCnt: number;
|
||||
levyAmt: number;
|
||||
trgtByWholClctnEvntcsCnt: number;
|
||||
trgtByWholClctnAmt: number;
|
||||
mltvEqpmEvntcsCnt: number;
|
||||
mltvEqpmAmt: number;
|
||||
othrCstrnOthrActrCnt: number;
|
||||
othrCstrnOthrActrAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface CauserBurdenResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: CauserBurdenCommonInfo;
|
||||
causerBurdenList: CauserBurdenItem[];
|
||||
}
|
||||
|
||||
export type CauserBurdenApiResponse = ApiResponse<CauserBurdenResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090004 조회 요청 파라미터 */
|
||||
export interface CauserBurdenRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도재정 조회 공통 요청 파라미터 */
|
||||
export interface SewerageFinanceRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
export interface StatisticsInputSewerageFinanceService {
|
||||
getSewerageFinanceSettleList(
|
||||
params: SewerageFinanceSettleRequestParams,
|
||||
): Promise<SewerageFinanceSettleApiResponse>;
|
||||
getSewerageChargeList(
|
||||
params: SewerageChargeRequestParams,
|
||||
): Promise<SewerageChargeApiResponse>;
|
||||
getSewerageUsageFeeList(
|
||||
params: SewerageUsageFeeRequestParams,
|
||||
): Promise<SewerageUsageFeeApiResponse>;
|
||||
getCauserBurdenList(
|
||||
params: CauserBurdenRequestParams,
|
||||
): Promise<CauserBurdenApiResponse>;
|
||||
}
|
||||
Reference in New Issue
Block a user