자금ㅇㅣㅊㅔ api

This commit is contained in:
focp212@naver.com
2025-09-22 17:50:54 +09:00
parent ea9803d442
commit 34cdb7587e
4 changed files with 210 additions and 1 deletions

View File

@@ -0,0 +1,141 @@
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
export interface ExtensionFundAccountTransferRequestParams {
mid: string;
transferAmount: number;
receiveBankCode: string;
receiveAccountNo: string;
receiveAccountName: string;
transferMemo: string;
};
export interface ExtensionFundAccountTransferRequestResponse {
tid: string;
result: string;
message: string;
};
export enum FundAccountStatus {
ALL = 'ALL',
SUCCESS = 'SUCCESS',
FAIL = 'FAIL',
PENDING = 'PENDING'
};
export interface ExtensionFundAccountTransferListParams {
mid: string;
fromDate: string;
toDate: string;
status: FundAccountStatus;
pagination: DefaultRequestPagination;
}
export interface ExtensionFundAccountTransferListResponse extends DefaulResponsePagination {
content: Array<FundAccountTransferContent>;
};
export interface FundAccountTransferContent {
pagination: string;
items: Array<FundAccountTransferContentItem>;
};
export interface FundAccountTransferContentItem {
tid: string;
requestDate: string;
transferAmount: number;
receiveBankName: string;
receiveAccountNo: string;
receiveAccountName: string;
status: FundAccountStatus;
processDate: string;
};
export interface FundAccountTransferExcelParams {
mid: string;
fromDate: string;
toDate: string;
status: FundAccountStatus;
};
export interface FundAccountTransferExcelResponse {};
export interface FundAccountTransferDetailParams {
mid: string;
tid: string;
};
export interface FundAccountTransferDetailResponse {
tid: string;
requestDate: string;
transferAmount: number;
receiveBankName: string;
receiveAccountNo: string;
receiveAccountName: string;
status: FundAccountStatus;
processDate: string;
failReason: string;
fee: number;
afterBalance: number;
};
export interface FundAccountResultSummaryParams {
mid: string;
fromDate: string;
toDate: string;
};
export interface FundAccountResultSummaryResponse {
totalCount: number;
totalAmount: number;
successCount: number;
successAmount: number;
failCount: number;
failAmount: number;
pendingCount: number;
pendingAmount: number;
};
export interface FundAccountResultListParams {
mid: string;
fromDate: string;
toDate: string;
status: FundAccountStatus;
pagination: FundAccountStatus;
};
export interface FundAccountResultListResponse extends DefaulResponsePagination {
content: Array<FundAccountResultContent>;
};
export interface FundAccountResultContent {
pagination: string;
items: Array<FundAccountResultContentItem>;
};
export interface FundAccountResultContentItem {
tid: string;
requestDate: string;
transferAmount: number;
receiveBankName: string;
receiveAccountNo: string;
receiveAccountName: string;
status: FundAccountStatus;
processDate: string;
failReason: string;
};
export interface FundAccountResultExcelParams {
mid: string;
fromDate: string;
toDate: string;
status: FundAccountStatus;
};
export interface FundAccountResultExcelResponse {};
export interface FundAccountResultDetailParams {
mid: string;
tid: string;
};
export interface FundAccountResultDetailResponse {
tid: string;
requestDate: string;
transferAmount: number;
receiveBankName: string;
receiveAccountNo: string;
receiveAccountName: string;
status: FundAccountStatus;
processDate: string;
failReason: string;
fee: number;
afterBalance: number;
transferMemo: string;
bankTid: string;
};
export interface FundAccountBalanceParams {
mid: string;
};
export interface FundAccountBalanceResponse {
balalnce: number;
};