@carsayo/types 1.1.892079 → 1.1.892081
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/data/bankcode.d.ts +0 -167
- package/dist/data/bankcode.js +0 -66
- package/dist/data/board.d.ts +0 -74
- package/dist/data/board.js +0 -56
- package/dist/data/car.d.ts +0 -822
- package/dist/data/car.js +0 -895
- package/dist/data/carOptionRelationCategory.d.ts +0 -20
- package/dist/data/carOptionRelationCategory.js +0 -28
- package/dist/data/carPopularCategory.d.ts +0 -20
- package/dist/data/carPopularCategory.js +0 -28
- package/dist/data/collaborator.d.ts +0 -9
- package/dist/data/collaborator.js +0 -18
- package/dist/data/index.d.ts +0 -11
- package/dist/data/index.js +0 -27
- package/dist/data/purchase.d.ts +0 -18
- package/dist/data/purchase.js +0 -25
- package/dist/data/region.d.ts +0 -1226
- package/dist/data/region.js +0 -267
- package/dist/data/role.d.ts +0 -121
- package/dist/data/role.js +0 -150
- package/dist/data/sell_car.d.ts +0 -57
- package/dist/data/sell_car.js +0 -71
- package/dist/data/system.d.ts +0 -19
- package/dist/data/system.js +0 -28
- package/dist/data/term.d.ts +0 -349
- package/dist/data/term.js +0 -395
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -18
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -18
- package/dist/types/modules/accidentReport/dto.d.ts +0 -73
- package/dist/types/modules/accidentReport/dto.js +0 -2
- package/dist/types/modules/accidentReport/index.d.ts +0 -3
- package/dist/types/modules/accidentReport/index.js +0 -19
- package/dist/types/modules/accidentReport/interface.d.ts +0 -309
- package/dist/types/modules/accidentReport/interface.js +0 -2
- package/dist/types/modules/accidentReport/type.d.ts +0 -36
- package/dist/types/modules/accidentReport/type.js +0 -35
- package/dist/types/modules/board/dto.d.ts +0 -189
- package/dist/types/modules/board/dto.js +0 -3
- package/dist/types/modules/board/index.d.ts +0 -3
- package/dist/types/modules/board/index.js +0 -19
- package/dist/types/modules/board/interface.d.ts +0 -233
- package/dist/types/modules/board/interface.js +0 -2
- package/dist/types/modules/board/type.d.ts +0 -30
- package/dist/types/modules/board/type.js +0 -8
- package/dist/types/modules/car/dto.d.ts +0 -404
- package/dist/types/modules/car/dto.js +0 -15
- package/dist/types/modules/car/index.d.ts +0 -3
- package/dist/types/modules/car/index.js +0 -19
- package/dist/types/modules/car/interface.d.ts +0 -594
- package/dist/types/modules/car/interface.js +0 -2
- package/dist/types/modules/car/type.d.ts +0 -11
- package/dist/types/modules/car/type.js +0 -13
- package/dist/types/modules/chat/constants.d.ts +0 -2
- package/dist/types/modules/chat/constants.js +0 -5
- package/dist/types/modules/chat/dto.d.ts +0 -4
- package/dist/types/modules/chat/dto.js +0 -2
- package/dist/types/modules/chat/index.d.ts +0 -6
- package/dist/types/modules/chat/index.js +0 -22
- package/dist/types/modules/chat/type.d.ts +0 -117
- package/dist/types/modules/chat/type.js +0 -17
- package/dist/types/modules/chat/type.opponent.additionalInfo.d.ts +0 -7
- package/dist/types/modules/chat/type.opponent.additionalInfo.js +0 -2
- package/dist/types/modules/chat/type.room.additionalInfo.d.ts +0 -52
- package/dist/types/modules/chat/type.room.additionalInfo.js +0 -2
- package/dist/types/modules/chat/type.socket.d.ts +0 -46
- package/dist/types/modules/chat/type.socket.js +0 -2
- package/dist/types/modules/collaborator/dto.d.ts +0 -10
- package/dist/types/modules/collaborator/dto.js +0 -3
- package/dist/types/modules/collaborator/index.d.ts +0 -1
- package/dist/types/modules/collaborator/index.js +0 -17
- package/dist/types/modules/common/enum.d.ts +0 -65
- package/dist/types/modules/common/enum.js +0 -69
- package/dist/types/modules/common/index.d.ts +0 -3
- package/dist/types/modules/common/index.js +0 -19
- package/dist/types/modules/common/interface.d.ts +0 -40
- package/dist/types/modules/common/interface.js +0 -2
- package/dist/types/modules/common/type.d.ts +0 -14
- package/dist/types/modules/common/type.js +0 -13
- package/dist/types/modules/data/dto.d.ts +0 -4
- package/dist/types/modules/data/dto.js +0 -7
- package/dist/types/modules/data/index.d.ts +0 -2
- package/dist/types/modules/data/index.js +0 -18
- package/dist/types/modules/data/interface.d.ts +0 -6
- package/dist/types/modules/data/interface.js +0 -2
- package/dist/types/modules/file/dto.d.ts +0 -18
- package/dist/types/modules/file/dto.js +0 -3
- package/dist/types/modules/file/index.d.ts +0 -3
- package/dist/types/modules/file/index.js +0 -19
- package/dist/types/modules/file/interface.d.ts +0 -26
- package/dist/types/modules/file/interface.js +0 -2
- package/dist/types/modules/file/type.d.ts +0 -13
- package/dist/types/modules/file/type.js +0 -15
- package/dist/types/modules/history/dto.d.ts +0 -13
- package/dist/types/modules/history/dto.js +0 -3
- package/dist/types/modules/history/index.d.ts +0 -2
- package/dist/types/modules/history/index.js +0 -18
- package/dist/types/modules/history/interface.d.ts +0 -12
- package/dist/types/modules/history/interface.js +0 -2
- package/dist/types/modules/index.d.ts +0 -20
- package/dist/types/modules/index.js +0 -36
- package/dist/types/modules/inquiry/dto.d.ts +0 -79
- package/dist/types/modules/inquiry/dto.js +0 -2
- package/dist/types/modules/inquiry/index.d.ts +0 -3
- package/dist/types/modules/inquiry/index.js +0 -19
- package/dist/types/modules/inquiry/interface.d.ts +0 -37
- package/dist/types/modules/inquiry/interface.js +0 -2
- package/dist/types/modules/inquiry/type.d.ts +0 -14
- package/dist/types/modules/inquiry/type.js +0 -15
- package/dist/types/modules/insurance/dto.d.ts +0 -88
- package/dist/types/modules/insurance/dto.js +0 -3
- package/dist/types/modules/insurance/index.d.ts +0 -2
- package/dist/types/modules/insurance/index.js +0 -18
- package/dist/types/modules/insurance/interface.d.ts +0 -58
- package/dist/types/modules/insurance/interface.js +0 -2
- package/dist/types/modules/member/dto.d.ts +0 -677
- package/dist/types/modules/member/dto.js +0 -3
- package/dist/types/modules/member/index.d.ts +0 -3
- package/dist/types/modules/member/index.js +0 -19
- package/dist/types/modules/member/interface.d.ts +0 -696
- package/dist/types/modules/member/interface.js +0 -2
- package/dist/types/modules/member/type.d.ts +0 -92
- package/dist/types/modules/member/type.js +0 -86
- package/dist/types/modules/message/dto.d.ts +0 -15
- package/dist/types/modules/message/dto.js +0 -2
- package/dist/types/modules/message/index.d.ts +0 -3
- package/dist/types/modules/message/index.js +0 -19
- package/dist/types/modules/message/interface.d.ts +0 -20
- package/dist/types/modules/message/interface.js +0 -2
- package/dist/types/modules/message/type.d.ts +0 -22
- package/dist/types/modules/message/type.js +0 -22
- package/dist/types/modules/notification/dto.d.ts +0 -13
- package/dist/types/modules/notification/dto.js +0 -3
- package/dist/types/modules/notification/index.d.ts +0 -3
- package/dist/types/modules/notification/index.js +0 -19
- package/dist/types/modules/notification/interface.d.ts +0 -19
- package/dist/types/modules/notification/interface.js +0 -2
- package/dist/types/modules/notification/type.d.ts +0 -5
- package/dist/types/modules/notification/type.js +0 -7
- package/dist/types/modules/order/dto.d.ts +0 -446
- package/dist/types/modules/order/dto.js +0 -16
- package/dist/types/modules/order/index.d.ts +0 -3
- package/dist/types/modules/order/index.js +0 -19
- package/dist/types/modules/order/interface.d.ts +0 -913
- package/dist/types/modules/order/interface.js +0 -2
- package/dist/types/modules/order/type.d.ts +0 -160
- package/dist/types/modules/order/type.js +0 -147
- package/dist/types/modules/partners/dto.d.ts +0 -37
- package/dist/types/modules/partners/dto.js +0 -11
- package/dist/types/modules/partners/index.d.ts +0 -3
- package/dist/types/modules/partners/index.js +0 -19
- package/dist/types/modules/partners/interface.d.ts +0 -40
- package/dist/types/modules/partners/interface.js +0 -2
- package/dist/types/modules/partners/type.d.ts +0 -12
- package/dist/types/modules/partners/type.js +0 -13
- package/dist/types/modules/purchase/dto.d.ts +0 -9
- package/dist/types/modules/purchase/dto.js +0 -3
- package/dist/types/modules/purchase/index.d.ts +0 -2
- package/dist/types/modules/purchase/index.js +0 -18
- package/dist/types/modules/purchase/interface.d.ts +0 -22
- package/dist/types/modules/purchase/interface.js +0 -2
- package/dist/types/modules/purchase/type.d.ts +0 -11
- package/dist/types/modules/purchase/type.js +0 -13
- package/dist/types/modules/repair/constant.d.ts +0 -28
- package/dist/types/modules/repair/constant.js +0 -139
- package/dist/types/modules/repair/constants.d.ts +0 -23
- package/dist/types/modules/repair/constants.js +0 -52
- package/dist/types/modules/repair/dto.d.ts +0 -96
- package/dist/types/modules/repair/dto.js +0 -2
- package/dist/types/modules/repair/index.d.ts +0 -4
- package/dist/types/modules/repair/index.js +0 -20
- package/dist/types/modules/repair/interface.d.ts +0 -659
- package/dist/types/modules/repair/interface.js +0 -2
- package/dist/types/modules/repair/type.d.ts +0 -64
- package/dist/types/modules/repair/type.js +0 -71
- package/dist/types/modules/sellMyCar/constant.d.ts +0 -54
- package/dist/types/modules/sellMyCar/constant.js +0 -117
- package/dist/types/modules/sellMyCar/dto-admin.d.ts +0 -258
- package/dist/types/modules/sellMyCar/dto-admin.js +0 -2
- package/dist/types/modules/sellMyCar/dto.d.ts +0 -186
- package/dist/types/modules/sellMyCar/dto.js +0 -15
- package/dist/types/modules/sellMyCar/index.d.ts +0 -9
- package/dist/types/modules/sellMyCar/index.js +0 -25
- package/dist/types/modules/sellMyCar/interface-admin.d.ts +0 -85
- package/dist/types/modules/sellMyCar/interface-admin.js +0 -23
- package/dist/types/modules/sellMyCar/interface-faq.d.ts +0 -52
- package/dist/types/modules/sellMyCar/interface-faq.js +0 -22
- package/dist/types/modules/sellMyCar/interface-member.d.ts +0 -252
- package/dist/types/modules/sellMyCar/interface-member.js +0 -16
- package/dist/types/modules/sellMyCar/interface-notice.d.ts +0 -28
- package/dist/types/modules/sellMyCar/interface-notice.js +0 -2
- package/dist/types/modules/sellMyCar/interface.d.ts +0 -1075
- package/dist/types/modules/sellMyCar/interface.js +0 -7
- package/dist/types/modules/sellMyCar/type.d.ts +0 -203
- package/dist/types/modules/sellMyCar/type.js +0 -199
- package/dist/types/modules/system/dto.d.ts +0 -13
- package/dist/types/modules/system/dto.js +0 -3
- package/dist/types/modules/system/index.d.ts +0 -2
- package/dist/types/modules/system/index.js +0 -18
- package/dist/types/modules/system/interface.d.ts +0 -18
- package/dist/types/modules/system/interface.js +0 -2
- package/dist/types/modules/term/dto.d.ts +0 -171
- package/dist/types/modules/term/dto.js +0 -3
- package/dist/types/modules/term/index.d.ts +0 -3
- package/dist/types/modules/term/index.js +0 -19
- package/dist/types/modules/term/interface.d.ts +0 -52
- package/dist/types/modules/term/interface.js +0 -2
- package/dist/types/modules/term/type.d.ts +0 -11
- package/dist/types/modules/term/type.js +0 -13
- package/dist/types/providers/coocon-usedcar/constant.d.ts +0 -46
- package/dist/types/providers/coocon-usedcar/constant.js +0 -673
- package/dist/types/providers/coocon-usedcar/constants.d.ts +0 -46
- package/dist/types/providers/coocon-usedcar/constants.js +0 -673
- package/dist/types/providers/coocon-usedcar/dto.d.ts +0 -23
- package/dist/types/providers/coocon-usedcar/dto.js +0 -3
- package/dist/types/providers/coocon-usedcar/index.d.ts +0 -3
- package/dist/types/providers/coocon-usedcar/index.js +0 -19
- package/dist/types/providers/coocon-usedcar/interface.d.ts +0 -305
- package/dist/types/providers/coocon-usedcar/interface.js +0 -2
- package/dist/types/providers/firebase-message/dto.d.ts +0 -56
- package/dist/types/providers/firebase-message/dto.js +0 -3
- package/dist/types/providers/firebase-message/index.d.ts +0 -2
- package/dist/types/providers/firebase-message/index.js +0 -18
- package/dist/types/providers/firebase-message/interface.d.ts +0 -4
- package/dist/types/providers/firebase-message/interface.js +0 -2
- package/dist/types/providers/gabia-sms/dto.d.ts +0 -31
- package/dist/types/providers/gabia-sms/dto.js +0 -3
- package/dist/types/providers/gabia-sms/index.d.ts +0 -1
- package/dist/types/providers/gabia-sms/index.js +0 -17
- package/dist/types/providers/index.d.ts +0 -5
- package/dist/types/providers/index.js +0 -21
- package/dist/types/providers/niceapi/dto.d.ts +0 -15
- package/dist/types/providers/niceapi/dto.js +0 -3
- package/dist/types/providers/niceapi/index.d.ts +0 -2
- package/dist/types/providers/niceapi/index.js +0 -18
- package/dist/types/providers/niceapi/interface.d.ts +0 -25
- package/dist/types/providers/niceapi/interface.js +0 -2
- package/dist/types/providers/nicepayment/dto.d.ts +0 -60
- package/dist/types/providers/nicepayment/dto.js +0 -9
- package/dist/types/providers/nicepayment/index.d.ts +0 -3
- package/dist/types/providers/nicepayment/index.js +0 -19
- package/dist/types/providers/nicepayment/interface.d.ts +0 -168
- package/dist/types/providers/nicepayment/interface.js +0 -2
- package/dist/types/providers/nicepayment/type.d.ts +0 -36
- package/dist/types/providers/nicepayment/type.js +0 -37
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { MemberShort } from "../../modules";
|
|
2
|
-
import { PaymentMethod, PaymentState } from "./type";
|
|
3
|
-
/**
|
|
4
|
-
* @interface NicepaymentInitData
|
|
5
|
-
* @description 나이스 결제 시스템을 위한 초기화 데이터 인터페이스입니다.
|
|
6
|
-
* @url https://developers.nicepay.co.kr/manual-auth.php
|
|
7
|
-
*/
|
|
8
|
-
export interface NicepaymentInitData {
|
|
9
|
-
/**
|
|
10
|
-
* @property {string} GoodsName - 결제상품명 (euc-kr).
|
|
11
|
-
*/
|
|
12
|
-
GoodsName: string;
|
|
13
|
-
/**
|
|
14
|
-
* @property {number} Amt - 금액 (숫자만 입력).
|
|
15
|
-
*/
|
|
16
|
-
Amt: number;
|
|
17
|
-
/**
|
|
18
|
-
* @property {string} MID - 상점아이디.
|
|
19
|
-
*/
|
|
20
|
-
MID: string;
|
|
21
|
-
/**
|
|
22
|
-
* @property {string} EdiDate - 요청 시간 (YYYYMMDDHHMISS).
|
|
23
|
-
*/
|
|
24
|
-
EdiDate: string;
|
|
25
|
-
/**
|
|
26
|
-
* @property {string} Moid - 상품주문번호.
|
|
27
|
-
*/
|
|
28
|
-
Moid: string;
|
|
29
|
-
/**
|
|
30
|
-
* @property {string} SignData - hex(sha256(EdiDate + MID + Amt + MerchantKey)), 위변조 검증 데이터.
|
|
31
|
-
*/
|
|
32
|
-
SignData: string;
|
|
33
|
-
/**
|
|
34
|
-
* @property {PaymentMethod} [PayMethod] - 상품 주문 방법 (""는 모두 다 넣는것).
|
|
35
|
-
*/
|
|
36
|
-
PayMethod?: PaymentMethod;
|
|
37
|
-
/**
|
|
38
|
-
* @property {string} ReturnURL - ReturnURL 요청 응답 URL (절대 경로).
|
|
39
|
-
*/
|
|
40
|
-
ReturnURL: string;
|
|
41
|
-
/**
|
|
42
|
-
* @property {string} [BuyerName] - 구매자명 (euc-kr).
|
|
43
|
-
*/
|
|
44
|
-
BuyerName?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @property {string} [BuyerTel] - 구매자연락처 (숫자만 입력).
|
|
47
|
-
*/
|
|
48
|
-
BuyerTel?: string;
|
|
49
|
-
/**
|
|
50
|
-
* @property {string} [BuyerEmail] - 구매자 메일주소.
|
|
51
|
-
*/
|
|
52
|
-
BuyerEmail?: string;
|
|
53
|
-
/**
|
|
54
|
-
* @property {string} [VbankExpDate] - 가상계좌 추가 파라미터 가상계좌입금만료일 (YYYYMMDDHHMM).
|
|
55
|
-
*/
|
|
56
|
-
VbankExpDate?: string;
|
|
57
|
-
/**
|
|
58
|
-
* @property {"utf-8"} CharSet - 문자셋 ("utf-8").
|
|
59
|
-
*/
|
|
60
|
-
CharSet: "utf-8";
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @interface NicePaymentInfo
|
|
64
|
-
* @description 나이스 결제 정보 인터페이스입니다.
|
|
65
|
-
*/
|
|
66
|
-
export interface NicePaymentInfo {
|
|
67
|
-
/**
|
|
68
|
-
* @property {string} id - 결제 고유 ID.
|
|
69
|
-
*/
|
|
70
|
-
id: string;
|
|
71
|
-
/**
|
|
72
|
-
* @property {string} name - 결제자 이름.
|
|
73
|
-
*/
|
|
74
|
-
name: string;
|
|
75
|
-
/**
|
|
76
|
-
* @property {number} amount - 결제 금액.
|
|
77
|
-
*/
|
|
78
|
-
amount: number;
|
|
79
|
-
/**
|
|
80
|
-
* @property {PaymentMethod} method - 결제 방법.
|
|
81
|
-
*/
|
|
82
|
-
method: PaymentMethod;
|
|
83
|
-
/**
|
|
84
|
-
* @property {PaymentState} status - 결제 상태.
|
|
85
|
-
*/
|
|
86
|
-
status: PaymentState;
|
|
87
|
-
/**
|
|
88
|
-
* @property {object} [card] - Method: CARD일 때 정의됩니다.
|
|
89
|
-
* @property {string} card.cardName - 카드 이름.
|
|
90
|
-
* @property {string} card.cardNumber - 카드 번호.
|
|
91
|
-
*/
|
|
92
|
-
card?: {
|
|
93
|
-
cardName: string;
|
|
94
|
-
cardNumber: string;
|
|
95
|
-
};
|
|
96
|
-
virtualBank?: PaymentVirtualBankInfo;
|
|
97
|
-
/**
|
|
98
|
-
* @property {object} [bank] - Method: BANK일 때 정의됩니다.
|
|
99
|
-
* @property {string} bank.bankName - 은행 이름.
|
|
100
|
-
*/
|
|
101
|
-
bank?: {
|
|
102
|
-
bankName: string;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* @property {Date} created_at - 생성 일자.
|
|
106
|
-
*/
|
|
107
|
-
created_at: Date;
|
|
108
|
-
/**
|
|
109
|
-
* @property {Date} updated_at - 수정 일자.
|
|
110
|
-
*/
|
|
111
|
-
updated_at: Date;
|
|
112
|
-
/**
|
|
113
|
-
* @property {Date | null} paid_at - 결제일.
|
|
114
|
-
*/
|
|
115
|
-
paid_at: Date | null;
|
|
116
|
-
/**
|
|
117
|
-
* @property {Date | null} stopped_at - 결제 도중 취소한 일자.
|
|
118
|
-
*/
|
|
119
|
-
stopped_at: Date | null;
|
|
120
|
-
/**
|
|
121
|
-
* @property {Date | null} canceled_at - 취소일자.
|
|
122
|
-
*/
|
|
123
|
-
canceled_at: Date | null;
|
|
124
|
-
}
|
|
125
|
-
export interface PaymentVirtualBankInfo {
|
|
126
|
-
bankName: string;
|
|
127
|
-
accountNumber: string;
|
|
128
|
-
/** YYYYMMDD */
|
|
129
|
-
expireDate: string;
|
|
130
|
-
/** hhmmss (UTC 0 기준입니다) */
|
|
131
|
-
expireTime: string;
|
|
132
|
-
}
|
|
133
|
-
/** 결제 리스트 검색 결과 */
|
|
134
|
-
export interface PaymentSearchList {
|
|
135
|
-
totalCount: number;
|
|
136
|
-
data: NicePaymentInfo[];
|
|
137
|
-
additionalInfo: {
|
|
138
|
-
/** 요청시 totalPrice: true일 경우 정의됩니다 */
|
|
139
|
-
totalPrice?: number;
|
|
140
|
-
/** 요청시 orderState: true일 경우 정의됩니다 */
|
|
141
|
-
paymentState?: PaymentSearchListStateCount;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
/** 결제 리스트 검색 결과 */
|
|
145
|
-
export interface Admin_PaymentSearchList {
|
|
146
|
-
totalCount: number;
|
|
147
|
-
data: (NicePaymentInfo & {
|
|
148
|
-
member: MemberShort;
|
|
149
|
-
})[];
|
|
150
|
-
additionalInfo: {
|
|
151
|
-
/** 요청시 totalPrice: true일 경우 정의됩니다 */
|
|
152
|
-
totalPrice?: number;
|
|
153
|
-
/** 요청시 orderState: true일 경우 정의됩니다 */
|
|
154
|
-
paymentState?: PaymentSearchListStateCount;
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
export interface PaymentSearchListStateCount {
|
|
158
|
-
/** [가상계좌 대기] */
|
|
159
|
-
virtualAccountWaiting: number;
|
|
160
|
-
/** [미사용] */
|
|
161
|
-
paid: number;
|
|
162
|
-
/** [결제 완료] */
|
|
163
|
-
used: number;
|
|
164
|
-
/** [결제 취소] */
|
|
165
|
-
canceled: number;
|
|
166
|
-
/** [취소 실패] */
|
|
167
|
-
cancelFailed: number;
|
|
168
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @init [주문 시작]
|
|
3
|
-
* @stopped [취소] (결제가 완료된 적 없음)
|
|
4
|
-
* @virtualAccountWaiting [가상계좌 대기] 가상계좌 입금 대기중
|
|
5
|
-
* @paid [미사용] 결제는 완료되었으나, 사용하지 않았습니다.
|
|
6
|
-
* @used [결제 완료] 결제가 완료되었으며 사용하였습니다.
|
|
7
|
-
* @canceled [결제 취소] 나이스 페이에 결제 취소 요청이 정상적으로 접수되었습니다.
|
|
8
|
-
* @cancelFailed [취소 실패] 결제 취소 요청 실패(가상계좌라던가, 결제 완료 후 오랜 기간이 지났다던지 등)
|
|
9
|
-
*/
|
|
10
|
-
export declare const PaymentState: {
|
|
11
|
-
readonly init: "init";
|
|
12
|
-
readonly stopped: "stopped";
|
|
13
|
-
readonly virtualAccountWaiting: "virtualAccountWaiting";
|
|
14
|
-
readonly paid: "paid";
|
|
15
|
-
readonly used: "used";
|
|
16
|
-
readonly canceled: "canceled";
|
|
17
|
-
readonly cancelFailed: "cancelFailed";
|
|
18
|
-
};
|
|
19
|
-
export type PaymentState = keyof typeof PaymentState;
|
|
20
|
-
/**
|
|
21
|
-
* @"" 모든 결제 방법이 포함
|
|
22
|
-
* @CARD 신용카드 결제
|
|
23
|
-
* @BANK 계좌이체
|
|
24
|
-
* @VBANK 가상계좌 결제
|
|
25
|
-
* @CELLPHONE 휴대전화 결제
|
|
26
|
-
* @CARD,BANK,VBANK 카드, 계좌이체, 가상계좌 결제
|
|
27
|
-
*/
|
|
28
|
-
export declare const PaymentMethod: {
|
|
29
|
-
readonly CARD: "CARD";
|
|
30
|
-
readonly BANK: "BANK";
|
|
31
|
-
readonly VBANK: "VBANK";
|
|
32
|
-
readonly CELLPHONE: "CELLPHONE";
|
|
33
|
-
readonly "CARD,BANK,VBANK": "CARD,BANK,VBANK";
|
|
34
|
-
readonly "": "";
|
|
35
|
-
};
|
|
36
|
-
export type PaymentMethod = keyof typeof PaymentMethod;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentMethod = exports.PaymentState = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @init [주문 시작]
|
|
6
|
-
* @stopped [취소] (결제가 완료된 적 없음)
|
|
7
|
-
* @virtualAccountWaiting [가상계좌 대기] 가상계좌 입금 대기중
|
|
8
|
-
* @paid [미사용] 결제는 완료되었으나, 사용하지 않았습니다.
|
|
9
|
-
* @used [결제 완료] 결제가 완료되었으며 사용하였습니다.
|
|
10
|
-
* @canceled [결제 취소] 나이스 페이에 결제 취소 요청이 정상적으로 접수되었습니다.
|
|
11
|
-
* @cancelFailed [취소 실패] 결제 취소 요청 실패(가상계좌라던가, 결제 완료 후 오랜 기간이 지났다던지 등)
|
|
12
|
-
*/
|
|
13
|
-
exports.PaymentState = {
|
|
14
|
-
init: "init",
|
|
15
|
-
stopped: "stopped",
|
|
16
|
-
virtualAccountWaiting: "virtualAccountWaiting",
|
|
17
|
-
paid: "paid",
|
|
18
|
-
used: "used",
|
|
19
|
-
canceled: "canceled",
|
|
20
|
-
cancelFailed: "cancelFailed",
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @"" 모든 결제 방법이 포함
|
|
24
|
-
* @CARD 신용카드 결제
|
|
25
|
-
* @BANK 계좌이체
|
|
26
|
-
* @VBANK 가상계좌 결제
|
|
27
|
-
* @CELLPHONE 휴대전화 결제
|
|
28
|
-
* @CARD,BANK,VBANK 카드, 계좌이체, 가상계좌 결제
|
|
29
|
-
*/
|
|
30
|
-
exports.PaymentMethod = {
|
|
31
|
-
CARD: "CARD",
|
|
32
|
-
BANK: "BANK",
|
|
33
|
-
VBANK: "VBANK",
|
|
34
|
-
CELLPHONE: "CELLPHONE",
|
|
35
|
-
"CARD,BANK,VBANK": "CARD,BANK,VBANK",
|
|
36
|
-
"": "",
|
|
37
|
-
};
|