@yolo-croket-dev/entity-v2 0.3.38 → 0.3.39

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.3.38",
3
+ "version": "0.3.39",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -13,7 +13,7 @@ export default interface PurchasedInfoForSeller {
13
13
  export type RefundInfoPickedForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
14
14
  export type UserInfoPickedForSeller = Pick<UserEntity, '_id' | 'username' | 'phoneCountry' | 'phoneNumber' | 'photos' | 'subContactList'>;
15
15
  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' | 'pInfoType' | 'isSplitDelivery' | 'splitDeliveryDataList' | 'remainingShipQuantity' | 'refundWaitingInfo' |
16
- /** Parent/Child를 목록 UI에서 물리적 Bundle 병합 없이 묶기 위한 관계 정보 */
16
+ /** Original/Additional을 목록 UI에서 물리적 Bundle 병합 없이 묶기 위한 관계 정보 */
17
17
  'additionalPaymentRequestInfo' | 'additionalPaymentInfo'> & {
18
18
  /** 주문 당시 상품 키워드 스냅샷 */
19
19
  itemKeywords?: StoreItemKeyword[];
@@ -27,7 +27,11 @@ export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId'
27
27
  */
28
28
  transferSellerInfo?: Omit<NonNullable<PurchasedInfoEntity['transferSellerInfo']>, 'history'>;
29
29
  /** Original 거래 내부에서만 노출하는 Additional 결제건이다. */
30
- additionalPaymentPurchasedInfo?: Omit<PInfoPickedForSeller, 'additionalPaymentPurchasedInfo'>;
30
+ additionalPaymentPurchasedInfo?: AdditionalPaymentPurchasedInfo;
31
+ };
32
+ /** Additional 응답에만 실제 환불 문서를 함께 반환하기 위한 확장 타입이다. */
33
+ export type AdditionalPaymentPurchasedInfo = Omit<PInfoPickedForSeller, 'additionalPaymentPurchasedInfo'> & {
34
+ pInfoRefundInfo?: RefundInfoPickedForSeller;
31
35
  };
32
36
  export type PurchasedInfoForSellerDetail = {
33
37
  pInfo: PInfoPickedForSeller;