@yolo-croket-dev/entity-v2 0.0.126 → 0.0.128-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.
- package/issued-receipt-coupon/index.d.ts +1 -0
- package/issued-receipt-coupon/index.js +17 -0
- package/issued-receipt-coupon/issued-receipt-coupon.entity.d.ts +23 -0
- package/issued-receipt-coupon/issued-receipt-coupon.entity.js +2 -0
- package/issued-receipt-coupon-log/index.d.ts +1 -0
- package/issued-receipt-coupon-log/index.js +17 -0
- package/issued-receipt-coupon-log/issued-receipt-coupon-log.entity.d.ts +13 -0
- package/issued-receipt-coupon-log/issued-receipt-coupon-log.entity.js +10 -0
- package/package.json +1 -1
- package/seller-portal-channel-link-request/seller-portal-channel-link-request.entity.d.ts +7 -0
- package/seller-portal-channel-link-request/seller-portal-channel-link-request.entity.js +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './issued-receipt-coupon.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("./issued-receipt-coupon.entity"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ReceiptCouponCanUsePeriodInfo {
|
|
2
|
+
sDate: Date;
|
|
3
|
+
eDate: Date;
|
|
4
|
+
}
|
|
5
|
+
export default interface IssuedReceiptCouponEntity {
|
|
6
|
+
_id: string;
|
|
7
|
+
uniqueId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
receiptCouponTemplateId: string;
|
|
10
|
+
isUsed: boolean;
|
|
11
|
+
discountType: any;
|
|
12
|
+
discountRateInfo?: any;
|
|
13
|
+
discountPriceIfno?: any;
|
|
14
|
+
couponName: string;
|
|
15
|
+
couponCode: string;
|
|
16
|
+
useConditionInfo: any;
|
|
17
|
+
isInfinity: boolean;
|
|
18
|
+
canIssuePeriodInfo: any;
|
|
19
|
+
canUsePeriodInfo: ReceiptCouponCanUsePeriodInfo;
|
|
20
|
+
regDate: Date;
|
|
21
|
+
viewInfo: any;
|
|
22
|
+
}
|
|
23
|
+
export { IssuedReceiptCouponEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './issued-receipt-coupon-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("./issued-receipt-coupon-log.entity"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum IssuedReceiptCouponLogTypeEnum {
|
|
2
|
+
/** @description 발급 */
|
|
3
|
+
REG = "reg",
|
|
4
|
+
/** @description 사용 */
|
|
5
|
+
USE = "use"
|
|
6
|
+
}
|
|
7
|
+
export default interface IssuedReceiptCouponLogEntity {
|
|
8
|
+
_id: string;
|
|
9
|
+
type: IssuedReceiptCouponLogTypeEnum;
|
|
10
|
+
issuedReceiptCouponId: string;
|
|
11
|
+
regDate: Date;
|
|
12
|
+
}
|
|
13
|
+
export { IssuedReceiptCouponLogEntity };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuedReceiptCouponLogTypeEnum = void 0;
|
|
4
|
+
var IssuedReceiptCouponLogTypeEnum;
|
|
5
|
+
(function (IssuedReceiptCouponLogTypeEnum) {
|
|
6
|
+
/** @description 발급 */
|
|
7
|
+
IssuedReceiptCouponLogTypeEnum["REG"] = "reg";
|
|
8
|
+
/** @description 사용 */
|
|
9
|
+
IssuedReceiptCouponLogTypeEnum["USE"] = "use";
|
|
10
|
+
})(IssuedReceiptCouponLogTypeEnum || (exports.IssuedReceiptCouponLogTypeEnum = IssuedReceiptCouponLogTypeEnum = {}));
|
package/package.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum ActualPeriodStatusEnum {
|
|
3
|
+
BEFORE = "\uC9D1\uD589\uC804",
|
|
4
|
+
ACTIVE = "\uC9D1\uD589\uC911",
|
|
5
|
+
END = "\uC9D1\uD589\uC885\uB8CC"
|
|
6
|
+
}
|
|
2
7
|
export interface SellerPortalChannelLinkRequestInfo {
|
|
3
8
|
isPortalLink: boolean;
|
|
4
9
|
isAdLink: boolean;
|
|
@@ -13,7 +18,9 @@ export default interface SellerPortalChannelLinkRequest {
|
|
|
13
18
|
pastStoreTitle: string;
|
|
14
19
|
connectedPortalActualPeriodNums?: number;
|
|
15
20
|
connectedPortalActualPeriodIds?: string[] | Types.ObjectId[];
|
|
21
|
+
connectedPortalActualPeriodStatus?: ActualPeriodStatusEnum | string;
|
|
16
22
|
connectedAdActualPeriodNums?: number;
|
|
17
23
|
connectedAdActualPeriodIds?: string[] | Types.ObjectId[];
|
|
24
|
+
connectedAdActualPeriodStatus?: ActualPeriodStatusEnum | string;
|
|
18
25
|
}
|
|
19
26
|
export { SellerPortalChannelLinkRequest };
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActualPeriodStatusEnum = void 0;
|
|
4
|
+
var ActualPeriodStatusEnum;
|
|
5
|
+
(function (ActualPeriodStatusEnum) {
|
|
6
|
+
ActualPeriodStatusEnum["BEFORE"] = "\uC9D1\uD589\uC804";
|
|
7
|
+
ActualPeriodStatusEnum["ACTIVE"] = "\uC9D1\uD589\uC911";
|
|
8
|
+
ActualPeriodStatusEnum["END"] = "\uC9D1\uD589\uC885\uB8CC";
|
|
9
|
+
})(ActualPeriodStatusEnum || (exports.ActualPeriodStatusEnum = ActualPeriodStatusEnum = {}));
|