// -------------------------------------------------------------------- // 아파트 단지 내 관리비 년월 목록 조회 // -------------------------------------------------------------------- // 작성일 : 2022. 06. 17 // 작성자 : 홍사민 // -------------------------------------------------------------------- // // -------------------------------------------------------------------- import { HTTPNoBody } from '@fastify-modular/route'; import { pito } from 'pito'; // -------------------------------------------------------------------- export const FindKaptMncstDateListOption = pito.Obj({ id: pito.Str(), // 검색할 대상의 ID(LV1 ~ LV3 가능, LV1으로 변환) }); export type FindKaptMncstDateListOption = pito.Type; // -------------------------------------------------------------------- export const FindKaptMncstDateListOutput = pito.Obj({ found: pito.Arr(pito.Date()), }); export type FindKaptMncstDateListOutput = pito.Type; // -------------------------------------------------------------------- // 아파트 지정 단지 관리비 년월 목록 조회 export const FindKaptMncstDateList = HTTPNoBody('GET', '/api/v1/address/find-kapt-mncst-date-list', 'history') .query(FindKaptMncstDateListOption) .response(FindKaptMncstDateListOutput) .build(); // --------------------------------------------------------------------