@carsayo/types 1.1.892017 → 1.1.892020

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.
@@ -99,6 +99,10 @@ export interface SellMyCarAuctionSearchFilter {
99
99
  * @note 관리자만 사용 가능한 필터 조건입니다
100
100
  */
101
101
  adminStatus?: SellMyCarOrderStatus_Admin;
102
+ /** 낙찰 딜러 아이디 검색
103
+ * @note 관리자만 사용 가능한 필터 조건입니다
104
+ */
105
+ selectedDealerId?: string;
102
106
  /** 차량번호 검색 */
103
107
  carNumber?: string;
104
108
  /** 진행방법 */
@@ -180,3 +184,19 @@ export interface ReqSellMyCarSettlementRequestExpenseProofDTO extends ReqSellMyC
180
184
  } | null;
181
185
  };
182
186
  }
187
+ /** 관리자 > 경고 생성 DTO */
188
+ export interface ReqCreateSellMyCarDealerPenalty {
189
+ /** 딜러 Id */
190
+ memberId: string;
191
+ /** 경고 사유 */
192
+ content: string;
193
+ }
194
+ /** 관리자 > 경고 생성 DTO */
195
+ export interface ReqUpdateSellMyCarDealerPenalty {
196
+ /** 경고 Id */
197
+ penaltyId: number;
198
+ /** 경고 적용 / 미적용 처리
199
+ * @note true이면 경고 적용으로 업데이트합니다.
200
+ */
201
+ is_warning: boolean;
202
+ }
@@ -6,3 +6,4 @@ export * from "./dto";
6
6
  export * from "./dto-admin";
7
7
  export * from "./interface-faq";
8
8
  export * from "./interface-notice";
9
+ export * from "./interface-admin";
@@ -22,3 +22,4 @@ __exportStar(require("./dto"), exports);
22
22
  __exportStar(require("./dto-admin"), exports);
23
23
  __exportStar(require("./interface-faq"), exports);
24
24
  __exportStar(require("./interface-notice"), exports);
25
+ __exportStar(require("./interface-admin"), exports);
@@ -0,0 +1,36 @@
1
+ import { CurrentDealerPenaltyType } from "./type";
2
+ /** 관리자 > 경고 조회 데이터 */
3
+ export interface SellMyCar_Admin_DealerPenalty {
4
+ /** 경고 Id */
5
+ id: number;
6
+ /** 경고 발생 유형
7
+ * @example "시스템", "관리자명"
8
+ */
9
+ origin: string;
10
+ /** 경고 사유
11
+ * @note 여러 줄 문자열 가능
12
+ */
13
+ content: string;
14
+ /** 패널티가 발생한 주문 정보 */
15
+ sellCarOrder: {
16
+ /** 내차팔기 주문 Id */
17
+ id: string;
18
+ /** 차량번호 */
19
+ carNumber: string;
20
+ /** 주문 고객명 */
21
+ customerName: string;
22
+ } | null;
23
+ /** 이 경고로 인해 발생한 패널티 정보 */
24
+ penalty: {
25
+ type: CurrentDealerPenaltyType;
26
+ expired_at: Date;
27
+ } | null;
28
+ /** 경고 여부 (true일 때에만 경고로 취급됩니다.)
29
+ * @note 경고가 false일 경우 관리자가 임의로 해제한 경고입니다.
30
+ */
31
+ is_warning: boolean;
32
+ /** 경고 받은 시점 */
33
+ created_at: Date;
34
+ /** 수정일시 */
35
+ updated_at: Date;
36
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.892017",
3
+ "version": "1.1.892020",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",