@yolo-croket-dev/entity-v2 0.2.79 → 0.2.81

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 (43) hide show
  1. package/insurance.modules/index.d.ts +5 -0
  2. package/insurance.modules/index.js +21 -0
  3. package/insurance.modules/insurance-except-category/index.d.ts +1 -0
  4. package/insurance.modules/insurance-except-category/index.js +17 -0
  5. package/insurance.modules/insurance-except-category/insurance-except-category.entity.d.ts +10 -0
  6. package/insurance.modules/insurance-except-category/insurance-except-category.entity.js +2 -0
  7. package/insurance.modules/insurance-info/index.d.ts +1 -0
  8. package/insurance.modules/insurance-info/index.js +17 -0
  9. package/insurance.modules/insurance-info/insurance-info.entity.d.ts +19 -0
  10. package/insurance.modules/insurance-info/insurance-info.entity.js +13 -0
  11. package/insurance.modules/insurance-log/index.d.ts +1 -0
  12. package/insurance.modules/insurance-log/index.js +17 -0
  13. package/insurance.modules/insurance-log/insurance-log.entity.d.ts +22 -0
  14. package/insurance.modules/insurance-log/insurance-log.entity.js +18 -0
  15. package/insurance.modules/insurance-pricing-policy/index.d.ts +1 -0
  16. package/insurance.modules/insurance-pricing-policy/index.js +17 -0
  17. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.d.ts +16 -0
  18. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.js +2 -0
  19. package/insurance.modules/insurance-pricing-policy-description/index.d.ts +1 -0
  20. package/insurance.modules/insurance-pricing-policy-description/index.js +17 -0
  21. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.d.ts +15 -0
  22. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.js +8 -0
  23. package/manage-url/index.d.ts +1 -0
  24. package/manage-url/index.js +17 -0
  25. package/manage-url/manage-url.entity.d.ts +58 -0
  26. package/manage-url/manage-url.entity.js +41 -0
  27. package/manage-user/index.d.ts +1 -0
  28. package/manage-user/index.js +17 -0
  29. package/manage-user/manage-user.entity.d.ts +19 -0
  30. package/manage-user/manage-user.entity.js +2 -0
  31. package/multi-settle.modules/index.d.ts +2 -0
  32. package/multi-settle.modules/index.js +18 -0
  33. package/multi-settle.modules/multi-settle/index.d.ts +1 -0
  34. package/multi-settle.modules/multi-settle/index.js +17 -0
  35. package/multi-settle.modules/multi-settle/multi-settle.entity.d.ts +47 -0
  36. package/multi-settle.modules/multi-settle/multi-settle.entity.js +26 -0
  37. package/multi-settle.modules/multi-settle-log/index.d.ts +1 -0
  38. package/multi-settle.modules/multi-settle-log/index.js +17 -0
  39. package/multi-settle.modules/multi-settle-log/multi-settle-log.entity.d.ts +45 -0
  40. package/multi-settle.modules/multi-settle-log/multi-settle-log.entity.js +32 -0
  41. package/package.json +1 -1
  42. package/store.modules/store-log/store-log.entity.d.ts +52 -0
  43. package/store.modules/store-log/store-log.entity.js +28 -0
