@yolo-croket-dev/entity-v2 0.2.97-sj3 → 0.2.97-sj4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.97-sj3",
3
+ "version": "0.2.97-sj4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,5 +1,13 @@
1
1
  import { Types } from 'mongoose';
2
2
  import { CommissionPolicyTypeEnum, CommissionRatePeriodInfo } from './store.entity';
3
+ export declare enum CommissionchangeReasonCodeTypeEnum {
4
+ /** @description 기본 수수료 정책 적용 (Default) */
5
+ SET_DEFAULT_POLICY = "SET_DEFAULT_POLICY",
6
+ /** @description 개별 협의 수수료 적용 (Custom) */
7
+ SET_CUSTOM_POLICY = "SET_CUSTOM_POLICY",
8
+ /** @description 초기 설정 */
9
+ INITIAL_SETUP = "INITIAL_SETUP"
10
+ }
3
11
  /** @description 셀러 수수료 정보 변경 이력 */
4
12
  export default class StoreCommissionHistoryEntity {
5
13
  _id: Types.ObjectId | string;
@@ -16,7 +24,7 @@ export default class StoreCommissionHistoryEntity {
16
24
  /** @description 새 수수료 정책 유형 */
17
25
  newPolicyType?: CommissionPolicyTypeEnum;
18
26
  /** @description 이유 코드 */
19
- changeReason: string;
27
+ changeReasonCode: CommissionchangeReasonCodeTypeEnum;
20
28
  /** @description 이유 상세 */
21
29
  changeReasonDetail: string;
22
30
  /** @description 관리자 아이디 */
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreCommissionHistoryEntity = void 0;
3
+ exports.StoreCommissionHistoryEntity = exports.CommissionchangeReasonCodeTypeEnum = void 0;
4
+ var CommissionchangeReasonCodeTypeEnum;
5
+ (function (CommissionchangeReasonCodeTypeEnum) {
6
+ /** @description 기본 수수료 정책 적용 (Default) */
7
+ CommissionchangeReasonCodeTypeEnum["SET_DEFAULT_POLICY"] = "SET_DEFAULT_POLICY";
8
+ /** @description 개별 협의 수수료 적용 (Custom) */
9
+ CommissionchangeReasonCodeTypeEnum["SET_CUSTOM_POLICY"] = "SET_CUSTOM_POLICY";
10
+ /** @description 초기 설정 */
11
+ CommissionchangeReasonCodeTypeEnum["INITIAL_SETUP"] = "INITIAL_SETUP";
12
+ })(CommissionchangeReasonCodeTypeEnum || (exports.CommissionchangeReasonCodeTypeEnum = CommissionchangeReasonCodeTypeEnum = {}));
4
13
  /** @description 셀러 수수료 정보 변경 이력 */
5
14
  class StoreCommissionHistoryEntity {
6
15
  }