@yolo-croket-dev/entity-v2 0.2.124-jun.15 → 0.2.124-jun.17

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.2.124-jun.15",
3
+ "version": "0.2.124-jun.17",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,5 +1,5 @@
1
1
  import { Types } from 'mongoose';
2
- import { PurchasedProcessV2Enum } from '../purchased-info';
2
+ import { PurchasedProcessV2Enum, ReservationCancelTypeEnum } from '../purchased-info';
3
3
  export interface PurchaseReceiptPurchasedInfo {
4
4
  /** @description 결제 아이디 */
5
5
  PInfoId: Types.ObjectId | string;
@@ -7,6 +7,8 @@ export interface PurchaseReceiptPurchasedInfo {
7
7
  sellerId: Types.ObjectId | string;
8
8
  /** @description 프로세스 */
9
9
  process: PurchasedProcessV2Enum;
10
+ /** @description 예약 취소 타입 */
11
+ cancelType?: ReservationCancelTypeEnum;
10
12
  }
11
13
  export interface PurchaseReceiptReceiveInfo {
12
14
  /** @description 수령인 이름 */
@@ -28,11 +28,11 @@ export declare enum ReservationCancelTypeEnum {
28
28
  }
29
29
  export declare enum ReservationCancelReasonEnum {
30
30
  /** 유저 직접 취소 */
31
- userCancel = "userCancel",
32
- /** 재고 부족으로 매칭 실패 */
33
- matchingFailedStock = "matchingFailedStock",
34
- /** 결제 실패로 매칭 실패 */
35
- matchingFailedPayment = "matchingFailedPayment"
31
+ cancelByUser = "cancelByUser",
32
+ /** 재고 부족으로 매칭 실패 (관리자 선택) */
33
+ matchingFailedStockByAdmin = "matchingFailedStockByAdmin",
34
+ /** 결제 실패로 매칭 실패 (관리자 선택) */
35
+ matchingFailedPaymentByAdmin = "matchingFailedPaymentByAdmin"
36
36
  }
37
37
  export declare enum PInfoTypeEnum {
38
38
  normal = "normal",
@@ -27,11 +27,11 @@ var ReservationCancelTypeEnum;
27
27
  var ReservationCancelReasonEnum;
28
28
  (function (ReservationCancelReasonEnum) {
29
29
  /** 유저 직접 취소 */
30
- ReservationCancelReasonEnum["userCancel"] = "userCancel";
31
- /** 재고 부족으로 매칭 실패 */
32
- ReservationCancelReasonEnum["matchingFailedStock"] = "matchingFailedStock";
33
- /** 결제 실패로 매칭 실패 */
34
- ReservationCancelReasonEnum["matchingFailedPayment"] = "matchingFailedPayment";
30
+ ReservationCancelReasonEnum["cancelByUser"] = "cancelByUser";
31
+ /** 재고 부족으로 매칭 실패 (관리자 선택) */
32
+ ReservationCancelReasonEnum["matchingFailedStockByAdmin"] = "matchingFailedStockByAdmin";
33
+ /** 결제 실패로 매칭 실패 (관리자 선택) */
34
+ ReservationCancelReasonEnum["matchingFailedPaymentByAdmin"] = "matchingFailedPaymentByAdmin";
35
35
  })(ReservationCancelReasonEnum || (exports.ReservationCancelReasonEnum = ReservationCancelReasonEnum = {}));
36
36
  var PInfoTypeEnum;
37
37
  (function (PInfoTypeEnum) {