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

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.
@@ -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-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,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-info-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-info-log.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.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);
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.79-jun.0",
3
+ "version": "0.2.79-jun.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",