- 부가서비스: KeyIn결제 목업 API 연결

This commit is contained in:
HyeonJongKim
2025-09-17 15:22:20 +09:00
parent 4f97767999
commit 67ded00a23
15 changed files with 229 additions and 334 deletions

View File

@@ -1,4 +1,4 @@
import { DefaulResponsePagination } from '@/entities/common/model/types';
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
export enum FundTransferTabKeys {
RequestList = 'RequestList',
@@ -31,8 +31,8 @@ export enum ProcessResult {
export enum KeyInPaymentTransactionStatus {
ALL = 'ALL',
APPROVE = 'APPROVE',
BF_CANCEL = 'BF_CANCEL',
AF_CANCEL = 'AF_CANCEL'
ALL_CANCEL = 'ALL_CANCEL',
AFTER_CANCEL = 'AFTER_CANCEL'
}
export enum AccountHolderSearchType {
ALL = 'ALL',
@@ -82,15 +82,9 @@ export enum AdditionalServiceCategory {
// 각 서비스별 개별 타입들
export interface KeyInPaymentListItem {
tid?: string;
mid?: string;
stateDate?: string;
stateCode?: string;
stateName?: string;
installmentMonth?: string;
serviceCode?: string;
serviceName?: string;
serviceDetailName?: string;
goodsAmount?: number;
paymentDate?: string;
paymentStatus?: string;
amount?: number;
}
export interface AccountHolderSearchListItem {
@@ -227,9 +221,10 @@ export interface ExtensionListResponse extends DefaulResponsePagination {
export interface ExtensionKeyinListParams extends ExtensionRequestParams {
fromDate: string;
toDate: string;
paymentStatus: string;
minAmount: number;
maxAmount: number;
paymentStatus: KeyInPaymentTransactionStatus;
minAmount?: number | string;
maxAmount?: number | string;
page?: DefaultRequestPagination;
};
export interface ExtensionKeyinListItemProps {
tid: string;
@@ -241,11 +236,11 @@ export interface ExtensionKeyinListResponse extends DefaulResponsePagination {
content: Array<ExtensionKeyinListItemProps>
};
export interface ExtensionKeyinDownloadExcelParams extends ExtensionRequestParams {
fromDate: string;
toDate: string;
paymentStatus: string;
minAmount: number;
maxAmount: number;
fromDate?: string;
toDate?: string;
paymentStatus?: string;
minAmount?: number | string;
maxAmount?: number | string;
};
export interface ExtensionKeyinDownloadExcelResponse {