@carsayo/types 1.1.892021 → 1.1.892022

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.
@@ -1,4 +1,5 @@
1
1
  import { ReqSellMyCarId } from "./dto";
2
+ import { DealerGrade } from "./interface-member";
2
3
  import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus } from "./type";
3
4
  /** 관리자 > 진단사 배정 요청 DTO */
4
5
  export interface ReqSetMyCarInspector extends ReqSellMyCarId {
@@ -82,3 +83,35 @@ export interface ReqSetMyCarExpenseProof extends ReqSellMyCarId {
82
83
  /** 지출증빙자료 처리 상태 */
83
84
  expense_proof: Exclude<SellMyCarCommissionExpenseProofStatus, "submitted" | "request_edit">;
84
85
  }
86
+ /** 관리자 > 경고 생성 DTO */
87
+ export interface ReqCreateSellMyCarDealerPenalty {
88
+ /** 딜러 Id */
89
+ memberId: string;
90
+ /** 경고 사유 */
91
+ content: string;
92
+ }
93
+ /** 관리자 > 경고 생성 DTO */
94
+ export interface ReqUpdateSellMyCarDealerPenalty {
95
+ /** 경고 Id */
96
+ penaltyId: number;
97
+ /** 경고 적용 / 미적용 처리
98
+ * @note true이면 경고 적용으로 업데이트합니다.
99
+ */
100
+ is_warning: boolean;
101
+ }
102
+ /** 관리자 > 딜러 등급 변경 */
103
+ export interface ReqUpdateSellMyCarDealerGrade {
104
+ /** 딜러 Id */
105
+ memberId: string;
106
+ /** 변경 등급 */
107
+ grade: DealerGrade;
108
+ }
109
+ /** 관리자 > 딜러 프로필 편집 DTO */
110
+ export interface ReqUpdateSellMyCarDealerProfile {
111
+ /** 딜러 Id */
112
+ memberId: string;
113
+ /** 딜러 프로필 이미지 파일Id */
114
+ profileImageFileId: string | null | undefined;
115
+ /** 딜러 프로필 배경 이미지 파일Id */
116
+ bgImageFileId: string | null | undefined;
117
+ }
@@ -1,6 +1,5 @@
1
1
  import { CarMakerId, SidoId, SellCarTagId } from "../../../data";
2
2
  import { SellMyCarOrderInspection, SellMyCarRegistry, SellMyCarRegistryLien } from "./interface";
3
- import { DealerGrade } from "./interface-member";
4
3
  import { SellMyCarOrderStatus, SellMyCarOrderBidStatus, SellMyCarOrderMethod, SellMyCarFilterCategory, SellMyCarOrderKey, SellMyCarOrderPurchaseMethod, SellMyCarOrderRegistrationType, SellMyCarOrderStatus_Admin, SellMyCarOrderBidCancelType, SellMyCarOrderCancelType } from "./type";
5
4
  export interface ReqSellMyCarInspectorAuth {
6
5
  /** 인증 토큰
@@ -185,26 +184,3 @@ export interface ReqSellMyCarSettlementRequestExpenseProofDTO extends ReqSellMyC
185
184
  } | null;
186
185
  };
187
186
  }
188
- /** 관리자 > 경고 생성 DTO */
189
- export interface ReqCreateSellMyCarDealerPenalty {
190
- /** 딜러 Id */
191
- memberId: string;
192
- /** 경고 사유 */
193
- content: string;
194
- }
195
- /** 관리자 > 경고 생성 DTO */
196
- export interface ReqUpdateSellMyCarDealerPenalty {
197
- /** 경고 Id */
198
- penaltyId: number;
199
- /** 경고 적용 / 미적용 처리
200
- * @note true이면 경고 적용으로 업데이트합니다.
201
- */
202
- is_warning: boolean;
203
- }
204
- /** 관리자 > 딜러 등급 변경 */
205
- export interface ReqUpdateSellMyCarDealerGrade {
206
- /** 딜러 Id */
207
- memberId: string;
208
- /** 변경 등급 */
209
- grade: DealerGrade;
210
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.892021",
3
+ "version": "1.1.892022",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",