|
|
|
|
@@ -15,13 +15,11 @@ export interface LinkPaymentTabProps {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentSearchCl {
|
|
|
|
|
ALL = "",
|
|
|
|
|
PHONE = "PHONE_NUMBER",
|
|
|
|
|
EMAIL = "EMAIL"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentPaymentMethod {
|
|
|
|
|
ALL = "ALL",
|
|
|
|
|
CARD = "CARD",
|
|
|
|
|
BANK = "BANK",
|
|
|
|
|
VIRTURE_BANK = "VIRTURE_BANK",
|
|
|
|
|
@@ -34,15 +32,15 @@ export enum LinkPaymentPaymentMethod {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentSendMethod {
|
|
|
|
|
ALL = "ALL",
|
|
|
|
|
ALL = "",
|
|
|
|
|
SMS = "SMS",
|
|
|
|
|
EMAIL = "EMAIL",
|
|
|
|
|
KAKAO = "KAKAO"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentPaymentStatus {
|
|
|
|
|
ALL = "ALL",
|
|
|
|
|
ACTIVATE = "ACTIVATE",
|
|
|
|
|
ALL = "",
|
|
|
|
|
ACTIVATE = "ACTIVE",
|
|
|
|
|
DEPOSIT_REQUEST = "DEPOSIT_REQUEST",
|
|
|
|
|
PAYMENT_COMPLETE = "PAYMENT_COMPLETE",
|
|
|
|
|
PAYMENT_FAIL = "PAYMENT_FAIL",
|
|
|
|
|
@@ -50,44 +48,60 @@ export enum LinkPaymentPaymentStatus {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentSendStatus {
|
|
|
|
|
ALL = "ALL",
|
|
|
|
|
ALL = "",
|
|
|
|
|
SUCCESS = "SUCCESS",
|
|
|
|
|
FAIL = "FAIL"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkPaymentProcessStatus {
|
|
|
|
|
ALL = "",
|
|
|
|
|
SEND_REQUEST = "SEND_REQUEST",
|
|
|
|
|
SEND_CANCEL = "SEND_CANCEL"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum LinkContentType {
|
|
|
|
|
BASIC = "BASIC",
|
|
|
|
|
ADDITIONAL = "ADDITIONAL"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentHistoryListItem {
|
|
|
|
|
tid?: string;
|
|
|
|
|
// TODO : buyerName 필요
|
|
|
|
|
paymentDate?: string;
|
|
|
|
|
paymentStatus?: string;
|
|
|
|
|
requestId?: string;
|
|
|
|
|
cursorId?: string;
|
|
|
|
|
subReqId?: string;
|
|
|
|
|
mid?: string;
|
|
|
|
|
paymentMethod?: string;
|
|
|
|
|
detailExposure?: string;
|
|
|
|
|
sendDate?: string;
|
|
|
|
|
buyerName?: string;
|
|
|
|
|
receiverInfo?: string;
|
|
|
|
|
orderId?: string;
|
|
|
|
|
sendStatus?: string;
|
|
|
|
|
sendMethod?: string;
|
|
|
|
|
amount?: number;
|
|
|
|
|
paymentStatus?: string;
|
|
|
|
|
sendMethod?: LinkPaymentSendMethod;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentWaitListItem {
|
|
|
|
|
tid?: string;
|
|
|
|
|
requestId?: string;
|
|
|
|
|
scheduledSendDate?: string;
|
|
|
|
|
sendMethod?: string;
|
|
|
|
|
processStatus?: string;
|
|
|
|
|
// TODO: buyerName,phoneNumber 필요
|
|
|
|
|
sendMethod?: LinkPaymentSendMethod;
|
|
|
|
|
amount?: number;
|
|
|
|
|
processStatus?: LinkPaymentProcessStatus;
|
|
|
|
|
buyerName?: string;
|
|
|
|
|
receiverInfo?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentHistoryListProps {
|
|
|
|
|
additionalServiceCategory: AdditionalServiceCategory;
|
|
|
|
|
listItems: Record<string, Array<ListItemProps>>;
|
|
|
|
|
listItems: Array<LinkPaymentHistoryListItem>;
|
|
|
|
|
setTarget: (element: HTMLElement | null) => void;
|
|
|
|
|
mid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentWaitListProps {
|
|
|
|
|
additionalServiceCategory: AdditionalServiceCategory;
|
|
|
|
|
listItems: Record<string, Array<ListItemProps>>;
|
|
|
|
|
listItems: Array<LinkPaymentWaitListItem>;
|
|
|
|
|
setTarget: (element: HTMLElement | null) => void;
|
|
|
|
|
mid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentHistoryFilterProps extends FilterProps {
|
|
|
|
|
@@ -97,15 +111,15 @@ export interface LinkPaymentHistoryFilterProps extends FilterProps {
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
paymentStatus: LinkPaymentPaymentStatus;
|
|
|
|
|
processResult: ProcessResult;
|
|
|
|
|
sendStatus: LinkPaymentSendStatus;
|
|
|
|
|
sendMethod: LinkPaymentSendMethod;
|
|
|
|
|
setMid: (mid: string) => void;
|
|
|
|
|
setSearchType: (searchType: LinkPaymentSearchCl) => void;
|
|
|
|
|
setSearchKeyword: (searchKeyWorld: string) => void;
|
|
|
|
|
setStartDate: (startDate: string) => void;
|
|
|
|
|
setEndDate: (endDate: string) => void;
|
|
|
|
|
setTransactionStatus: (transactionStatus: LinkPaymentPaymentStatus) => void;
|
|
|
|
|
setProcessResult: (processResult: ProcessResult) => void;
|
|
|
|
|
setPaymentStatus: (transactionStatus: LinkPaymentPaymentStatus) => void;
|
|
|
|
|
setSendStatus: (sendStatus: LinkPaymentSendStatus) => void;
|
|
|
|
|
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -116,35 +130,35 @@ export interface LinkPaymentWaitFilterProps extends FilterProps {
|
|
|
|
|
startDate: string;
|
|
|
|
|
endDate: string;
|
|
|
|
|
sendMethod: LinkPaymentSendMethod;
|
|
|
|
|
sendingStatus: LinkPaymentSendStatus;
|
|
|
|
|
processStatus: LinkPaymentProcessStatus;
|
|
|
|
|
setMid: (mid: string) => void;
|
|
|
|
|
setSearchType: (searchType: LinkPaymentSearchCl) => void;
|
|
|
|
|
setSearchKeyword: (searchKeyWorld: string) => void;
|
|
|
|
|
setStartDate: (startDate: string) => void;
|
|
|
|
|
setEndDate: (endDate: string) => void;
|
|
|
|
|
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
|
|
|
|
setSendingStatus: (sendingStatus: LinkPaymentSendStatus) => void;
|
|
|
|
|
}
|
|
|
|
|
setProcessStatus: (sendingStatus: LinkPaymentProcessStatus) => void;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 링크 결제 - 발송,대기 조회 확장 서비스
|
|
|
|
|
// ========================================
|
|
|
|
|
export interface ExtensionLinkPayHistoryListParams extends ExtensionRequestParams {
|
|
|
|
|
searchCl: string;
|
|
|
|
|
searchValue: string;
|
|
|
|
|
paymentMethod: string;
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
paymentStatus: string;
|
|
|
|
|
sendStatus: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
paymentStatus: LinkPaymentPaymentStatus;
|
|
|
|
|
sendStatus: LinkPaymentSendStatus;
|
|
|
|
|
sendMethod: LinkPaymentSendMethod;
|
|
|
|
|
page?: DefaultRequestPagination;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryListResponse extends DefaulResponsePagination {
|
|
|
|
|
content: Array<ListItemProps>
|
|
|
|
|
content: Array<LinkPaymentHistoryListItem>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryDownloadExcelParams extends ExtensionRequestParams {
|
|
|
|
|
email: string;
|
|
|
|
|
searchCl: string;
|
|
|
|
|
searchValue: string;
|
|
|
|
|
paymentMethod: string;
|
|
|
|
|
@@ -164,7 +178,7 @@ export interface ExtensionLinkPayRequestParams extends ExtensionRequestParams {
|
|
|
|
|
goodsName: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
moid: string;
|
|
|
|
|
paymentExpiryDate: string;
|
|
|
|
|
paymentLimitDate: string;
|
|
|
|
|
buyerName: string;
|
|
|
|
|
email: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
@@ -186,7 +200,7 @@ export interface LinkPaymentFormData {
|
|
|
|
|
goodsName: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
moid: string;
|
|
|
|
|
paymentExpiryDate: string;
|
|
|
|
|
paymentLimitDate: string;
|
|
|
|
|
// Step 2
|
|
|
|
|
buyerName: string;
|
|
|
|
|
email: string;
|
|
|
|
|
@@ -198,169 +212,10 @@ export interface LinkPaymentFormData {
|
|
|
|
|
linkContentType: LinkContentType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryDetailParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryDetailResponse {
|
|
|
|
|
tid: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
corpName: string;
|
|
|
|
|
sendDate: string;
|
|
|
|
|
buyerName: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
paymentStatus: string;
|
|
|
|
|
failCount: number;
|
|
|
|
|
paymentMethod: string;
|
|
|
|
|
paymentDate: string;
|
|
|
|
|
paymentLimitDate: string;
|
|
|
|
|
email: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
goodsName: string;
|
|
|
|
|
moid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryResendParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryResendResponse {
|
|
|
|
|
status: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitListParams extends ExtensionRequestParams {
|
|
|
|
|
searchCl: string;
|
|
|
|
|
searchValue: string;
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
sendStatus: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
processStatus: string;
|
|
|
|
|
page?: DefaultRequestPagination;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitListResponse extends DefaulResponsePagination {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDetailResponse {
|
|
|
|
|
tid: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
corpName: string;
|
|
|
|
|
scheduledSendDate: string;
|
|
|
|
|
processStatus: string;
|
|
|
|
|
requestDate: string;
|
|
|
|
|
paymentLimitDate: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
buyerName: string
|
|
|
|
|
email: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
goodsName: string;
|
|
|
|
|
moid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDeleteParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDeleteRespone {
|
|
|
|
|
status: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 링크 결제 - 발송,대기 조회 확장 서비스
|
|
|
|
|
// ========================================
|
|
|
|
|
export interface ExtensionLinkPayHistoryListParams extends ExtensionRequestParams {
|
|
|
|
|
searchCl: string;
|
|
|
|
|
searchValue: string;
|
|
|
|
|
paymentMethod: string;
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
paymentStatus: string;
|
|
|
|
|
sendStatus: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
page?: DefaultRequestPagination;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryListResponse extends DefaulResponsePagination {
|
|
|
|
|
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 ExtensionLinkPayRequestParams extends ExtensionRequestParams {
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
goodsName: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
moid: string;
|
|
|
|
|
paymentExpiryDate: string;
|
|
|
|
|
buyerName: string;
|
|
|
|
|
email: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
isIdentity: boolean;
|
|
|
|
|
identityType: IdentityType;
|
|
|
|
|
identityValue: string;
|
|
|
|
|
language: Language;
|
|
|
|
|
linkContentType: LinkContentType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayRequestResponse {
|
|
|
|
|
status: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface LinkPaymentFormData {
|
|
|
|
|
// Step 1
|
|
|
|
|
export interface ExtensionLinkPayHistoryDetailParams {
|
|
|
|
|
mid: string;
|
|
|
|
|
sendMethod: LinkPaymentSendMethod;
|
|
|
|
|
goodsName: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
moid: string;
|
|
|
|
|
paymentExpiryDate: string;
|
|
|
|
|
// Step 2
|
|
|
|
|
buyerName: string;
|
|
|
|
|
email: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
isIdentity: boolean;
|
|
|
|
|
identityType: IdentityType;
|
|
|
|
|
identityValue: string;
|
|
|
|
|
language: Language;
|
|
|
|
|
linkContentType: LinkContentType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryDetailParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
requestId: string;
|
|
|
|
|
subReqId: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryDetailResponse {
|
|
|
|
|
@@ -382,7 +237,8 @@ export interface ExtensionLinkPayHistoryDetailResponse {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryResendParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
requestId: string;
|
|
|
|
|
sendMethod?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayHistoryResendResponse {
|
|
|
|
|
@@ -395,7 +251,6 @@ export interface ExtensionLinkPayWaitListParams extends ExtensionRequestParams {
|
|
|
|
|
searchValue: string;
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
sendStatus: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
processStatus: string;
|
|
|
|
|
page?: DefaultRequestPagination;
|
|
|
|
|
@@ -406,11 +261,11 @@ export interface ExtensionLinkPayWaitListResponse extends DefaulResponsePaginati
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDownloadExcelParams extends ExtensionRequestParams {
|
|
|
|
|
email: string;
|
|
|
|
|
searchCl: string;
|
|
|
|
|
searchValue: string;
|
|
|
|
|
fromDate: string;
|
|
|
|
|
toDate: string;
|
|
|
|
|
sendStatus: string;
|
|
|
|
|
sendMethod: string;
|
|
|
|
|
processStatus: string;
|
|
|
|
|
}
|
|
|
|
|
@@ -420,7 +275,7 @@ export interface ExtensionLinkPayWaitDownloadExcelRespone {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDetailParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
requestId: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDetailResponse {
|
|
|
|
|
@@ -440,7 +295,7 @@ export interface ExtensionLinkPayWaitDetailResponse {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDeleteParams extends ExtensionRequestParams {
|
|
|
|
|
tid: string;
|
|
|
|
|
requestId: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExtensionLinkPayWaitDeleteRespone {
|
|
|
|
|
|