- 부가서비스 types 분류
- 자금이체 목록 조회 Request Parameter 수정
This commit is contained in:
@@ -5,14 +5,13 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
DetailResponse,
|
||||
TitleInfo,
|
||||
DetailInfo,
|
||||
ExtensionAccountHolderAuthDetailParams,
|
||||
ExtensionAccountHolderAuthDetailResponse
|
||||
DetailInfo
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderAuthDetailParams, ExtensionAccountHolderAuthDetailResponse } from '../../model/account-holder-auth/types';
|
||||
|
||||
export const extensionAccountHolderAuthDetail = async (params: ExtensionAccountHolderAuthDetailParams): Promise<DetailResponse> => {
|
||||
const response = await resultify(
|
||||
|
||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import { ExtensionAccountHolderAuthDownloadExcelParams, ExtensionAccountHolderAuthDownloadExcelResponse } from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderAuthDownloadExcelParams, ExtensionAccountHolderAuthDownloadExcelResponse } from '../../model/account-holder-auth/types';
|
||||
|
||||
export const extensionAccountHolderAuthDownloadExcel = (params: ExtensionAccountHolderAuthDownloadExcelParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,16 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionAccountHolderAuthListParams,
|
||||
ExtensionAccountHolderAuthListResponse,
|
||||
ExtensionAccountHolderSearchListParams,
|
||||
ExtensionAccountHolderSearchListResponse,
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderAuthListParams, ExtensionAccountHolderAuthListResponse } from '../../model/account-holder-auth/types';
|
||||
|
||||
export const extensionAccountHolderAuthList = (params: ExtensionAccountHolderAuthListParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -5,14 +5,13 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
DetailResponse,
|
||||
TitleInfo,
|
||||
ExtensionAccountHolderSearchDetailParams,
|
||||
ExtensionAccountHolderSearchDetailResponse,
|
||||
DetailInfo
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderSearchDetailParams, ExtensionAccountHolderSearchDetailResponse } from '../../model/account-holder-search/types';
|
||||
|
||||
export const extensionAccountHolderSearchDetail = async (params: ExtensionAccountHolderSearchDetailParams): Promise<DetailResponse> => {
|
||||
const response = await resultify(
|
||||
|
||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import { ExtensionAccountHolderSearchDownloadExcelParams, ExtensionAccountHolderSearchDownloadExcelResponse } from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderSearchDownloadExcelParams, ExtensionAccountHolderSearchDownloadExcelResponse } from '../../model/account-holder-search/types';
|
||||
|
||||
export const extensionAccountHolderSearchDownloadExcel = (params: ExtensionAccountHolderSearchDownloadExcelParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,12 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionAccountHolderSearchListParams,
|
||||
ExtensionAccountHolderSearchListResponse,
|
||||
} from '../../model/types';
|
||||
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderSearchListParams, ExtensionAccountHolderSearchListResponse } from '../../model/account-holder-search/types';
|
||||
|
||||
export const extensionAccountHolderSearchList = (params: ExtensionAccountHolderSearchListParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import { ExtensionAccountHolderSearchRequestParams, ExtensionAccountHolderSearchRequestResponse } from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionAccountHolderSearchRequestParams, ExtensionAccountHolderSearchRequestResponse } from '../../model/account-holder-search/types';
|
||||
|
||||
export const extensionAccountHolderSearchRequest = (params: ExtensionAccountHolderSearchRequestParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -5,7 +5,6 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
DetailResponse,
|
||||
TitleInfo,
|
||||
ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryDetailResponse,
|
||||
DetailInfo,
|
||||
PaymentInfo
|
||||
} from '../../model/types';
|
||||
@@ -13,6 +12,7 @@ import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryDetailResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayHistoryDetail = async (params: ExtensionLinkPayHistoryDetailParams): Promise<DetailResponse> => {
|
||||
const response = await resultify(
|
||||
|
||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionLinkPayHistoryDownloadExcelRespone,
|
||||
ExtensionLinkPayHistoryDownloadExcelParams
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayHistoryDownloadExcelParams, ExtensionLinkPayHistoryDownloadExcelRespone } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayHistoryDownloadExcel = (params: ExtensionLinkPayHistoryDownloadExcelParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,16 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionKeyinListParams,
|
||||
ExtensionKeyinListResponse,
|
||||
ExtensionLinkPayHistoryListParams,
|
||||
ExtensionLinkPayHistoryListResponse
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayHistoryListParams, ExtensionLinkPayHistoryListResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayHistoryListParam = (params: ExtensionLinkPayHistoryListParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import { ExtensionLinkPayHistoryResendParams, ExtensionLinkPayHistoryResendResponse } from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayHistoryResendParams, ExtensionLinkPayHistoryResendResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayHistoryResend = (params: ExtensionLinkPayHistoryResendParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayRequestParams, ExtensionLinkPayRequestResponse } from '../../model/types';
|
||||
import { ExtensionLinkPayRequestParams, ExtensionLinkPayRequestResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayRequest = (params: ExtensionLinkPayRequestParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionLinkPayWaitDeleteRespone
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayWaitDeleteParams } from '../../model/types';
|
||||
import { ExtensionLinkPayWaitDeleteParams, ExtensionLinkPayWaitDeleteRespone } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayWaitDelete = async (params: ExtensionLinkPayWaitDeleteParams)=> {
|
||||
return resultify(
|
||||
|
||||
@@ -5,14 +5,13 @@ import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-serv
|
||||
import {
|
||||
DetailResponse,
|
||||
TitleInfo,
|
||||
PaymentInfo,
|
||||
ExtensionLinkPayWaitDetailParams,
|
||||
ExtensionLinkPayWaitDetailResponse
|
||||
PaymentInfo
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayWaitDetailParams, ExtensionLinkPayWaitDetailResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayWaitDetail = async (params: ExtensionLinkPayWaitDetailParams): Promise<DetailResponse> => {
|
||||
const response = await resultify(
|
||||
|
||||
@@ -2,16 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionLinkPayHistoryDownloadExcelRespone,
|
||||
ExtensionLinkPayHistoryDownloadExcelParams,
|
||||
ExtensionLinkPayWaitDownloadExcelParams,
|
||||
ExtensionLinkPayWaitDownloadExcelRespone
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayWaitDownloadExcelParams, ExtensionLinkPayWaitDownloadExcelRespone } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayWaitDownloadExcel = (params: ExtensionLinkPayWaitDownloadExcelParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionLinkPayWaitListParams,
|
||||
ExtensionLinkPayWaitListResponse
|
||||
} from '../../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionLinkPayWaitListParams, ExtensionLinkPayWaitListResponse } from '../../model/link-pay/types';
|
||||
|
||||
export const extensionLinkPayWaitListParam = (params: ExtensionLinkPayWaitListParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,12 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionKeyinApplyParams,
|
||||
ExtensionKeyinApplyResponse
|
||||
} from '../model/types';
|
||||
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionKeyinApplyParams, ExtensionKeyinApplyResponse } from '../model/key-in/types';
|
||||
|
||||
export const extensionKeyinApply = (params: ExtensionKeyinApplyParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionKeyinDownloadExcelParams,
|
||||
ExtensionKeyinDownloadExcelResponse
|
||||
} from '../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionKeyinDownloadExcelParams, ExtensionKeyinDownloadExcelResponse } from '../model/key-in/types';
|
||||
|
||||
export const extensionKeyinDownloadExcel = (params: ExtensionKeyinDownloadExcelParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
ExtensionKeyinListParams,
|
||||
ExtensionKeyinListResponse
|
||||
} from '../model/types';
|
||||
import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { ExtensionKeyinListParams, ExtensionKeyinListResponse } from '../model/key-in/types';
|
||||
|
||||
export const extensionKeyinList = (params: ExtensionKeyinListParams) => {
|
||||
return resultify(
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { ListDateGroup } from '../list-date-group';
|
||||
import { AccountHolderAuthListProps, AdditionalServiceCategory } from '../../model/types';
|
||||
import { AdditionalServiceCategory } from '../../model/types';
|
||||
import { AccountHolderAuthListProps } from '../../model/account-holder-auth/types';
|
||||
|
||||
export const AccountHolderAuthList = ({
|
||||
listItems,
|
||||
|
||||
@@ -5,10 +5,10 @@ import { useState } from 'react';
|
||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||
import { AccountHolderAuthFilterProps, AuthAndTransferStatus } from '@/entities/additional-service/model/types';
|
||||
import { authStatusBtnGroup } from '@/entities/additional-service/model/account-holder-auth/constant';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { AccountHolderAuthFilterProps, AuthAndTransferStatus } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||
|
||||
export const AccountHolderAuthFilter = ({
|
||||
filterOn,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { ListDateGroup } from '../list-date-group';
|
||||
import { AccountHolderSearchListProps, AdditionalServiceCategory } from '../../model/types'
|
||||
import { AdditionalServiceCategory } from '../../model/types'
|
||||
import { AccountHolderSearchListProps } from '../../model/account-holder-search/types';
|
||||
|
||||
export const AccountHolderSearchList = ({
|
||||
listItems,
|
||||
|
||||
@@ -3,8 +3,6 @@ import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { motion } from 'framer-motion';
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
AccountHolderSearchType,
|
||||
AccountHolderSearchFilterProps,
|
||||
ProcessResult
|
||||
} from '../../../model/types';
|
||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||
@@ -14,6 +12,7 @@ import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { AccountHolderSearchFilterProps, AccountHolderSearchType } from '@/entities/additional-service/model/account-holder-search/types';
|
||||
|
||||
export const AccountHolderSearchFilter = ({
|
||||
filterOn,
|
||||
|
||||
@@ -31,7 +31,7 @@ export const FundAccountResultListWrap = () => {
|
||||
const [resultType, setResultType] = useState<FundAccountResultType>(FundAccountResultType.RequestDate);
|
||||
const [fromDate, setFromDate] = useState(moment().format('YYYYMMDD'));
|
||||
const [toDate, setToDate] = useState(moment().format('YYYYMMDD'));
|
||||
const [status, setStatus] = useState<FundAccountStatus>(FundAccountStatus.ALL);
|
||||
const [status, setStatus] = useState<FundAccountStatus>(FundAccountStatus.REQUEST_FAIL);
|
||||
const [receiveBankCode, setReceiveBankCode] = useState<string>('');
|
||||
|
||||
const [totalCount, setTotalCount] = useState<number>(0);
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
ExtensionFundAccountTransferExcelResponse,
|
||||
ExtensionFundAccountTransferListParams,
|
||||
ExtensionFundAccountTransferListResponse,
|
||||
FundAccountSearchCl,
|
||||
FundAccountStatus,
|
||||
FundAccountTransferContent,
|
||||
FundAccountTransferContentItem
|
||||
@@ -38,9 +39,11 @@ export const FundAccountTransferListWrap = () => {
|
||||
const [mid, setMid] = useState<string>(userMid);
|
||||
const [receiveAccountName, setReceiveAccountName] = useState<string>('');
|
||||
const [receiveAccountNo, setReceiveAccountNo] = useState<string>('');
|
||||
const [searchCl, setSearchCl] = useState<FundAccountSearchCl>(FundAccountSearchCl.ACCOUNT_NAME);
|
||||
const [searchValue, setSearchValue] = useState<string>('');
|
||||
const [fromDate, setFromDate] = useState(moment().format('YYYYMMDD'));
|
||||
const [toDate, setToDate] = useState(moment().format('YYYYMMDD'));
|
||||
const [status, setStatus] = useState<FundAccountStatus>(FundAccountStatus.ALL);
|
||||
const [status, setStatus] = useState<FundAccountStatus>(FundAccountStatus.REQUEST_FAIL);
|
||||
const [receiveBankCode, setReceiveBankCode] = useState<string>('');
|
||||
|
||||
const [balance, setBalance] = useState<number>(0);
|
||||
@@ -59,9 +62,11 @@ export const FundAccountTransferListWrap = () => {
|
||||
|
||||
let params: ExtensionFundAccountTransferListParams = {
|
||||
mid: mid,
|
||||
searchCl: searchCl,
|
||||
searchValue: searchValue,
|
||||
fromDate: fromDate,
|
||||
toDate: toDate,
|
||||
status: status,
|
||||
resultStatus: status,
|
||||
page: pageParam
|
||||
};
|
||||
|
||||
|
||||
@@ -8,12 +8,9 @@ import { FilterSelectInput } from '@/shared/ui/filter/select-input';
|
||||
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||
import { FilterRangeAmount } from '@/shared/ui/filter/range-amount';
|
||||
import {
|
||||
KeyInPaymentFilterProps,
|
||||
KeyInPaymentTransactionStatus
|
||||
} from '../../../model/types';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { KeyInPaymentFilterProps, KeyInPaymentTransactionStatus } from '@/entities/additional-service/model/key-in/types';
|
||||
|
||||
export const KeyInPaymentFilter = ({
|
||||
filterOn,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { KeyInPaymentListProps } from '../../model/types'
|
||||
import { ListDateGroup } from '../list-date-group';
|
||||
import { KeyInPaymentListProps } from '../../model/key-in/types';
|
||||
|
||||
export const KeyInPaymentList = ({
|
||||
additionalServiceCategory,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { useSetOnBack } from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { LinkPaymentFormData, LinkPaymentSendMethod } from '@/entities/additional-service/model/types';
|
||||
import { SingleDatePicker } from '@/shared/ui/filter/single-date-picker';
|
||||
import { LinkPaymentFormData, LinkPaymentSendMethod } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
interface LinkPaymentStep1Props {
|
||||
formData: LinkPaymentFormData;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import {ProcessStep} from "@/entities/transaction/model/types";
|
||||
import {useSetOnBack} from "@/widgets/sub-layout/use-sub-layout";
|
||||
import { LinkPaymentFormData, IdentityType, Language, LinkContentType } from '@/entities/additional-service/model/types'
|
||||
import { IdentityType, Language } from '@/entities/additional-service/model/types'
|
||||
import { LinkContentType, LinkPaymentFormData } from "@/entities/additional-service/model/link-pay/types";
|
||||
|
||||
export interface LinkPaymentStep2Props {
|
||||
setProcessStep: ((processStep: ProcessStep) => void);
|
||||
|
||||
@@ -4,10 +4,6 @@ import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { motion } from 'framer-motion';
|
||||
import { ChangeEvent, useState } from 'react';
|
||||
import {
|
||||
LinkPaymentSearchType,
|
||||
LinkPaymentSendMethod,
|
||||
LinkPaymentHistoryFilterProps,
|
||||
LinkPaymentTransactionStatus,
|
||||
ProcessResult
|
||||
} from "../../../model/types";
|
||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||
@@ -17,6 +13,7 @@ import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { LinkPaymentHistoryFilterProps, LinkPaymentSearchType, LinkPaymentSendMethod, LinkPaymentTransactionStatus } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
export const LinkPaymentHistoryFilter = ({
|
||||
filterOn,
|
||||
|
||||
@@ -3,12 +3,6 @@ import { useEffect } from 'react';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { motion } from 'framer-motion';
|
||||
import { ChangeEvent, useState } from 'react';
|
||||
import {
|
||||
LinkPaymentWaitFilterProps,
|
||||
LinkPaymentSearchType,
|
||||
LinkPaymentSendMethod,
|
||||
LinkPaymentSendingStatus,
|
||||
} from "../../../model/types";
|
||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||
import { FilterSelectInput } from '@/shared/ui/filter/select-input';
|
||||
import { FilterDateOptions } from '@/entities/common/model/types';
|
||||
@@ -16,6 +10,7 @@ import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { LinkPaymentSearchType, LinkPaymentSendingStatus, LinkPaymentSendMethod, LinkPaymentWaitFilterProps } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
export const LinkPaymentWaitSendFilter = ({
|
||||
filterOn,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LinkPaymentHistoryListProps } from '../../model/types';
|
||||
import { LinkPaymentHistoryListProps } from '../../model/link-pay/types';
|
||||
import { ListDateGroup } from '../list-date-group';
|
||||
|
||||
export const LinkPaymentHistoryList = ({
|
||||
|
||||
@@ -7,12 +7,12 @@ import { PATHS } from "@/shared/constants/paths";
|
||||
import { LinkPaymentHistoryList } from "./link-payment-history-list";
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
import { AdditionalServiceCategory, LinkPaymentSendMethod, LinkPaymentHistoryListItem, LinkPaymentTransactionStatus, ProcessResult } from "../../model/types";
|
||||
import { LinkPaymentSearchType, } from "../../model/types";
|
||||
import { AdditionalServiceCategory, ProcessResult } from "../../model/types";
|
||||
import { useExtensionLinkPayHistoryListMutation } from '../../api/link-payment/use-extension-link-pay-history-list-mutation';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { useExtensionLinkPayHistoryDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-history-download-excel-mutation';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { LinkPaymentHistoryListItem, LinkPaymentSearchType, LinkPaymentSendMethod, LinkPaymentTransactionStatus } from '../../model/link-pay/types';
|
||||
|
||||
const processResultBtnGroup = [
|
||||
{ name: '전체', value: ProcessResult.ALL },
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import {
|
||||
LinkPaymentTabKeys,
|
||||
LinkPaymentTabProps
|
||||
} from '../../model/types'
|
||||
import { LinkPaymentTabKeys, LinkPaymentTabProps } from '../../model/link-pay/types';
|
||||
|
||||
export const LinkPaymentTab = ({
|
||||
activeTab
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LinkPaymentWaitListProps } from '../../model/types';
|
||||
import { LinkPaymentWaitListProps } from '../../model/link-pay/types';
|
||||
import { ListDateGroup } from '../list-date-group';
|
||||
|
||||
export const LinkPaymentWaitList = ({
|
||||
|
||||
@@ -5,13 +5,14 @@ import { LinkPaymentWaitSendFilter } from "./filter/link-payment-pending-send-fi
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { PATHS } from "@/shared/constants/paths";
|
||||
import { LinkPaymentWaitList } from "./link-payment-wait-list";
|
||||
import { AdditionalServiceCategory, LinkPaymentWaitListItem, LinkPaymentSearchType, LinkPaymentSendingStatus, LinkPaymentSendMethod } from "../../model/types";
|
||||
import { AdditionalServiceCategory } from "../../model/types";
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
import { useExtensionLinkPayWaitListMutation } from '../../api/link-payment/use-extension-link-pay-wait-list-mutation';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { useExtensionLinkPayWaitDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-wait-download-excel-mutation';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { LinkPaymentSearchType, LinkPaymentSendingStatus, LinkPaymentSendMethod, LinkPaymentWaitListItem } from '../../model/link-pay/types';
|
||||
|
||||
const sendingStatusBtnGrouup = [
|
||||
{ name: '전체', value: LinkPaymentSendingStatus.ALL },
|
||||
|
||||
@@ -3,7 +3,6 @@ import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { HeaderType } from '@/entities/common/model/types';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { AuthAndTransferStatus, AccountHolderAuthListItem } from '@/entities/additional-service/model/types';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
@@ -20,6 +19,7 @@ import { AccountHolderAuthList } from '@/entities/additional-service/ui/account-
|
||||
import { useExtensionAccountHolderAuthDownloadExcelMutation } from '@/entities/additional-service/api/account-holder-auth/use-extension-account-holder-auth-download-excel-mutation';
|
||||
import { AccountHolderAuthFilter } from '@/entities/additional-service/ui/account-holder-auth/filter/account-holder-auth-filter';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { AccountHolderAuthListItem, AuthAndTransferStatus } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||
|
||||
export const AccountHolderAuthPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -8,11 +8,12 @@ import {
|
||||
useSetFooterMode,
|
||||
useSetOnBack
|
||||
} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, ExtensionAccountHolderAuthDetailParams, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||
import { useLocation } from 'react-router';
|
||||
import { DetailInfoWrap } from '@/entities/additional-service/ui/info-wrap/detail-info-wrap';
|
||||
import { useExtensionAccountHolderAuthDetailMutation } from '@/entities/additional-service/api/account-holder-auth/use-extension-account-holder-auth-deatil-mutation';
|
||||
import { ExtensionAccountHolderAuthDetailParams } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||
|
||||
export const AccountHolderAuthDetailPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { HeaderType } from '@/entities/common/model/types';
|
||||
import { AccountHolderSearchFilter } from '@/entities/additional-service/ui/account-holder-search/filter/account-holder-search-filter';
|
||||
import { ProcessResult, AccountHolderSearchType, AccountHolderSearchListItem } from '@/entities/additional-service/model/types';
|
||||
import { ProcessResult} from '@/entities/additional-service/model/types';
|
||||
import {
|
||||
useSetHeaderTitle,
|
||||
useSetHeaderType,
|
||||
@@ -19,12 +19,8 @@ import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
import { AccountHolderSearchList } from '@/entities/additional-service/ui/account-holder-search/account-holder-search-list';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
|
||||
const resultStatusBtnGroup = [
|
||||
{ name: '전체', value: ProcessResult.ALL },
|
||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
||||
{ name: '실패', value: ProcessResult.FAIL },
|
||||
]
|
||||
import { AccountHolderSearchListItem, AccountHolderSearchType } from '@/entities/additional-service/model/account-holder-search/types';
|
||||
import { resultStatusBtnGroup } from '@/entities/additional-service/model/account-holder-search/constant';
|
||||
|
||||
export const AccountHolderSearchPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -10,10 +10,11 @@ import {
|
||||
useSetOnBack
|
||||
} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { useExtensionAccountHolderSearchDetailMutation } from '@/entities/additional-service/api/account-holder-search/use-extension-account-holder-search-detail-mutation';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, ExtensionAccountHolderSearchDetailParams, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||
import { useLocation } from 'react-router';
|
||||
import { DetailInfoWrap } from '@/entities/additional-service/ui/info-wrap/detail-info-wrap';
|
||||
import { ExtensionAccountHolderSearchDetailParams } from '@/entities/additional-service/model/account-holder-search/types';
|
||||
|
||||
export const AccountHolderSearchDetailPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
useSetOnBack
|
||||
} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { useExtensionAccountHolderSearchRequestMutation } from '@/entities/additional-service/api/account-holder-search/use-extension-account-holder-search-reqeust-mutation';
|
||||
import { ExtensionAccountHolderSearchRequestParams } from '@/entities/additional-service/model/types';
|
||||
import { ExtensionAccountHolderSearchRequestParams } from '@/entities/additional-service/model/account-holder-search/types';
|
||||
|
||||
export const AccountHolderSearchRequestPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -12,13 +12,14 @@ import {
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useExtensionKeyinDownloadExcelMutation } from '@/entities/additional-service/api/use-extension-keyin-download-excel-mutation';
|
||||
import { KeyInPaymentFilter } from '@/entities/additional-service/ui/key-in-payment/filter/key-in-payment-filter';
|
||||
import { AdditionalServiceCategory, KeyInPaymentListItem, KeyInPaymentTransactionStatus } from '@/entities/additional-service/model/types';
|
||||
import { AdditionalServiceCategory } from '@/entities/additional-service/model/types';
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
import { useExtensionKeyinListMutation } from '@/entities/additional-service/api/use-extension-keyin-list-mutation';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { KeyInPaymentList } from '@/entities/additional-service/ui/key-in-payment/key-in-payment-list';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { KeyInPaymentListItem, KeyInPaymentTransactionStatus } from '@/entities/additional-service/model/key-in/types';
|
||||
|
||||
// contant로 옮기기
|
||||
const requestStatusBtnGroup = [
|
||||
|
||||
@@ -4,9 +4,8 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { useLocation } from 'react-router';
|
||||
import { IMAGE_ROOT } from "@/shared/constants/common";
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { LinkPaymentFormData } from '@/entities/additional-service/model/types'
|
||||
import { useExtensionLinkPayRequestMutation } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-request-mutation';
|
||||
import { ExtensionLinkPayRequestParams } from '@/entities/additional-service/model/types';
|
||||
import { ExtensionLinkPayRequestParams, LinkPaymentFormData } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
export const LinkPaymentApplyConfirmPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -6,7 +6,8 @@ import {ProcessStep} from '@/entities/transaction/model/types';
|
||||
import {useSetFooterMode, useSetHeaderTitle, useSetHeaderType} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import {useNavigate} from '@/shared/lib/hooks/use-navigate';
|
||||
import {PATHS} from "@/shared/constants/paths";
|
||||
import { LinkPaymentFormData, IdentityType, Language, LinkContentType, LinkPaymentSendMethod } from '@/entities/additional-service/model/types';
|
||||
import { IdentityType, Language } from '@/entities/additional-service/model/types';
|
||||
import { LinkContentType, LinkPaymentFormData, LinkPaymentSendMethod } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,11 +12,12 @@ import {
|
||||
import { overlay } from 'overlay-kit';
|
||||
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
||||
import { useExtensionLinkPayHistoryDetailMutation } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-history-detail-mutation';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryResendParams, PaymentInfo, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { AdditionalServiceCategory, DetailInfo, DetailResponse, PaymentInfo, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||
import { PaymentInfoWrap } from '@/entities/additional-service/ui/info-wrap/payment-info-wrap';
|
||||
import { DetailInfoWrap } from '@/entities/additional-service/ui/info-wrap/detail-info-wrap';
|
||||
import { useExtensionLinkPayHistoryResendMutation } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-history-resend-mutation';
|
||||
import { ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryResendParams } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
export const LinkPaymentDetailPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -4,7 +4,6 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { HeaderType } from '@/entities/common/model/types';
|
||||
import { LinkPaymentTab } from '@/entities/additional-service/ui/link-payment/link-payment-tab';
|
||||
import { LinkPaymentTabKeys } from '@/entities/additional-service/model/types';
|
||||
import { LinkPaymentHistoryWrap } from '../../../entities/additional-service/ui/link-payment/link-payment-history-wrap';
|
||||
import {
|
||||
useSetHeaderTitle,
|
||||
@@ -12,6 +11,7 @@ import {
|
||||
useSetFooterMode,
|
||||
useSetOnBack
|
||||
} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { LinkPaymentTabKeys } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
/**
|
||||
* 발송내역 탭 화면
|
||||
|
||||
@@ -12,10 +12,11 @@ import {
|
||||
import { overlay } from 'overlay-kit';
|
||||
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
||||
import { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||
import { AdditionalServiceCategory, DetailResponse, ExtensionLinkPayWaitDeleteParams, ExtensionLinkPayWaitDetailParams, PaymentInfo, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { AdditionalServiceCategory, DetailResponse, PaymentInfo, TitleInfo } from '@/entities/additional-service/model/types';
|
||||
import { useExtensionLinkPayWaitDetailMutation, } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-wait-detail-mutation';
|
||||
import { PaymentInfoWrap } from '@/entities/additional-service/ui/info-wrap/payment-info-wrap';
|
||||
import { useExtensionLinkPayWaitDeleteMutation } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-wait-delete-mutation';
|
||||
import { ExtensionLinkPayWaitDeleteParams, ExtensionLinkPayWaitDetailParams } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
export const LinkPaymentWaitDetailPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
@@ -4,7 +4,6 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { HeaderType } from '@/entities/common/model/types';
|
||||
import { LinkPaymentTab } from '@/entities/additional-service/ui/link-payment/link-payment-tab';
|
||||
import { LinkPaymentTabKeys } from '@/entities/additional-service/model/types';
|
||||
import { LinkPaymentWaitSendWrap } from '../../../entities/additional-service/ui/link-payment/link-payment-wait-send-wrap';
|
||||
import {
|
||||
useSetHeaderTitle,
|
||||
@@ -12,6 +11,7 @@ import {
|
||||
useSetFooterMode,
|
||||
useSetOnBack
|
||||
} from '@/widgets/sub-layout/use-sub-layout';
|
||||
import { LinkPaymentTabKeys } from '@/entities/additional-service/model/link-pay/types';
|
||||
|
||||
/**
|
||||
* 발송대기 탭 화면
|
||||
|
||||
Reference in New Issue
Block a user