@carsayo/types 1.1.892021 → 1.1.892023
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,41 @@ 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
|
+
* @note null일 경우 기존 이미지 제거
|
|
115
|
+
* @note undefined일 경우 미변경
|
|
116
|
+
*/
|
|
117
|
+
profileImageFileId: string | null | undefined;
|
|
118
|
+
/** 딜러 프로필 배경 이미지 파일Id
|
|
119
|
+
* @note null일 경우 기존 이미지 제거
|
|
120
|
+
* @note undefined일 경우 미변경
|
|
121
|
+
*/
|
|
122
|
+
bgImageFileId: string | null | undefined;
|
|
123
|
+
}
|
|
@@ -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
|
-
}
|
|
@@ -98,6 +98,12 @@ export interface UsedCarDealerInfo {
|
|
|
98
98
|
export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
99
99
|
/** 로그인 아이디 */
|
|
100
100
|
login_id: string | null;
|
|
101
|
+
/** 생년월일
|
|
102
|
+
* @note YYYYMMDD 양식 numberString
|
|
103
|
+
*/
|
|
104
|
+
birth: string | null;
|
|
105
|
+
/** 이메일 주소 */
|
|
106
|
+
email: string | null;
|
|
101
107
|
/** 경력 연수 */
|
|
102
108
|
experienceYears: number | null;
|
|
103
109
|
/** 사업자 등록번호 */
|