- 부가서비스 types 분류
- 자금이체 목록 조회 Request Parameter 수정
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AuthAndTransferStatus } from "../types";
|
||||
import { AuthAndTransferStatus } from "./types";
|
||||
|
||||
export const authStatusBtnGroup = [
|
||||
{ name: '전체', value: AuthAndTransferStatus.ALL },
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from "@/entities/common/model/types";
|
||||
import { ExtensionRequestParams, FilterProps, ListItemProps } from "../types";
|
||||
|
||||
// 계좌 점유 조회 관련 타입들
|
||||
export enum AuthAndTransferStatus {
|
||||
ALL = "",
|
||||
REQUEST = "REQUEST",
|
||||
SUCCESS = "SUCCESS",
|
||||
FAIL = "FAIL"
|
||||
}
|
||||
|
||||
export interface AccountHolderAuthListItem {
|
||||
tid?: string;
|
||||
accountName?: string;
|
||||
accountNo?: string;
|
||||
requestDate?: string;
|
||||
bankName?: string;
|
||||
transferStatus?: AuthAndTransferStatus;
|
||||
}
|
||||
export interface AccountHolderAuthListProps {
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid: string;
|
||||
}
|
||||
export interface AccountHolderAuthFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
authStatus: AuthAndTransferStatus;
|
||||
setMid: (mid: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setAuthStatus: (authStatus: AuthAndTransferStatus) => void;
|
||||
}
|
||||
|
||||
// 계좌 점유 인증 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionAccountHolderAuthListParams extends ExtensionRequestParams {
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
authStatus: string;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderAuthListResponse extends DefaulResponsePagination {
|
||||
content: Array<ListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderAuthDownloadExcelParams extends ExtensionRequestParams {
|
||||
mid: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
authStatus: AuthAndTransferStatus;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderAuthDownloadExcelResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderAuthDetailParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderAuthDetailResponse {
|
||||
tid: string;
|
||||
mid: string;
|
||||
accountName: string;
|
||||
accountNo: string;
|
||||
requestDate: string;
|
||||
companyName: string;
|
||||
bankName: string;
|
||||
transferStatus: AuthAndTransferStatus;
|
||||
failReason: string;
|
||||
}
|
||||
Reference in New Issue
Block a user