- 부가서비스 상세 수정
This commit is contained in:
@@ -1,4 +1,27 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
|
||||
import { ListItemProps } from '../types';
|
||||
|
||||
|
||||
export enum PayoutSearchDateType {
|
||||
REQUEST_DATE = 'REQUEST_DATE',
|
||||
SETTLEMENT_DATE = 'SETTLEMENT_DATE',
|
||||
};
|
||||
export enum PayoutDisbursementStatus {
|
||||
ALL = '',
|
||||
REQUEST = 'REQUEST',
|
||||
SUCCESS = 'SUCCESS',
|
||||
FAIL = 'FAIL',
|
||||
};
|
||||
|
||||
export interface PayoutListItem {
|
||||
tid?: string;
|
||||
submallId?: string;
|
||||
requestDate?: string;
|
||||
settlementDate?: string;
|
||||
companyName?: string;
|
||||
status?: PayoutDisbursementStatus;
|
||||
amount?: number;
|
||||
};
|
||||
|
||||
export interface ExtensionPayoutRequestParams {
|
||||
mid: string;
|
||||
@@ -13,16 +36,7 @@ export interface ExtensionPayoutRequestResponse {
|
||||
message?: string
|
||||
}
|
||||
};
|
||||
export enum PayoutSearchDateType {
|
||||
REQUEST_DATE = 'REQUEST_DATE',
|
||||
SETTLEMENT_DATE = 'SETTLEMENT_DATE',
|
||||
};
|
||||
export enum PayoutDisbursementStatus {
|
||||
ALL = '',
|
||||
REQUEST = 'REQUEST',
|
||||
SUCCESS = 'SUCCESS',
|
||||
FAIL = 'FAIL',
|
||||
};
|
||||
|
||||
export interface ExtensionPayoutListParams {
|
||||
mid: string;
|
||||
searchDateType: PayoutSearchDateType,
|
||||
@@ -33,18 +47,10 @@ export interface ExtensionPayoutListParams {
|
||||
maxAmount?: number;
|
||||
page?: DefaultRequestPagination;
|
||||
};
|
||||
export interface ExtensionPayoutListResponse extends DefaulResponsePagination{
|
||||
content: Array<PayoutContent>
|
||||
};
|
||||
export interface PayoutContent {
|
||||
tid?: string;
|
||||
submallId?: string;
|
||||
requestDate?: string;
|
||||
settlementDate?: string;
|
||||
companyName?: string;
|
||||
status?: PayoutDisbursementStatus;
|
||||
amount?: number;
|
||||
export interface ExtensionPayoutListResponse extends DefaulResponsePagination {
|
||||
content: Array<ListItemProps>
|
||||
};
|
||||
|
||||
export interface ExtensionPayoutExcelParams {
|
||||
mid: string;
|
||||
email: string;
|
||||
@@ -52,7 +58,7 @@ export interface ExtensionPayoutExcelParams {
|
||||
toDate: string;
|
||||
};
|
||||
|
||||
export interface ExtensionPayoutExcelResponse {}
|
||||
export interface ExtensionPayoutExcelResponse { }
|
||||
|
||||
export interface ExtensionPayoutDetailParams {
|
||||
mid: string;
|
||||
@@ -79,4 +85,4 @@ export interface ExtensionPayoutDetailDownloadCertificateParams extends Extensio
|
||||
email: string;
|
||||
};
|
||||
|
||||
export interface ExtensionPayoutDetailDownloadCertificateResponse {};
|
||||
export interface ExtensionPayoutDetailDownloadCertificateResponse { };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
|
||||
import { AdditionalServiceCategory, ExtensionRequestParams, FilterProps, ListItemProps } from '../types';
|
||||
import { AdditionalServiceCategory, DetailData, ExtensionRequestParams, FilterProps, ListItemProps } from '../types';
|
||||
|
||||
export enum SmsCl {
|
||||
ALL = "ALL",
|
||||
@@ -29,6 +29,7 @@ export interface SmsPaymentListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
mid: string;
|
||||
onResendClick?: (mid: string, tid: string) => void;
|
||||
setDetailData: (detailData: DetailData) => void;
|
||||
}
|
||||
|
||||
export interface SmsPaymentFilterProps extends FilterProps {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
|
||||
import { PayoutContent } from './payout/types';
|
||||
import { PayoutListItem } from './payout/types';
|
||||
import { FundAccountTransferContentItem, FundAccountResultContentItem } from './fund-account/types';
|
||||
import { ArsListContent } from './ars/types';
|
||||
import { AlimtalkListContent } from './alimtalk/types';
|
||||
@@ -146,6 +146,13 @@ export interface DetailInfoSectionProps extends DetailResponse {
|
||||
onClickToShowInfo?: (info: DetailInfoSectionKeys) => void;
|
||||
}
|
||||
|
||||
|
||||
export interface DetailData {
|
||||
tid: string;
|
||||
serviceCode?: string;
|
||||
detailOn: boolean;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 공통 Filter 타입들
|
||||
// ========================================
|
||||
@@ -179,16 +186,14 @@ export interface SettlementAgencyBottomAgreeProps {
|
||||
// ========================================
|
||||
|
||||
export interface ListItemProps extends
|
||||
KeyInPaymentListItem, AccountHolderSearchListItem,
|
||||
AccountHolderAuthListItem, LinkPaymentHistoryListItem,
|
||||
LinkPaymentWaitListItem, SmsPaymentListItem,
|
||||
PayoutContent, FundAccountTransferContentItem,
|
||||
FundAccountResultContentItem,
|
||||
ArsListContent, AlimtalkListContent, FaceAuthListItem {
|
||||
ArsListContent, AccountHolderSearchListItem, PayoutListItem, LinkPaymentHistoryListItem, LinkPaymentWaitListItem,
|
||||
FundAccountResultContentItem, FundAccountTransferContentItem, KeyInPaymentListItem, SmsPaymentListItem, AlimtalkListContent,
|
||||
AccountHolderAuthListItem, AccountHolderSearchListItem, FaceAuthListItem {
|
||||
additionalServiceCategory?: AdditionalServiceCategory;
|
||||
mid?: string;
|
||||
seq?: string;
|
||||
onResendClick?: (mid: string, tid: string) => void;
|
||||
setDetailData?: (detailData: DetailData) => void;
|
||||
}
|
||||
|
||||
export interface ListDateGroupProps {
|
||||
@@ -197,6 +202,7 @@ export interface ListDateGroupProps {
|
||||
items?: Array<ListItemProps>;
|
||||
mid?: string;
|
||||
onResendClick?: (mid: string, tid: string) => void;
|
||||
setDetailData?: (detailData: DetailData) => void;
|
||||
}
|
||||
|
||||
export interface AdditionalServiceListProps {
|
||||
|
||||
Reference in New Issue
Block a user