@yolo-croket-dev/entity-v2 0.2.77 → 0.2.79-hj-1

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 (71) hide show
  1. package/attribution-history/attribution-history.entity.d.ts +9 -0
  2. package/attribution-history/attribution-history.entity.js +2 -0
  3. package/attribution-history/index.d.ts +1 -0
  4. package/attribution-history/index.js +17 -0
  5. package/attribution-touch/attrobution-touch.entity.d.ts +105 -0
  6. package/attribution-touch/attrobution-touch.entity.js +23 -0
  7. package/attribution-touch/index.d.ts +1 -0
  8. package/attribution-touch/index.js +17 -0
  9. package/index.d.ts +2 -0
  10. package/index.js +2 -0
  11. package/insurance.modules/index.d.ts +5 -0
  12. package/insurance.modules/index.js +21 -0
  13. package/insurance.modules/insurance-except-category/index.d.ts +1 -0
  14. package/insurance.modules/insurance-except-category/index.js +17 -0
  15. package/insurance.modules/insurance-except-category/insurance-except-category.entity.d.ts +10 -0
  16. package/insurance.modules/insurance-except-category/insurance-except-category.entity.js +2 -0
  17. package/insurance.modules/insurance-info/index.d.ts +1 -0
  18. package/insurance.modules/insurance-info/index.js +17 -0
  19. package/insurance.modules/insurance-info/insurance-info.entity.d.ts +19 -0
  20. package/insurance.modules/insurance-info/insurance-info.entity.js +13 -0
  21. package/insurance.modules/insurance-log/index.d.ts +1 -0
  22. package/insurance.modules/insurance-log/index.js +17 -0
  23. package/insurance.modules/insurance-log/insurance-log.entity.d.ts +22 -0
  24. package/insurance.modules/insurance-log/insurance-log.entity.js +18 -0
  25. package/insurance.modules/insurance-pricing-policy/index.d.ts +1 -0
  26. package/insurance.modules/insurance-pricing-policy/index.js +17 -0
  27. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.d.ts +16 -0
  28. package/insurance.modules/insurance-pricing-policy/insurance-pricing-policy.entity.js +2 -0
  29. package/insurance.modules/insurance-pricing-policy-description/index.d.ts +1 -0
  30. package/insurance.modules/insurance-pricing-policy-description/index.js +17 -0
  31. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.d.ts +15 -0
  32. package/insurance.modules/insurance-pricing-policy-description/insurance-pricing-policy-description.entity.js +8 -0
  33. package/manage-url/index.d.ts +1 -0
  34. package/manage-url/index.js +17 -0
  35. package/manage-url/manage-url.entity.d.ts +58 -0
  36. package/manage-url/manage-url.entity.js +41 -0
  37. package/manage-user/index.d.ts +1 -0
  38. package/manage-user/index.js +17 -0
  39. package/manage-user/manage-user.entity.d.ts +19 -0
  40. package/manage-user/manage-user.entity.js +2 -0
  41. package/multi-settle.modules/index.d.ts +2 -0
  42. package/multi-settle.modules/index.js +18 -0
  43. package/multi-settle.modules/multi-settle/index.d.ts +1 -0
  44. package/multi-settle.modules/multi-settle/index.js +17 -0
  45. package/multi-settle.modules/multi-settle/multi-settle.entity.d.ts +47 -0
  46. package/multi-settle.modules/multi-settle/multi-settle.entity.js +26 -0
  47. package/multi-settle.modules/multi-settle-log/index.d.ts +1 -0
  48. package/multi-settle.modules/multi-settle-log/index.js +17 -0
  49. package/multi-settle.modules/multi-settle-log/multi-settle-log.entity.d.ts +45 -0
  50. package/multi-settle.modules/multi-settle-log/multi-settle-log.entity.js +32 -0
  51. package/naver-search-ad.modules/index.d.ts +2 -0
  52. package/naver-search-ad.modules/index.js +18 -0
  53. package/naver-search-ad.modules/naver-search-ad-excel/index.d.ts +1 -0
  54. package/naver-search-ad.modules/naver-search-ad-excel/index.js +17 -0
  55. package/naver-search-ad.modules/naver-search-ad-excel/naver-search-ad-excel.entity.d.ts +68 -0
  56. package/naver-search-ad.modules/naver-search-ad-excel/naver-search-ad-excel.entity.js +28 -0
  57. package/naver-search-ad.modules/naver-search-ad-excel-data/index.d.ts +1 -0
  58. package/naver-search-ad.modules/naver-search-ad-excel-data/index.js +17 -0
  59. package/naver-search-ad.modules/naver-search-ad-excel-data/naver-search-ad-excel-data.entity.d.ts +129 -0
  60. package/naver-search-ad.modules/naver-search-ad-excel-data/naver-search-ad-excel-data.entity.js +2 -0
  61. package/package.json +1 -1
  62. package/search-query/index.d.ts +1 -0
  63. package/search-query/index.js +17 -0
  64. package/search-query/search-query.entity.d.ts +26 -0
  65. package/search-query/search-query.entity.js +2 -0
  66. package/store-item-group.modules/store-item-group/store-item-group.entity.d.ts +0 -2
  67. package/store-item-group.modules/store-item-group-log/store-item-group-log.entity.d.ts +0 -3
  68. package/store-item-group.modules/store-item-group-log/store-item-group-log.entity.js +0 -1
  69. package/store-item.modules/store-item-group-view-item/store-item-group-view-item.entity.d.ts +11 -0
  70. package/store.modules/store-log/store-log.entity.d.ts +52 -0
  71. package/store.modules/store-log/store-log.entity.js +28 -0
