- 안면인증 페이지 추가 (추후 목업으로 추가 작업 필요)
- 자금이체 : isFormValid(이체신청 Validation 추가[임시] 추가 작업 필요)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { ProcessResult } from "../types";
|
||||
|
||||
export const ResultStatusBtnGroup = [
|
||||
{ name: '전체', value: ProcessResult.ALL },
|
||||
{ name: '성공', value: ProcessResult.SUCCESS },
|
||||
{ name: '실패', value: ProcessResult.FAIL },
|
||||
];
|
||||
39
src/entities/additional-service/model/face-auth/types.ts
Normal file
39
src/entities/additional-service/model/face-auth/types.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
// ========================================
|
||||
// 안면인증 관련 타입들
|
||||
// ========================================
|
||||
|
||||
import { FilterProps, ListItemProps, ProcessResult } from "../types";
|
||||
|
||||
export enum FaceAuthTransactionType {
|
||||
ALL = "ALL",
|
||||
AUTH = "AUTH",
|
||||
REGISTER = "REGISTER"
|
||||
}
|
||||
|
||||
export interface FaceAuthListItem {
|
||||
tid?: string;
|
||||
requestDate?: string;
|
||||
resultStatus?: string;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface FaceAuthListProps {
|
||||
listItems: Record<string, Array<ListItemProps>>;
|
||||
mid: string;
|
||||
}
|
||||
|
||||
export interface FaceAuthFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
memberId: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
transactionType: FaceAuthTransactionType;
|
||||
processResult: ProcessResult;
|
||||
setMid: (mid: string) => void;
|
||||
setMemberId: (memberId: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setTransactionType: (transactionType: FaceAuthTransactionType) => void;
|
||||
setProcessResult: (processResult: ProcessResult) => void;
|
||||
}
|
||||
@@ -5,6 +5,7 @@ import { ArsListContent } from './ars/types';
|
||||
import { AlimtalkListContent } from './alimtalk/types';
|
||||
import { SmsPaymentListItem } from './sms-payment/types';
|
||||
import type { ExtensionSmsDetailResponse } from './sms-payment/types';
|
||||
import { FaceAuthListItem } from './face-auth/types';
|
||||
|
||||
// ========================================
|
||||
// 공통 Enums 및 타입들
|
||||
@@ -30,6 +31,7 @@ export enum AdditionalServiceCategory {
|
||||
Payout = 'Payout',
|
||||
Ars = 'Ars',
|
||||
Alimtalk = 'Alimtalk',
|
||||
FaceAuth = 'FaceAuth'
|
||||
}
|
||||
|
||||
// ========================================
|
||||
@@ -387,7 +389,7 @@ export interface ListItemProps extends
|
||||
LinkPaymentWaitListItem, SmsPaymentListItem,
|
||||
PayoutContent, FundAccountTransferContentItem,
|
||||
FundAccountResultContentItem,
|
||||
ArsListContent, AlimtalkListContent {
|
||||
ArsListContent, AlimtalkListContent, FaceAuthListItem {
|
||||
additionalServiceCategory?: AdditionalServiceCategory;
|
||||
mid?: string;
|
||||
onResendClick?: (mid: string, tid: string) => void;
|
||||
|
||||
Reference in New Issue
Block a user