@yolo-croket-dev/entity-v2 0.0.93 → 0.0.95
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/partial-refund/partial-refund.entity.d.ts +7 -0
- package/purchase-receipt/index.d.ts +1 -0
- package/purchase-receipt/index.js +17 -0
- package/purchase-receipt/purchase-receipt.entity.d.ts +46 -0
- package/purchase-receipt/purchase-receipt.entity.js +2 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -37,3 +37,4 @@ __exportStar(require("./related-store-item"), exports);
|
|
|
37
37
|
__exportStar(require("./partial-refund"), exports);
|
|
38
38
|
__exportStar(require("./purchased-info"), exports);
|
|
39
39
|
__exportStar(require("./time-deal"), exports);
|
|
40
|
+
__exportStar(require("./purchase-receipt"), exports);
|
package/package.json
CHANGED
|
@@ -69,7 +69,10 @@ export interface PartialRefundApproveInfo {
|
|
|
69
69
|
regDate: Date;
|
|
70
70
|
/** @description 환불 승인 주최자 */
|
|
71
71
|
author: PartialRefundAuthorTypeEnum;
|
|
72
|
+
/** @description 주최자가 관리자면 관리자 아이디 */
|
|
72
73
|
managerId?: string;
|
|
74
|
+
/** @description 주최자가 관리자면 관리자 이름 */
|
|
75
|
+
managerName?: string;
|
|
73
76
|
}
|
|
74
77
|
/** @description 환불 철회 정보 */
|
|
75
78
|
export interface PartialRefundWithdrawalInfo {
|
|
@@ -79,6 +82,8 @@ export interface PartialRefundWithdrawalInfo {
|
|
|
79
82
|
author: PartialRefundAuthorTypeEnum;
|
|
80
83
|
/** @description 주최자가 관리자면 관리자 아이디 */
|
|
81
84
|
managerId?: string;
|
|
85
|
+
/** @description 주최자가 관리자면 관리자 이름 */
|
|
86
|
+
managerName?: string;
|
|
82
87
|
/** @description 환불 철회 사유 */
|
|
83
88
|
withdrawalReason?: string;
|
|
84
89
|
/** @description 환불 철회 사유 이미지 리스트 */
|
|
@@ -124,6 +129,8 @@ export interface PartialRefundEntity {
|
|
|
124
129
|
CSMemo?: string;
|
|
125
130
|
/** @description CS 메모 작성/삭제 정보 */
|
|
126
131
|
CSMemoInfo?: PartialRefundCSMemoInfo;
|
|
132
|
+
/** @description 환불 승인 정보 */
|
|
127
133
|
approveInfo?: PartialRefundApproveInfo;
|
|
134
|
+
/** @description 환불 철회 정보 */
|
|
128
135
|
withdrawalInfo?: PartialRefundWithdrawalInfo;
|
|
129
136
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './purchase-receipt.entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./purchase-receipt.entity"), exports);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { PurchasedProcessV2Enum } from '../purchased-info';
|
|
3
|
+
export interface PurchaseReceiptPurchasedInfo {
|
|
4
|
+
/** @description 결제 아이디 */
|
|
5
|
+
PInfoId: Types.ObjectId | string;
|
|
6
|
+
/** @description 셀러 아이디 */
|
|
7
|
+
sellerId: Types.ObjectId | string;
|
|
8
|
+
/** @description 프로세스 */
|
|
9
|
+
process: PurchasedProcessV2Enum;
|
|
10
|
+
}
|
|
11
|
+
export interface PurchaseReceiptReceiveInfo {
|
|
12
|
+
/** @description 수령인 이름 */
|
|
13
|
+
buyerName: string;
|
|
14
|
+
/** @description 수령인 핸드폰 번호 */
|
|
15
|
+
buyerPhoneNumber: string;
|
|
16
|
+
/** @description tnfuddls 우편번호 */
|
|
17
|
+
buyerPostCode?: string;
|
|
18
|
+
/** @description 수령인 주소 */
|
|
19
|
+
buyerAddress1?: string;
|
|
20
|
+
/** @description 수매자 주소 2 */
|
|
21
|
+
buyerAddress2?: string;
|
|
22
|
+
/** @description 수령인 직거래 주소 */
|
|
23
|
+
buyerDirectAddress?: string;
|
|
24
|
+
/** @description 개인통관고유부호번호 */
|
|
25
|
+
PCCC: string;
|
|
26
|
+
/** @description 요청사항 */
|
|
27
|
+
requirement?: string;
|
|
28
|
+
}
|
|
29
|
+
export default interface PurchaseReceiptEntity {
|
|
30
|
+
_id: Types.ObjectId | string;
|
|
31
|
+
/** @description 해당 결제 정보 구매자 아이디 */
|
|
32
|
+
buyerId: Types.ObjectId | string;
|
|
33
|
+
/** @description 결제 정보 */
|
|
34
|
+
purchasedInfos: PurchaseReceiptPurchasedInfo[];
|
|
35
|
+
/** @description 결제번호 */
|
|
36
|
+
paymentNumber: string;
|
|
37
|
+
/** @description 결제수단 */
|
|
38
|
+
paymentMethod: string;
|
|
39
|
+
/** @description 저장일 */
|
|
40
|
+
regDate: Date;
|
|
41
|
+
/** @description 결제일 */
|
|
42
|
+
paymentDate: Date;
|
|
43
|
+
/** @description 정산 정보 */
|
|
44
|
+
receiveInfo: PurchaseReceiptReceiveInfo;
|
|
45
|
+
}
|
|
46
|
+
export { PurchaseReceiptEntity };
|