@yolo-croket-dev/entity-v2 0.0.73 → 0.0.75-jun.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.73",
3
+ "version": "0.0.75-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -49,6 +49,12 @@ export interface PartialRefundCSCheckInfo {
49
49
  managerId: string;
50
50
  managerName: string;
51
51
  }
52
+ export interface PartialRefundCSMemoInfo {
53
+ regDate: Date;
54
+ CSMemo?: string;
55
+ managerId: string;
56
+ managerName: string;
57
+ }
52
58
  export interface PartialRefundEntity {
53
59
  _id: string;
54
60
  /** @description 환불 종류 */
@@ -85,4 +91,8 @@ export interface PartialRefundEntity {
85
91
  pastPInfo: PurchasedInfoEntity;
86
92
  /** @description CS 확인/취소 정보 */
87
93
  CSCheckInfo?: PartialRefundCSCheckInfo;
94
+ /** @description CS 메모 */
95
+ CSMemo?: string;
96
+ /** @description CS 메모 작성/삭제 정보 */
97
+ CSMemoInfo?: PartialRefundCSMemoInfo;
88
98
  }
@@ -10,7 +10,7 @@ export default interface PurchasedInfoForSeller {
10
10
  }
11
11
  export declare type RefundInfoPickedForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
12
12
  export declare type UserInfoPickedForSeller = Pick<UserEntity, '_id' | 'username' | 'phoneCountry' | 'phoneNumber' | 'photos' | 'subContactList'>;
13
- export declare type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo' | 'lastPartialRefundProcess' | 'waitingReceiveInfo'>;
13
+ export declare type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo' | 'lastPartialRefundProcess' | 'waitingReceiveInfo' | 'cancelledDate'>;
14
14
  export declare type PurchasedInfoForSellerDetail = {
15
15
  pInfo: PInfoPickedForSeller;
16
16
  buyerUserInfo: UserInfoPickedForSeller;
@@ -790,6 +790,8 @@ export default interface PurchasedInfoEntity {
790
790
  pastSelectionConnectInfos?: PastSelectionConnectInfo[];
791
791
  pastSelectionFrames?: PastSelectionFrame[];
792
792
  settleInfo?: PInfoSettleInfo;
793
+ isAdCenterCoupon?: boolean;
794
+ adCenterCouponInfo?: PInfoAdCenterCouponInfo;
793
795
  insuranceStatus?: InsuranceStatus;
794
796
  pastDirectTosspaymentsPayment?: PastDirectTosspaymentsPayment;
795
797
  /** @description 마지막 부분환불 프로세스 */
@@ -830,4 +832,30 @@ export interface PInfoSettleInfo {
830
832
  lastUpdatedDate: Date;
831
833
  settleVersion?: SettleVersionEnum;
832
834
  }
835
+ export interface PastAdCenterCouponRateInfo {
836
+ /** 총 할인 비율 from discountRate */
837
+ allRate: number;
838
+ /** 셀러 부담 쿠폰 비율 */
839
+ sellerRate: number;
840
+ /** 크로켓 부담 쿠폰 비율 */
841
+ croketRate: number;
842
+ }
843
+ export interface PastAdCenterCouponPriceInfo {
844
+ /** 총 할인 금액 from discountValue */
845
+ allPrice: number;
846
+ /** 셀러 부담 쿠폰 금액 */
847
+ sellerPrice: number;
848
+ /** 크로켓 부담 쿠폰 금액 */
849
+ croketPrice: number;
850
+ }
851
+ /** 수령완료 시 해당 데이터 생성 */
852
+ export interface PInfoAdCenterCouponInfo {
853
+ isAdCenterCouponSettle: boolean;
854
+ adCenterCouponSettlePrice: number;
855
+ pastAdCenterCouponType: string;
856
+ /** 광고센터 쿠폰 할인 비율 (adCenterCouponType === 할인률) */
857
+ pastAdCenterCouponRateInfo?: PastAdCenterCouponRateInfo;
858
+ /** 광고센터 쿠폰 할인 금액 (adCenterCouponType === 할인금액) */
859
+ pastAdCenterCouponPriceInfo?: PastAdCenterCouponPriceInfo;
860
+ }
833
861
  export { PurchasedInfoEntity };