- 부가서비스 types 분류
- 자금이체 목록 조회 Request Parameter 수정
This commit is contained in:
@@ -5,14 +5,13 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
|||||||
import {
|
import {
|
||||||
DetailResponse,
|
DetailResponse,
|
||||||
TitleInfo,
|
TitleInfo,
|
||||||
DetailInfo,
|
DetailInfo
|
||||||
ExtensionAccountHolderAuthDetailParams,
|
|
||||||
ExtensionAccountHolderAuthDetailResponse
|
|
||||||
} from '../../model/types';
|
} from '../../model/types';
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderAuthDetailParams, ExtensionAccountHolderAuthDetailResponse } from '../../model/account-holder-auth/types';
|
||||||
|
|
||||||
export const extensionAccountHolderAuthDetail = async (params: ExtensionAccountHolderAuthDetailParams): Promise<DetailResponse> => {
|
export const extensionAccountHolderAuthDetail = async (params: ExtensionAccountHolderAuthDetailParams): Promise<DetailResponse> => {
|
||||||
const response = await resultify(
|
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 { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import { ExtensionAccountHolderAuthDownloadExcelParams, ExtensionAccountHolderAuthDownloadExcelResponse } from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderAuthDownloadExcelParams, ExtensionAccountHolderAuthDownloadExcelResponse } from '../../model/account-holder-auth/types';
|
||||||
|
|
||||||
export const extensionAccountHolderAuthDownloadExcel = (params: ExtensionAccountHolderAuthDownloadExcelParams) => {
|
export const extensionAccountHolderAuthDownloadExcel = (params: ExtensionAccountHolderAuthDownloadExcelParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,16 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionAccountHolderAuthListParams,
|
|
||||||
ExtensionAccountHolderAuthListResponse,
|
|
||||||
ExtensionAccountHolderSearchListParams,
|
|
||||||
ExtensionAccountHolderSearchListResponse,
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderAuthListParams, ExtensionAccountHolderAuthListResponse } from '../../model/account-holder-auth/types';
|
||||||
|
|
||||||
export const extensionAccountHolderAuthList = (params: ExtensionAccountHolderAuthListParams) => {
|
export const extensionAccountHolderAuthList = (params: ExtensionAccountHolderAuthListParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -5,14 +5,13 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
|||||||
import {
|
import {
|
||||||
DetailResponse,
|
DetailResponse,
|
||||||
TitleInfo,
|
TitleInfo,
|
||||||
ExtensionAccountHolderSearchDetailParams,
|
|
||||||
ExtensionAccountHolderSearchDetailResponse,
|
|
||||||
DetailInfo
|
DetailInfo
|
||||||
} from '../../model/types';
|
} from '../../model/types';
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderSearchDetailParams, ExtensionAccountHolderSearchDetailResponse } from '../../model/account-holder-search/types';
|
||||||
|
|
||||||
export const extensionAccountHolderSearchDetail = async (params: ExtensionAccountHolderSearchDetailParams): Promise<DetailResponse> => {
|
export const extensionAccountHolderSearchDetail = async (params: ExtensionAccountHolderSearchDetailParams): Promise<DetailResponse> => {
|
||||||
const response = await resultify(
|
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 { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import { ExtensionAccountHolderSearchDownloadExcelParams, ExtensionAccountHolderSearchDownloadExcelResponse } from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderSearchDownloadExcelParams, ExtensionAccountHolderSearchDownloadExcelResponse } from '../../model/account-holder-search/types';
|
||||||
|
|
||||||
export const extensionAccountHolderSearchDownloadExcel = (params: ExtensionAccountHolderSearchDownloadExcelParams) => {
|
export const extensionAccountHolderSearchDownloadExcel = (params: ExtensionAccountHolderSearchDownloadExcelParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,12 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionAccountHolderSearchListParams,
|
|
||||||
ExtensionAccountHolderSearchListResponse,
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderSearchListParams, ExtensionAccountHolderSearchListResponse } from '../../model/account-holder-search/types';
|
||||||
|
|
||||||
export const extensionAccountHolderSearchList = (params: ExtensionAccountHolderSearchListParams) => {
|
export const extensionAccountHolderSearchList = (params: ExtensionAccountHolderSearchListParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import { ExtensionAccountHolderSearchRequestParams, ExtensionAccountHolderSearchRequestResponse } from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionAccountHolderSearchRequestParams, ExtensionAccountHolderSearchRequestResponse } from '../../model/account-holder-search/types';
|
||||||
|
|
||||||
export const extensionAccountHolderSearchRequest = (params: ExtensionAccountHolderSearchRequestParams) => {
|
export const extensionAccountHolderSearchRequest = (params: ExtensionAccountHolderSearchRequestParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { CBDCAxiosError } from '@/shared/@types/error';
|
|||||||
import {
|
import {
|
||||||
DetailResponse,
|
DetailResponse,
|
||||||
TitleInfo,
|
TitleInfo,
|
||||||
ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryDetailResponse,
|
|
||||||
DetailInfo,
|
DetailInfo,
|
||||||
PaymentInfo
|
PaymentInfo
|
||||||
} from '../../model/types';
|
} from '../../model/types';
|
||||||
@@ -13,6 +12,7 @@ import {
|
|||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayHistoryDetailParams, ExtensionLinkPayHistoryDetailResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayHistoryDetail = async (params: ExtensionLinkPayHistoryDetailParams): Promise<DetailResponse> => {
|
export const extensionLinkPayHistoryDetail = async (params: ExtensionLinkPayHistoryDetailParams): Promise<DetailResponse> => {
|
||||||
const response = await resultify(
|
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 { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionLinkPayHistoryDownloadExcelRespone,
|
|
||||||
ExtensionLinkPayHistoryDownloadExcelParams
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayHistoryDownloadExcelParams, ExtensionLinkPayHistoryDownloadExcelRespone } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayHistoryDownloadExcel = (params: ExtensionLinkPayHistoryDownloadExcelParams) => {
|
export const extensionLinkPayHistoryDownloadExcel = (params: ExtensionLinkPayHistoryDownloadExcelParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,16 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionKeyinListParams,
|
|
||||||
ExtensionKeyinListResponse,
|
|
||||||
ExtensionLinkPayHistoryListParams,
|
|
||||||
ExtensionLinkPayHistoryListResponse
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayHistoryListParams, ExtensionLinkPayHistoryListResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayHistoryListParam = (params: ExtensionLinkPayHistoryListParams) => {
|
export const extensionLinkPayHistoryListParam = (params: ExtensionLinkPayHistoryListParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import { ExtensionLinkPayHistoryResendParams, ExtensionLinkPayHistoryResendResponse } from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayHistoryResendParams, ExtensionLinkPayHistoryResendResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayHistoryResend = (params: ExtensionLinkPayHistoryResendParams) => {
|
export const extensionLinkPayHistoryResend = (params: ExtensionLinkPayHistoryResendParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
import { ExtensionLinkPayRequestParams, ExtensionLinkPayRequestResponse } from '../../model/types';
|
import { ExtensionLinkPayRequestParams, ExtensionLinkPayRequestResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayRequest = (params: ExtensionLinkPayRequestParams) => {
|
export const extensionLinkPayRequest = (params: ExtensionLinkPayRequestParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionLinkPayWaitDeleteRespone
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
import { ExtensionLinkPayWaitDeleteParams } from '../../model/types';
|
import { ExtensionLinkPayWaitDeleteParams, ExtensionLinkPayWaitDeleteRespone } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayWaitDelete = async (params: ExtensionLinkPayWaitDeleteParams)=> {
|
export const extensionLinkPayWaitDelete = async (params: ExtensionLinkPayWaitDeleteParams)=> {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -5,14 +5,13 @@ import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-serv
|
|||||||
import {
|
import {
|
||||||
DetailResponse,
|
DetailResponse,
|
||||||
TitleInfo,
|
TitleInfo,
|
||||||
PaymentInfo,
|
PaymentInfo
|
||||||
ExtensionLinkPayWaitDetailParams,
|
|
||||||
ExtensionLinkPayWaitDetailResponse
|
|
||||||
} from '../../model/types';
|
} from '../../model/types';
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayWaitDetailParams, ExtensionLinkPayWaitDetailResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayWaitDetail = async (params: ExtensionLinkPayWaitDetailParams): Promise<DetailResponse> => {
|
export const extensionLinkPayWaitDetail = async (params: ExtensionLinkPayWaitDetailParams): Promise<DetailResponse> => {
|
||||||
const response = await resultify(
|
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 { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionLinkPayHistoryDownloadExcelRespone,
|
|
||||||
ExtensionLinkPayHistoryDownloadExcelParams,
|
|
||||||
ExtensionLinkPayWaitDownloadExcelParams,
|
|
||||||
ExtensionLinkPayWaitDownloadExcelRespone
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayWaitDownloadExcelParams, ExtensionLinkPayWaitDownloadExcelRespone } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayWaitDownloadExcel = (params: ExtensionLinkPayWaitDownloadExcelParams) => {
|
export const extensionLinkPayWaitDownloadExcel = (params: ExtensionLinkPayWaitDownloadExcelParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionLinkPayWaitListParams,
|
|
||||||
ExtensionLinkPayWaitListResponse
|
|
||||||
} from '../../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionLinkPayWaitListParams, ExtensionLinkPayWaitListResponse } from '../../model/link-pay/types';
|
||||||
|
|
||||||
export const extensionLinkPayWaitListParam = (params: ExtensionLinkPayWaitListParams) => {
|
export const extensionLinkPayWaitListParam = (params: ExtensionLinkPayWaitListParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,12 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionKeyinApplyParams,
|
|
||||||
ExtensionKeyinApplyResponse
|
|
||||||
} from '../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionKeyinApplyParams, ExtensionKeyinApplyResponse } from '../model/key-in/types';
|
||||||
|
|
||||||
export const extensionKeyinApply = (params: ExtensionKeyinApplyParams) => {
|
export const extensionKeyinApply = (params: ExtensionKeyinApplyParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionKeyinDownloadExcelParams,
|
|
||||||
ExtensionKeyinDownloadExcelResponse
|
|
||||||
} from '../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionKeyinDownloadExcelParams, ExtensionKeyinDownloadExcelResponse } from '../model/key-in/types';
|
||||||
|
|
||||||
export const extensionKeyinDownloadExcel = (params: ExtensionKeyinDownloadExcelParams) => {
|
export const extensionKeyinDownloadExcel = (params: ExtensionKeyinDownloadExcelParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -2,14 +2,11 @@ import axios from 'axios';
|
|||||||
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
import { API_URL_ADDITIONAL_SERVICE } from '@/shared/api/api-url-additional-service';
|
||||||
import { resultify } from '@/shared/lib/resultify';
|
import { resultify } from '@/shared/lib/resultify';
|
||||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||||
import {
|
|
||||||
ExtensionKeyinListParams,
|
|
||||||
ExtensionKeyinListResponse
|
|
||||||
} from '../model/types';
|
|
||||||
import {
|
import {
|
||||||
useMutation,
|
useMutation,
|
||||||
UseMutationOptions
|
UseMutationOptions
|
||||||
} from '@tanstack/react-query';
|
} from '@tanstack/react-query';
|
||||||
|
import { ExtensionKeyinListParams, ExtensionKeyinListResponse } from '../model/key-in/types';
|
||||||
|
|
||||||
export const extensionKeyinList = (params: ExtensionKeyinListParams) => {
|
export const extensionKeyinList = (params: ExtensionKeyinListParams) => {
|
||||||
return resultify(
|
return resultify(
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { AuthAndTransferStatus } from "../types";
|
import { AuthAndTransferStatus } from "./types";
|
||||||
|
|
||||||
export const authStatusBtnGroup = [
|
export const authStatusBtnGroup = [
|
||||||
{ name: '전체', value: AuthAndTransferStatus.ALL },
|
{ 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";
|
import { ProcessResult } from "../types";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const ResultStatusBtnGroup = [
|
export const ResultStatusBtnGroup = [
|
||||||
{ name: '전체', value: ProcessResult.ALL },
|
{ name: '전체', value: ProcessResult.ALL },
|
||||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
{ name: '성공', value: ProcessResult.SUCCESS },
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import {
|
|||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
export const FundAccountStatusBtnGroup = [
|
export const FundAccountStatusBtnGroup = [
|
||||||
{name: '전체', value: FundAccountStatus.ALL},
|
{name: '등록성공', value: FundAccountStatus.REGIST_COMPLETE},
|
||||||
{name: '성공', value: FundAccountStatus.SUCCESS},
|
{name: '성공', value: FundAccountStatus.REQUEST_SUCCESS},
|
||||||
{name: '실패', value: FundAccountStatus.FAIL},
|
{name: '실패', value: FundAccountStatus.REQUEST_FAIL},
|
||||||
{name: '중지', value: FundAccountStatus.PENDING},
|
{name: '요청', value: FundAccountStatus.TRANSFER_REQUEST},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const FundAccountResultTypeBtnGroup = [
|
export const FundAccountResultTypeBtnGroup = [
|
||||||
|
|||||||
@@ -31,17 +31,25 @@ export interface ExtensionFundAccountTransferRequestResponse {
|
|||||||
result: string;
|
result: string;
|
||||||
message: string;
|
message: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum FundAccountSearchCl {
|
||||||
|
ACCOUNT_NAME = 'ACCOUNT_NAME',
|
||||||
|
ACCOUNT_ID = 'ACCOUNT_ID'
|
||||||
|
}
|
||||||
|
|
||||||
export enum FundAccountStatus {
|
export enum FundAccountStatus {
|
||||||
ALL = 'ALL',
|
REGIST_COMPLETE = 'REGIST_COMPLETE',
|
||||||
SUCCESS = 'SUCCESS',
|
TRANSFER_REQUEST = 'TRANSFER_REQUEST',
|
||||||
FAIL = 'FAIL',
|
REQUEST_SUCCESS = 'REQUEST_SUCCESS',
|
||||||
PENDING = 'PENDING'
|
REQUEST_FAIL = 'REQUEST_FAIL'
|
||||||
};
|
};
|
||||||
export interface ExtensionFundAccountTransferListParams {
|
export interface ExtensionFundAccountTransferListParams {
|
||||||
mid: string;
|
mid: string;
|
||||||
|
searchCl: string;
|
||||||
|
searchValue: string;
|
||||||
fromDate: string;
|
fromDate: string;
|
||||||
toDate: string;
|
toDate: string;
|
||||||
status: FundAccountStatus;
|
resultStatus: FundAccountStatus;
|
||||||
page: DefaultRequestPagination;
|
page: DefaultRequestPagination;
|
||||||
}
|
}
|
||||||
export interface ExtensionFundAccountTransferListResponse extends DefaulResponsePagination {
|
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
|
||||||
|
}
|
||||||
@@ -54,22 +54,10 @@ export interface ExtensionSmsPaymentListResponse extends DefaulResponsePaginatio
|
|||||||
content: Array<ListItemProps>
|
content: Array<ListItemProps>
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ExtensionSmsDownloadExcelParams extends ExtensionRequestParams {
|
|
||||||
searchCl?: SmsPaymentSearchType;
|
|
||||||
searchValue: string;
|
|
||||||
fromDate: string;
|
|
||||||
toDate: string;
|
|
||||||
smsCl?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ExtensionSmsDownloadExcelResponse {
|
export interface ExtensionSmsDownloadExcelResponse {
|
||||||
status: boolean;
|
status: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ExtensionSmsDetailParams extends ExtensionRequestParams {
|
|
||||||
tid: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ExtensionSmsDetailResponse {
|
export interface ExtensionSmsDetailResponse {
|
||||||
senderNumber: string;
|
senderNumber: string;
|
||||||
senderName: string;
|
senderName: string;
|
||||||
@@ -82,9 +70,6 @@ export interface ExtensionSmsResendParams extends ExtensionRequestParams {
|
|||||||
tid: string;
|
tid: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ExtensionSmsResendResponse {
|
|
||||||
status: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SmsPaymentDetailResendProps {
|
export interface SmsPaymentDetailResendProps {
|
||||||
bottomSmsPaymentDetailResendOn: boolean;
|
bottomSmsPaymentDetailResendOn: boolean;
|
||||||
@@ -93,3 +78,50 @@ export interface SmsPaymentDetailResendProps {
|
|||||||
mid: string;
|
mid: string;
|
||||||
tid: 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 { SmsPaymentListItem } from './sms-payment/types';
|
||||||
import type { ExtensionSmsDetailResponse } from './sms-payment/types';
|
import type { ExtensionSmsDetailResponse } from './sms-payment/types';
|
||||||
import { FaceAuthListItem } from './face-auth/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 및 타입들
|
// 공통 Enums 및 타입들
|
||||||
// ========================================
|
// ========================================
|
||||||
|
|
||||||
export enum ProcessResult {
|
export enum ProcessResult {
|
||||||
ALL = '',
|
ALL = '',
|
||||||
SUCCESS = 'SUCCESS',
|
SUCCESS = 'SUCCESS',
|
||||||
@@ -34,6 +37,16 @@ export enum AdditionalServiceCategory {
|
|||||||
FaceAuth = 'FaceAuth'
|
FaceAuth = 'FaceAuth'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum IdentityType {
|
||||||
|
INDIVIDUAL = "INDIVIDUAL",
|
||||||
|
CORPORATE = "CORPORATE"
|
||||||
|
}
|
||||||
|
|
||||||
|
export enum Language {
|
||||||
|
KR = "KR",
|
||||||
|
EN = "EN"
|
||||||
|
}
|
||||||
|
|
||||||
// ========================================
|
// ========================================
|
||||||
// 상세정보 Interface
|
// 상세정보 Interface
|
||||||
// ========================================
|
// ========================================
|
||||||
@@ -93,254 +106,6 @@ export enum InfoWrapKeys {
|
|||||||
Detail = 'Detail'
|
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 {
|
export enum DetailInfoSectionKeys {
|
||||||
Title = 'Title',
|
Title = 'Title',
|
||||||
Detail = 'Detail',
|
Detail = 'Detail',
|
||||||
@@ -360,6 +125,15 @@ export interface DetailInfoSectionProps extends DetailResponse {
|
|||||||
onClickToShowInfo?: (info: DetailInfoSectionKeys) => void;
|
onClickToShowInfo?: (info: DetailInfoSectionKeys) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ========================================
|
||||||
|
// 공통 Filter 타입들
|
||||||
|
// ========================================
|
||||||
|
|
||||||
|
export interface FilterProps {
|
||||||
|
filterOn: boolean;
|
||||||
|
setFilterOn: (filterOn: boolean) => void;
|
||||||
|
}
|
||||||
|
|
||||||
// ========================================
|
// ========================================
|
||||||
// 정산기관 관련 타입들
|
// 정산기관 관련 타입들
|
||||||
// ========================================
|
// ========================================
|
||||||
@@ -415,357 +189,8 @@ export interface AdditionalServiceListProps {
|
|||||||
export interface ExtensionRequestParams {
|
export interface ExtensionRequestParams {
|
||||||
mid: string;
|
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 { 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 = ({
|
export const AccountHolderAuthList = ({
|
||||||
listItems,
|
listItems,
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import { useState } from 'react';
|
|||||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||||
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
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 { authStatusBtnGroup } from '@/entities/additional-service/model/account-holder-auth/constant';
|
||||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { AccountHolderAuthFilterProps, AuthAndTransferStatus } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||||
|
|
||||||
export const AccountHolderAuthFilter = ({
|
export const AccountHolderAuthFilter = ({
|
||||||
filterOn,
|
filterOn,
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import { PATHS } from '@/shared/constants/paths';
|
import { PATHS } from '@/shared/constants/paths';
|
||||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import { ListDateGroup } from '../list-date-group';
|
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 = ({
|
export const AccountHolderSearchList = ({
|
||||||
listItems,
|
listItems,
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ import { IMAGE_ROOT } from '@/shared/constants/common';
|
|||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import {
|
import {
|
||||||
AccountHolderSearchType,
|
|
||||||
AccountHolderSearchFilterProps,
|
|
||||||
ProcessResult
|
ProcessResult
|
||||||
} from '../../../model/types';
|
} from '../../../model/types';
|
||||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
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 { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { AccountHolderSearchFilterProps, AccountHolderSearchType } from '@/entities/additional-service/model/account-holder-search/types';
|
||||||
|
|
||||||
export const AccountHolderSearchFilter = ({
|
export const AccountHolderSearchFilter = ({
|
||||||
filterOn,
|
filterOn,
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export const FundAccountResultListWrap = () => {
|
|||||||
const [resultType, setResultType] = useState<FundAccountResultType>(FundAccountResultType.RequestDate);
|
const [resultType, setResultType] = useState<FundAccountResultType>(FundAccountResultType.RequestDate);
|
||||||
const [fromDate, setFromDate] = useState(moment().format('YYYYMMDD'));
|
const [fromDate, setFromDate] = useState(moment().format('YYYYMMDD'));
|
||||||
const [toDate, setToDate] = 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 [receiveBankCode, setReceiveBankCode] = useState<string>('');
|
||||||
|
|
||||||
const [totalCount, setTotalCount] = useState<number>(0);
|
const [totalCount, setTotalCount] = useState<number>(0);
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import {
|
|||||||
ExtensionFundAccountTransferExcelResponse,
|
ExtensionFundAccountTransferExcelResponse,
|
||||||
ExtensionFundAccountTransferListParams,
|
ExtensionFundAccountTransferListParams,
|
||||||
ExtensionFundAccountTransferListResponse,
|
ExtensionFundAccountTransferListResponse,
|
||||||
|
FundAccountSearchCl,
|
||||||
FundAccountStatus,
|
FundAccountStatus,
|
||||||
FundAccountTransferContent,
|
FundAccountTransferContent,
|
||||||
FundAccountTransferContentItem
|
FundAccountTransferContentItem
|
||||||
@@ -38,9 +39,11 @@ export const FundAccountTransferListWrap = () => {
|
|||||||
const [mid, setMid] = useState<string>(userMid);
|
const [mid, setMid] = useState<string>(userMid);
|
||||||
const [receiveAccountName, setReceiveAccountName] = useState<string>('');
|
const [receiveAccountName, setReceiveAccountName] = useState<string>('');
|
||||||
const [receiveAccountNo, setReceiveAccountNo] = 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 [fromDate, setFromDate] = useState(moment().format('YYYYMMDD'));
|
||||||
const [toDate, setToDate] = 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 [receiveBankCode, setReceiveBankCode] = useState<string>('');
|
||||||
|
|
||||||
const [balance, setBalance] = useState<number>(0);
|
const [balance, setBalance] = useState<number>(0);
|
||||||
@@ -59,9 +62,11 @@ export const FundAccountTransferListWrap = () => {
|
|||||||
|
|
||||||
let params: ExtensionFundAccountTransferListParams = {
|
let params: ExtensionFundAccountTransferListParams = {
|
||||||
mid: mid,
|
mid: mid,
|
||||||
|
searchCl: searchCl,
|
||||||
|
searchValue: searchValue,
|
||||||
fromDate: fromDate,
|
fromDate: fromDate,
|
||||||
toDate: toDate,
|
toDate: toDate,
|
||||||
status: status,
|
resultStatus: status,
|
||||||
page: pageParam
|
page: pageParam
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,9 @@ import { FilterSelectInput } from '@/shared/ui/filter/select-input';
|
|||||||
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
import { FilterCalendar } from '@/shared/ui/filter/calendar';
|
||||||
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
import { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||||
import { FilterRangeAmount } from '@/shared/ui/filter/range-amount';
|
import { FilterRangeAmount } from '@/shared/ui/filter/range-amount';
|
||||||
import {
|
|
||||||
KeyInPaymentFilterProps,
|
|
||||||
KeyInPaymentTransactionStatus
|
|
||||||
} from '../../../model/types';
|
|
||||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { KeyInPaymentFilterProps, KeyInPaymentTransactionStatus } from '@/entities/additional-service/model/key-in/types';
|
||||||
|
|
||||||
export const KeyInPaymentFilter = ({
|
export const KeyInPaymentFilter = ({
|
||||||
filterOn,
|
filterOn,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { PATHS } from '@/shared/constants/paths';
|
import { PATHS } from '@/shared/constants/paths';
|
||||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import { KeyInPaymentListProps } from '../../model/types'
|
|
||||||
import { ListDateGroup } from '../list-date-group';
|
import { ListDateGroup } from '../list-date-group';
|
||||||
|
import { KeyInPaymentListProps } from '../../model/key-in/types';
|
||||||
|
|
||||||
export const KeyInPaymentList = ({
|
export const KeyInPaymentList = ({
|
||||||
additionalServiceCategory,
|
additionalServiceCategory,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { PATHS } from '@/shared/constants/paths';
|
import { PATHS } from '@/shared/constants/paths';
|
||||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import { useSetOnBack } from '@/widgets/sub-layout/use-sub-layout';
|
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 { SingleDatePicker } from '@/shared/ui/filter/single-date-picker';
|
||||||
|
import { LinkPaymentFormData, LinkPaymentSendMethod } from '@/entities/additional-service/model/link-pay/types';
|
||||||
|
|
||||||
interface LinkPaymentStep1Props {
|
interface LinkPaymentStep1Props {
|
||||||
formData: LinkPaymentFormData;
|
formData: LinkPaymentFormData;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {ProcessStep} from "@/entities/transaction/model/types";
|
import {ProcessStep} from "@/entities/transaction/model/types";
|
||||||
import {useSetOnBack} from "@/widgets/sub-layout/use-sub-layout";
|
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 {
|
export interface LinkPaymentStep2Props {
|
||||||
setProcessStep: ((processStep: ProcessStep) => void);
|
setProcessStep: ((processStep: ProcessStep) => void);
|
||||||
|
|||||||
@@ -4,10 +4,6 @@ import { IMAGE_ROOT } from '@/shared/constants/common';
|
|||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { ChangeEvent, useState } from 'react';
|
import { ChangeEvent, useState } from 'react';
|
||||||
import {
|
import {
|
||||||
LinkPaymentSearchType,
|
|
||||||
LinkPaymentSendMethod,
|
|
||||||
LinkPaymentHistoryFilterProps,
|
|
||||||
LinkPaymentTransactionStatus,
|
|
||||||
ProcessResult
|
ProcessResult
|
||||||
} from "../../../model/types";
|
} from "../../../model/types";
|
||||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
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 { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { LinkPaymentHistoryFilterProps, LinkPaymentSearchType, LinkPaymentSendMethod, LinkPaymentTransactionStatus } from '@/entities/additional-service/model/link-pay/types';
|
||||||
|
|
||||||
export const LinkPaymentHistoryFilter = ({
|
export const LinkPaymentHistoryFilter = ({
|
||||||
filterOn,
|
filterOn,
|
||||||
|
|||||||
@@ -3,12 +3,6 @@ import { useEffect } from 'react';
|
|||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { ChangeEvent, useState } from 'react';
|
import { ChangeEvent, useState } from 'react';
|
||||||
import {
|
|
||||||
LinkPaymentWaitFilterProps,
|
|
||||||
LinkPaymentSearchType,
|
|
||||||
LinkPaymentSendMethod,
|
|
||||||
LinkPaymentSendingStatus,
|
|
||||||
} from "../../../model/types";
|
|
||||||
import { FilterSelect } from '@/shared/ui/filter/select';
|
import { FilterSelect } from '@/shared/ui/filter/select';
|
||||||
import { FilterSelectInput } from '@/shared/ui/filter/select-input';
|
import { FilterSelectInput } from '@/shared/ui/filter/select-input';
|
||||||
import { FilterDateOptions } from '@/entities/common/model/types';
|
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 { FilterButtonGroups } from '@/shared/ui/filter/button-groups';
|
||||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants } from '@/entities/common/model/constant';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { LinkPaymentSearchType, LinkPaymentSendingStatus, LinkPaymentSendMethod, LinkPaymentWaitFilterProps } from '@/entities/additional-service/model/link-pay/types';
|
||||||
|
|
||||||
export const LinkPaymentWaitSendFilter = ({
|
export const LinkPaymentWaitSendFilter = ({
|
||||||
filterOn,
|
filterOn,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { LinkPaymentHistoryListProps } from '../../model/types';
|
import { LinkPaymentHistoryListProps } from '../../model/link-pay/types';
|
||||||
import { ListDateGroup } from '../list-date-group';
|
import { ListDateGroup } from '../list-date-group';
|
||||||
|
|
||||||
export const LinkPaymentHistoryList = ({
|
export const LinkPaymentHistoryList = ({
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ import { PATHS } from "@/shared/constants/paths";
|
|||||||
import { LinkPaymentHistoryList } from "./link-payment-history-list";
|
import { LinkPaymentHistoryList } from "./link-payment-history-list";
|
||||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||||
import { AdditionalServiceCategory, LinkPaymentSendMethod, LinkPaymentHistoryListItem, LinkPaymentTransactionStatus, ProcessResult } from "../../model/types";
|
import { AdditionalServiceCategory, ProcessResult } from "../../model/types";
|
||||||
import { LinkPaymentSearchType, } from "../../model/types";
|
|
||||||
import { useExtensionLinkPayHistoryListMutation } from '../../api/link-payment/use-extension-link-pay-history-list-mutation';
|
import { useExtensionLinkPayHistoryListMutation } from '../../api/link-payment/use-extension-link-pay-history-list-mutation';
|
||||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||||
import { useExtensionLinkPayHistoryDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-history-download-excel-mutation';
|
import { useExtensionLinkPayHistoryDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-history-download-excel-mutation';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { LinkPaymentHistoryListItem, LinkPaymentSearchType, LinkPaymentSendMethod, LinkPaymentTransactionStatus } from '../../model/link-pay/types';
|
||||||
|
|
||||||
const processResultBtnGroup = [
|
const processResultBtnGroup = [
|
||||||
{ name: '전체', value: ProcessResult.ALL },
|
{ name: '전체', value: ProcessResult.ALL },
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { PATHS } from '@/shared/constants/paths';
|
import { PATHS } from '@/shared/constants/paths';
|
||||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import {
|
import { LinkPaymentTabKeys, LinkPaymentTabProps } from '../../model/link-pay/types';
|
||||||
LinkPaymentTabKeys,
|
|
||||||
LinkPaymentTabProps
|
|
||||||
} from '../../model/types'
|
|
||||||
|
|
||||||
export const LinkPaymentTab = ({
|
export const LinkPaymentTab = ({
|
||||||
activeTab
|
activeTab
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { LinkPaymentWaitListProps } from '../../model/types';
|
import { LinkPaymentWaitListProps } from '../../model/link-pay/types';
|
||||||
import { ListDateGroup } from '../list-date-group';
|
import { ListDateGroup } from '../list-date-group';
|
||||||
|
|
||||||
export const LinkPaymentWaitList = ({
|
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 { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import { PATHS } from "@/shared/constants/paths";
|
import { PATHS } from "@/shared/constants/paths";
|
||||||
import { LinkPaymentWaitList } from "./link-payment-wait-list";
|
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 { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||||
import { useExtensionLinkPayWaitListMutation } from '../../api/link-payment/use-extension-link-pay-wait-list-mutation';
|
import { useExtensionLinkPayWaitListMutation } from '../../api/link-payment/use-extension-link-pay-wait-list-mutation';
|
||||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||||
import { useExtensionLinkPayWaitDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-wait-download-excel-mutation';
|
import { useExtensionLinkPayWaitDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-wait-download-excel-mutation';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { LinkPaymentSearchType, LinkPaymentSendingStatus, LinkPaymentSendMethod, LinkPaymentWaitListItem } from '../../model/link-pay/types';
|
||||||
|
|
||||||
const sendingStatusBtnGrouup = [
|
const sendingStatusBtnGrouup = [
|
||||||
{ name: '전체', value: LinkPaymentSendingStatus.ALL },
|
{ name: '전체', value: LinkPaymentSendingStatus.ALL },
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import { PATHS } from '@/shared/constants/paths';
|
|||||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||||
import { HeaderType } from '@/entities/common/model/types';
|
import { HeaderType } from '@/entities/common/model/types';
|
||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||||
import { AuthAndTransferStatus, AccountHolderAuthListItem } from '@/entities/additional-service/model/types';
|
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
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 { 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 { AccountHolderAuthFilter } from '@/entities/additional-service/ui/account-holder-auth/filter/account-holder-auth-filter';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { AccountHolderAuthListItem, AuthAndTransferStatus } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||||
|
|
||||||
export const AccountHolderAuthPage = () => {
|
export const AccountHolderAuthPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -8,11 +8,12 @@ import {
|
|||||||
useSetFooterMode,
|
useSetFooterMode,
|
||||||
useSetOnBack
|
useSetOnBack
|
||||||
} from '@/widgets/sub-layout/use-sub-layout';
|
} 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 { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import { DetailInfoWrap } from '@/entities/additional-service/ui/info-wrap/detail-info-wrap';
|
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 { 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 = () => {
|
export const AccountHolderAuthDetailPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
|||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||||
import { HeaderType } from '@/entities/common/model/types';
|
import { HeaderType } from '@/entities/common/model/types';
|
||||||
import { AccountHolderSearchFilter } from '@/entities/additional-service/ui/account-holder-search/filter/account-holder-search-filter';
|
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 {
|
import {
|
||||||
useSetHeaderTitle,
|
useSetHeaderTitle,
|
||||||
useSetHeaderType,
|
useSetHeaderType,
|
||||||
@@ -19,12 +19,8 @@ import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
|||||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||||
import { AccountHolderSearchList } from '@/entities/additional-service/ui/account-holder-search/account-holder-search-list';
|
import { AccountHolderSearchList } from '@/entities/additional-service/ui/account-holder-search/account-holder-search-list';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { AccountHolderSearchListItem, AccountHolderSearchType } from '@/entities/additional-service/model/account-holder-search/types';
|
||||||
const resultStatusBtnGroup = [
|
import { resultStatusBtnGroup } from '@/entities/additional-service/model/account-holder-search/constant';
|
||||||
{ name: '전체', value: ProcessResult.ALL },
|
|
||||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
|
||||||
{ name: '실패', value: ProcessResult.FAIL },
|
|
||||||
]
|
|
||||||
|
|
||||||
export const AccountHolderSearchPage = () => {
|
export const AccountHolderSearchPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -10,10 +10,11 @@ import {
|
|||||||
useSetOnBack
|
useSetOnBack
|
||||||
} from '@/widgets/sub-layout/use-sub-layout';
|
} 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 { 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 { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import { DetailInfoWrap } from '@/entities/additional-service/ui/info-wrap/detail-info-wrap';
|
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 = () => {
|
export const AccountHolderSearchDetailPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
useSetOnBack
|
useSetOnBack
|
||||||
} from '@/widgets/sub-layout/use-sub-layout';
|
} 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 { 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 = () => {
|
export const AccountHolderSearchRequestPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -12,13 +12,14 @@ import {
|
|||||||
import { PATHS } from '@/shared/constants/paths';
|
import { PATHS } from '@/shared/constants/paths';
|
||||||
import { useExtensionKeyinDownloadExcelMutation } from '@/entities/additional-service/api/use-extension-keyin-download-excel-mutation';
|
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 { 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 { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||||
import { useExtensionKeyinListMutation } from '@/entities/additional-service/api/use-extension-keyin-list-mutation';
|
import { useExtensionKeyinListMutation } from '@/entities/additional-service/api/use-extension-keyin-list-mutation';
|
||||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||||
import { KeyInPaymentList } from '@/entities/additional-service/ui/key-in-payment/key-in-payment-list';
|
import { KeyInPaymentList } from '@/entities/additional-service/ui/key-in-payment/key-in-payment-list';
|
||||||
import { useStore } from '@/shared/model/store';
|
import { useStore } from '@/shared/model/store';
|
||||||
|
import { KeyInPaymentListItem, KeyInPaymentTransactionStatus } from '@/entities/additional-service/model/key-in/types';
|
||||||
|
|
||||||
// contant로 옮기기
|
// contant로 옮기기
|
||||||
const requestStatusBtnGroup = [
|
const requestStatusBtnGroup = [
|
||||||
|
|||||||
@@ -4,9 +4,8 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
|||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import { IMAGE_ROOT } from "@/shared/constants/common";
|
import { IMAGE_ROOT } from "@/shared/constants/common";
|
||||||
import { PATHS } from '@/shared/constants/paths';
|
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 { 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 = () => {
|
export const LinkPaymentApplyConfirmPage = () => {
|
||||||
const { navigate } = useNavigate();
|
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 {useSetFooterMode, useSetHeaderTitle, useSetHeaderType} from '@/widgets/sub-layout/use-sub-layout';
|
||||||
import {useNavigate} from '@/shared/lib/hooks/use-navigate';
|
import {useNavigate} from '@/shared/lib/hooks/use-navigate';
|
||||||
import {PATHS} from "@/shared/constants/paths";
|
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 { overlay } from 'overlay-kit';
|
||||||
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
||||||
import { useExtensionLinkPayHistoryDetailMutation } from '@/entities/additional-service/api/link-payment/use-extension-link-pay-history-detail-mutation';
|
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 { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
||||||
import { PaymentInfoWrap } from '@/entities/additional-service/ui/info-wrap/payment-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 { 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 { 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 = () => {
|
export const LinkPaymentDetailPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
|||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||||
import { HeaderType } from '@/entities/common/model/types';
|
import { HeaderType } from '@/entities/common/model/types';
|
||||||
import { LinkPaymentTab } from '@/entities/additional-service/ui/link-payment/link-payment-tab';
|
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 { LinkPaymentHistoryWrap } from '../../../entities/additional-service/ui/link-payment/link-payment-history-wrap';
|
||||||
import {
|
import {
|
||||||
useSetHeaderTitle,
|
useSetHeaderTitle,
|
||||||
@@ -12,6 +11,7 @@ import {
|
|||||||
useSetFooterMode,
|
useSetFooterMode,
|
||||||
useSetOnBack
|
useSetOnBack
|
||||||
} from '@/widgets/sub-layout/use-sub-layout';
|
} 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 { overlay } from 'overlay-kit';
|
||||||
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
import { Dialog } from '@/shared/ui/dialogs/dialog';
|
||||||
import { TitleInfoWrap } from '@/entities/additional-service/ui/info-wrap/title-info-wrap';
|
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 { 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 { 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 { 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 = () => {
|
export const LinkPaymentWaitDetailPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
|||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||||
import { HeaderType } from '@/entities/common/model/types';
|
import { HeaderType } from '@/entities/common/model/types';
|
||||||
import { LinkPaymentTab } from '@/entities/additional-service/ui/link-payment/link-payment-tab';
|
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 { LinkPaymentWaitSendWrap } from '../../../entities/additional-service/ui/link-payment/link-payment-wait-send-wrap';
|
||||||
import {
|
import {
|
||||||
useSetHeaderTitle,
|
useSetHeaderTitle,
|
||||||
@@ -12,6 +11,7 @@ import {
|
|||||||
useSetFooterMode,
|
useSetFooterMode,
|
||||||
useSetOnBack
|
useSetOnBack
|
||||||
} from '@/widgets/sub-layout/use-sub-layout';
|
} from '@/widgets/sub-layout/use-sub-layout';
|
||||||
|
import { LinkPaymentTabKeys } from '@/entities/additional-service/model/link-pay/types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 발송대기 탭 화면
|
* 발송대기 탭 화면
|
||||||
|
|||||||
Reference in New Issue
Block a user