@@ -0,0 +1,9 @@
1
+ import { Types } from 'mongoose';
2
+ import { AttributionTouchEntity } from '../attribution-touch';
3
+ export interface AttributionHistoryEntity {
4
+ _id: Types.ObjectId | string;
5
+ userId: Types.ObjectId | string;
6
+ pInfoIds: Types.ObjectId[] | string[];
7
+ regDate: Date;
8
+ histories: AttributionTouchEntity[];
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './attribution-history.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("./attribution-history.entity"), exports);
@@ -0,0 +1,105 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum AttributionPlatformEnum {
3
+ ANDROID = "android",
4
+ IOS = "iOS",
5
+ DESKTOP = "desktop"
6
+ }
7
+ export declare enum AttributionChannelEnum {
8
+ NAVER = "naver",
9
+ KAKAO = "kakao",
10
+ META = "meta",
11
+ GOOGLE = "google"
12
+ }
13
+ /**
14
+ * @description
15
+ * yg 정보
16
+ * 존재 이유: 기존 앱 버전은 utm 데이터를 상품 상세 페이지 에서만 읽기 때문에 외부용 utm 정보들을 수집 불가
17
+ * -> yg정보는 앱에서 언제든 추적 하기 때문에 외부에 yg 정보를 심어 마케팅 팀에서 사용하였음 (yg정보가 심어진 외부 광고가 많음)
18
+ * */
19
+ export interface AttributionYgGroup {
20
+ yg_type?: string;
21
+ yg_method?: string;
22
+ }
23
+ export interface AttributionUtmGroup {
24
+ utm_source?: string;
25
+ utm_medium?: string;
26
+ utm_campaign?: string;
27
+ utm_content?: string;
28
+ utm_term?: string;
29
+ }
30
+ export interface AttributionNaver {
31
+ ad_type?: string;
32
+ n_media?: string;
33
+ n_query?: string;
34
+ n_rank?: number;
35
+ n_ad_group?: string;
36
+ n_ad?: string;
37
+ n_keyword_id?: string;
38
+ n_keyword?: string;
39
+ n_match?: number;
40
+ n_campaign_type?: number;
41
+ n_mail_pid?: string;
42
+ n_mail_id?: string;
43
+ }
44
+ export interface AttributionKakao {
45
+ kclid?: string;
46
+ }
47
+ export interface AttributionMeta {
48
+ fbclid?: string;
49
+ ad_id?: string;
50
+ adset_id?: string;
51
+ campaign_id?: string;
52
+ placement?: string;
53
+ platform?: string;
54
+ }
55
+ export interface AttributionGoogle {
56
+ gclid?: string;
57
+ keyword?: string;
58
+ matchtype?: string;
59
+ campaign_id?: string;
60
+ network?: string;
61
+ adposition?: string;
62
+ }
63
+ export declare enum AttributionTouchTypeEnum {
64
+ /** 내부 */
65
+ INTERNAL = "internal",
66
+ /** 외부 */
67
+ EXTERNAL = "external"
68
+ }
69
+ export interface AttributionTouchEntity {
70
+ _id: Types.ObjectId | string;
71
+ /** 아이피 */
72
+ ip: string;
73
+ /** 운영체제 */
74
+ platform: AttributionPlatformEnum;
75
+ /** 어트리 뷰션 아이디 */
76
+ attributionId?: string;
77
+ /** 만료 날짜 ttl 처리 */
78
+ expired_ttl?: Date;
79
+ /** 터치 시간 - 생성일 */
80
+ touchTime: Date;
81
+ /** ygGroup */
82
+ ygGroup?: AttributionYgGroup;
83
+ /** 채널 */
84
+ channel?: AttributionChannelEnum;
85
+ /** utm 그룹 */
86
+ utmGroup?: AttributionUtmGroup;
87
+ /** 네이버 */
88
+ naver?: AttributionNaver;
89
+ /** 카카오 */
90
+ kakao?: AttributionKakao;
91
+ /** 메타 */
92
+ meta?: AttributionMeta;
93
+ /** 구글 */
94
+ google?: AttributionGoogle;
95
+ referrer?: string;
96
+ /** 랜딩 url (해당 url의 프로퍼티에서 필요한 값들을 추출) */
97
+ landingUrl?: string;
98
+ /** 터치 타입 (내부, 외부) */
99
+ type: AttributionTouchTypeEnum;
100
+ userId?: Types.ObjectId | string;
101
+ /** 내부용 이벤트 */
102
+ event?: string;
103
+ /** 내부용 파라미터 */
104
+ params?: string;
105
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttributionTouchTypeEnum = exports.AttributionChannelEnum = exports.AttributionPlatformEnum = void 0;
4
+ var AttributionPlatformEnum;
5
+ (function (AttributionPlatformEnum) {
6
+ AttributionPlatformEnum["ANDROID"] = "android";
7
+ AttributionPlatformEnum["IOS"] = "iOS";
8
+ AttributionPlatformEnum["DESKTOP"] = "desktop";
9
+ })(AttributionPlatformEnum || (exports.AttributionPlatformEnum = AttributionPlatformEnum = {}));
10
+ var AttributionChannelEnum;
11
+ (function (AttributionChannelEnum) {
12
+ AttributionChannelEnum["NAVER"] = "naver";
13
+ AttributionChannelEnum["KAKAO"] = "kakao";
14
+ AttributionChannelEnum["META"] = "meta";
15
+ AttributionChannelEnum["GOOGLE"] = "google";
16
+ })(AttributionChannelEnum || (exports.AttributionChannelEnum = AttributionChannelEnum = {}));
17
+ var AttributionTouchTypeEnum;
18
+ (function (AttributionTouchTypeEnum) {
19
+ /** 내부 */
20
+ AttributionTouchTypeEnum["INTERNAL"] = "internal";
21
+ /** 외부 */
22
+ AttributionTouchTypeEnum["EXTERNAL"] = "external";
23
+ })(AttributionTouchTypeEnum || (exports.AttributionTouchTypeEnum = AttributionTouchTypeEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './attrobution-touch.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("./attrobution-touch.entity"), exports);
package/index.d.ts CHANGED
@@ -51,3 +51,5 @@ export * from './brand.modules/brand-bookmark';
51
51
  export * from './brand.modules/brand-log';
52
52
  export * from './daily-random-coupon-noti-user';
53
53
  export * from './store-item.modules';
54
+ export * from './attribution-touch';
55
+ export * from './attribution-history';
package/index.js CHANGED
@@ -67,3 +67,5 @@ __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("./attribution-touch"), exports);
71
+ __exportStar(require("./attribution-history"), exports);
@@ -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 });