부가서비스

- 링크결제 발송내역/발송대기 엑셀다운로드 API 연결
- 링크결제 발송대기 상세 페이지 목업 API 연결
- 링크결제 발송대기 삭제 API 연결
This commit is contained in:
HyeonJongKim
2025-09-22 14:51:04 +09:00
parent 13474c4fca
commit 5d76f56ded
22 changed files with 406 additions and 129 deletions

View File

@@ -1,5 +1,4 @@
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
import { PayoutContent } from './payout/types';
// ========================================
// 공통 Enums 및 타입들
@@ -25,11 +24,10 @@ export interface SortOptionsBoxProps {
export enum AdditionalServiceCategory {
KeyInPayment = 'KeyInPayment',
AccountHolderSearch = 'AccountHolderSearch',
LinkPaymentShipping = 'LinkPaymentShipping',
LinkPaymentHistory = 'LinkPaymentHistory',
LinkPaymentPending = 'LinkPaymentPending',
FundTransfer = 'FundTransfer',
SettlementAgency = 'SettlementAgency',
Payout = 'Payout',
}
// ========================================
@@ -42,7 +40,8 @@ export interface TitleInfo {
accountNo?: string,
bankName?: string,
requestDate?: string,
sendDate?: string
sendDate?: string,
scheduledSendDate?: string
}
export interface DetailInfo {
@@ -56,12 +55,18 @@ export interface DetailInfo {
email: string;
phoneNumber: string;
//상품명 필요
goodsName: string;
moid: string;
}
export interface PaymentInfo {
processStatus?: string;
requestDate?: string;
email?: string;
phoneNumber?: string;
goodsName?: string;
moid?: string;
buyerName?: string;
sendMethod?: string;
sendDate?: string;
@@ -208,7 +213,7 @@ export enum LinkPaymentSendingStatus {
SEND_CANCEL = "SEND_CANCEL"
}
export interface LinkPaymentShippingListItem {
export interface LinkPaymentHistoryListItem {
tid?: string;
// TODO : buyerName 필요
paymentDate?: string;
@@ -228,7 +233,7 @@ export interface LinkPaymentWaitListItem {
amount?: number;
}
export interface LinkPaymentShippingListProps {
export interface LinkPaymentHistoryListProps {
additionalServiceCategory: AdditionalServiceCategory;
listItems: Record<string, Array<ListItemProps>>;
}
@@ -238,7 +243,7 @@ export interface LinkPaymentWaitListProps {
listItems: Record<string, Array<ListItemProps>>;
}
export interface LinkPaymentShippingHistoryFilterProps extends FilterProps {
export interface LinkPaymentHistoryFilterProps extends FilterProps {
mid: string;
searchType: LinkPaymentSearchType;
searchKeyword: string;
@@ -329,11 +334,9 @@ export interface SettlementAgencyBottomAgreeProps {
// 공통 리스트 관련 타입들
// ========================================
export interface ListItemProps extends
KeyInPaymentListItem, AccountHolderSearchListItem,
LinkPaymentShippingListItem, LinkPaymentWaitListItem,
PayoutContent
{
export interface ListItemProps extends
KeyInPaymentListItem, AccountHolderSearchListItem,
LinkPaymentHistoryListItem, LinkPaymentWaitListItem {
additionalServiceCategory?: AdditionalServiceCategory;
mid?: string
}
@@ -375,6 +378,21 @@ export interface ExtensionLinkPayHistoryListResponse extends DefaulResponsePagin
content: Array<ListItemProps>
}
export interface ExtensionLinkPayHistoryDownloadExcelParams extends ExtensionRequestParams {
searchCl: string;
searchValue: string;
paymentMethod: string;
fromDate: string;
toDate: string;
paymentStatus: string;
sendStatus: string;
sendMethod: string;
}
export interface ExtensionLinkPayHistoryDownloadExcelRespone {
status: boolean;
}
export interface ExtensionLinkPayHistoryDetailParams extends ExtensionRequestParams {
tid: string;
}
@@ -405,6 +423,7 @@ export interface ExtensionLinkPayHistoryResendResponse {
status: boolean
}
export interface ExtensionLinkPayWaitListParams extends ExtensionRequestParams {
searchCl: string;
searchValue: string;
@@ -420,6 +439,20 @@ export interface ExtensionLinkPayWaitListResponse extends DefaulResponsePaginati
content: Array<ListItemProps>
}
export interface ExtensionLinkPayWaitDownloadExcelParams extends ExtensionRequestParams {
searchCl: string;
searchValue: string;
fromDate: string;
toDate: string;
sendStatus: string;
sendMethod: string;
processStatus: string;
}
export interface ExtensionLinkPayWaitDownloadExcelRespone {
status: boolean;
}
export interface ExtensionLinkPayWaitDetailParams extends ExtensionRequestParams {
tid: string;
}
@@ -440,6 +473,14 @@ export interface ExtensionLinkPayWaitDetailResponse {
moid: string;
}
export interface ExtensionLinkPayWaitDeleteParams extends ExtensionRequestParams {
tid: string;
}
export interface ExtensionLinkPayWaitDeleteRespone {
status: boolean
}
// 계좌 성명 조회 확장 서비스
// ========================================
export interface ExtensionAccountHolderSearchListParams extends ExtensionRequestParams { // Request