@yolo-croket-dev/entity-v2 0.3.4 → 0.3.5
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/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { Types } from 'mongoose';
|
|
|
2
2
|
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity/src/purchased-info/purchased-info.entity';
|
|
3
3
|
import { StoreItemKeyword } from '@yolo-croket-dev/entity/src/store-item';
|
|
4
4
|
import { CustomPurchasedInfo } from './custom-purchased-info.entity';
|
|
5
|
+
import { StoreItemTypeEnum } from '../store-item/store-item.entity';
|
|
5
6
|
import { UserEntity } from '../user/user.entity';
|
|
6
7
|
import { RefundEntity } from '../refund/refund.entity';
|
|
7
8
|
export default interface PurchasedInfoForSeller {
|
|
@@ -16,6 +17,8 @@ export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId'
|
|
|
16
17
|
itemKeywords?: StoreItemKeyword[];
|
|
17
18
|
isPcccDeferred?: boolean;
|
|
18
19
|
isReceiveInfoChangedInBeforeDelivery?: boolean;
|
|
20
|
+
/** 구매 당시 상품 타입 */
|
|
21
|
+
itemType?: StoreItemTypeEnum;
|
|
19
22
|
};
|
|
20
23
|
export type PurchasedInfoForSellerDetail = {
|
|
21
24
|
pInfo: PInfoPickedForSeller;
|
|
@@ -7,6 +7,7 @@ import { NicepayBillingApproveResponse } from '../nicepay-billing-log/nicepay-bi
|
|
|
7
7
|
import { PartialRefundProcessEnum } from '../partial-refund';
|
|
8
8
|
import { AttributionDeviceTypeEnum } from '../attribution-touch';
|
|
9
9
|
import { PurchasedInfoTosspaymentsRefund } from './purchased-info.entity/p-info-tosspayments-refund.vo';
|
|
10
|
+
import { StoreItemTypeEnum } from '../store-item/store-item.entity';
|
|
10
11
|
export declare enum CardQuotaEnum {
|
|
11
12
|
일시불 = "00",
|
|
12
13
|
'1개월' = "01",
|
|
@@ -621,6 +622,8 @@ export interface PastStoreItemInfo {
|
|
|
621
622
|
itemPriceForBuyerWithShippingFee: number;
|
|
622
623
|
itemImg: string[];
|
|
623
624
|
itemName: string;
|
|
625
|
+
/** @description 구매 당시 상품 타입 */
|
|
626
|
+
itemType?: StoreItemTypeEnum;
|
|
624
627
|
isDelete: boolean;
|
|
625
628
|
sellingInfo: PastSellingInfo;
|
|
626
629
|
itemKeywords?: StoreItemKeyword[];
|
|
@@ -17,7 +17,8 @@ export declare enum StoreItemUsedConditionGradeEnum {
|
|
|
17
17
|
S = "S",
|
|
18
18
|
A = "A",
|
|
19
19
|
B = "B",
|
|
20
|
-
C = "C"
|
|
20
|
+
C = "C",
|
|
21
|
+
D = "D"
|
|
21
22
|
}
|
|
22
23
|
export declare enum StoreItemUsedCurrencyCodeEnum {
|
|
23
24
|
USD = "USD",
|
|
@@ -46,6 +47,8 @@ export interface StoreItemUsedInfo {
|
|
|
46
47
|
/** USED 정보 수정일 */
|
|
47
48
|
lastModifyDate: Date;
|
|
48
49
|
}
|
|
50
|
+
/** 구매자에게 공개하는 중고 상품 추가 정보 */
|
|
51
|
+
export type UsedItemInfoForBuyer = Pick<StoreItemUsedInfo, 'productionYear' | 'discoveryCountryCode' | 'rarity' | 'conditionGrade' | 'releasePriceInfo'>;
|
|
49
52
|
/**
|
|
50
53
|
* @author jun
|
|
51
54
|
* @description 예약 상품 재고 모드
|
|
@@ -23,6 +23,7 @@ var StoreItemUsedConditionGradeEnum;
|
|
|
23
23
|
StoreItemUsedConditionGradeEnum["A"] = "A";
|
|
24
24
|
StoreItemUsedConditionGradeEnum["B"] = "B";
|
|
25
25
|
StoreItemUsedConditionGradeEnum["C"] = "C";
|
|
26
|
+
StoreItemUsedConditionGradeEnum["D"] = "D";
|
|
26
27
|
})(StoreItemUsedConditionGradeEnum || (exports.StoreItemUsedConditionGradeEnum = StoreItemUsedConditionGradeEnum = {}));
|
|
27
28
|
var StoreItemUsedCurrencyCodeEnum;
|
|
28
29
|
(function (StoreItemUsedCurrencyCodeEnum) {
|