@yolo-croket-dev/entity-v2 0.2.37-hj-4 → 0.2.37-jun.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/api-key-log/api-key-log.entity.js +1 -1
- package/api-secret/api-secret.entity.js +1 -1
- package/app-bulk-push-log/app-bulk-push-log.entity.js +2 -2
- package/app-event-popup/app-event-popup.entity.js +2 -2
- package/app-push-device-token/app-push-device-token.entity.d.ts +1 -1
- package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.js +1 -1
- package/banner/banner.entity.js +1 -1
- package/brand/brand.entity.d.ts +1 -0
- package/cart/cart.entity.js +2 -2
- package/chat.modules/chat-content.entity.js +1 -1
- package/chat.modules/chat-room.entity.js +2 -2
- package/data-payment-method/data-payment-method.entity.js +1 -1
- package/demand.modules/demand-log/demand-log.entity.js +1 -1
- package/image-log/image-log.entity.js +4 -4
- package/image-resize-log/image-resize-log.entity.js +1 -1
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/issued-receipt-coupon-log/issued-receipt-coupon-log.entity.js +1 -1
- package/link-tab/entity/link-tab.entity.js +2 -2
- package/lologin/lologin-for-admin.entity.d.ts +1 -1
- package/mail/mail.entity.js +1 -1
- package/package.json +1 -1
- package/partial-refund/partial-refund-for-admin.entity.d.ts +5 -5
- package/partial-refund/partial-refund.entity.js +4 -4
- package/purchased-info/purchased-info-for-partial-refund.entity.d.ts +1 -1
- package/purchased-info/purchased-info-for-seller.entity.d.ts +4 -4
- package/purchased-info/purchased-info.entity.js +6 -6
- package/purchased-info-log/purchased-info-log.entity.js +2 -2
- package/receipt-coupon-template/receipt-coupon-template.entity.js +2 -2
- package/receipt-coupon-template-log/receipt-coupon-template-log.entity.js +1 -1
- package/refund/refund.entity.js +6 -6
- package/remote-config/remote-config-for-business-info-not-editable-days.entity.js +1 -1
- package/selection-frame-data/selection-frame-data.entity.js +2 -2
- package/selection-frame-guide/selection-frame-guide.entity.js +1 -1
- package/selection-frame-vote/selection-frame-vote.entity.js +1 -1
- package/selection-item-connect/selection-item-connect-for-admin.entity.js +1 -1
- package/seller-ad-coupon-request-log/seller-ad-coupon-request-log.entity.js +2 -2
- package/seller-portal-channel-link-actual-period/seller-portal-channel-link-actual-period.entity.js +1 -1
- package/seller-portal-channel-link-request-log/seller-portal-channel-link-request-log.entity.js +1 -1
- package/store/store.entity.js +6 -6
- package/store-item-banner/store-item-banner.entity.js +1 -1
- package/store-item-connected-coupon/store-item-connected-coupon.entity.js +1 -1
- package/store-item-price-fluctuation-log/store-item-price-fluctuation-notification-trigger.entity.d.ts +1 -1
- package/store-item-synonyms/store-item-synonyms.entity.js +1 -1
- package/store-item.modules/store-item-excel-log/index.d.ts +1 -0
- package/{daily-random-coupon → store-item.modules/store-item-excel-log}/index.js +1 -1
- package/store-item.modules/store-item-excel-log/store-item-excel-log.entity.d.ts +44 -0
- package/store-item.modules/store-item-excel-log/store-item-excel-log.entity.js +12 -0
- package/summer-black-friday.modules/weekly-mega-deal-data/weekly-mega-deal-data.entity.js +1 -1
- package/user/user-for-admin.entity.d.ts +1 -1
- package/user/user.entity.js +2 -2
- package/yolo-deposit-history-by-pg/yolo-deposit-history-by-pg.entity.js +4 -4
- package/daily-random-coupon/daily-random-coupopn.entity.d.ts +0 -22
- package/daily-random-coupon/daily-random-coupopn.entity.js +0 -2
- package/daily-random-coupon/index.d.ts +0 -1
|
@@ -8,4 +8,4 @@ var ApiKeyLogTypeEnum;
|
|
|
8
8
|
ApiKeyLogTypeEnum["\uC0AC\uBC29\uB137_\uC0C1\uD488_\uB4F1\uB85D"] = "sabang_item_reg";
|
|
9
9
|
ApiKeyLogTypeEnum["\uC0AC\uBC29\uB137_\uC0C1\uD488_\uC218\uC815"] = "sabang_item_edit";
|
|
10
10
|
ApiKeyLogTypeEnum["\uC0AC\uBC29\uB137_\uC0C1\uD488_\uC0C1\uC138_\uC870\uD68C"] = "sabang_item_get_info";
|
|
11
|
-
})(ApiKeyLogTypeEnum
|
|
11
|
+
})(ApiKeyLogTypeEnum || (exports.ApiKeyLogTypeEnum = ApiKeyLogTypeEnum = {}));
|
|
@@ -6,4 +6,4 @@ var ApiSecretAuthEnum;
|
|
|
6
6
|
(function (ApiSecretAuthEnum) {
|
|
7
7
|
ApiSecretAuthEnum["\uC0AC\uBC29\uB137_\uC140\uB7EC"] = "sabang_seller";
|
|
8
8
|
ApiSecretAuthEnum["\uC2A4\uD1A0\uC5B4_\uBD07_\uC140\uB7EC"] = "store_bot_seller";
|
|
9
|
-
})(ApiSecretAuthEnum
|
|
9
|
+
})(ApiSecretAuthEnum || (exports.ApiSecretAuthEnum = ApiSecretAuthEnum = {}));
|
|
@@ -6,10 +6,10 @@ var AppBulkPushLogTypeEnum;
|
|
|
6
6
|
AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
|
|
7
7
|
AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
|
|
8
8
|
AppBulkPushLogTypeEnum["\uC5D1\uC140_\uC608\uC57D"] = "excel_reservation";
|
|
9
|
-
})(AppBulkPushLogTypeEnum
|
|
9
|
+
})(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
|
|
10
10
|
var AppBulkPushLogProcessEnum;
|
|
11
11
|
(function (AppBulkPushLogProcessEnum) {
|
|
12
12
|
AppBulkPushLogProcessEnum["\uB300\uAE30"] = "ready";
|
|
13
13
|
AppBulkPushLogProcessEnum["\uC9C4\uD589\uC911"] = "ing";
|
|
14
14
|
AppBulkPushLogProcessEnum["\uC644\uB8CC"] = "done";
|
|
15
|
-
})(AppBulkPushLogProcessEnum
|
|
15
|
+
})(AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = AppBulkPushLogProcessEnum = {}));
|
|
@@ -5,9 +5,9 @@ var AppEventPopupKindEnum;
|
|
|
5
5
|
(function (AppEventPopupKindEnum) {
|
|
6
6
|
AppEventPopupKindEnum["LAYER"] = "layer";
|
|
7
7
|
AppEventPopupKindEnum["TOAST"] = "toast";
|
|
8
|
-
})(AppEventPopupKindEnum
|
|
8
|
+
})(AppEventPopupKindEnum || (exports.AppEventPopupKindEnum = AppEventPopupKindEnum = {}));
|
|
9
9
|
var AppEventPopupImgUserTypeEnum;
|
|
10
10
|
(function (AppEventPopupImgUserTypeEnum) {
|
|
11
11
|
AppEventPopupImgUserTypeEnum["BUYER"] = "buyer";
|
|
12
12
|
AppEventPopupImgUserTypeEnum["SELLER"] = "seller";
|
|
13
|
-
})(AppEventPopupImgUserTypeEnum
|
|
13
|
+
})(AppEventPopupImgUserTypeEnum || (exports.AppEventPopupImgUserTypeEnum = AppEventPopupImgUserTypeEnum = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
2
|
/** 디바이스 타입 ios, android, etc */
|
|
3
|
-
export
|
|
3
|
+
export type AppPushDeviceType = 'ios' | 'android' | 'etc';
|
|
4
4
|
/** 앱 푸시 토큰 */
|
|
5
5
|
export interface AppPushDeviceToken {
|
|
6
6
|
/** 앱 푸시 토큰 아이디 */
|
|
@@ -5,4 +5,4 @@ var AppPushSubscribeSelectionVoteTypeEnum;
|
|
|
5
5
|
(function (AppPushSubscribeSelectionVoteTypeEnum) {
|
|
6
6
|
AppPushSubscribeSelectionVoteTypeEnum["A"] = "A";
|
|
7
7
|
AppPushSubscribeSelectionVoteTypeEnum["B"] = "B";
|
|
8
|
-
})(AppPushSubscribeSelectionVoteTypeEnum
|
|
8
|
+
})(AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = AppPushSubscribeSelectionVoteTypeEnum = {}));
|
package/banner/banner.entity.js
CHANGED
|
@@ -6,4 +6,4 @@ var BannerPlaceEnum;
|
|
|
6
6
|
BannerPlaceEnum["all"] = "all";
|
|
7
7
|
BannerPlaceEnum["buyer"] = "buyer";
|
|
8
8
|
BannerPlaceEnum["seller"] = "seller";
|
|
9
|
-
})(BannerPlaceEnum
|
|
9
|
+
})(BannerPlaceEnum || (exports.BannerPlaceEnum = BannerPlaceEnum = {}));
|
package/brand/brand.entity.d.ts
CHANGED
package/cart/cart.entity.js
CHANGED
|
@@ -5,9 +5,9 @@ var CartTypeEnum;
|
|
|
5
5
|
(function (CartTypeEnum) {
|
|
6
6
|
CartTypeEnum["shipping"] = "shipping";
|
|
7
7
|
CartTypeEnum["direct"] = "direct";
|
|
8
|
-
})(CartTypeEnum
|
|
8
|
+
})(CartTypeEnum || (exports.CartTypeEnum = CartTypeEnum = {}));
|
|
9
9
|
var CartPOptionTypeEnum;
|
|
10
10
|
(function (CartPOptionTypeEnum) {
|
|
11
11
|
CartPOptionTypeEnum["single"] = "single";
|
|
12
12
|
CartPOptionTypeEnum["group"] = "group";
|
|
13
|
-
})(CartPOptionTypeEnum
|
|
13
|
+
})(CartPOptionTypeEnum || (exports.CartPOptionTypeEnum = CartPOptionTypeEnum = {}));
|
|
@@ -6,4 +6,4 @@ var ChatContentTypeEnum;
|
|
|
6
6
|
ChatContentTypeEnum["TEXT"] = "text";
|
|
7
7
|
ChatContentTypeEnum["IMG"] = "img";
|
|
8
8
|
ChatContentTypeEnum["IMG_LIST"] = "imgList";
|
|
9
|
-
})(ChatContentTypeEnum
|
|
9
|
+
})(ChatContentTypeEnum || (exports.ChatContentTypeEnum = ChatContentTypeEnum = {}));
|
|
@@ -5,9 +5,9 @@ var ChatRoomTypeEnum;
|
|
|
5
5
|
(function (ChatRoomTypeEnum) {
|
|
6
6
|
ChatRoomTypeEnum["ASK"] = "ask";
|
|
7
7
|
ChatRoomTypeEnum["STORE"] = "store";
|
|
8
|
-
})(ChatRoomTypeEnum
|
|
8
|
+
})(ChatRoomTypeEnum || (exports.ChatRoomTypeEnum = ChatRoomTypeEnum = {}));
|
|
9
9
|
var ChatRoomProcessEnum;
|
|
10
10
|
(function (ChatRoomProcessEnum) {
|
|
11
11
|
ChatRoomProcessEnum["QUESTION"] = "question";
|
|
12
12
|
ChatRoomProcessEnum["PAID"] = "paid";
|
|
13
|
-
})(ChatRoomProcessEnum
|
|
13
|
+
})(ChatRoomProcessEnum || (exports.ChatRoomProcessEnum = ChatRoomProcessEnum = {}));
|
|
@@ -8,4 +8,4 @@ var DataPaymentMethodPayTypeEnum;
|
|
|
8
8
|
DataPaymentMethodPayTypeEnum["ask"] = "ask";
|
|
9
9
|
DataPaymentMethodPayTypeEnum["store"] = "store";
|
|
10
10
|
DataPaymentMethodPayTypeEnum["store-cart"] = "store-cart";
|
|
11
|
-
})(DataPaymentMethodPayTypeEnum
|
|
11
|
+
})(DataPaymentMethodPayTypeEnum || (exports.DataPaymentMethodPayTypeEnum = DataPaymentMethodPayTypeEnum = {}));
|
|
@@ -10,4 +10,4 @@ var DemandLogTypeEnum;
|
|
|
10
10
|
DemandLogTypeEnum["DELETE_HARD_BY_ADMIN"] = "DELETE_HARD_BY_ADMIN";
|
|
11
11
|
DemandLogTypeEnum["LIKE_BY_USER"] = "LIKE_BY_USER";
|
|
12
12
|
DemandLogTypeEnum["UNLIKE_BY_USER"] = "UNLIKE_BY_USER";
|
|
13
|
-
})(DemandLogTypeEnum
|
|
13
|
+
})(DemandLogTypeEnum || (exports.DemandLogTypeEnum = DemandLogTypeEnum = {}));
|
|
@@ -29,21 +29,21 @@ var ImageUsageTypeEnum;
|
|
|
29
29
|
ImageUsageTypeEnum["app_popup"] = "app_popup";
|
|
30
30
|
/** 구해줘 게시글 이미지 썸네일 */
|
|
31
31
|
ImageUsageTypeEnum["demand_thumbnail"] = "demand_thumbnail";
|
|
32
|
-
})(ImageUsageTypeEnum
|
|
32
|
+
})(ImageUsageTypeEnum || (exports.ImageUsageTypeEnum = ImageUsageTypeEnum = {}));
|
|
33
33
|
var envTypeEnum;
|
|
34
34
|
(function (envTypeEnum) {
|
|
35
35
|
envTypeEnum["develop"] = "develop";
|
|
36
36
|
envTypeEnum["release"] = "release";
|
|
37
37
|
envTypeEnum["production"] = "production";
|
|
38
|
-
})(envTypeEnum
|
|
38
|
+
})(envTypeEnum || (exports.envTypeEnum = envTypeEnum = {}));
|
|
39
39
|
var ImageLogVersionEnum;
|
|
40
40
|
(function (ImageLogVersionEnum) {
|
|
41
41
|
// 기본 이미지 (없을 경우 동일)
|
|
42
42
|
ImageLogVersionEnum["v1"] = "v1";
|
|
43
43
|
// 리사이즈로 생성된 로그
|
|
44
44
|
ImageLogVersionEnum["v2"] = "v2";
|
|
45
|
-
})(ImageLogVersionEnum
|
|
45
|
+
})(ImageLogVersionEnum || (exports.ImageLogVersionEnum = ImageLogVersionEnum = {}));
|
|
46
46
|
var RelatedIdTypeEnum;
|
|
47
47
|
(function (RelatedIdTypeEnum) {
|
|
48
48
|
RelatedIdTypeEnum["\uC0C1\uD488"] = "storeitems";
|
|
49
|
-
})(RelatedIdTypeEnum
|
|
49
|
+
})(RelatedIdTypeEnum || (exports.RelatedIdTypeEnum = RelatedIdTypeEnum = {}));
|
|
@@ -5,4 +5,4 @@ var ImageResizeLogVersionEnum;
|
|
|
5
5
|
(function (ImageResizeLogVersionEnum) {
|
|
6
6
|
// 최초 버전
|
|
7
7
|
ImageResizeLogVersionEnum["v1"] = "v1";
|
|
8
|
-
})(ImageResizeLogVersionEnum
|
|
8
|
+
})(ImageResizeLogVersionEnum || (exports.ImageResizeLogVersionEnum = ImageResizeLogVersionEnum = {}));
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -60,4 +60,3 @@ __exportStar(require("./store-item-detail-banner"), exports);
|
|
|
60
60
|
__exportStar(require("./store-item-banner"), exports);
|
|
61
61
|
__exportStar(require("./store-item-detail-banner-by-store-item"), exports);
|
|
62
62
|
__exportStar(require("./store-item-option-restock-log"), exports);
|
|
63
|
-
__exportStar(require("./daily-random-coupon"), exports);
|
|
@@ -10,4 +10,4 @@ var IssuedReceiptCouponLogTypeEnum;
|
|
|
10
10
|
IssuedReceiptCouponLogTypeEnum["USE"] = "use";
|
|
11
11
|
/** @description 쿠폰 복구 */
|
|
12
12
|
IssuedReceiptCouponLogTypeEnum["RECOVER"] = "recover";
|
|
13
|
-
})(IssuedReceiptCouponLogTypeEnum
|
|
13
|
+
})(IssuedReceiptCouponLogTypeEnum || (exports.IssuedReceiptCouponLogTypeEnum = IssuedReceiptCouponLogTypeEnum = {}));
|
|
@@ -5,11 +5,11 @@ var LinkTabTypeEnum;
|
|
|
5
5
|
(function (LinkTabTypeEnum) {
|
|
6
6
|
LinkTabTypeEnum["TEXT"] = "TEXT";
|
|
7
7
|
LinkTabTypeEnum["IMAGE"] = "IMAGE";
|
|
8
|
-
})(LinkTabTypeEnum
|
|
8
|
+
})(LinkTabTypeEnum || (exports.LinkTabTypeEnum = LinkTabTypeEnum = {}));
|
|
9
9
|
var LinkTabStatusEnum;
|
|
10
10
|
(function (LinkTabStatusEnum) {
|
|
11
11
|
/** @description 노출 */
|
|
12
12
|
LinkTabStatusEnum["LIVE"] = "LIVE";
|
|
13
13
|
/** @description 임시저장 - 노출X */
|
|
14
14
|
LinkTabStatusEnum["PENDING"] = "PENDING";
|
|
15
|
-
})(LinkTabStatusEnum
|
|
15
|
+
})(LinkTabStatusEnum || (exports.LinkTabStatusEnum = LinkTabStatusEnum = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LologinEntity } from './lologin.entity';
|
|
2
|
-
export
|
|
2
|
+
export type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
|
|
3
3
|
loginUserInfo: {
|
|
4
4
|
userId: string;
|
|
5
5
|
username: string;
|
package/mail/mail.entity.js
CHANGED
|
@@ -9,4 +9,4 @@ var MailClassifyTypeEnum;
|
|
|
9
9
|
MailClassifyTypeEnum["TAX_BILL"] = "TAX_BILL";
|
|
10
10
|
/** 기본 */
|
|
11
11
|
MailClassifyTypeEnum["DEFAULT"] = "DEFAULT";
|
|
12
|
-
})(MailClassifyTypeEnum
|
|
12
|
+
})(MailClassifyTypeEnum || (exports.MailClassifyTypeEnum = MailClassifyTypeEnum = {}));
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@ export interface PartialRefundCouponDiscountInfo {
|
|
|
10
10
|
/** @description 쿠폰 할인된 금액 */
|
|
11
11
|
couponDiscountValue: number;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
13
|
+
export type PickedPayTryLogForPartialRefundAdmin = Pick<PayTryLogEntity, 'couponInfo' | 'receiptCouponInfo'>;
|
|
14
|
+
export type PickedIssuedCouponForPartialRefundAdmin = Pick<IssuedCouponEntity, 'couponCode'>;
|
|
15
|
+
export type PickedIssuedReceiptCouponForPartialRefundAdmin = Pick<IssuedReceiptCouponEntity, 'couponCode' | 'useConditionInfo' | 'discountType' | 'discountPriceInfo' | 'discountRateInfo'>;
|
|
16
|
+
export type PartialRefundCurrentPInfo = Pick<PurchasedInfoEntity, 'totalPrice' | 'couponInfo' | 'usedCredit' | 'paymentFeeInfo' | 'paidPrice'>;
|
|
17
|
+
export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo'> & {
|
|
18
18
|
/** @description 결제아이디 */
|
|
19
19
|
PInfoId: string;
|
|
20
20
|
/** @description 주문번호 */
|
|
@@ -9,7 +9,7 @@ var PartialRefundAuthorTypeEnum;
|
|
|
9
9
|
PartialRefundAuthorTypeEnum["SELLER"] = "seller";
|
|
10
10
|
/** 관리자 */
|
|
11
11
|
PartialRefundAuthorTypeEnum["MANAGER"] = "manager";
|
|
12
|
-
})(PartialRefundAuthorTypeEnum
|
|
12
|
+
})(PartialRefundAuthorTypeEnum || (exports.PartialRefundAuthorTypeEnum = PartialRefundAuthorTypeEnum = {}));
|
|
13
13
|
var PartialRefundTypeEnum;
|
|
14
14
|
(function (PartialRefundTypeEnum) {
|
|
15
15
|
/** @description 특정 옵션/수량 환불 */
|
|
@@ -18,7 +18,7 @@ var PartialRefundTypeEnum;
|
|
|
18
18
|
PartialRefundTypeEnum["PRICE_REFUND"] = "PRICE_REFUND";
|
|
19
19
|
/** @description 반품비 제외 환불 */
|
|
20
20
|
PartialRefundTypeEnum["EXCLUDING_RETURN_FEE_REFUND"] = "EXCLUDING_RETURN_FEE_REFUND";
|
|
21
|
-
})(PartialRefundTypeEnum
|
|
21
|
+
})(PartialRefundTypeEnum || (exports.PartialRefundTypeEnum = PartialRefundTypeEnum = {}));
|
|
22
22
|
var PartialRefundReasonTypeEnum;
|
|
23
23
|
(function (PartialRefundReasonTypeEnum) {
|
|
24
24
|
/** @description 현지 품절 */
|
|
@@ -33,7 +33,7 @@ var PartialRefundReasonTypeEnum;
|
|
|
33
33
|
PartialRefundReasonTypeEnum["DEFECTIVE_PRODUCT"] = "DEFECTIVE_PRODUCT";
|
|
34
34
|
/** @description 기타 (직접 입력) */
|
|
35
35
|
PartialRefundReasonTypeEnum["ETC"] = "ETC";
|
|
36
|
-
})(PartialRefundReasonTypeEnum
|
|
36
|
+
})(PartialRefundReasonTypeEnum || (exports.PartialRefundReasonTypeEnum = PartialRefundReasonTypeEnum = {}));
|
|
37
37
|
var PartialRefundProcessEnum;
|
|
38
38
|
(function (PartialRefundProcessEnum) {
|
|
39
39
|
/** @description 접수 완료 */
|
|
@@ -42,4 +42,4 @@ var PartialRefundProcessEnum;
|
|
|
42
42
|
PartialRefundProcessEnum["COMPLETED"] = "COMPLETED";
|
|
43
43
|
/** @description 접수 철회 */
|
|
44
44
|
PartialRefundProcessEnum["WITHDRAWAL"] = "WITHDRAWAL";
|
|
45
|
-
})(PartialRefundProcessEnum
|
|
45
|
+
})(PartialRefundProcessEnum || (exports.PartialRefundProcessEnum = PartialRefundProcessEnum = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthorTypeEnum } from '../refund';
|
|
2
2
|
import PurchasedInfoEntity from './purchased-info.entity';
|
|
3
|
-
export
|
|
3
|
+
export type PurchasedInfoForPartialRefundEntity = Pick<PurchasedInfoEntity, '_id' | 'pastName' | 'pastPrice' | 'pastPriceForBuyer' | 'pOptionInfo' | 'paidPrice'> & {
|
|
4
4
|
process: string;
|
|
5
5
|
authorType: AuthorTypeEnum;
|
|
6
6
|
};
|
|
@@ -8,10 +8,10 @@ export default interface PurchasedInfoForSeller {
|
|
|
8
8
|
details: PurchasedInfoForSellerDetail[];
|
|
9
9
|
searchToken: string;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
11
|
+
export type RefundInfoPickedForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
|
|
12
|
+
export type UserInfoPickedForSeller = Pick<UserEntity, '_id' | 'username' | 'phoneCountry' | 'phoneNumber' | 'photos' | 'subContactList'>;
|
|
13
|
+
export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo' | 'lastPartialRefundProcess' | 'lastPartialRefundId' | 'waitingReceiveInfo' | 'cancelledDate' | 'process_v2' | 'isPOptionChanged'>;
|
|
14
|
+
export type PurchasedInfoForSellerDetail = {
|
|
15
15
|
pInfo: PInfoPickedForSeller;
|
|
16
16
|
buyerUserInfo: UserInfoPickedForSeller;
|
|
17
17
|
pInfoRefundInfo?: RefundInfoPickedForSeller;
|
|
@@ -5,21 +5,21 @@ var POptionTypeEnum;
|
|
|
5
5
|
(function (POptionTypeEnum) {
|
|
6
6
|
POptionTypeEnum["single"] = "single";
|
|
7
7
|
POptionTypeEnum["group"] = "group";
|
|
8
|
-
})(POptionTypeEnum
|
|
8
|
+
})(POptionTypeEnum || (exports.POptionTypeEnum = POptionTypeEnum = {}));
|
|
9
9
|
var TaxInvoiceIssueProcessEnum;
|
|
10
10
|
(function (TaxInvoiceIssueProcessEnum) {
|
|
11
11
|
/** 발행 완료 */
|
|
12
12
|
TaxInvoiceIssueProcessEnum["DONE"] = "done";
|
|
13
13
|
/** 발행 예정 */
|
|
14
14
|
TaxInvoiceIssueProcessEnum["EXPECTED"] = "expected";
|
|
15
|
-
})(TaxInvoiceIssueProcessEnum
|
|
15
|
+
})(TaxInvoiceIssueProcessEnum || (exports.TaxInvoiceIssueProcessEnum = TaxInvoiceIssueProcessEnum = {}));
|
|
16
16
|
var UserTypeEnum;
|
|
17
17
|
(function (UserTypeEnum) {
|
|
18
18
|
UserTypeEnum["seller"] = "seller";
|
|
19
19
|
UserTypeEnum["buyer"] = "buyer";
|
|
20
20
|
UserTypeEnum["manager"] = "manager";
|
|
21
21
|
UserTypeEnum["cron"] = "cron";
|
|
22
|
-
})(UserTypeEnum
|
|
22
|
+
})(UserTypeEnum || (exports.UserTypeEnum = UserTypeEnum = {}));
|
|
23
23
|
var PurchasedProcessEnum;
|
|
24
24
|
(function (PurchasedProcessEnum) {
|
|
25
25
|
PurchasedProcessEnum["\uC785\uAE08\uC804"] = "beforeDeposit";
|
|
@@ -30,7 +30,7 @@ var PurchasedProcessEnum;
|
|
|
30
30
|
PurchasedProcessEnum["\uC644\uB8CC"] = "finished";
|
|
31
31
|
PurchasedProcessEnum["\uD658\uBD88_\uCC98\uB9AC\uC911"] = "refunding";
|
|
32
32
|
PurchasedProcessEnum["\uCDE8\uC18C\uB428"] = "cancelled";
|
|
33
|
-
})(PurchasedProcessEnum
|
|
33
|
+
})(PurchasedProcessEnum || (exports.PurchasedProcessEnum = PurchasedProcessEnum = {}));
|
|
34
34
|
var PurchasedProcessV2Enum;
|
|
35
35
|
(function (PurchasedProcessV2Enum) {
|
|
36
36
|
PurchasedProcessV2Enum["\uC785\uAE08\uC804"] = "beforeDeposit";
|
|
@@ -42,7 +42,7 @@ var PurchasedProcessV2Enum;
|
|
|
42
42
|
PurchasedProcessV2Enum["\uC644\uB8CC"] = "finished";
|
|
43
43
|
PurchasedProcessV2Enum["\uD658\uBD88_\uCC98\uB9AC\uC911"] = "refunding";
|
|
44
44
|
PurchasedProcessV2Enum["\uCDE8\uC18C\uB428"] = "cancelled";
|
|
45
|
-
})(PurchasedProcessV2Enum
|
|
45
|
+
})(PurchasedProcessV2Enum || (exports.PurchasedProcessV2Enum = PurchasedProcessV2Enum = {}));
|
|
46
46
|
// 당시 셀렉션 프레임 데이터 정보
|
|
47
47
|
class PastSelectionFrameDataInfo {
|
|
48
48
|
}
|
|
@@ -52,4 +52,4 @@ var InsuranceProcessTypeEnum;
|
|
|
52
52
|
InsuranceProcessTypeEnum["REG"] = "reg";
|
|
53
53
|
InsuranceProcessTypeEnum["CANCEL"] = "cancel";
|
|
54
54
|
InsuranceProcessTypeEnum["DELETE"] = "delete";
|
|
55
|
-
})(InsuranceProcessTypeEnum
|
|
55
|
+
})(InsuranceProcessTypeEnum || (exports.InsuranceProcessTypeEnum = InsuranceProcessTypeEnum = {}));
|
|
@@ -59,10 +59,10 @@ var PurchasedInfoLogTypeEnum;
|
|
|
59
59
|
PurchasedInfoLogTypeEnum["MANAGE_EDIT_COUPON_DISCOUNT_PRICE"] = "MANAGE_EDIT_COUPON_DISCOUNT_PRICE";
|
|
60
60
|
/** 관리자 쿠폰 삭제 */
|
|
61
61
|
PurchasedInfoLogTypeEnum["MANAGE_DELETE_COUPON_INFO"] = "MANAGE_DELETE_COUPON_INFO";
|
|
62
|
-
})(PurchasedInfoLogTypeEnum
|
|
62
|
+
})(PurchasedInfoLogTypeEnum || (exports.PurchasedInfoLogTypeEnum = PurchasedInfoLogTypeEnum = {}));
|
|
63
63
|
var PurchasedInfoLogVersionEnum;
|
|
64
64
|
(function (PurchasedInfoLogVersionEnum) {
|
|
65
65
|
PurchasedInfoLogVersionEnum[PurchasedInfoLogVersionEnum["V1"] = 1] = "V1";
|
|
66
66
|
PurchasedInfoLogVersionEnum[PurchasedInfoLogVersionEnum["V2"] = 2] = "V2";
|
|
67
67
|
PurchasedInfoLogVersionEnum[PurchasedInfoLogVersionEnum["V3"] = 3] = "V3";
|
|
68
|
-
})(PurchasedInfoLogVersionEnum
|
|
68
|
+
})(PurchasedInfoLogVersionEnum || (exports.PurchasedInfoLogVersionEnum = PurchasedInfoLogVersionEnum = {}));
|
|
@@ -5,10 +5,10 @@ var ReceiptCouponTemplateDiscountTypeEnum;
|
|
|
5
5
|
(function (ReceiptCouponTemplateDiscountTypeEnum) {
|
|
6
6
|
ReceiptCouponTemplateDiscountTypeEnum["RATE"] = "RATE";
|
|
7
7
|
ReceiptCouponTemplateDiscountTypeEnum["PRICE"] = "PRICE";
|
|
8
|
-
})(ReceiptCouponTemplateDiscountTypeEnum
|
|
8
|
+
})(ReceiptCouponTemplateDiscountTypeEnum || (exports.ReceiptCouponTemplateDiscountTypeEnum = ReceiptCouponTemplateDiscountTypeEnum = {}));
|
|
9
9
|
var ReceiptCouponTemplateConditionAbleDeviceTypeEnum;
|
|
10
10
|
(function (ReceiptCouponTemplateConditionAbleDeviceTypeEnum) {
|
|
11
11
|
ReceiptCouponTemplateConditionAbleDeviceTypeEnum["APP"] = "APP";
|
|
12
12
|
ReceiptCouponTemplateConditionAbleDeviceTypeEnum["WEB"] = "WEB";
|
|
13
13
|
ReceiptCouponTemplateConditionAbleDeviceTypeEnum["ALL"] = "ALL";
|
|
14
|
-
})(ReceiptCouponTemplateConditionAbleDeviceTypeEnum
|
|
14
|
+
})(ReceiptCouponTemplateConditionAbleDeviceTypeEnum || (exports.ReceiptCouponTemplateConditionAbleDeviceTypeEnum = ReceiptCouponTemplateConditionAbleDeviceTypeEnum = {}));
|
|
@@ -7,4 +7,4 @@ var ReceiptCouponTemplateLogTypeEnum;
|
|
|
7
7
|
ReceiptCouponTemplateLogTypeEnum["edit"] = "edit";
|
|
8
8
|
ReceiptCouponTemplateLogTypeEnum["pause"] = "pause";
|
|
9
9
|
ReceiptCouponTemplateLogTypeEnum["reg_after_edit"] = "reg_after_edit";
|
|
10
|
-
})(ReceiptCouponTemplateLogTypeEnum
|
|
10
|
+
})(ReceiptCouponTemplateLogTypeEnum || (exports.ReceiptCouponTemplateLogTypeEnum = ReceiptCouponTemplateLogTypeEnum = {}));
|
package/refund/refund.entity.js
CHANGED
|
@@ -5,13 +5,13 @@ var REFUND_AUTHOR_TYPE;
|
|
|
5
5
|
(function (REFUND_AUTHOR_TYPE) {
|
|
6
6
|
REFUND_AUTHOR_TYPE["SELLER"] = "seller";
|
|
7
7
|
REFUND_AUTHOR_TYPE["BUYER"] = "buyer";
|
|
8
|
-
})(REFUND_AUTHOR_TYPE
|
|
8
|
+
})(REFUND_AUTHOR_TYPE || (exports.REFUND_AUTHOR_TYPE = REFUND_AUTHOR_TYPE = {}));
|
|
9
9
|
var RefundProcessEnum;
|
|
10
10
|
(function (RefundProcessEnum) {
|
|
11
11
|
RefundProcessEnum["\uD658\uBD88\uC911"] = "ing";
|
|
12
12
|
RefundProcessEnum["\uD658\uBD88\uC644\uB8CC"] = "done";
|
|
13
13
|
RefundProcessEnum["\uD658\uBD88\uCDE8\uC18C"] = "cancel";
|
|
14
|
-
})(RefundProcessEnum
|
|
14
|
+
})(RefundProcessEnum || (exports.RefundProcessEnum = RefundProcessEnum = {}));
|
|
15
15
|
var TransactionProcessEnum;
|
|
16
16
|
(function (TransactionProcessEnum) {
|
|
17
17
|
TransactionProcessEnum["WAITING_ORDER"] = "waitingOrder";
|
|
@@ -19,25 +19,25 @@ var TransactionProcessEnum;
|
|
|
19
19
|
TransactionProcessEnum["AFTER_DELIVERY"] = "afterDelivery";
|
|
20
20
|
TransactionProcessEnum["WAITING_RECEIVE"] = "waitingReceive";
|
|
21
21
|
TransactionProcessEnum["BEFORE_DELIVERY"] = "beforeDelivery";
|
|
22
|
-
})(TransactionProcessEnum
|
|
22
|
+
})(TransactionProcessEnum || (exports.TransactionProcessEnum = TransactionProcessEnum = {}));
|
|
23
23
|
var RefundTypeEnum;
|
|
24
24
|
(function (RefundTypeEnum) {
|
|
25
25
|
RefundTypeEnum["ASK"] = "ask";
|
|
26
26
|
RefundTypeEnum["STORE"] = "store";
|
|
27
|
-
})(RefundTypeEnum
|
|
27
|
+
})(RefundTypeEnum || (exports.RefundTypeEnum = RefundTypeEnum = {}));
|
|
28
28
|
var AuthorTypeEnum;
|
|
29
29
|
(function (AuthorTypeEnum) {
|
|
30
30
|
/** 구매자 */
|
|
31
31
|
AuthorTypeEnum["BUYER"] = "buyer";
|
|
32
32
|
/** 셀러 */
|
|
33
33
|
AuthorTypeEnum["SELLER"] = "seller";
|
|
34
|
-
})(AuthorTypeEnum
|
|
34
|
+
})(AuthorTypeEnum || (exports.AuthorTypeEnum = AuthorTypeEnum = {}));
|
|
35
35
|
var SellerRefundApprovalInfoAuthorTypeEnum;
|
|
36
36
|
(function (SellerRefundApprovalInfoAuthorTypeEnum) {
|
|
37
37
|
SellerRefundApprovalInfoAuthorTypeEnum["SELLER"] = "seller";
|
|
38
38
|
SellerRefundApprovalInfoAuthorTypeEnum["BUYER"] = "buyer";
|
|
39
39
|
SellerRefundApprovalInfoAuthorTypeEnum["MANAGER"] = "manager";
|
|
40
|
-
})(SellerRefundApprovalInfoAuthorTypeEnum
|
|
40
|
+
})(SellerRefundApprovalInfoAuthorTypeEnum || (exports.SellerRefundApprovalInfoAuthorTypeEnum = SellerRefundApprovalInfoAuthorTypeEnum = {}));
|
|
41
41
|
class ReturnInfo {
|
|
42
42
|
}
|
|
43
43
|
exports.ReturnInfo = ReturnInfo;
|
|
@@ -5,4 +5,4 @@ var BusinessInfoNotEditableDaysKeyEnum;
|
|
|
5
5
|
(function (BusinessInfoNotEditableDaysKeyEnum) {
|
|
6
6
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableStartDay"] = "businessInfoNotEditableStartDay";
|
|
7
7
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableEndDay"] = "businessInfoNotEditableEndDay";
|
|
8
|
-
})(BusinessInfoNotEditableDaysKeyEnum
|
|
8
|
+
})(BusinessInfoNotEditableDaysKeyEnum || (exports.BusinessInfoNotEditableDaysKeyEnum = BusinessInfoNotEditableDaysKeyEnum = {}));
|
|
@@ -11,7 +11,7 @@ var ViewTypeEnum;
|
|
|
11
11
|
ViewTypeEnum["F"] = "F";
|
|
12
12
|
ViewTypeEnum["G"] = "G";
|
|
13
13
|
ViewTypeEnum["H"] = "H";
|
|
14
|
-
})(ViewTypeEnum
|
|
14
|
+
})(ViewTypeEnum || (exports.ViewTypeEnum = ViewTypeEnum = {}));
|
|
15
15
|
var SelectionFrameDataTypeEnum;
|
|
16
16
|
(function (SelectionFrameDataTypeEnum) {
|
|
17
17
|
SelectionFrameDataTypeEnum["\uB300"] = "large";
|
|
@@ -19,7 +19,7 @@ var SelectionFrameDataTypeEnum;
|
|
|
19
19
|
SelectionFrameDataTypeEnum["\uC18C"] = "small";
|
|
20
20
|
SelectionFrameDataTypeEnum["\uC18C\uC18C"] = "small2";
|
|
21
21
|
SelectionFrameDataTypeEnum["\uC18C\uC18C\uC18C"] = "small3";
|
|
22
|
-
})(SelectionFrameDataTypeEnum
|
|
22
|
+
})(SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = SelectionFrameDataTypeEnum = {}));
|
|
23
23
|
class SelectionFrameDataSubTitle {
|
|
24
24
|
}
|
|
25
25
|
exports.SelectionFrameDataSubTitle = SelectionFrameDataSubTitle;
|
|
@@ -9,7 +9,7 @@ var RequireTypeEnum;
|
|
|
9
9
|
RequireTypeEnum["NO_REQUIRE"] = "noRequire";
|
|
10
10
|
/** @description 선택 */
|
|
11
11
|
RequireTypeEnum["OPTIONAL"] = "optional";
|
|
12
|
-
})(RequireTypeEnum
|
|
12
|
+
})(RequireTypeEnum || (exports.RequireTypeEnum = RequireTypeEnum = {}));
|
|
13
13
|
/** @description 데이터 필요 여부 */
|
|
14
14
|
class RequireInfo {
|
|
15
15
|
}
|
|
@@ -7,4 +7,4 @@ var SelectionVoteProcessEnum;
|
|
|
7
7
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC900\uBE44\uC911"] = "REVIEW_PREPARING";
|
|
8
8
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC644\uB8CC"] = "REVIEW_COMPLETED";
|
|
9
9
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC911\uC9C0"] = "REVIEW_STOPPED";
|
|
10
|
-
})(SelectionVoteProcessEnum
|
|
10
|
+
})(SelectionVoteProcessEnum || (exports.SelectionVoteProcessEnum = SelectionVoteProcessEnum = {}));
|
|
@@ -7,4 +7,4 @@ var SelectionItemConnectForAdminSearchTypeEnum;
|
|
|
7
7
|
SelectionItemConnectForAdminSearchTypeEnum["\uC0C1\uD488 \uC544\uC774\uB514"] = "\uC0C1\uD488 \uC544\uC774\uB514";
|
|
8
8
|
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514";
|
|
9
9
|
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514";
|
|
10
|
-
})(SelectionItemConnectForAdminSearchTypeEnum
|
|
10
|
+
})(SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = SelectionItemConnectForAdminSearchTypeEnum = {}));
|
|
@@ -5,9 +5,9 @@ var SellerAdCouponRequestLogTargetEnum;
|
|
|
5
5
|
(function (SellerAdCouponRequestLogTargetEnum) {
|
|
6
6
|
SellerAdCouponRequestLogTargetEnum["ALL"] = "ALL";
|
|
7
7
|
SellerAdCouponRequestLogTargetEnum["ONE"] = "ONE";
|
|
8
|
-
})(SellerAdCouponRequestLogTargetEnum
|
|
8
|
+
})(SellerAdCouponRequestLogTargetEnum || (exports.SellerAdCouponRequestLogTargetEnum = SellerAdCouponRequestLogTargetEnum = {}));
|
|
9
9
|
var SellerAdCouponRequestLogCouponTypeEnum;
|
|
10
10
|
(function (SellerAdCouponRequestLogCouponTypeEnum) {
|
|
11
11
|
SellerAdCouponRequestLogCouponTypeEnum["PRICE"] = "PRICE";
|
|
12
12
|
SellerAdCouponRequestLogCouponTypeEnum["RATE"] = "RATE";
|
|
13
|
-
})(SellerAdCouponRequestLogCouponTypeEnum
|
|
13
|
+
})(SellerAdCouponRequestLogCouponTypeEnum || (exports.SellerAdCouponRequestLogCouponTypeEnum = SellerAdCouponRequestLogCouponTypeEnum = {}));
|
package/seller-portal-channel-link-actual-period/seller-portal-channel-link-actual-period.entity.js
CHANGED
|
@@ -7,4 +7,4 @@ var SellerPortalChannelLinkActualPeriodTypeEnum;
|
|
|
7
7
|
SellerPortalChannelLinkActualPeriodTypeEnum["portal"] = "portal";
|
|
8
8
|
/** 광고 실제 기간 */
|
|
9
9
|
SellerPortalChannelLinkActualPeriodTypeEnum["ad"] = "ad";
|
|
10
|
-
})(SellerPortalChannelLinkActualPeriodTypeEnum
|
|
10
|
+
})(SellerPortalChannelLinkActualPeriodTypeEnum || (exports.SellerPortalChannelLinkActualPeriodTypeEnum = SellerPortalChannelLinkActualPeriodTypeEnum = {}));
|
package/seller-portal-channel-link-request-log/seller-portal-channel-link-request-log.entity.js
CHANGED
|
@@ -20,4 +20,4 @@ var SellerPortalChannelLinkRequestLogTypeEnum;
|
|
|
20
20
|
/** 기간 삭제 */
|
|
21
21
|
SellerPortalChannelLinkRequestLogTypeEnum["delete_period_portal"] = "delete_period_portal";
|
|
22
22
|
SellerPortalChannelLinkRequestLogTypeEnum["delete_period_ad"] = "delete_period_ad";
|
|
23
|
-
})(SellerPortalChannelLinkRequestLogTypeEnum
|
|
23
|
+
})(SellerPortalChannelLinkRequestLogTypeEnum || (exports.SellerPortalChannelLinkRequestLogTypeEnum = SellerPortalChannelLinkRequestLogTypeEnum = {}));
|
package/store/store.entity.js
CHANGED
|
@@ -11,12 +11,12 @@ var StoreLastActivityTypeEnum;
|
|
|
11
11
|
StoreLastActivityTypeEnum["regStore"] = "regStore";
|
|
12
12
|
// 스토어 수정
|
|
13
13
|
StoreLastActivityTypeEnum["editStore"] = "editStore";
|
|
14
|
-
})(StoreLastActivityTypeEnum
|
|
14
|
+
})(StoreLastActivityTypeEnum || (exports.StoreLastActivityTypeEnum = StoreLastActivityTypeEnum = {}));
|
|
15
15
|
var ProceedsMethodTypeEnum;
|
|
16
16
|
(function (ProceedsMethodTypeEnum) {
|
|
17
17
|
ProceedsMethodTypeEnum["\uC77C\uBC18"] = "normal";
|
|
18
18
|
ProceedsMethodTypeEnum["\uBAA9\uD45C\uAE08\uC561"] = "goal";
|
|
19
|
-
})(ProceedsMethodTypeEnum
|
|
19
|
+
})(ProceedsMethodTypeEnum || (exports.ProceedsMethodTypeEnum = ProceedsMethodTypeEnum = {}));
|
|
20
20
|
/** @description 사업자 정보 객체 */
|
|
21
21
|
var BusinessInfoSellerTypeEnum;
|
|
22
22
|
(function (BusinessInfoSellerTypeEnum) {
|
|
@@ -26,7 +26,7 @@ var BusinessInfoSellerTypeEnum;
|
|
|
26
26
|
BusinessInfoSellerTypeEnum["DOMESTIC_BUSINESS"] = "domesticBusiness";
|
|
27
27
|
/** @description 해외 사업자 */
|
|
28
28
|
BusinessInfoSellerTypeEnum["FOREIGN_BUSINESS"] = "foreignBusiness";
|
|
29
|
-
})(BusinessInfoSellerTypeEnum
|
|
29
|
+
})(BusinessInfoSellerTypeEnum || (exports.BusinessInfoSellerTypeEnum = BusinessInfoSellerTypeEnum = {}));
|
|
30
30
|
/** @description 사업자정보 검토 상태 Enum */
|
|
31
31
|
var BusinessInfoVerifiProcessEnum;
|
|
32
32
|
(function (BusinessInfoVerifiProcessEnum) {
|
|
@@ -38,7 +38,7 @@ var BusinessInfoVerifiProcessEnum;
|
|
|
38
38
|
BusinessInfoVerifiProcessEnum["NOT_MATCH"] = "notMatch";
|
|
39
39
|
/** @description 일치 */
|
|
40
40
|
BusinessInfoVerifiProcessEnum["MATCH"] = "match";
|
|
41
|
-
})(BusinessInfoVerifiProcessEnum
|
|
41
|
+
})(BusinessInfoVerifiProcessEnum || (exports.BusinessInfoVerifiProcessEnum = BusinessInfoVerifiProcessEnum = {}));
|
|
42
42
|
exports.BUSINESS_INFO_NOT_MATCH_REASONS = {
|
|
43
43
|
privateUserNameAndInterDepositorNotMatch: '계좌 예금주 정보와 가입자명이 일치하지 않으면 정산이 어렵습니다. 예금주명 혹은 가입자명을 일치하도록 수정해주세요. (가입자명 수정 요청은 아래 고객센터 링크로 문의 부탁드립니다.)',
|
|
44
44
|
domesticBusinessInfoAndInternalAccountDepositorNotMatch: '정산 계좌 예금주명과 대표자명이 다릅니다.',
|
|
@@ -55,7 +55,7 @@ var IndividualTaxationTypeEnum;
|
|
|
55
55
|
IndividualTaxationTypeEnum["REGULAR_TAXPAYER"] = "regularTaxpayer";
|
|
56
56
|
/** @description 간이과세자 */
|
|
57
57
|
IndividualTaxationTypeEnum["SIMPLIFIED_TAXPAYER"] = "simplifiedTaxpayer";
|
|
58
|
-
})(IndividualTaxationTypeEnum
|
|
58
|
+
})(IndividualTaxationTypeEnum || (exports.IndividualTaxationTypeEnum = IndividualTaxationTypeEnum = {}));
|
|
59
59
|
/** @description 영세율 상태 Enum */
|
|
60
60
|
var ZeroRateVatProcessEnum;
|
|
61
61
|
(function (ZeroRateVatProcessEnum) {
|
|
@@ -65,7 +65,7 @@ var ZeroRateVatProcessEnum;
|
|
|
65
65
|
ZeroRateVatProcessEnum["REVOKE"] = "revoke";
|
|
66
66
|
/** @description 적용 */
|
|
67
67
|
ZeroRateVatProcessEnum["APPLY"] = "apply";
|
|
68
|
-
})(ZeroRateVatProcessEnum
|
|
68
|
+
})(ZeroRateVatProcessEnum || (exports.ZeroRateVatProcessEnum = ZeroRateVatProcessEnum = {}));
|
|
69
69
|
/** @description 국내 사업자 정보 */
|
|
70
70
|
class DomesticBusinessInfo {
|
|
71
71
|
}
|
|
@@ -11,4 +11,4 @@ var StoreItemBannerType;
|
|
|
11
11
|
StoreItemBannerType["BRAND_BANNER"] = "BRAND_BANNER";
|
|
12
12
|
/** @description 모든 상품 배너 -조건 없는 배너- */
|
|
13
13
|
StoreItemBannerType["ALL_ITEM_BANNER"] = "ALL_ITEM_BANNER";
|
|
14
|
-
})(StoreItemBannerType
|
|
14
|
+
})(StoreItemBannerType || (exports.StoreItemBannerType = StoreItemBannerType = {}));
|
|
@@ -10,4 +10,4 @@ var MaxDiscountCouponInfoTypeEnum;
|
|
|
10
10
|
(function (MaxDiscountCouponInfoTypeEnum) {
|
|
11
11
|
MaxDiscountCouponInfoTypeEnum["\uD560\uC778\uB960"] = "\uD560\uC778\uB960";
|
|
12
12
|
MaxDiscountCouponInfoTypeEnum["\uD560\uC778\uAE08\uC561"] = "\uD560\uC778\uAE08\uC561";
|
|
13
|
-
})(MaxDiscountCouponInfoTypeEnum
|
|
13
|
+
})(MaxDiscountCouponInfoTypeEnum || (exports.MaxDiscountCouponInfoTypeEnum = MaxDiscountCouponInfoTypeEnum = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
export
|
|
2
|
+
export type STORE_ITEM_PRICE_FLUCTUATION_TRIGGER_TYPE = 'MINUS' | 'PLUS';
|
|
3
3
|
export interface StoreItemPriceFluctuationNotificationTrigger {
|
|
4
4
|
_id: Types.ObjectId | string;
|
|
5
5
|
/** 상품 아이디 */
|
|
@@ -10,4 +10,4 @@ var MappingTypeEnum;
|
|
|
10
10
|
(function (MappingTypeEnum) {
|
|
11
11
|
MappingTypeEnum["explicit"] = "explicit";
|
|
12
12
|
MappingTypeEnum["equivalent"] = "equivalent";
|
|
13
|
-
})(MappingTypeEnum
|
|
13
|
+
})(MappingTypeEnum || (exports.MappingTypeEnum = MappingTypeEnum = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './store-item-excel-log.entity';
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./store-item-excel-log.entity"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/**
|
|
3
|
+
* @author jun
|
|
4
|
+
* @description 상품 엑셀 로그 타입
|
|
5
|
+
*/
|
|
6
|
+
export declare enum StoreItemExcelLogTypeEnum {
|
|
7
|
+
/** 엑셀 등록 */
|
|
8
|
+
EXCEL_REG = "excel_reg"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @author jun
|
|
12
|
+
* @description 상품 인기 검색어 데이터
|
|
13
|
+
*/
|
|
14
|
+
export interface StoreItemExcelLogEntity {
|
|
15
|
+
_id: Types.ObjectId | string;
|
|
16
|
+
/** 로그 타입 */
|
|
17
|
+
logType: StoreItemExcelLogTypeEnum;
|
|
18
|
+
/** 추적 아이디 (unique) */
|
|
19
|
+
traceId: string;
|
|
20
|
+
/** 상품 아이디 리스트 */
|
|
21
|
+
itemIds: Types.ObjectId[];
|
|
22
|
+
/** 전체 시도 수 */
|
|
23
|
+
totalTryCount: number;
|
|
24
|
+
/** 성공 수 */
|
|
25
|
+
successCount: number;
|
|
26
|
+
/** 실패 수 */
|
|
27
|
+
failCount: number;
|
|
28
|
+
/** 실패 정보 */
|
|
29
|
+
failInfos: StoreItemExcelLogFailInfo[];
|
|
30
|
+
/** 등록 일자 */
|
|
31
|
+
regDate: Date;
|
|
32
|
+
/** 처리 시작 일자 */
|
|
33
|
+
processingStartTime: Date;
|
|
34
|
+
/** 처리 종료 일자 */
|
|
35
|
+
processingEndTime?: Date;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @author jun
|
|
39
|
+
* @description 상품 엑셀 로그 실패 정보
|
|
40
|
+
*/
|
|
41
|
+
export interface StoreItemExcelLogFailInfo {
|
|
42
|
+
itemId: Types.ObjectId;
|
|
43
|
+
reason: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreItemExcelLogTypeEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @author jun
|
|
6
|
+
* @description 상품 엑셀 로그 타입
|
|
7
|
+
*/
|
|
8
|
+
var StoreItemExcelLogTypeEnum;
|
|
9
|
+
(function (StoreItemExcelLogTypeEnum) {
|
|
10
|
+
/** 엑셀 등록 */
|
|
11
|
+
StoreItemExcelLogTypeEnum["EXCEL_REG"] = "excel_reg";
|
|
12
|
+
})(StoreItemExcelLogTypeEnum || (exports.StoreItemExcelLogTypeEnum = StoreItemExcelLogTypeEnum = {}));
|
|
@@ -6,4 +6,4 @@ var ExternalPriceNameEnum;
|
|
|
6
6
|
ExternalPriceNameEnum["KREAM"] = "kream";
|
|
7
7
|
ExternalPriceNameEnum["COUPANG"] = "coupang";
|
|
8
8
|
ExternalPriceNameEnum["NAVER"] = "naver";
|
|
9
|
-
})(ExternalPriceNameEnum
|
|
9
|
+
})(ExternalPriceNameEnum || (exports.ExternalPriceNameEnum = ExternalPriceNameEnum = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
2
|
-
export
|
|
2
|
+
export type UserForAdminEntity = Pick<UserEntity, '_id' | 'authId' | 'email' | 'username' | 'phoneCountry' | 'phoneNumber' | 'birthday' | 'photos' | 'signed' | 'credit' | 'gender' | 'blocked'> & {
|
|
3
3
|
store?: {
|
|
4
4
|
storeTitle: string;
|
|
5
5
|
};
|
package/user/user.entity.js
CHANGED
|
@@ -5,7 +5,7 @@ var DEVICE_TYPE;
|
|
|
5
5
|
(function (DEVICE_TYPE) {
|
|
6
6
|
DEVICE_TYPE["AND"] = "AND";
|
|
7
7
|
DEVICE_TYPE["IOS"] = "IOS";
|
|
8
|
-
})(DEVICE_TYPE
|
|
8
|
+
})(DEVICE_TYPE || (exports.DEVICE_TYPE = DEVICE_TYPE = {}));
|
|
9
9
|
var SellerRegisterStepEnum;
|
|
10
10
|
(function (SellerRegisterStepEnum) {
|
|
11
11
|
/** 2. preinformation 사전정보입력 (계좌 정보 입력해야함. 수정의 경우도 있어서 스토어 데이터가 있을 수 있음 */
|
|
@@ -16,7 +16,7 @@ var SellerRegisterStepEnum;
|
|
|
16
16
|
SellerRegisterStepEnum["entryfilled"] = "entryfilled";
|
|
17
17
|
/** 4. standby 심사대기 (신청 완료 버튼 누른후) */
|
|
18
18
|
SellerRegisterStepEnum["standby"] = "standby";
|
|
19
|
-
})(SellerRegisterStepEnum
|
|
19
|
+
})(SellerRegisterStepEnum || (exports.SellerRegisterStepEnum = SellerRegisterStepEnum = {}));
|
|
20
20
|
class UserAdultInfo {
|
|
21
21
|
}
|
|
22
22
|
exports.UserAdultInfo = UserAdultInfo;
|
|
@@ -5,13 +5,13 @@ var DepositTypeEnum;
|
|
|
5
5
|
(function (DepositTypeEnum) {
|
|
6
6
|
DepositTypeEnum["DEPOSIT"] = "deposit";
|
|
7
7
|
DepositTypeEnum["WITHDRAWAL"] = "withdrawal";
|
|
8
|
-
})(DepositTypeEnum
|
|
8
|
+
})(DepositTypeEnum || (exports.DepositTypeEnum = DepositTypeEnum = {}));
|
|
9
9
|
var WithdrawalTypeEnum;
|
|
10
10
|
(function (WithdrawalTypeEnum) {
|
|
11
11
|
WithdrawalTypeEnum["FULL_REFUND"] = "fullRefund";
|
|
12
12
|
WithdrawalTypeEnum["PARTIAL_REFUND"] = "partialRefund";
|
|
13
13
|
WithdrawalTypeEnum["UNKNOWN"] = "unknown";
|
|
14
|
-
})(WithdrawalTypeEnum
|
|
14
|
+
})(WithdrawalTypeEnum || (exports.WithdrawalTypeEnum = WithdrawalTypeEnum = {}));
|
|
15
15
|
var PGTypeEnum;
|
|
16
16
|
(function (PGTypeEnum) {
|
|
17
17
|
PGTypeEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20"] = "tossPayments";
|
|
@@ -21,7 +21,7 @@ var PGTypeEnum;
|
|
|
21
21
|
PGTypeEnum["\uCE74\uCE74\uC624\uD398\uC774"] = "kakaoPay";
|
|
22
22
|
PGTypeEnum["\uC5D1\uC2EC\uBCA0\uC774"] = "eximbay";
|
|
23
23
|
PGTypeEnum["\uB124\uC774\uBC84\uD398\uC774"] = "naverPay";
|
|
24
|
-
})(PGTypeEnum
|
|
24
|
+
})(PGTypeEnum || (exports.PGTypeEnum = PGTypeEnum = {}));
|
|
25
25
|
var DetailPaymentMethodEnum;
|
|
26
26
|
(function (DetailPaymentMethodEnum) {
|
|
27
27
|
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD6C4\uBD88"] = "tossPay_afterPay";
|
|
@@ -45,4 +45,4 @@ var DetailPaymentMethodEnum;
|
|
|
45
45
|
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8"] = "\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8";
|
|
46
46
|
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4"] = "\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4";
|
|
47
47
|
DetailPaymentMethodEnum["\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC"] = "\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC";
|
|
48
|
-
})(DetailPaymentMethodEnum
|
|
48
|
+
})(DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
2
|
-
/** @description 랜덤 쿠폰 정보 */
|
|
3
|
-
export interface RandomCoupon {
|
|
4
|
-
/** @description 쿠폰 템플릿 ID */
|
|
5
|
-
couponTemplateId: string | Types.ObjectId;
|
|
6
|
-
/** @description 퍼센트 */
|
|
7
|
-
percentage: number;
|
|
8
|
-
/** @description 최대 일일 발급 개수 - 없으면 제한 없음 */
|
|
9
|
-
maxDailyIssueCount?: number;
|
|
10
|
-
}
|
|
11
|
-
export interface DailyRandomCouponEntity {
|
|
12
|
-
_id: string | Types.ObjectId;
|
|
13
|
-
/** @description 타이틀 */
|
|
14
|
-
title: string;
|
|
15
|
-
/** @description 랜덤 쿠폰 리스트 */
|
|
16
|
-
randomCoupons: RandomCoupon[];
|
|
17
|
-
/** @description 발급 시작 날짜 */
|
|
18
|
-
issuePeriodStartDate: Date;
|
|
19
|
-
/** @description 발급 종료 날짜 */
|
|
20
|
-
issuePeriodEndDate: Date;
|
|
21
|
-
regDate: Date;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './daily-random-coupopn.entity';
|