@yolo-croket-dev/entity-v2 0.2.97-sj → 0.2.97-sj1
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/commission-audit-log/commission-audit-log.entity.d.ts +35 -0
- package/commission-audit-log/commission-audit-log.entity.js +8 -0
- package/commission-audit-log/index.d.ts +1 -0
- package/commission-audit-log/index.js +17 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { CommissionPolicyTypeEnum } from '../store';
|
|
3
|
+
/** @description 수수료 결정 추적 로그 */
|
|
4
|
+
export default class CommissionAuditLogEntity {
|
|
5
|
+
_id: Types.ObjectId | string;
|
|
6
|
+
/** @description payTryLog 아이디 */
|
|
7
|
+
payTryLogId: Types.ObjectId | string;
|
|
8
|
+
/** @description 스토어 아이디 */
|
|
9
|
+
storeId: Types.ObjectId | string;
|
|
10
|
+
/** @description 셀러 아이디 */
|
|
11
|
+
sellerId: Types.ObjectId | string;
|
|
12
|
+
/** @description 적용 수수료 비율 */
|
|
13
|
+
appliedRate: number;
|
|
14
|
+
/** @description 적용 수수료 정책 유형 */
|
|
15
|
+
appliedPolicyType: CommissionPolicyTypeEnum;
|
|
16
|
+
/** @description 기준 금액 */
|
|
17
|
+
baseAmount: number;
|
|
18
|
+
/** @description 계산된 수수료 */
|
|
19
|
+
calculatedFee: number;
|
|
20
|
+
/** @description 계산된 부가세 */
|
|
21
|
+
calculatedVAT: number;
|
|
22
|
+
/** @description 예상 수고비 */
|
|
23
|
+
expectedProceeds: number;
|
|
24
|
+
/** @description 당시 스토어 수수료 비율 */
|
|
25
|
+
pastStoreCommissionRate: number;
|
|
26
|
+
/** @description 당시 스토어 수수료 정책 유형 */
|
|
27
|
+
pastStorePolicyType: CommissionPolicyTypeEnum;
|
|
28
|
+
/** @description 결정 이유 */
|
|
29
|
+
decisionReason: string;
|
|
30
|
+
/** @description 수고비 버전 */
|
|
31
|
+
proceedsVersion: number;
|
|
32
|
+
/** @description 등록 일자 */
|
|
33
|
+
regDate: Date;
|
|
34
|
+
}
|
|
35
|
+
export { CommissionAuditLogEntity };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommissionAuditLogEntity = void 0;
|
|
4
|
+
/** @description 수수료 결정 추적 로그 */
|
|
5
|
+
class CommissionAuditLogEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.default = CommissionAuditLogEntity;
|
|
8
|
+
exports.CommissionAuditLogEntity = CommissionAuditLogEntity;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './commission-audit-log.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("./commission-audit-log.entity"), exports);
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -67,3 +67,4 @@ __exportStar(require("./brand.modules/brand-bookmark"), exports);
|
|
|
67
67
|
__exportStar(require("./brand.modules/brand-log"), exports);
|
|
68
68
|
__exportStar(require("./daily-random-coupon-noti-user"), exports);
|
|
69
69
|
__exportStar(require("./store-item.modules"), exports);
|
|
70
|
+
__exportStar(require("./commission-audit-log"), exports);
|