@carsayo/types 1.1.891924 → 1.1.891926

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.
@@ -46,14 +46,26 @@ export interface SellMyCarAuctionSearchDTO {
46
46
  direction: "asc" | "desc";
47
47
  };
48
48
  }
49
- /** 딜러용 주문 검색 필터 */
49
+ /** 주문 검색 필터 */
50
50
  export interface SellMyCarAuctionSearchFilter {
51
- /** 주문 상태 */
52
- orderStatus?: SellMyCarOrderStatus[];
53
- /** 내 입찰 상태 */
51
+ /** 입찰 상태
52
+ * @note 딜러만 사용 가능한 필터 조건입니다
53
+ */
54
54
  myBidStatus?: SellMyCarOrderBidStatus[];
55
- /** 북마크(좋아요) 여부 */
55
+ /** 입찰 여부
56
+ * @note 딜러만 사용 가능한 필터 조건입니다
57
+ */
58
+ isMyBid?: boolean;
59
+ /** 북마크(좋아요) 여부
60
+ * @note 딜러만 사용 가능한 필터 조건입니다
61
+ */
56
62
  isBookmark?: boolean;
63
+ /** 주문 상태 */
64
+ orderStatus?: SellMyCarOrderStatus[];
65
+ /** 선택된 입찰 상태
66
+ * @note 관리자만 사용 가능한 필터 조건입니다
67
+ */
68
+ selectedBidStatus?: SellMyCarOrderBidStatus[];
57
69
  /** 차량번호 검색 */
58
70
  carNumber?: string;
59
71
  /** 진행방법 (selecting 제외) */
@@ -66,8 +78,6 @@ export interface SellMyCarAuctionSearchFilter {
66
78
  region?: SidoId[];
67
79
  /** 재경매 여부 */
68
80
  isReAuction?: boolean;
69
- /** 내 입찰 여부 */
70
- isMyBid?: boolean;
71
81
  /** 구매 방식 */
72
82
  buyMethod?: SellMyCarOrderPurchaseMethod[];
73
83
  /** 태그 검색 */
@@ -659,7 +659,6 @@ export interface SellMyCarOrder {
659
659
  price: SellMyCarOrderPrice;
660
660
  /** 재경매 주문일 경우 존재하는 정보
661
661
  * @note 값이 있을 경우 재경매 주문입니다.
662
- * @note 기존 is_reauction을 대체합니다. (기존엔 boolean만 있었음)
663
662
  */
664
663
  reauction: SellMyCarOrderReauction | null;
665
664
  /** 생성일 */
@@ -699,6 +698,23 @@ export interface SellMyCarOrder_Dealer extends SellMyCarOrder {
699
698
  /** 내가 해당 내차팔기에 대하여 작성한 최신 메모 내용 */
700
699
  myMemo: SellMyCarOrderMemo | null;
701
700
  }
701
+ /** 관리자용 */
702
+ export interface SellMyCarOrder_Admin extends SellMyCarOrder {
703
+ /** 딜러 입찰 목록 */
704
+ bid: SellMyCarOrderBid[];
705
+ /** 선택된 입찰 */
706
+ selected_bid: SellMyCarOrderBid | null;
707
+ /** 고객의 이력 정보 */
708
+ history: SellMyCarOrderHistory[];
709
+ /** 딜러 수수료 정보
710
+ * @note 주문 완료 후 수수료 정보가 추가됩니다.
711
+ */
712
+ commission: SellMyCarCommission | null;
713
+ /** 해당 내차팔기에 대하여 신고된 오류 정보 */
714
+ errorReport: SellMyCarOrderErrorReport[] | null;
715
+ /** 관리자용 메모 내용 */
716
+ memo: SellMyCarOrderMemo | null;
717
+ }
702
718
  /** 해당 주문에 대하여 신고한 오류 정보 */
703
719
  export interface SellMyCarOrderErrorReport {
704
720
  /** 오류 신고 내용 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891924",
3
+ "version": "1.1.891926",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",