@@ -0,0 +1,5 @@
1
+ export * from './insurance-info';
2
+ export * from './insurance-log';
3
+ export * from './insurance-pricing-policy';
4
+ export * from './insurance-pricing-policy-description';
5
+ export * from './insurance-except-category';
@@ -0,0 +1,21 @@
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-log"), exports);
19
+ __exportStar(require("./insurance-pricing-policy"), exports);
20
+ __exportStar(require("./insurance-pricing-policy-description"), exports);
21
+ __exportStar(require("./insurance-except-category"), exports);
@@ -0,0 +1 @@
1
+ export * from './insurance-except-category.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("./insurance-except-category.entity"), exports);
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './insurance-info.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("./insurance-info.entity"), exports);
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,13 @@
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 = {}));
@@ -0,0 +1 @@
1
+ export * from './insurance-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("./insurance-log.entity"), exports);
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,18 @@
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 = {}));
@@ -0,0 +1 @@
1
+ export * from './insurance-pricing-policy.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("./insurance-pricing-policy.entity"), exports);
@@ -0,0 +1,16 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './insurance-pricing-policy-description.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("./insurance-pricing-policy-description.entity"), exports);
@@ -0,0 +1,15 @@
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
+ }
@@ -0,0 +1,8 @@
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 = {}));
@@ -0,0 +1 @@
1
+ export * from './manage-url.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("./manage-url.entity"), exports);
@@ -0,0 +1,58 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum AuthLevelType {
3
+ /**
4
+ * @property 전체 Auth Level이 접근 가능합니다.
5
+ */
6
+ ALL = "ALL",
7
+ MASTER = "MASTER",
8
+ MD_MASTER = "MD_MASTER",
9
+ SUB_MASTER_MARKETING = "SUB_MASTER_MARKETING",
10
+ SUB_MASTER_FINANCE = "SUB_MASTER_FINANCE",
11
+ SUB_MASTER = "SUB_MASTER",
12
+ ADMIN = "ADMIN",
13
+ ADMIN1 = "ADMIN1",
14
+ ADMIN2 = "ADMIN2",
15
+ ADMIN3 = "ADMIN3",
16
+ ADMIN3_OPTION0 = "ADMIN3_OPTION0",
17
+ INTERN1 = "INTERN1",
18
+ INTERN2 = "INTERN2",
19
+ INTERN3 = "INTERN3",
20
+ PARTTIME = "PARTTIME",
21
+ CUSTOM = "CUSTOM",
22
+ JUNGOCAFE = "JUNGOCAFE",
23
+ SHIPPER = "SHIPPER",
24
+ RND = "RND",
25
+ INTERN_FINANCE = "INTERN_FINANCE"
26
+ }
27
+ export declare enum HttpMethodType {
28
+ GET = "GET",
29
+ POST = "POST",
30
+ PUT = "PUT",
31
+ HEAD = "HEAD",
32
+ DELETE = "DELETE",
33
+ PATCH = "PATCH",
34
+ OPTIONS = "OPTIONS",
35
+ CONNECT = "CONNECT",
36
+ TRACE = "TRACE"
37
+ }
38
+ export interface ManageUrlAccessEntity {
39
+ _id: Types.ObjectId | string;
40
+ /**
41
+ * @description
42
+ * 접근하는 urlPath와 Http Method 포함
43
+ * [예시]: GET /manage/health
44
+ */
45
+ url: string;
46
+ /**
47
+ * @description 접근 가능한 auth level 리스트
48
+ */
49
+ accessAuthLevelList: string[];
50
+ /**
51
+ * @description 접근 가능한 loginId 리스트
52
+ */
53
+ accessLoginIdList: string[];
54
+ /**
55
+ * @description 생성일
56
+ */
57
+ regDate: Date;
58
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpMethodType = exports.AuthLevelType = void 0;
4
+ var AuthLevelType;
5
+ (function (AuthLevelType) {
6
+ /**
7
+ * @property 전체 Auth Level이 접근 가능합니다.
8
+ */
9
+ AuthLevelType["ALL"] = "ALL";
10
+ AuthLevelType["MASTER"] = "MASTER";
11
+ AuthLevelType["MD_MASTER"] = "MD_MASTER";
12
+ AuthLevelType["SUB_MASTER_MARKETING"] = "SUB_MASTER_MARKETING";
13
+ AuthLevelType["SUB_MASTER_FINANCE"] = "SUB_MASTER_FINANCE";
14
+ AuthLevelType["SUB_MASTER"] = "SUB_MASTER";
15
+ AuthLevelType["ADMIN"] = "ADMIN";
16
+ AuthLevelType["ADMIN1"] = "ADMIN1";
17
+ AuthLevelType["ADMIN2"] = "ADMIN2";
18
+ AuthLevelType["ADMIN3"] = "ADMIN3";
19
+ AuthLevelType["ADMIN3_OPTION0"] = "ADMIN3_OPTION0";
20
+ AuthLevelType["INTERN1"] = "INTERN1";
21
+ AuthLevelType["INTERN2"] = "INTERN2";
22
+ AuthLevelType["INTERN3"] = "INTERN3";
23
+ AuthLevelType["PARTTIME"] = "PARTTIME";
24
+ AuthLevelType["CUSTOM"] = "CUSTOM";
25
+ AuthLevelType["JUNGOCAFE"] = "JUNGOCAFE";
26
+ AuthLevelType["SHIPPER"] = "SHIPPER";
27
+ AuthLevelType["RND"] = "RND";
28
+ AuthLevelType["INTERN_FINANCE"] = "INTERN_FINANCE";
29
+ })(AuthLevelType || (exports.AuthLevelType = AuthLevelType = {}));
30
+ var HttpMethodType;
31
+ (function (HttpMethodType) {
32
+ HttpMethodType["GET"] = "GET";
33
+ HttpMethodType["POST"] = "POST";
34
+ HttpMethodType["PUT"] = "PUT";
35
+ HttpMethodType["HEAD"] = "HEAD";
36
+ HttpMethodType["DELETE"] = "DELETE";
37
+ HttpMethodType["PATCH"] = "PATCH";
38
+ HttpMethodType["OPTIONS"] = "OPTIONS";
39
+ HttpMethodType["CONNECT"] = "CONNECT";
40
+ HttpMethodType["TRACE"] = "TRACE";
41
+ })(HttpMethodType || (exports.HttpMethodType = HttpMethodType = {}));
@@ -0,0 +1 @@
1
+ export * from './manage-user.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("./manage-user.entity"), exports);
@@ -0,0 +1,19 @@
1
+ import { Types } from 'mongoose';
2
+ export interface ManageUserAuth {
3
+ read: boolean;
4
+ write: boolean;
5
+ }
6
+ export interface ManageUserEntity {
7
+ _id: Types.ObjectId | string;
8
+ loginId: string;
9
+ authLevel: string;
10
+ username: string;
11
+ salt: string;
12
+ password: string;
13
+ userImg: string;
14
+ regDate: Date;
15
+ auth: ManageUserAuth;
16
+ isDelete: boolean;
17
+ leaveTime: Date | null;
18
+ isViewTopNav: boolean;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from './multi-settle/multi-settle.entity';
2
+ export * from './multi-settle-log/multi-settle-log.entity';
@@ -0,0 +1,18 @@
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("./multi-settle/multi-settle.entity"), exports);
18
+ __exportStar(require("./multi-settle-log/multi-settle-log.entity"), exports);
@@ -0,0 +1 @@
1
+ export * from './multi-settle.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("./multi-settle.entity"), exports);
@@ -0,0 +1,47 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum SettleTypeEnum {
3
+ /** 미 정산 */
4
+ ready = "ready",
5
+ /** 선 정산 */
6
+ first = "first",
7
+ /** 정산 완료 */
8
+ done = "done"
9
+ }
10
+ export declare enum TaxInvoiceStatusEnum {
11
+ /** 발행 준비 */
12
+ ready = "ready",
13
+ /** 발행 완료 */
14
+ done = "done"
15
+ }
16
+ export declare enum AbroadAccountSettleStatusEnum {
17
+ /** 준비 */
18
+ ready = "ready",
19
+ /** 송금중 */
20
+ ing = "ing"
21
+ }
22
+ export interface MultiSettleEntity {
23
+ _id: Types.ObjectId;
24
+ /** 정산 처리 타이틀 */
25
+ title: string;
26
+ /** 정산 처리 메모 */
27
+ memo?: string;
28
+ /** 정산 처리 생성자 */
29
+ creadtedManageUserId: Types.ObjectId;
30
+ /** 마지막 수정일 */
31
+ lastModifiedDate: Date;
32
+ /** 생성일 */
33
+ regDate: Date;
34
+ pInfoIdList: Types.ObjectId[];
35
+ /** 정산 상태 */
36
+ settleType: SettleTypeEnum;
37
+ /** 마지막 수정일 */
38
+ settleTypeModified?: Date;
39
+ /** 세금 계산서 발행 상태 */
40
+ taxInvoiceStatus: TaxInvoiceStatusEnum;
41
+ /** 마지막 수정일 */
42
+ taxInvoiceStatusModified?: Date;
43
+ /** 해외 계좌 정산 상태 */
44
+ abroadAccountSettleStatus: AbroadAccountSettleStatusEnum;
45
+ /** 마지막 수정일 */
46
+ abroadAccountSettleStatusModified?: Date;
47
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AbroadAccountSettleStatusEnum = exports.TaxInvoiceStatusEnum = exports.SettleTypeEnum = void 0;
4
+ var SettleTypeEnum;
5
+ (function (SettleTypeEnum) {
6
+ /** 미 정산 */
7
+ SettleTypeEnum["ready"] = "ready";
8
+ /** 선 정산 */
9
+ SettleTypeEnum["first"] = "first";
10
+ /** 정산 완료 */
11
+ SettleTypeEnum["done"] = "done";
12
+ })(SettleTypeEnum || (exports.SettleTypeEnum = SettleTypeEnum = {}));
13
+ var TaxInvoiceStatusEnum;
14
+ (function (TaxInvoiceStatusEnum) {
15
+ /** 발행 준비 */
16
+ TaxInvoiceStatusEnum["ready"] = "ready";
17
+ /** 발행 완료 */
18
+ TaxInvoiceStatusEnum["done"] = "done";
19
+ })(TaxInvoiceStatusEnum || (exports.TaxInvoiceStatusEnum = TaxInvoiceStatusEnum = {}));
20
+ var AbroadAccountSettleStatusEnum;
21
+ (function (AbroadAccountSettleStatusEnum) {
22
+ /** 준비 */
23
+ AbroadAccountSettleStatusEnum["ready"] = "ready";
24
+ /** 송금중 */
25
+ AbroadAccountSettleStatusEnum["ing"] = "ing";
26
+ })(AbroadAccountSettleStatusEnum || (exports.AbroadAccountSettleStatusEnum = AbroadAccountSettleStatusEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './multi-settle-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("./multi-settle-log.entity"), exports);
@@ -0,0 +1,45 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum MultiSettleLogTypeEnum {
3
+ /** 최초생성 */
4
+ REG = "REG",
5
+ /** 삭제 */
6
+ DELETE = "DELETE",
7
+ /** 결제 아이디 추가 */
8
+ ADD_PINFO_ID = "ADD_PINFO_ID",
9
+ /** 결제 아이디 삭제 */
10
+ REMOVE_PINFO_ID = "REMOVE_PINFO_ID",
11
+ /** 결제 아이디 전체 삭제 */
12
+ REMOVE_PINFO_ID_ALL = "REMOVE_PINFO_ID_ALL",
13
+ /** 메모 수정 */
14
+ EDIT_MEMO = "EDIT_MEMO",
15
+ /** 정산으로 변경 */
16
+ SETTLE_TYPE_DONE = "SETTLE_TYPE_DONE",
17
+ /** 선 정산으로 변경 */
18
+ SETTLE_TYPE_FIRST = "SETTLE_TYPE_FIRST",
19
+ /** 미정산으로 변경 */
20
+ SETTLE_TYPE_READY = "SETTLE_TYPE_READY",
21
+ /** 세금 계산서 준비 상태로 변경 */
22
+ TAX_INVOICE_STATUS_READY = "TAX_INVOICE_STATUS_READY",
23
+ /** 세금 계산서 완료 상태로 변경 */
24
+ TAX_INVOICE_STATUS_DONE = "TAX_INVOICE_STATUS_DONE",
25
+ /** 해외 계좌 정산 상태 준비로 변경 */
26
+ ABROAD_ACCOUNT_SETTLE_STATUS_READY = "ABROAD_ACCOUNT_SETTLE_STATUS_READY",
27
+ /** 해외 계좌 정산 상태 중으로 변경 */
28
+ ABROAD_ACCOUNT_SETTLE_STATUS_ING = "ABROAD_ACCOUNT_SETTLE_STATUS_ING"
29
+ }
30
+ export interface MultiSettleLogEntity {
31
+ _id: Types.ObjectId;
32
+ multiSettleId: Types.ObjectId;
33
+ /**
34
+ * @description 로그 종류
35
+ */
36
+ logType: MultiSettleLogTypeEnum;
37
+ /**
38
+ * @description 관리자 유저 아이디
39
+ */
40
+ manageUserId: Types.ObjectId;
41
+ /**
42
+ * @description 생성시간
43
+ */
44
+ regDate: Date;
45
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MultiSettleLogTypeEnum = void 0;
4
+ var MultiSettleLogTypeEnum;
5
+ (function (MultiSettleLogTypeEnum) {
6
+ /** 최초생성 */
7
+ MultiSettleLogTypeEnum["REG"] = "REG";
8
+ /** 삭제 */
9
+ MultiSettleLogTypeEnum["DELETE"] = "DELETE";
10
+ /** 결제 아이디 추가 */
11
+ MultiSettleLogTypeEnum["ADD_PINFO_ID"] = "ADD_PINFO_ID";
12
+ /** 결제 아이디 삭제 */
13
+ MultiSettleLogTypeEnum["REMOVE_PINFO_ID"] = "REMOVE_PINFO_ID";
14
+ /** 결제 아이디 전체 삭제 */
15
+ MultiSettleLogTypeEnum["REMOVE_PINFO_ID_ALL"] = "REMOVE_PINFO_ID_ALL";
16
+ /** 메모 수정 */
17
+ MultiSettleLogTypeEnum["EDIT_MEMO"] = "EDIT_MEMO";
18
+ /** 정산으로 변경 */
19
+ MultiSettleLogTypeEnum["SETTLE_TYPE_DONE"] = "SETTLE_TYPE_DONE";
20
+ /** 선 정산으로 변경 */
21
+ MultiSettleLogTypeEnum["SETTLE_TYPE_FIRST"] = "SETTLE_TYPE_FIRST";
22
+ /** 미정산으로 변경 */
23
+ MultiSettleLogTypeEnum["SETTLE_TYPE_READY"] = "SETTLE_TYPE_READY";
24
+ /** 세금 계산서 준비 상태로 변경 */
25
+ MultiSettleLogTypeEnum["TAX_INVOICE_STATUS_READY"] = "TAX_INVOICE_STATUS_READY";
26
+ /** 세금 계산서 완료 상태로 변경 */
27
+ MultiSettleLogTypeEnum["TAX_INVOICE_STATUS_DONE"] = "TAX_INVOICE_STATUS_DONE";
28
+ /** 해외 계좌 정산 상태 준비로 변경 */
29
+ MultiSettleLogTypeEnum["ABROAD_ACCOUNT_SETTLE_STATUS_READY"] = "ABROAD_ACCOUNT_SETTLE_STATUS_READY";
30
+ /** 해외 계좌 정산 상태 중으로 변경 */
31
+ MultiSettleLogTypeEnum["ABROAD_ACCOUNT_SETTLE_STATUS_ING"] = "ABROAD_ACCOUNT_SETTLE_STATUS_ING";
32
+ })(MultiSettleLogTypeEnum || (exports.MultiSettleLogTypeEnum = MultiSettleLogTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.79",
3
+ "version": "0.2.81",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1,52 @@
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
+ }
@@ -0,0 +1,28 @@
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 = {}));