@carsayo/types 1.1.892013 → 1.1.892015
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.
|
@@ -104,6 +104,8 @@ export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
|
104
104
|
* @note 현재 경고 개수는 penalties.filter((penalty) => penalty.is_warning).length로 확인 가능합니다.
|
|
105
105
|
*/
|
|
106
106
|
penalties: CurrentDealerPenalty[];
|
|
107
|
+
/** 받은 경고 횟수 */
|
|
108
|
+
penalty_warning_count: number;
|
|
107
109
|
/** 사업자 등록증 파일 */
|
|
108
110
|
file_member_dealer_sell_car_business_certificate_idTofile: FileInfo | null;
|
|
109
111
|
/** 사원증 파일 */
|
|
@@ -124,6 +126,8 @@ export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
|
124
126
|
accepted_at: Date | null;
|
|
125
127
|
/** 가입거절일자 */
|
|
126
128
|
rejected_at: Date | null;
|
|
129
|
+
/** 회원가입 이력 */
|
|
130
|
+
signupHistory: MemberSellCarDealerSignupHistory[];
|
|
127
131
|
/** 매매업종 사업증 유효기간 - 시작 (YYYYMMDD) */
|
|
128
132
|
tradingCertificate_term_start: string | null;
|
|
129
133
|
/** 매매업종 사업증 유효기간 - 종료 (YYYYMMDD) */
|
|
@@ -132,6 +136,13 @@ export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
|
132
136
|
workingSidoId: SidoId | null;
|
|
133
137
|
/** 알림설정 정보 */
|
|
134
138
|
setting: Member["setting"];
|
|
139
|
+
/** 수수료 정보 */
|
|
140
|
+
commission: {
|
|
141
|
+
/** 납부 수수료 총액 */
|
|
142
|
+
total: number;
|
|
143
|
+
/** 미입금 수수료 총액 */
|
|
144
|
+
nonPaid: number;
|
|
145
|
+
};
|
|
135
146
|
/** 추가 정보 (값 자유롭게 들어갈 수 있음)
|
|
136
147
|
* member_dealer.additionalInfo에서 꺼내옵니다.
|
|
137
148
|
*/
|
|
@@ -164,6 +175,14 @@ export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
|
164
175
|
};
|
|
165
176
|
};
|
|
166
177
|
}
|
|
178
|
+
/** 딜러 회원가입 처리 이력 */
|
|
179
|
+
export interface MemberSellCarDealerSignupHistory {
|
|
180
|
+
type: "submitted" | "accepted" | "rejected" | "re-submitted";
|
|
181
|
+
/** 거절시 사유 */
|
|
182
|
+
reject_msg: string | null;
|
|
183
|
+
/** 이력 발생 일시 */
|
|
184
|
+
created_at: Date;
|
|
185
|
+
}
|
|
167
186
|
/** 딜러 패널티 리스트 (견적실수, 경고 등) */
|
|
168
187
|
export interface CurrentDealerPenalty {
|
|
169
188
|
/** 패널티 사유 */
|