@yolo-croket-dev/entity-v2 0.2.79-jun.7 → 0.2.79

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.
Files changed (25) hide show
  1. package/package.json +1 -1
  2. package/insurance.modules/index.d.ts +0 -5
  3. package/insurance.modules/index.js +0 -21
  4. package/insurance.modules/insurance-except-category/index.d.ts +0 -1
  5. package/insurance.modules/insurance-except-category/index.js +0 -17
  6. package/insurance.modules/insurance-except-category/insurance-except-category.entity.d.ts +0 -10
  7. package/insurance.modules/insurance-except-category/insurance-except-category.entity.js +0 -2
  8. package/insurance.modules/insurance-info/index.d.ts +0 -1
  9. package/insurance.modules/insurance-info/index.js +0 -17
  10. package/insurance.modules/insurance-info/insurance-info.entity.d.ts +0 -19
  11. package/insurance.modules/insurance-info/insurance-info.entity.js +0 -13
  12. package/insurance.modules/insurance-info-log/index.d.ts +0 -1
  13. package/insurance.modules/insurance-info-log/index.js +0 -17
  14. package/insurance.modules/insurance-info-log/insurance-info-log.entity.d.ts +0 -22
  15. package/insurance.modules/insurance-info-log/insurance-info-log.entity.js +0 -18
  16. package/insurance.modules/insurance-pricing-policy/index.d.ts +0 -1
  17. package/insurance.modules/insurance-pricing-policy/index.js +0 -17
  18. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.d.ts +0 -16
  19. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.js +0 -2
  20. package/insurance.modules/insurance-pricing-policy-description/index.d.ts +0 -1
  21. package/insurance.modules/insurance-pricing-policy-description/index.js +0 -17
  22. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.d.ts +0 -15
  23. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.js +0 -8
  24. package/store.modules/store-log/store-log.entity.d.ts +0 -52
  25. package/store.modules/store-log/store-log.entity.js +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.79-jun.7",
