@yolo-croket-dev/entity-v2 0.2.109-sj3 → 0.2.110
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/manage-user/manage-user.entity.d.ts +1 -0
- package/package.json +2 -2
- package/store/index.d.ts +0 -1
- package/store/index.js +0 -1
- package/store/store.entity.d.ts +0 -37
- package/store/store.entity.js +1 -8
- package/store-item-detail-banner/store-item-detail-banner.entity.d.ts +5 -0
- package/store-item-detail-banner/store-item-detail-banner.entity.js +6 -0
- package/store/store-commission-history.entity.d.ts +0 -43
- package/store/store-commission-history.entity.js +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/entity-v2",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.110",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 nest 용 entity-v3",
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "UNLICENSED",
|
|
25
25
|
"dependencies": {}
|
|
26
|
-
}
|
|
26
|
+
}
|
package/store/index.d.ts
CHANGED
package/store/index.js
CHANGED
|
@@ -19,4 +19,3 @@ __exportStar(require("./store-by-seller-id.entity"), exports);
|
|
|
19
19
|
__exportStar(require("./abroad-account.entity"), exports);
|
|
20
20
|
__exportStar(require("./store-for-toss-payment.entity"), exports);
|
|
21
21
|
__exportStar(require("./domestic-account-store.entity"), exports);
|
|
22
|
-
__exportStar(require("./store-commission-history.entity"), exports);
|
package/store/store.entity.d.ts
CHANGED
|
@@ -204,41 +204,6 @@ export interface StorePenaltyPledge {
|
|
|
204
204
|
/** @description 패널티 등록 시간 */
|
|
205
205
|
regDate: Date;
|
|
206
206
|
}
|
|
207
|
-
export declare enum CommissionPolicyTypeEnum {
|
|
208
|
-
/** @description 기본 수수료 비율 */
|
|
209
|
-
DEFAULT = "DEFAULT",
|
|
210
|
-
/** @description 커스텀 수수료 비율 */
|
|
211
|
-
CUSTOM = "CUSTOM"
|
|
212
|
-
}
|
|
213
|
-
export interface CommissionRatePeriodInfo {
|
|
214
|
-
/** @description 수수료 비율 */
|
|
215
|
-
commissionRate: number;
|
|
216
|
-
/** @description 수수료 비율 적용 시작 일자 */
|
|
217
|
-
startDate: Date;
|
|
218
|
-
/** @description 수수료 비율 적용 종료 일자 */
|
|
219
|
-
endDate: Date;
|
|
220
|
-
}
|
|
221
|
-
/** @description 셀러 수수료 정보 */
|
|
222
|
-
export interface StoreCommissionInfo {
|
|
223
|
-
/** @description 셀러 수수료 비율 */
|
|
224
|
-
commissionRate: number;
|
|
225
|
-
/** @description 이전 수수료 비율 */
|
|
226
|
-
previousRate?: number;
|
|
227
|
-
/** @description 적용 일자 */
|
|
228
|
-
effectiveDate?: Date;
|
|
229
|
-
/** @description 수수료 비율 기간 */
|
|
230
|
-
commissionRatePeriodInfos?: CommissionRatePeriodInfo[];
|
|
231
|
-
/** @description 수수료 정책 유형 */
|
|
232
|
-
commissionPolicyType: CommissionPolicyTypeEnum;
|
|
233
|
-
/** @description 마지막 수정 일자 */
|
|
234
|
-
lastModifiedDate?: Date;
|
|
235
|
-
/** @description 마지막 수정 관리자 아이디 */
|
|
236
|
-
lastModifiedManagerId?: Types.ObjectId | string;
|
|
237
|
-
/** @description 수정 이유 */
|
|
238
|
-
modifyReason?: string;
|
|
239
|
-
/** @description 등록 일자 */
|
|
240
|
-
regDate: Date;
|
|
241
|
-
}
|
|
242
207
|
/** store schema inteface (아직 선언하다 말았음) */
|
|
243
208
|
export default class StoreEntity {
|
|
244
209
|
_id: Types.ObjectId | string;
|
|
@@ -270,7 +235,5 @@ export default class StoreEntity {
|
|
|
270
235
|
lastProceedsGoalSettleDate?: Date;
|
|
271
236
|
/** @description 셀러 패널티 서약 */
|
|
272
237
|
penaltyPledge?: StorePenaltyPledge;
|
|
273
|
-
/** @description 셀러 수수료 정보 */
|
|
274
|
-
commissionInfo?: StoreCommissionInfo;
|
|
275
238
|
}
|
|
276
239
|
export { StoreEntity };
|
package/store/store.entity.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StoreEntity = exports.
|
|
3
|
+
exports.StoreEntity = exports.SupermarketInfo = exports.LastBeforeAccountInfo = exports.ProceedsMethodInfo = exports.BusinessInfo = exports.ZeroRateVatInfo = exports.ForeignBusinessInfo = exports.PrivateSellerInfo = exports.DomesticBusinessInfo = exports.ZeroRateVatProcessEnum = exports.IndividualTaxationTypeEnum = exports.StoreAccount = exports.BUSINESS_INFO_NOT_MATCH_REASONS = exports.BusinessInfoVerifiProcessEnum = exports.BusinessInfoSellerTypeEnum = exports.ProceedsMethodTypeEnum = exports.StoreLastActivityTypeEnum = void 0;
|
|
4
4
|
var StoreLastActivityTypeEnum;
|
|
5
5
|
(function (StoreLastActivityTypeEnum) {
|
|
6
6
|
// 상품 등록
|
|
@@ -93,13 +93,6 @@ exports.LastBeforeAccountInfo = LastBeforeAccountInfo;
|
|
|
93
93
|
class SupermarketInfo {
|
|
94
94
|
}
|
|
95
95
|
exports.SupermarketInfo = SupermarketInfo;
|
|
96
|
-
var CommissionPolicyTypeEnum;
|
|
97
|
-
(function (CommissionPolicyTypeEnum) {
|
|
98
|
-
/** @description 기본 수수료 비율 */
|
|
99
|
-
CommissionPolicyTypeEnum["DEFAULT"] = "DEFAULT";
|
|
100
|
-
/** @description 커스텀 수수료 비율 */
|
|
101
|
-
CommissionPolicyTypeEnum["CUSTOM"] = "CUSTOM";
|
|
102
|
-
})(CommissionPolicyTypeEnum || (exports.CommissionPolicyTypeEnum = CommissionPolicyTypeEnum = {}));
|
|
103
96
|
/** store schema inteface (아직 선언하다 말았음) */
|
|
104
97
|
class StoreEntity {
|
|
105
98
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { BaseBannerEntity } from '../store-item-banner';
|
|
2
|
+
/** @description 상품 상세 배너 제한 언어 선택 */
|
|
3
|
+
export declare enum StoreItemDetailBannerLanguageSelectedEnum {
|
|
4
|
+
EN = "EN"
|
|
5
|
+
}
|
|
2
6
|
export default interface StoreItemDetailBannerEntity extends Pick<BaseBannerEntity, '_id' | 'description' | 'web' | 'app' | 'regDate'> {
|
|
7
|
+
languageSelected?: StoreItemDetailBannerLanguageSelectedEnum;
|
|
3
8
|
}
|
|
4
9
|
export { StoreItemDetailBannerEntity };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable semi */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.StoreItemDetailBannerLanguageSelectedEnum = void 0;
|
|
5
|
+
/** @description 상품 상세 배너 제한 언어 선택 */
|
|
6
|
+
var StoreItemDetailBannerLanguageSelectedEnum;
|
|
7
|
+
(function (StoreItemDetailBannerLanguageSelectedEnum) {
|
|
8
|
+
StoreItemDetailBannerLanguageSelectedEnum["EN"] = "EN";
|
|
9
|
+
})(StoreItemDetailBannerLanguageSelectedEnum || (exports.StoreItemDetailBannerLanguageSelectedEnum = StoreItemDetailBannerLanguageSelectedEnum = {}));
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
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
|
-
/** @description 기간 수수료 등록/수정 */
|
|
11
|
-
UPSERT_PERIOD_COMMISSION = "UPSERT_PERIOD_COMMISSION"
|
|
12
|
-
}
|
|
13
|
-
/** @description 셀러 수수료 정보 변경 이력 */
|
|
14
|
-
export default class StoreCommissionHistoryEntity {
|
|
15
|
-
_id: Types.ObjectId | string;
|
|
16
|
-
/** @description 스토어 아이디 */
|
|
17
|
-
storeId: Types.ObjectId | string;
|
|
18
|
-
/** @description 셀러 아이디 */
|
|
19
|
-
sellerId: Types.ObjectId | string;
|
|
20
|
-
/** @description 이전 수수료 비율 */
|
|
21
|
-
previousRate?: number;
|
|
22
|
-
/** @description 새 수수료 비율 */
|
|
23
|
-
newRate?: number;
|
|
24
|
-
/** @description 이전 수수료 정책 유형 */
|
|
25
|
-
previousPolicyType?: CommissionPolicyTypeEnum;
|
|
26
|
-
/** @description 새 수수료 정책 유형 */
|
|
27
|
-
newPolicyType?: CommissionPolicyTypeEnum;
|
|
28
|
-
/** @description 이유 코드 */
|
|
29
|
-
changeReasonCode: CommissionchangeReasonCodeTypeEnum;
|
|
30
|
-
/** @description 이유 상세 */
|
|
31
|
-
changeReasonDetail: string;
|
|
32
|
-
/** @description 관리자 아이디 */
|
|
33
|
-
managerId?: Types.ObjectId | string;
|
|
34
|
-
/** @description 관리자 이름 */
|
|
35
|
-
managerName?: string;
|
|
36
|
-
/** @description 이전 수수료 비율 기간 */
|
|
37
|
-
previousCommissionRatePeriodInfos?: CommissionRatePeriodInfo[];
|
|
38
|
-
/** @description 새 수수료 비율 기간 */
|
|
39
|
-
newCommissionRatePeriodInfos?: CommissionRatePeriodInfo[];
|
|
40
|
-
/** @description 등록 일자 */
|
|
41
|
-
regDate: Date;
|
|
42
|
-
}
|
|
43
|
-
export { StoreCommissionHistoryEntity };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|
-
/** @description 기간 수수료 등록/수정 */
|
|
13
|
-
CommissionchangeReasonCodeTypeEnum["UPSERT_PERIOD_COMMISSION"] = "UPSERT_PERIOD_COMMISSION";
|
|
14
|
-
})(CommissionchangeReasonCodeTypeEnum || (exports.CommissionchangeReasonCodeTypeEnum = CommissionchangeReasonCodeTypeEnum = {}));
|
|
15
|
-
/** @description 셀러 수수료 정보 변경 이력 */
|
|
16
|
-
class StoreCommissionHistoryEntity {
|
|
17
|
-
}
|
|
18
|
-
exports.default = StoreCommissionHistoryEntity;
|
|
19
|
-
exports.StoreCommissionHistoryEntity = StoreCommissionHistoryEntity;
|