- 부가서비스 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;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { ProcessResult } from "../types";
|
||||
|
||||
|
||||
export const resultStatusBtnGroup = [
|
||||
{ name: '전체', value: ProcessResult.ALL },
|
||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
||||
{ name: '실패', value: ProcessResult.FAIL },
|
||||
]
|
||||
@@ -0,0 +1,94 @@
|
||||
// ========================================
|
||||
// 계좌성명 조회 관련 타입들
|
||||
// ========================================
|
||||
|
||||
export enum AccountHolderSearchType {
|
||||
ACCOUNT_NAME = 'ACCOUNT_NAME',
|
||||
ACCOUNT_NO = 'ACCOUNT_NO'
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchListItem {
|
||||
tid?: string;
|
||||
accountNo?: string;
|
||||
requestDate?: string;
|
||||
bankName?: string;
|
||||
resultStatus?: string;
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchListProps {
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid: string;
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: AccountHolderSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
bank: string;
|
||||
processResult: ProcessResult;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: AccountHolderSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setBank: (bank: string) => void;
|
||||
setProcessResult: (processResult: ProcessResult) => void;
|
||||
}
|
||||
|
||||
// 계좌 성명 조회 확장 서비스
|
||||
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from "@/entities/common/model/types";
|
||||
import { ExtensionRequestParams, FilterProps, ListItemProps, ProcessResult } from "../types";
|
||||
|
||||
// ========================================
|
||||
export interface ExtensionAccountHolderSearchListParams extends ExtensionRequestParams { // Request
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
bankCode: string;
|
||||
resultStatus: string;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
export interface ExtensionAccountHolderSearchListResponse extends DefaulResponsePagination { // Response
|
||||
content: Array<ListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDetailParams extends ExtensionRequestParams { // Request
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDetailResponse {
|
||||
tid: string;
|
||||
accountNo: string;
|
||||
bankName: string;
|
||||
requestDate: string;
|
||||
accountName: string;
|
||||
resultStatus: string;
|
||||
failReason: string;
|
||||
requestWay: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchRequestParams extends ExtensionRequestParams {
|
||||
bankCode: string;
|
||||
accountNo: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchRequestResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDownloadExcelParams extends ExtensionRequestParams { // Request
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate?: string;
|
||||
toDate?: string;
|
||||
bankCode: string;
|
||||
resultStatus: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDownloadExcelResponse {
|
||||
status: boolean;
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
import { ProcessResult } from "../types";
|
||||
|
||||
|
||||
|
||||
export const ResultStatusBtnGroup = [
|
||||
{ name: '전체', value: ProcessResult.ALL },
|
||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
||||
|
||||
@@ -5,10 +5,10 @@ import {
|
||||
} from './types';
|
||||
|
||||
export const FundAccountStatusBtnGroup = [
|
||||
{name: '전체', value: FundAccountStatus.ALL},
|
||||
{name: '성공', value: FundAccountStatus.SUCCESS},
|
||||
{name: '실패', value: FundAccountStatus.FAIL},
|
||||
{name: '중지', value: FundAccountStatus.PENDING},
|
||||
{name: '등록성공', value: FundAccountStatus.REGIST_COMPLETE},
|
||||
{name: '성공', value: FundAccountStatus.REQUEST_SUCCESS},
|
||||
{name: '실패', value: FundAccountStatus.REQUEST_FAIL},
|
||||
{name: '요청', value: FundAccountStatus.TRANSFER_REQUEST},
|
||||
];
|
||||
|
||||
export const FundAccountResultTypeBtnGroup = [
|
||||
|
||||
@@ -31,17 +31,25 @@ export interface ExtensionFundAccountTransferRequestResponse {
|
||||
result: string;
|
||||
message: string;
|
||||
};
|
||||
|
||||
export enum FundAccountSearchCl {
|
||||
ACCOUNT_NAME = 'ACCOUNT_NAME',
|
||||
ACCOUNT_ID = 'ACCOUNT_ID'
|
||||
}
|
||||
|
||||
export enum FundAccountStatus {
|
||||
ALL = 'ALL',
|
||||
SUCCESS = 'SUCCESS',
|
||||
FAIL = 'FAIL',
|
||||
PENDING = 'PENDING'
|
||||
REGIST_COMPLETE = 'REGIST_COMPLETE',
|
||||
TRANSFER_REQUEST = 'TRANSFER_REQUEST',
|
||||
REQUEST_SUCCESS = 'REQUEST_SUCCESS',
|
||||
REQUEST_FAIL = 'REQUEST_FAIL'
|
||||
};
|
||||
export interface ExtensionFundAccountTransferListParams {
|
||||
mid: string;
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
status: FundAccountStatus;
|
||||
resultStatus: FundAccountStatus;
|
||||
page: DefaultRequestPagination;
|
||||
}
|
||||
export interface ExtensionFundAccountTransferListResponse extends DefaulResponsePagination {
|
||||
|
||||
90
src/entities/additional-service/model/key-in/types.ts
Normal file
90
src/entities/additional-service/model/key-in/types.ts
Normal file
@@ -0,0 +1,90 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from "@/entities/common/model/types";
|
||||
import { AdditionalServiceCategory, ExtensionRequestParams, FilterProps, ListItemProps } from "../types";
|
||||
|
||||
// ========================================
|
||||
// 키인결제 관련 타입들
|
||||
// ========================================
|
||||
export enum KeyInPaymentTransactionStatus {
|
||||
ALL = 'ALL',
|
||||
APPROVAL = 'APPROVAL',
|
||||
PRE_CANCEL = 'PRE_CANCEL',
|
||||
POST_CANCEL = 'POST_CANCEL'
|
||||
}
|
||||
|
||||
export interface KeyInPaymentListItem {
|
||||
tid?: string;
|
||||
paymentDate?: string;
|
||||
paymentStatus?: string;
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface KeyInPaymentListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid?: string;
|
||||
}
|
||||
|
||||
export interface KeyInPaymentFilterProps extends FilterProps {
|
||||
mid: string,
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
transactionStatus: KeyInPaymentTransactionStatus;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
setMid: (mid: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setTransactionStatus: (transactionStatus: KeyInPaymentTransactionStatus) => void;
|
||||
setMinAmount: (minAmount?: number) => void;
|
||||
setMaxAmount: (maxAmount?: number) => void;
|
||||
}
|
||||
|
||||
// KEY-IN 결제 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionKeyinListParams extends ExtensionRequestParams {
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
paymentStatus: string;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinListItemProps {
|
||||
tid: string;
|
||||
paymentDate: string;
|
||||
paymentStatus: string;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinListResponse extends DefaulResponsePagination {
|
||||
content: Array<ExtensionKeyinListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinDownloadExcelParams extends ExtensionRequestParams {
|
||||
fromDate?: string;
|
||||
toDate?: string;
|
||||
paymentStatus?: string;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinDownloadExcelResponse {
|
||||
status: boolean
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinApplyParams extends ExtensionRequestParams {
|
||||
goodsName: string;
|
||||
amount: number;
|
||||
buyerName: string;
|
||||
email: string;
|
||||
phoneNumber: string;
|
||||
cardNo: string;
|
||||
cardExpirationDate: string;
|
||||
instmntMonth: string;
|
||||
moid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinApplyResponse {
|
||||
|
||||
}
|
||||
435
src/entities/additional-service/model/link-pay/types.ts
Normal file
435
src/entities/additional-service/model/link-pay/types.ts
Normal file
@@ -0,0 +1,435 @@
|
||||
// ========================================
|
||||
// 링크결제 관련 타입들
|
||||
// ========================================
|
||||
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from "@/entities/common/model/types";
|
||||
import { AdditionalServiceCategory, DetailInfo, ExtensionRequestParams, FilterProps, IdentityType, Language, ListItemProps, PaymentInfo, ProcessResult, TitleInfo } from "../types";
|
||||
|
||||
export enum LinkPaymentTabKeys {
|
||||
ShippingHistory = 'ShippingHistory',
|
||||
PendingSend = 'PendingSend'
|
||||
}
|
||||
|
||||
export interface LinkPaymentTabProps {
|
||||
activeTab: LinkPaymentTabKeys;
|
||||
}
|
||||
|
||||
export enum LinkPaymentSearchType {
|
||||
ALL = "ALL",
|
||||
PHONE = "PHONE",
|
||||
EMAIL = "EMAIL"
|
||||
}
|
||||
|
||||
export enum LinkPaymentSendMethod {
|
||||
ALL = "ALL",
|
||||
SMS = "SMS",
|
||||
EMAIL = "EMAIL",
|
||||
KAKAO = "KAKAO"
|
||||
}
|
||||
|
||||
export enum LinkPaymentTransactionStatus {
|
||||
ALL = "ALL",
|
||||
ACTIVATE = "ACTIVATE",
|
||||
DEPOSIT_REQUEST = "DEPOSIT_REQUEST",
|
||||
TRANSACTION_COMPLETE = "TRANSACTION_COMPLETE",
|
||||
TRANSACTION_FAIL = "TRANSACTION_FAIL",
|
||||
INACTIVE = "INACTIVE"
|
||||
}
|
||||
|
||||
export enum LinkPaymentSendingStatus {
|
||||
ALL = "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;
|
||||
sendDate?: string;
|
||||
sendStatus?: string;
|
||||
sendMethod?: string;
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitListItem {
|
||||
tid?: string;
|
||||
scheduledSendDate?: string;
|
||||
sendMethod?: string;
|
||||
processStatus?: string;
|
||||
// TODO: buyerName,phoneNumber 필요
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: LinkPaymentSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
transactionStatus: LinkPaymentTransactionStatus;
|
||||
processResult: ProcessResult;
|
||||
sendMethod: LinkPaymentSendMethod;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: LinkPaymentSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setTransactionStatus: (transactionStatus: LinkPaymentTransactionStatus) => void;
|
||||
setProcessResult: (processResult: ProcessResult) => void;
|
||||
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: LinkPaymentSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
sendMethod: LinkPaymentSendMethod;
|
||||
sendingStatus: LinkPaymentSendingStatus;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: LinkPaymentSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
||||
setSendingStatus: (sendingStatus: LinkPaymentSendingStatus) => void;
|
||||
}
|
||||
|
||||
// 링크 결제 - 발송,대기 조회 확장 서비스
|
||||
// ========================================
|
||||
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
|
||||
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;
|
||||
}
|
||||
|
||||
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
|
||||
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;
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
|
||||
import { ExtensionRequestParams, FilterProps, ListItemProps } from '../types';
|
||||
import { ExtensionRequestParams, FilterProps, ListItemProps } from '../types';
|
||||
|
||||
export enum SmsType {
|
||||
ALL = "ALL",
|
||||
@@ -54,22 +54,10 @@ export interface ExtensionSmsPaymentListResponse extends DefaulResponsePaginatio
|
||||
content: Array<ListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelParams extends ExtensionRequestParams {
|
||||
searchCl?: SmsPaymentSearchType;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
smsCl?: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDetailParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDetailResponse {
|
||||
senderNumber: string;
|
||||
senderName: string;
|
||||
@@ -82,9 +70,6 @@ export interface ExtensionSmsResendParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsResendResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface SmsPaymentDetailResendProps {
|
||||
bottomSmsPaymentDetailResendOn: boolean;
|
||||
@@ -93,3 +78,50 @@ export interface SmsPaymentDetailResendProps {
|
||||
mid: string;
|
||||
tid: string;
|
||||
}
|
||||
|
||||
// SMS 결제알림 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionSmsResendParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsResendResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListParams extends ExtensionRequestParams {
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
smsCl: string;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListItemProps {
|
||||
mid: string;
|
||||
tid: string;
|
||||
paymentDate: string;
|
||||
paymentStatus: string;
|
||||
smsCl: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListResponse extends DefaulResponsePagination {
|
||||
content: Array<ExtensionSmsListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelParams extends ExtensionRequestParams {
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
smsCl: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelResponse {
|
||||
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDetailParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
@@ -6,11 +6,14 @@ import { AlimtalkListContent } from './alimtalk/types';
|
||||
import { SmsPaymentListItem } from './sms-payment/types';
|
||||
import type { ExtensionSmsDetailResponse } from './sms-payment/types';
|
||||
import { FaceAuthListItem } from './face-auth/types';
|
||||
import { AccountHolderSearchListItem } from './account-holder-search/types';
|
||||
import { KeyInPaymentListItem } from './key-in/types';
|
||||
import { AccountHolderAuthListItem, AuthAndTransferStatus } from './account-holder-auth/types';
|
||||
import { LinkContentType, LinkPaymentHistoryListItem, LinkPaymentSendMethod, LinkPaymentWaitListItem } from './link-pay/types';
|
||||
|
||||
// ========================================
|
||||
// 공통 Enums 및 타입들
|
||||
// ========================================
|
||||
|
||||
export enum ProcessResult {
|
||||
ALL = '',
|
||||
SUCCESS = 'SUCCESS',
|
||||
@@ -34,6 +37,16 @@ export enum AdditionalServiceCategory {
|
||||
FaceAuth = 'FaceAuth'
|
||||
}
|
||||
|
||||
export enum IdentityType {
|
||||
INDIVIDUAL = "INDIVIDUAL",
|
||||
CORPORATE = "CORPORATE"
|
||||
}
|
||||
|
||||
export enum Language {
|
||||
KR = "KR",
|
||||
EN = "EN"
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 상세정보 Interface
|
||||
// ========================================
|
||||
@@ -93,254 +106,6 @@ export enum InfoWrapKeys {
|
||||
Detail = 'Detail'
|
||||
};
|
||||
|
||||
|
||||
// ========================================
|
||||
// 공통 Filter 타입들
|
||||
// ========================================
|
||||
|
||||
export interface FilterProps {
|
||||
filterOn: boolean;
|
||||
setFilterOn: (filterOn: boolean) => void;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// SMS 결제 통보 관련 타입들
|
||||
// ========================================
|
||||
|
||||
|
||||
// ========================================
|
||||
// 키인결제 관련 타입들
|
||||
// ========================================
|
||||
|
||||
export enum KeyInPaymentTransactionStatus {
|
||||
ALL = 'ALL',
|
||||
APPROVAL = 'APPROVAL',
|
||||
PRE_CANCEL = 'PRE_CANCEL',
|
||||
POST_CANCEL = 'POST_CANCEL'
|
||||
}
|
||||
|
||||
export interface KeyInPaymentListItem {
|
||||
tid?: string;
|
||||
paymentDate?: string;
|
||||
paymentStatus?: string;
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface KeyInPaymentListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid?: string;
|
||||
}
|
||||
|
||||
export interface KeyInPaymentFilterProps extends FilterProps {
|
||||
mid: string,
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
transactionStatus: KeyInPaymentTransactionStatus;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
setMid: (mid: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setTransactionStatus: (transactionStatus: KeyInPaymentTransactionStatus) => void;
|
||||
setMinAmount: (minAmount?: number) => void;
|
||||
setMaxAmount: (maxAmount?: number) => void;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 계좌 점유 조회 관련 타입들
|
||||
// ========================================
|
||||
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 enum AccountHolderSearchType {
|
||||
ACCOUNT_NAME = 'ACCOUNT_NAME',
|
||||
ACCOUNT_NO = 'ACCOUNT_NO'
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchListItem {
|
||||
tid?: string;
|
||||
accountNo?: string;
|
||||
requestDate?: string;
|
||||
bankName?: string;
|
||||
resultStatus?: string;
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchListProps {
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid: string;
|
||||
}
|
||||
|
||||
export interface AccountHolderSearchFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: AccountHolderSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
bank: string;
|
||||
processResult: ProcessResult;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: AccountHolderSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setBank: (bank: string) => void;
|
||||
setProcessResult: (processResult: ProcessResult) => void;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 링크결제 관련 타입들
|
||||
// ========================================
|
||||
|
||||
export enum LinkPaymentTabKeys {
|
||||
ShippingHistory = 'ShippingHistory',
|
||||
PendingSend = 'PendingSend'
|
||||
}
|
||||
|
||||
export interface LinkPaymentTabProps {
|
||||
activeTab: LinkPaymentTabKeys;
|
||||
}
|
||||
|
||||
export enum LinkPaymentSearchType {
|
||||
ALL = "ALL",
|
||||
PHONE = "PHONE",
|
||||
EMAIL = "EMAIL"
|
||||
}
|
||||
|
||||
export enum LinkPaymentSendMethod {
|
||||
ALL = "ALL",
|
||||
SMS = "SMS",
|
||||
EMAIL = "EMAIL",
|
||||
KAKAO = "KAKAO"
|
||||
}
|
||||
|
||||
export enum LinkPaymentTransactionStatus {
|
||||
ALL = "ALL",
|
||||
ACTIVATE = "ACTIVATE",
|
||||
DEPOSIT_REQUEST = "DEPOSIT_REQUEST",
|
||||
TRANSACTION_COMPLETE = "TRANSACTION_COMPLETE",
|
||||
TRANSACTION_FAIL = "TRANSACTION_FAIL",
|
||||
INACTIVE = "INACTIVE"
|
||||
}
|
||||
|
||||
export enum LinkPaymentSendingStatus {
|
||||
ALL = "ALL",
|
||||
SEND_REQUEST = "SEND_REQUEST",
|
||||
SEND_CANCEL = "SEND_CANCEL"
|
||||
}
|
||||
|
||||
export enum IdentityType {
|
||||
INDIVIDUAL = "INDIVIDUAL",
|
||||
CORPORATE = "CORPORATE"
|
||||
}
|
||||
|
||||
export enum Language {
|
||||
KR = "KR",
|
||||
EN = "EN"
|
||||
}
|
||||
|
||||
export enum LinkContentType {
|
||||
BASIC = "BASIC",
|
||||
ADDITIONAL = "ADDITIONAL"
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryListItem {
|
||||
tid?: string;
|
||||
// TODO : buyerName 필요
|
||||
paymentDate?: string;
|
||||
paymentStatus?: string;
|
||||
sendDate?: string;
|
||||
sendStatus?: string;
|
||||
sendMethod?: string;
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitListItem {
|
||||
tid?: string;
|
||||
scheduledSendDate?: string;
|
||||
sendMethod?: string;
|
||||
processStatus?: string;
|
||||
// TODO: buyerName,phoneNumber 필요
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitListProps {
|
||||
additionalServiceCategory: AdditionalServiceCategory;
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: LinkPaymentSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
transactionStatus: LinkPaymentTransactionStatus;
|
||||
processResult: ProcessResult;
|
||||
sendMethod: LinkPaymentSendMethod;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: LinkPaymentSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setTransactionStatus: (transactionStatus: LinkPaymentTransactionStatus) => void;
|
||||
setProcessResult: (processResult: ProcessResult) => void;
|
||||
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
||||
}
|
||||
|
||||
export interface LinkPaymentWaitFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: LinkPaymentSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
sendMethod: LinkPaymentSendMethod;
|
||||
sendingStatus: LinkPaymentSendingStatus;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: LinkPaymentSearchType) => void;
|
||||
setSearchKeyword: (searchKeyWorld: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setSendMethod: (sendMethod: LinkPaymentSendMethod) => void;
|
||||
setSendingStatus: (sendingStatus: LinkPaymentSendingStatus) => void;
|
||||
}
|
||||
|
||||
export enum DetailInfoSectionKeys {
|
||||
Title = 'Title',
|
||||
Detail = 'Detail',
|
||||
@@ -360,6 +125,15 @@ export interface DetailInfoSectionProps extends DetailResponse {
|
||||
onClickToShowInfo?: (info: DetailInfoSectionKeys) => void;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 공통 Filter 타입들
|
||||
// ========================================
|
||||
|
||||
export interface FilterProps {
|
||||
filterOn: boolean;
|
||||
setFilterOn: (filterOn: boolean) => void;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// 정산기관 관련 타입들
|
||||
// ========================================
|
||||
@@ -415,357 +189,8 @@ export interface AdditionalServiceListProps {
|
||||
export interface ExtensionRequestParams {
|
||||
mid: string;
|
||||
}
|
||||
// 링크 결제 - 발송,대기 조회 확장 서비스
|
||||
// ========================================
|
||||
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
|
||||
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;
|
||||
}
|
||||
|
||||
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 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;
|
||||
}
|
||||
|
||||
// 계좌 성명 조회 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionAccountHolderSearchListParams extends ExtensionRequestParams { // Request
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
bankCode: string;
|
||||
resultStatus: string;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
export interface ExtensionAccountHolderSearchListResponse extends DefaulResponsePagination { // Response
|
||||
content: Array<ListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDetailParams extends ExtensionRequestParams { // Request
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDetailResponse {
|
||||
tid: string;
|
||||
accountNo: string;
|
||||
bankName: string;
|
||||
requestDate: string;
|
||||
accountName: string;
|
||||
resultStatus: string;
|
||||
failReason: string;
|
||||
requestWay: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchRequestParams extends ExtensionRequestParams {
|
||||
bankCode: string;
|
||||
accountNo: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchRequestResponse {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDownloadExcelParams extends ExtensionRequestParams { // Request
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate?: string;
|
||||
toDate?: string;
|
||||
bankCode: string;
|
||||
resultStatus: string;
|
||||
}
|
||||
|
||||
export interface ExtensionAccountHolderSearchDownloadExcelResponse {
|
||||
status: boolean;
|
||||
}
|
||||
// ========================================
|
||||
|
||||
|
||||
// KEY-IN 결제 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionKeyinListParams extends ExtensionRequestParams {
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
paymentStatus: string;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinListItemProps {
|
||||
tid: string;
|
||||
paymentDate: string;
|
||||
paymentStatus: string;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinListResponse extends DefaulResponsePagination {
|
||||
content: Array<ExtensionKeyinListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinDownloadExcelParams extends ExtensionRequestParams {
|
||||
fromDate?: string;
|
||||
toDate?: string;
|
||||
paymentStatus?: string;
|
||||
minAmount?: number;
|
||||
maxAmount?: number;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinDownloadExcelResponse {
|
||||
status: boolean
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinApplyParams extends ExtensionRequestParams {
|
||||
goodsName: string;
|
||||
amount: number;
|
||||
buyerName: string;
|
||||
email: string;
|
||||
phoneNumber: string;
|
||||
cardNo: string;
|
||||
cardExpirationDate: string;
|
||||
instmntMonth: string;
|
||||
moid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionKeyinApplyResponse {
|
||||
|
||||
}
|
||||
// ========================================
|
||||
|
||||
// SMS 결제알림 확장 서비스
|
||||
// ========================================
|
||||
export interface ExtensionSmsResendParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsResendResponse {
|
||||
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListParams extends ExtensionRequestParams {
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
smsCl: string;
|
||||
page?: DefaultRequestPagination;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListItemProps {
|
||||
mid: string;
|
||||
tid: string;
|
||||
paymentDate: string;
|
||||
paymentStatus: string;
|
||||
smsCl: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsListResponse extends DefaulResponsePagination {
|
||||
content: Array<ExtensionSmsListItemProps>
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelParams extends ExtensionRequestParams {
|
||||
searchCl: string;
|
||||
searchValue: string;
|
||||
fromDate: string;
|
||||
toDate: string;
|
||||
smsCl: string;
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDownloadExcelResponse {
|
||||
|
||||
}
|
||||
|
||||
export interface ExtensionSmsDetailParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user