@yolo-croket-dev/entity-v2 0.2.124-jun.19 → 0.2.124-jun.2
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/bundle-purchased-info/bundle-purchased-info.entity.d.ts +0 -2
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/package.json +1 -1
- package/purchase-receipt/purchase-receipt.entity.d.ts +1 -3
- package/purchased-info/purchased-info-for-seller.entity.d.ts +1 -1
- package/purchased-info/purchased-info.entity.d.ts +0 -73
- package/purchased-info/purchased-info.entity.js +1 -39
- package/purchased-info-log/purchased-info-log.entity.d.ts +1 -5
- package/purchased-info-log/purchased-info-log.entity.js +0 -4
- package/user/user-card-billing.entity.d.ts +0 -2
- package/nicepay-billing-log/index.d.ts +0 -1
- package/nicepay-billing-log/index.js +0 -17
- package/nicepay-billing-log/nicepay-billing-log.entity.d.ts +0 -106
- package/nicepay-billing-log/nicepay-billing-log.entity.js +0 -15
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
import { PInfoTypeEnum } from '../purchased-info/purchased-info.entity';
|
|
3
2
|
export interface PInfoOfBundle {
|
|
4
3
|
PInfoId: Types.ObjectId;
|
|
5
4
|
publicId: string;
|
|
@@ -10,7 +9,6 @@ export interface PInfoOfBundle {
|
|
|
10
9
|
/** 해당 데이터는 계속 변동 될 수 있음 */
|
|
11
10
|
process: string;
|
|
12
11
|
process_v2?: string;
|
|
13
|
-
pInfoType?: PInfoTypeEnum;
|
|
14
12
|
}
|
|
15
13
|
export interface PastIsPrepay {
|
|
16
14
|
PInfoId: Types.ObjectId;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -75,4 +75,3 @@ __exportStar(require("./cart-third-push-log"), exports);
|
|
|
75
75
|
__exportStar(require("./store-item-naver-feed"), exports);
|
|
76
76
|
__exportStar(require("./brand.modules/naver-brand-dictionary"), exports);
|
|
77
77
|
__exportStar(require("./buyma-item.modules"), exports);
|
|
78
|
-
__exportStar(require("./nicepay-billing-log"), exports);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
import { PurchasedProcessV2Enum
|
|
2
|
+
import { PurchasedProcessV2Enum } from '../purchased-info';
|
|
3
3
|
export interface PurchaseReceiptPurchasedInfo {
|
|
4
4
|
/** @description 결제 아이디 */
|
|
5
5
|
PInfoId: Types.ObjectId | string;
|
|
@@ -7,8 +7,6 @@ export interface PurchaseReceiptPurchasedInfo {
|
|
|
7
7
|
sellerId: Types.ObjectId | string;
|
|
8
8
|
/** @description 프로세스 */
|
|
9
9
|
process: PurchasedProcessV2Enum;
|
|
10
|
-
/** @description 예약 취소 타입 */
|
|
11
|
-
cancelType?: ReservationCancelTypeEnum;
|
|
12
10
|
}
|
|
13
11
|
export interface PurchaseReceiptReceiveInfo {
|
|
14
12
|
/** @description 수령인 이름 */
|
|
@@ -10,7 +10,7 @@ export default interface PurchasedInfoForSeller {
|
|
|
10
10
|
}
|
|
11
11
|
export type RefundInfoPickedForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
|
|
12
12
|
export type UserInfoPickedForSeller = Pick<UserEntity, '_id' | 'username' | 'phoneCountry' | 'phoneNumber' | 'photos' | 'subContactList'>;
|
|
13
|
-
export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo' | 'lastPartialRefundProcess' | 'lastPartialRefundId' | 'waitingReceiveInfo' | 'cancelledDate' | 'process_v2' | 'isPOptionChanged'
|
|
13
|
+
export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo' | 'lastPartialRefundProcess' | 'lastPartialRefundId' | 'waitingReceiveInfo' | 'cancelledDate' | 'process_v2' | 'isPOptionChanged'>;
|
|
14
14
|
export type PurchasedInfoForSellerDetail = {
|
|
15
15
|
pInfo: PInfoPickedForSeller;
|
|
16
16
|
buyerUserInfo: UserInfoPickedForSeller;
|
|
@@ -1,44 +1,8 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
2
|
import { SelectionFrameDataTypeEnum } from '@yolo-croket-dev/entity/src/selection-frame-data';
|
|
3
3
|
import { SettleVersionEnum } from '@yolo-croket-dev/entity/src/settle';
|
|
4
|
-
import { PayTryLogPastReservationInfo } from '@yolo-croket-dev/entity/src/pay-try-log/pay-try-log.entity';
|
|
5
|
-
import { NicepayBillingApproveResponse } from '../nicepay-billing-log/nicepay-billing-log.entity';
|
|
6
4
|
import { PartialRefundProcessEnum } from '../partial-refund';
|
|
7
5
|
import { PurchasedInfoTosspaymentsRefund } from './purchased-info.entity/p-info-tosspayments-refund.vo';
|
|
8
|
-
export declare enum CardQuotaEnum {
|
|
9
|
-
일시불 = "00",
|
|
10
|
-
'1개월' = "01",
|
|
11
|
-
'2개월' = "02",
|
|
12
|
-
'3개월' = "03",
|
|
13
|
-
'4개월' = "04",
|
|
14
|
-
'5개월' = "05",
|
|
15
|
-
'6개월' = "06",
|
|
16
|
-
'7개월' = "07",
|
|
17
|
-
'8개월' = "08",
|
|
18
|
-
'9개월' = "09",
|
|
19
|
-
'10개월' = "10",
|
|
20
|
-
'11개월' = "11",
|
|
21
|
-
'12개월' = "12"
|
|
22
|
-
}
|
|
23
|
-
export declare enum ReservationCancelTypeEnum {
|
|
24
|
-
/** 예약 매칭 실패로 취소됨 */
|
|
25
|
-
reserveMatchFailed = "reserveMatchFailed",
|
|
26
|
-
/** 예약 취소 요청으로 취소됨 */
|
|
27
|
-
reserveCancelAsk = "reserveCancelAsk"
|
|
28
|
-
}
|
|
29
|
-
export declare enum ReservationCancelReasonEnum {
|
|
30
|
-
/** 유저 직접 취소 */
|
|
31
|
-
cancelByUser = "cancelByUser",
|
|
32
|
-
/** 재고 부족으로 매칭 실패 (관리자 선택) */
|
|
33
|
-
matchingFailedStockByAdmin = "matchingFailedStockByAdmin",
|
|
34
|
-
/** 결제 실패로 매칭 실패 (관리자 선택) */
|
|
35
|
-
matchingFailedPaymentByAdmin = "matchingFailedPaymentByAdmin"
|
|
36
|
-
}
|
|
37
|
-
export declare enum PInfoTypeEnum {
|
|
38
|
-
normal = "normal",
|
|
39
|
-
card = "card",
|
|
40
|
-
reservation = "reservation"
|
|
41
|
-
}
|
|
42
6
|
export declare enum POptionTypeEnum {
|
|
43
7
|
single = "single",
|
|
44
8
|
group = "group"
|
|
@@ -893,43 +857,6 @@ export default interface PurchasedInfoEntity {
|
|
|
893
857
|
};
|
|
894
858
|
/** @description 어트리뷰션 히스토리 아이디 */
|
|
895
859
|
attributionHistoryId?: Types.ObjectId | string;
|
|
896
|
-
pInfoType?: PInfoTypeEnum;
|
|
897
|
-
reservationInfo?: PurchasedReservationInfo;
|
|
898
|
-
}
|
|
899
|
-
export interface PurchasedReservationInfo {
|
|
900
|
-
/** 결제 여부 */
|
|
901
|
-
isPaid: boolean;
|
|
902
|
-
/** 예약 순서 */
|
|
903
|
-
reservationOrder: number;
|
|
904
|
-
/** 당시 상품 정보의 예약 정보 */
|
|
905
|
-
pastReservationInfo: PayTryLogPastReservationInfo;
|
|
906
|
-
/** 예약 일시 */
|
|
907
|
-
reservedDate: Date;
|
|
908
|
-
/** 결제 확정 일시 (빌링키 결제 성공 시점) */
|
|
909
|
-
paymentConfirmedDate?: Date;
|
|
910
|
-
/** 예약 취소일시 */
|
|
911
|
-
cancelledDate?: Date;
|
|
912
|
-
/** 예약 취소 타입 */
|
|
913
|
-
cancelType?: ReservationCancelTypeEnum;
|
|
914
|
-
/** 예약 취소 사유 (cancelled 상태일 때 상세 구분용) */
|
|
915
|
-
cancelReason?: ReservationCancelReasonEnum;
|
|
916
|
-
/** 결제에 사용된 빌링 데이터 ID */
|
|
917
|
-
userCardBillingId: Types.ObjectId;
|
|
918
|
-
/** 1차 결제 실패 일시 (재시도 기한 계산 기준) */
|
|
919
|
-
firstPaymentFailedDate?: Date;
|
|
920
|
-
/** 재시도 기한 만료일 (firstPaymentFailedDate + 24h) */
|
|
921
|
-
retryDeadline?: Date;
|
|
922
|
-
/** 결제 실패 이력 */
|
|
923
|
-
paymentFailureLogs?: ReservationPaymentFailureLog[];
|
|
924
|
-
/** 카드 할부 개월 수 */
|
|
925
|
-
cardQuota: CardQuotaEnum;
|
|
926
|
-
/** 결제 승인 성공 응답 */
|
|
927
|
-
approveSuccessResponse?: NicepayBillingApproveResponse;
|
|
928
|
-
}
|
|
929
|
-
export interface ReservationPaymentFailureLog {
|
|
930
|
-
reason: string;
|
|
931
|
-
failedDate: Date;
|
|
932
|
-
userCardBillingId: Types.ObjectId;
|
|
933
860
|
}
|
|
934
861
|
export interface PurchasedInfoPastStoreInfo {
|
|
935
862
|
storeTitle: string;
|
|
@@ -1,44 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InsuranceProcessTypeEnum = exports.PastSelectionFrameDataInfo = exports.PurchasedProcessV2Enum = exports.PurchasedProcessEnum = exports.UserTypeEnum = exports.TaxInvoiceIssueProcessEnum = exports.POptionTypeEnum =
|
|
4
|
-
var CardQuotaEnum;
|
|
5
|
-
(function (CardQuotaEnum) {
|
|
6
|
-
CardQuotaEnum["\uC77C\uC2DC\uBD88"] = "00";
|
|
7
|
-
CardQuotaEnum["1\uAC1C\uC6D4"] = "01";
|
|
8
|
-
CardQuotaEnum["2\uAC1C\uC6D4"] = "02";
|
|
9
|
-
CardQuotaEnum["3\uAC1C\uC6D4"] = "03";
|
|
10
|
-
CardQuotaEnum["4\uAC1C\uC6D4"] = "04";
|
|
11
|
-
CardQuotaEnum["5\uAC1C\uC6D4"] = "05";
|
|
12
|
-
CardQuotaEnum["6\uAC1C\uC6D4"] = "06";
|
|
13
|
-
CardQuotaEnum["7\uAC1C\uC6D4"] = "07";
|
|
14
|
-
CardQuotaEnum["8\uAC1C\uC6D4"] = "08";
|
|
15
|
-
CardQuotaEnum["9\uAC1C\uC6D4"] = "09";
|
|
16
|
-
CardQuotaEnum["10\uAC1C\uC6D4"] = "10";
|
|
17
|
-
CardQuotaEnum["11\uAC1C\uC6D4"] = "11";
|
|
18
|
-
CardQuotaEnum["12\uAC1C\uC6D4"] = "12";
|
|
19
|
-
})(CardQuotaEnum || (exports.CardQuotaEnum = CardQuotaEnum = {}));
|
|
20
|
-
var ReservationCancelTypeEnum;
|
|
21
|
-
(function (ReservationCancelTypeEnum) {
|
|
22
|
-
/** 예약 매칭 실패로 취소됨 */
|
|
23
|
-
ReservationCancelTypeEnum["reserveMatchFailed"] = "reserveMatchFailed";
|
|
24
|
-
/** 예약 취소 요청으로 취소됨 */
|
|
25
|
-
ReservationCancelTypeEnum["reserveCancelAsk"] = "reserveCancelAsk";
|
|
26
|
-
})(ReservationCancelTypeEnum || (exports.ReservationCancelTypeEnum = ReservationCancelTypeEnum = {}));
|
|
27
|
-
var ReservationCancelReasonEnum;
|
|
28
|
-
(function (ReservationCancelReasonEnum) {
|
|
29
|
-
/** 유저 직접 취소 */
|
|
30
|
-
ReservationCancelReasonEnum["cancelByUser"] = "cancelByUser";
|
|
31
|
-
/** 재고 부족으로 매칭 실패 (관리자 선택) */
|
|
32
|
-
ReservationCancelReasonEnum["matchingFailedStockByAdmin"] = "matchingFailedStockByAdmin";
|
|
33
|
-
/** 결제 실패로 매칭 실패 (관리자 선택) */
|
|
34
|
-
ReservationCancelReasonEnum["matchingFailedPaymentByAdmin"] = "matchingFailedPaymentByAdmin";
|
|
35
|
-
})(ReservationCancelReasonEnum || (exports.ReservationCancelReasonEnum = ReservationCancelReasonEnum = {}));
|
|
36
|
-
var PInfoTypeEnum;
|
|
37
|
-
(function (PInfoTypeEnum) {
|
|
38
|
-
PInfoTypeEnum["normal"] = "normal";
|
|
39
|
-
PInfoTypeEnum["card"] = "card";
|
|
40
|
-
PInfoTypeEnum["reservation"] = "reservation";
|
|
41
|
-
})(PInfoTypeEnum || (exports.PInfoTypeEnum = PInfoTypeEnum = {}));
|
|
3
|
+
exports.InsuranceProcessTypeEnum = exports.PastSelectionFrameDataInfo = exports.PurchasedProcessV2Enum = exports.PurchasedProcessEnum = exports.UserTypeEnum = exports.TaxInvoiceIssueProcessEnum = exports.POptionTypeEnum = void 0;
|
|
42
4
|
var POptionTypeEnum;
|
|
43
5
|
(function (POptionTypeEnum) {
|
|
44
6
|
POptionTypeEnum["single"] = "single";
|
|
@@ -46,11 +46,7 @@ export declare enum PurchasedInfoLogTypeEnum {
|
|
|
46
46
|
/** 관리자 쿠폰 할인 가격 변경 */
|
|
47
47
|
MANAGE_EDIT_COUPON_DISCOUNT_PRICE = "MANAGE_EDIT_COUPON_DISCOUNT_PRICE",
|
|
48
48
|
/** 관리자 쿠폰 삭제 */
|
|
49
|
-
MANAGE_DELETE_COUPON_INFO = "MANAGE_DELETE_COUPON_INFO"
|
|
50
|
-
/** 구매자의 예약 취소 */
|
|
51
|
-
CANCEL_RESERVATION_BY_BUYER = "CANCEL_RESERVATION_BY_BUYER",
|
|
52
|
-
/** 관리자의 예약 취소 */
|
|
53
|
-
CANCEL_RESERVATION_BY_ADMIN = "CANCEL_RESERVATION_BY_ADMIN"
|
|
49
|
+
MANAGE_DELETE_COUPON_INFO = "MANAGE_DELETE_COUPON_INFO"
|
|
54
50
|
}
|
|
55
51
|
export declare enum PurchasedInfoLogVersionEnum {
|
|
56
52
|
V1 = 1,
|
|
@@ -59,10 +59,6 @@ var PurchasedInfoLogTypeEnum;
|
|
|
59
59
|
PurchasedInfoLogTypeEnum["MANAGE_EDIT_COUPON_DISCOUNT_PRICE"] = "MANAGE_EDIT_COUPON_DISCOUNT_PRICE";
|
|
60
60
|
/** 관리자 쿠폰 삭제 */
|
|
61
61
|
PurchasedInfoLogTypeEnum["MANAGE_DELETE_COUPON_INFO"] = "MANAGE_DELETE_COUPON_INFO";
|
|
62
|
-
/** 구매자의 예약 취소 */
|
|
63
|
-
PurchasedInfoLogTypeEnum["CANCEL_RESERVATION_BY_BUYER"] = "CANCEL_RESERVATION_BY_BUYER";
|
|
64
|
-
/** 관리자의 예약 취소 */
|
|
65
|
-
PurchasedInfoLogTypeEnum["CANCEL_RESERVATION_BY_ADMIN"] = "CANCEL_RESERVATION_BY_ADMIN";
|
|
66
62
|
})(PurchasedInfoLogTypeEnum || (exports.PurchasedInfoLogTypeEnum = PurchasedInfoLogTypeEnum = {}));
|
|
67
63
|
var PurchasedInfoLogVersionEnum;
|
|
68
64
|
(function (PurchasedInfoLogVersionEnum) {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './nicepay-billing-log.entity';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./nicepay-billing-log.entity"), exports);
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
2
|
-
/**
|
|
3
|
-
* @description 나이스페이 빌링 로그 종류
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
|
-
*/
|
|
7
|
-
export declare enum NicepayBillingLogTypeEnum {
|
|
8
|
-
/** 결제 승인 */
|
|
9
|
-
approve = "approve",
|
|
10
|
-
/** 결제 취소 */
|
|
11
|
-
cancel = "cancel"
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* NicePay 빌링 결제(승인) 응답 인터페이스
|
|
15
|
-
* @see https://developers.nicepay.co.kr/manual-card-billing.php
|
|
16
|
-
*/
|
|
17
|
-
export interface NicepayBillingApproveResponse {
|
|
18
|
-
/** 결과코드 (3001: 성공 / 그외 실패) */
|
|
19
|
-
ResultCode: string;
|
|
20
|
-
/** 결과 메시지 */
|
|
21
|
-
ResultMsg: string;
|
|
22
|
-
/** 거래 ID */
|
|
23
|
-
TID: string;
|
|
24
|
-
/** 주문번호 */
|
|
25
|
-
Moid: string;
|
|
26
|
-
/** 금액 (예: 1000원인 경우 -> 000000001000) */
|
|
27
|
-
Amt: string;
|
|
28
|
-
/** 승인번호 */
|
|
29
|
-
AuthCode?: string;
|
|
30
|
-
/** 승인일시 (YYMMDDHHMISS) */
|
|
31
|
-
AuthDate?: string;
|
|
32
|
-
/** 매입 카드사 코드 */
|
|
33
|
-
AcquCardCode?: string;
|
|
34
|
-
/** 매입 카드사명 */
|
|
35
|
-
AcquCardName?: string;
|
|
36
|
-
/** 카드번호 (일부 마스킹 처리, 예: 12345678****1234) */
|
|
37
|
-
CardNo?: string;
|
|
38
|
-
/** 카드사 코드 */
|
|
39
|
-
CardCode?: string;
|
|
40
|
-
/** 카드사명 */
|
|
41
|
-
CardName?: string;
|
|
42
|
-
/** 할부개월 */
|
|
43
|
-
CardQuota?: string;
|
|
44
|
-
/** 카드타입 (0: 신용카드, 1: 체크카드) */
|
|
45
|
-
CardCl?: string;
|
|
46
|
-
/** 부분취소 가능 여부 (0: 불가능, 1: 가능) */
|
|
47
|
-
CcPartCl?: string;
|
|
48
|
-
/** 무이자 여부 (0: 이자, 1: 무이자) */
|
|
49
|
-
CardInterest?: string;
|
|
50
|
-
/** 가맹점 여분필드 (요청 시 Data 그대로 전달) */
|
|
51
|
-
MallReserved?: string;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* NicePay 빌링 승인 취소 응답 인터페이스
|
|
55
|
-
* @see https://developers.nicepay.co.kr/manual-card-billing.php
|
|
56
|
-
*/
|
|
57
|
-
export interface NicepayBillingCancelResponse {
|
|
58
|
-
/** 결과코드 (2001: 성공) */
|
|
59
|
-
ResultCode: string;
|
|
60
|
-
/** 결과 메시지 */
|
|
61
|
-
ResultMsg: string;
|
|
62
|
-
/** 취소 금액 (예: 1000원인 경우 -> 000000001000) */
|
|
63
|
-
CancelAmt: string;
|
|
64
|
-
/** 가맹점 ID */
|
|
65
|
-
MID: string;
|
|
66
|
-
/** 주문번호 */
|
|
67
|
-
Moid: string;
|
|
68
|
-
/** 위변조 검증 데이터 hex(sha256(TID+MID+CancelAmt+MerchantKey)) */
|
|
69
|
-
Signature: string;
|
|
70
|
-
/** 결제수단 (CARD, BANK, VBANK, CELLPHONE) */
|
|
71
|
-
PayMethod?: string;
|
|
72
|
-
/** 거래 ID */
|
|
73
|
-
TID?: string;
|
|
74
|
-
/** 취소일자 (YYYYMMDD) */
|
|
75
|
-
CancelDate?: string;
|
|
76
|
-
/** 취소시간 (HHmmss) */
|
|
77
|
-
CancelTime?: string;
|
|
78
|
-
/** 취소번호 */
|
|
79
|
-
CancelNum?: string;
|
|
80
|
-
/** 취소 후 잔액 */
|
|
81
|
-
RemainAmt?: string;
|
|
82
|
-
/** 가맹점 여분필드 */
|
|
83
|
-
MallReserved?: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @author jun
|
|
87
|
-
* @description 나이스페이 빌링 결제 로그 엔티티
|
|
88
|
-
* @process 빌링 결제 승인/취소 시 응답 데이터를 로그로 저장
|
|
89
|
-
*/
|
|
90
|
-
export interface NicepayBillingLogEntity {
|
|
91
|
-
_id: Types.ObjectId;
|
|
92
|
-
/** 유저빌링 아이디 */
|
|
93
|
-
userCardBillingId: Types.ObjectId;
|
|
94
|
-
/** 유저 아이디 */
|
|
95
|
-
userId: Types.ObjectId;
|
|
96
|
-
/** 종류 */
|
|
97
|
-
type: NicepayBillingLogTypeEnum;
|
|
98
|
-
/** 구매 정보 아이디 */
|
|
99
|
-
pInfoId: Types.ObjectId;
|
|
100
|
-
/** 결제 승인 처리 시 응답 값 */
|
|
101
|
-
approveResponse?: NicepayBillingApproveResponse;
|
|
102
|
-
/** 결제 취소 처리 시 응답 값 */
|
|
103
|
-
cancelResponse?: NicepayBillingCancelResponse;
|
|
104
|
-
/** 등록일시 */
|
|
105
|
-
regDate: Date;
|
|
106
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NicepayBillingLogTypeEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @description 나이스페이 빌링 로그 종류
|
|
6
|
-
* @readonly
|
|
7
|
-
* @enum {string}
|
|
8
|
-
*/
|
|
9
|
-
var NicepayBillingLogTypeEnum;
|
|
10
|
-
(function (NicepayBillingLogTypeEnum) {
|
|
11
|
-
/** 결제 승인 */
|
|
12
|
-
NicepayBillingLogTypeEnum["approve"] = "approve";
|
|
13
|
-
/** 결제 취소 */
|
|
14
|
-
NicepayBillingLogTypeEnum["cancel"] = "cancel";
|
|
15
|
-
})(NicepayBillingLogTypeEnum || (exports.NicepayBillingLogTypeEnum = NicepayBillingLogTypeEnum = {}));
|