3
+ "version": "0.2.79",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,5 +0,0 @@
1
- export * from './insurance-info';
2
- export * from './insurance-info-log';
3
- export * from './insurance-pricing-policy';
4
- export * from './insurance-pricing-policy-description';
5
- export * from './insurance-except-category';
@@ -1,21 +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("./insurance-info"), exports);
18
- __exportStar(require("./insurance-info-log"), exports);
19
- __exportStar(require("./insurance-pricing-policy"), exports);
20
- __exportStar(require("./insurance-pricing-policy-description"), exports);
21
- __exportStar(require("./insurance-except-category"), exports);
@@ -1 +0,0 @@
1
- export * from './insurance-except-category.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("./insurance-except-category.entity"), exports);
@@ -1,10 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export interface InsuranceExceptCategoryInfo {
3
- mainCategory: string;
4
- subCategory: string;
5
- }
6
- export interface InsuranceExceptCategoryEntity {
7
- _id: Types.ObjectId | string;
8
- regDate: Date;
9
- exceptCategoryList: InsuranceExceptCategoryInfo[];
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './insurance-info.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("./insurance-info.entity"), exports);
@@ -1,19 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum InsuranceInfoImageType {
3
- PNG = "png",
4
- GIF = "gif"
5
- }
6
- export interface InsuranceInfoImage {
7
- type: InsuranceInfoImageType;
8
- imageUrl: string;
9
- }
10
- export declare enum InsuranceInfoWhoType {
11
- SELLER = "seller",
12
- BUYER = "buyer"
13
- }
14
- export interface InsuranceInfoEntity {
15
- _id: Types.ObjectId | string;
16
- who: string;
17
- regDate: Date;
18
- imageList: InsuranceInfoImage[];
19
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsuranceInfoWhoType = exports.InsuranceInfoImageType = void 0;
4
- var InsuranceInfoImageType;
5
- (function (InsuranceInfoImageType) {
6
- InsuranceInfoImageType["PNG"] = "png";
7
- InsuranceInfoImageType["GIF"] = "gif";
8
- })(InsuranceInfoImageType || (exports.InsuranceInfoImageType = InsuranceInfoImageType = {}));
9
- var InsuranceInfoWhoType;
10
- (function (InsuranceInfoWhoType) {
11
- InsuranceInfoWhoType["SELLER"] = "seller";
12
- InsuranceInfoWhoType["BUYER"] = "buyer";
13
- })(InsuranceInfoWhoType || (exports.InsuranceInfoWhoType = InsuranceInfoWhoType = {}));
@@ -1 +0,0 @@
1
- export * from './insurance-info-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("./insurance-info-log.entity"), exports);
@@ -1,22 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum InsuranceLogProcessingType {
3
- REG_INVOICE = "regInvoice",
4
- EDIT_INVOICE = "editInvoice",
5
- REFUND = "refund",
6
- CANCEL = "cancel",
7
- DONE = "done"
8
- }
9
- export declare enum InsuranceLogWhoTriedType {
10
- SELLER = "seller",
11
- BUYER = "buyer",
12
- MANAGER = "manager",
13
- SYSTEM = "system"
14
- }
15
- export interface InsuranceLogEntity {
16
- _id: Types.ObjectId | string;
17
- PInfoId: Types.ObjectId | string;
18
- regDate: Date;
19
- processing: InsuranceLogProcessingType;
20
- whoTried: InsuranceLogWhoTriedType;
21
- err?: string;
22
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsuranceLogWhoTriedType = exports.InsuranceLogProcessingType = void 0;
4
- var InsuranceLogProcessingType;
5
- (function (InsuranceLogProcessingType) {
6
- InsuranceLogProcessingType["REG_INVOICE"] = "regInvoice";
7
- InsuranceLogProcessingType["EDIT_INVOICE"] = "editInvoice";
8
- InsuranceLogProcessingType["REFUND"] = "refund";
9
- InsuranceLogProcessingType["CANCEL"] = "cancel";
10
- InsuranceLogProcessingType["DONE"] = "done";
11
- })(InsuranceLogProcessingType || (exports.InsuranceLogProcessingType = InsuranceLogProcessingType = {}));
12
- var InsuranceLogWhoTriedType;
13
- (function (InsuranceLogWhoTriedType) {
14
- InsuranceLogWhoTriedType["SELLER"] = "seller";
15
- InsuranceLogWhoTriedType["BUYER"] = "buyer";
16
- InsuranceLogWhoTriedType["MANAGER"] = "manager";
17
- InsuranceLogWhoTriedType["SYSTEM"] = "system";
18
- })(InsuranceLogWhoTriedType || (exports.InsuranceLogWhoTriedType = InsuranceLogWhoTriedType = {}));
@@ -1 +0,0 @@
1
- export * from './insurance-pricing-policy.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("./insurance-pricing-policy.entity"), exports);
@@ -1,16 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export interface InsurancePricingPolicyInfo {
3
- minPrice: number;
4
- maxPrice: number;
5
- unitPrice: number;
6
- }
7
- /**
8
- * @author jun
9
- * @description 보험 가격 정책 엔티티
10
- * - yolo-croket-dev/mongoose 마이그레이션
11
- * */
12
- export interface InsurancePricingPolicyEntity {
13
- _id: string | Types.ObjectId;
14
- regDate: Date;
15
- insurancePricingPolicyList: InsurancePricingPolicyInfo[];
16
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './insurance-pricing-policy-description.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("./insurance-pricing-policy-description.entity"), exports);
@@ -1,15 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum InsurancePricingPolicyDescriptionWhoType {
3
- SELLER = "seller",
4
- BUYER = "buyer"
5
- }
6
- export interface InsurancePricingPolicyDescriptionInfo {
7
- title: string;
8
- body: string;
9
- }
10
- export interface InsurancePricingPolicyDescriptionEntity {
11
- _id: Types.ObjectId | string;
12
- who: InsurancePricingPolicyDescriptionWhoType;
13
- regDate: Date;
14
- descriptionList: InsurancePricingPolicyDescriptionInfo[];
15
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsurancePricingPolicyDescriptionWhoType = void 0;
4
- var InsurancePricingPolicyDescriptionWhoType;
5
- (function (InsurancePricingPolicyDescriptionWhoType) {
6
- InsurancePricingPolicyDescriptionWhoType["SELLER"] = "seller";
7
- InsurancePricingPolicyDescriptionWhoType["BUYER"] = "buyer";
8
- })(InsurancePricingPolicyDescriptionWhoType || (exports.InsurancePricingPolicyDescriptionWhoType = InsurancePricingPolicyDescriptionWhoType = {}));
@@ -1,52 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum StoreLogType {
3
- /** 국내 스토어 생성 */
4
- REG_STORE = "REG_STORE",
5
- /** 국내 스토어 수정 */
6
- EDIT_STORE = "EDIT_STORE",
7
- /** 해외 스토어 등록 */
8
- REG_ABROAD_STORE = "REG_ABROAD_STORE",
9
- /** 해외 스토어 수정 */
10
- EDIT_ABROAD_STORE = "EDIT_ABROAD_STORE",
11
- /** 인증 예정 상태로 변경 */
12
- VERIFI_TO_EXPECTED_STATUS = "VERIFI_TO_EXPECTED_STATUS",
13
- /** 인증 승인 상태로 변경 */
14
- VERIFI_TO_APPROVED_STATUS = "VERIFI_TO_APPROVED_STATUS",
15
- /** 인증 거절 상태로 변경 */
16
- VERIFI_TO_INAPPROVED_STATUS = "VERIFI_TO_INAPPROVED_STATUS",
17
- /** 인증 보류 상태로 변경 */
18
- VERIFI_TO_HOLD_STATUS = "VERIFI_TO_HOLD_STATUS",
19
- /** 수신용 이메일 수정 */
20
- PATCH_INCOMING_EMAIL = "PATCH_INCOMING_EMAIL",
21
- /** 셀러 패널티 서약 생성 */
22
- CREATE_PENALTY_PLEDGE = "CREATE_PENALTY_PLEDGE",
23
- /** 셀러 패널티 서약 수정 */
24
- UPDATE_PENALTY_PLEDGE = "UPDATE_PENALTY_PLEDGE"
25
- }
26
- export interface ManageVerifiLogInfo {
27
- manageUserId: string | Types.ObjectId;
28
- manageUserName: string;
29
- }
30
- export interface SellerVerifiLogInfo {
31
- userId: string | Types.ObjectId;
32
- }
33
- export interface StoreLogEntity {
34
- _id: Types.ObjectId | string;
35
- storeId: string | Types.ObjectId;
36
- /** @description 로그 종류 */
37
- logType: StoreLogType;
38
- /**
39
- * @description 인증 관련 관리자 로그 정보
40
- * logType [VERIFI_TO_APPROVED_STATUS, VERIFI_TO_INAPPROVED_STATUS, VERIFI_TO_HOLD_STATUS] 3가지 상태 일때 해당 데이터 존재
41
- */
42
- manageVerifiLogInfo?: ManageVerifiLogInfo;
43
- /**
44
- * @description 인증 관련 셀러 로그 정보
45
- * logType [VERIFI_TO_EXPECTED_STATUS] 1가지 상태 일때 해당 데이터 존재
46
- */
47
- sellerVerifiLogInfo?: SellerVerifiLogInfo;
48
- /**
49
- * @description 생성시간
50
- */
51
- regDate: Date;
52
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreLogType = void 0;
4
- var StoreLogType;
5
- (function (StoreLogType) {
6
- /** 국내 스토어 생성 */
7
- StoreLogType["REG_STORE"] = "REG_STORE";
8
- /** 국내 스토어 수정 */
9
- StoreLogType["EDIT_STORE"] = "EDIT_STORE";
10
- /** 해외 스토어 등록 */
11
- StoreLogType["REG_ABROAD_STORE"] = "REG_ABROAD_STORE";
12
- /** 해외 스토어 수정 */
13
- StoreLogType["EDIT_ABROAD_STORE"] = "EDIT_ABROAD_STORE";
14
- /** 인증 예정 상태로 변경 */
15
- StoreLogType["VERIFI_TO_EXPECTED_STATUS"] = "VERIFI_TO_EXPECTED_STATUS";
16
- /** 인증 승인 상태로 변경 */
17
- StoreLogType["VERIFI_TO_APPROVED_STATUS"] = "VERIFI_TO_APPROVED_STATUS";
18
- /** 인증 거절 상태로 변경 */
19
- StoreLogType["VERIFI_TO_INAPPROVED_STATUS"] = "VERIFI_TO_INAPPROVED_STATUS";
20
- /** 인증 보류 상태로 변경 */
21
- StoreLogType["VERIFI_TO_HOLD_STATUS"] = "VERIFI_TO_HOLD_STATUS";
22
- /** 수신용 이메일 수정 */
23
- StoreLogType["PATCH_INCOMING_EMAIL"] = "PATCH_INCOMING_EMAIL";
24
- /** 셀러 패널티 서약 생성 */
25
- StoreLogType["CREATE_PENALTY_PLEDGE"] = "CREATE_PENALTY_PLEDGE";
26
- /** 셀러 패널티 서약 수정 */
27
- StoreLogType["UPDATE_PENALTY_PLEDGE"] = "UPDATE_PENALTY_PLEDGE";
28
- })(StoreLogType || (exports.StoreLogType = StoreLogType = {}));