@carsayo/types 1.1.892050 → 1.1.892052

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,7 +1,8 @@
1
+ import { SidoId, SigunguId } from "../../../data";
1
2
  import { ReqSellMyCarId } from "./dto";
2
3
  import { SellMyCarOrderInspection } from "./interface";
3
4
  import { DealerGrade } from "./interface-member";
4
- import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus } from "./type";
5
+ import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus, SellMyCarOrderPurchaseMethod } from "./type";
5
6
  /** 관리자 > 진단사 배정 요청 DTO */
6
7
  export interface ReqSetMyCarInspector extends ReqSellMyCarId {
7
8
  /** 진단사 이름 */
@@ -185,6 +186,14 @@ export interface ReqUpdateSellMyCarDealerFile {
185
186
  /** 무역업 고유번호 파일 Id */
186
187
  sell_car_trade_business_reg_file_id: string | null;
187
188
  }
189
+ export interface ReqSellMyCarUpdateOrderInfo {
190
+ /** 주문 ID (sell_car_order.id) */
191
+ sell_car_order_id: string;
192
+ /** 년식 */
193
+ year?: number;
194
+ /** 주행거리 */
195
+ distance?: number;
196
+ }
188
197
  /** 관리자 > 카사요 코멘트 업데이트 */
189
198
  export interface ReqSellMyCarToggleAdminChecked {
190
199
  /** 주문 ID (sell_car_order.id) */
@@ -209,3 +218,32 @@ export interface ReqAdminCancelInspection {
209
218
  /** 취소 사유 내용 */
210
219
  content: string;
211
220
  }
221
+ /** 관리자 > 문진표 작성 내용 업데이트 */
222
+ export interface ReqAdminUpdateInspectionQuestionnaire extends ReqSellMyCarId {
223
+ questionnaire_setted_at: Date;
224
+ /** 문진표 작성 내용
225
+ * @note Stringfied JSON
226
+ */
227
+ questionnaire: string;
228
+ }
229
+ /** 관리자 > 고객 입력 항목 업데이트 */
230
+ export interface ReqAdminUpdateDirectCustomerCarInfo extends ReqSellMyCarId {
231
+ distance?: number;
232
+ /** 옵션 내용
233
+ * @note Stringfied JSON
234
+ */
235
+ option?: string;
236
+ /** 사고이력 작성 내용
237
+ * @note Stringfied JSON
238
+ */
239
+ accident?: string;
240
+ /** 차량 상태 작성 내용
241
+ * @note Stringfied JSON
242
+ */
243
+ state?: string;
244
+ purchaseMethod?: SellMyCarOrderPurchaseMethod;
245
+ saleRegionId?: {
246
+ siId: SidoId;
247
+ sigunguId: SigunguId;
248
+ };
249
+ }
@@ -390,6 +390,8 @@ export interface SellMyCarOrderInspection {
390
390
  * @note 문진표는 진단사 방문 당일 고객이 작성하는 내용입니다.
391
391
  */
392
392
  questionnaire: string | null;
393
+ /** 문진표 등록 날짜 */
394
+ questionnaire_setted_at: Date | null;
393
395
  /** 진단사 리뷰 (고객 작성)
394
396
  * @note 진단사 방문 이후 고객이 작성하는 내용입니다.
395
397
  */
@@ -696,6 +698,8 @@ export interface SellMyCarOrderAuction {
696
698
  selected_at: Date;
697
699
  /** 딜러 선택 마감 일시 */
698
700
  expired_at: Date;
701
+ /** 입찰 실패 일시 */
702
+ failed_bid_at: Date | null;
699
703
  } | null;
700
704
  }
701
705
  export interface SellMyCarOrderPrice {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.892050",
3
+ "version": "1.1.892052",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",