@carsayo/types 1.1.891762 → 1.1.891765
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.
|
@@ -536,3 +536,57 @@ export interface CarAdminAdditionalInfo {
|
|
|
536
536
|
/** 확인 여부 (미확인인 것만 관리자에게 노출) */
|
|
537
537
|
checked: boolean;
|
|
538
538
|
}
|
|
539
|
+
export interface CooconCarInfo {
|
|
540
|
+
id: string;
|
|
541
|
+
carName: string;
|
|
542
|
+
ownerName: string;
|
|
543
|
+
carInfo: {
|
|
544
|
+
vin: string;
|
|
545
|
+
regName: string;
|
|
546
|
+
firstdate: string;
|
|
547
|
+
year: string;
|
|
548
|
+
isForeign: boolean;
|
|
549
|
+
makername: string;
|
|
550
|
+
classname: string;
|
|
551
|
+
modelname: string;
|
|
552
|
+
seriesname1: string;
|
|
553
|
+
seriesname2: string;
|
|
554
|
+
seriesname: string;
|
|
555
|
+
cargubun: string;
|
|
556
|
+
modelimage: string;
|
|
557
|
+
usegubun: string;
|
|
558
|
+
displacement: number;
|
|
559
|
+
fuel: string;
|
|
560
|
+
gearbox: string;
|
|
561
|
+
color: string;
|
|
562
|
+
stdmileage: string;
|
|
563
|
+
newprice: number;
|
|
564
|
+
seating: string;
|
|
565
|
+
enType: string;
|
|
566
|
+
option_table: {
|
|
567
|
+
cate1Name: string;
|
|
568
|
+
cate2Name: string;
|
|
569
|
+
cate3Name: string;
|
|
570
|
+
option_flag: string;
|
|
571
|
+
}[] | null;
|
|
572
|
+
optlist: {
|
|
573
|
+
price: string;
|
|
574
|
+
name: string;
|
|
575
|
+
}[] | null;
|
|
576
|
+
};
|
|
577
|
+
seloptlist: {
|
|
578
|
+
optname: string;
|
|
579
|
+
optprice: string;
|
|
580
|
+
}[];
|
|
581
|
+
mileageprice: {
|
|
582
|
+
price: number;
|
|
583
|
+
mileage: number;
|
|
584
|
+
}[];
|
|
585
|
+
usedprice: {
|
|
586
|
+
rate: string;
|
|
587
|
+
price: number;
|
|
588
|
+
rvalue: number;
|
|
589
|
+
stdym: string;
|
|
590
|
+
}[];
|
|
591
|
+
created_at: string;
|
|
592
|
+
}
|
|
@@ -11,6 +11,10 @@ export interface Repair {
|
|
|
11
11
|
id: string;
|
|
12
12
|
state: RepairState;
|
|
13
13
|
type: RepairType;
|
|
14
|
+
/** 차량번호 */
|
|
15
|
+
carName: string;
|
|
16
|
+
/** 차량 모델명 */
|
|
17
|
+
carModel: string;
|
|
14
18
|
/** 견적 요청 위치
|
|
15
19
|
* @note 견적 요청 위치를 기준으로 공업사가 요청을 할 수 있습니다.
|
|
16
20
|
*/
|
|
@@ -41,8 +45,6 @@ export interface Repair {
|
|
|
41
45
|
in_repair_at: Date | null;
|
|
42
46
|
/** 수리 완료 일시 */
|
|
43
47
|
repaired_at: Date | null;
|
|
44
|
-
/** 취소 일시 */
|
|
45
|
-
canceled_at: Date | null;
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* 견적 발송 내용
|
|
@@ -61,6 +63,8 @@ export interface RepairBid {
|
|
|
61
63
|
reservationNumber: string | null;
|
|
62
64
|
/** 견적 설명 */
|
|
63
65
|
description: string;
|
|
66
|
+
/** 공업사 위치와 견적 요청 위치간 거리 (m단위) */
|
|
67
|
+
distance: number;
|
|
64
68
|
/** 견적 발송 내용 */
|
|
65
69
|
estimate: RepairEstimate;
|
|
66
70
|
/** 정비 명세서 */
|
|
@@ -15,7 +15,6 @@ export declare const RepairState: {
|
|
|
15
15
|
readonly checked_in: "입고완료";
|
|
16
16
|
readonly in_repair: "수리중";
|
|
17
17
|
readonly repaired: "수리완료";
|
|
18
|
-
readonly canceled: "취소";
|
|
19
18
|
};
|
|
20
19
|
export type RepairState = keyof typeof RepairState;
|
|
21
20
|
/** 견적 발송 상태
|
|
@@ -25,7 +24,6 @@ export declare const RepairBidState: {
|
|
|
25
24
|
readonly submitted: "견적발송";
|
|
26
25
|
readonly reserved: "예약완료";
|
|
27
26
|
readonly reserve_canceled: "예약취소";
|
|
28
|
-
readonly canceled: "취소";
|
|
29
27
|
};
|
|
30
28
|
export type RepairBidState = keyof typeof RepairBidState;
|
|
31
29
|
export declare const CarPartitionKey: readonly ["앞범퍼", "뒷범퍼", "후드", "트렁크", "루프", "운전석 전도어", "운전석 후도어", "운전석 전펜더", "운전석 후펜더", "운전석 스텝", "조수석 전도어", "조수석 후도어", "조수석 전펜더", "조수석 후펜더", "조수석 스텝", "사이드미러/유리/휠/라이트"];
|
|
@@ -17,7 +17,6 @@ exports.RepairState = {
|
|
|
17
17
|
checked_in: "입고완료",
|
|
18
18
|
in_repair: "수리중",
|
|
19
19
|
repaired: "수리완료",
|
|
20
|
-
canceled: "취소",
|
|
21
20
|
};
|
|
22
21
|
/** 견적 발송 상태
|
|
23
22
|
* @note 공업사 입장에서의 상태
|
|
@@ -26,7 +25,6 @@ exports.RepairBidState = {
|
|
|
26
25
|
submitted: "견적발송",
|
|
27
26
|
reserved: "예약완료",
|
|
28
27
|
reserve_canceled: "예약취소",
|
|
29
|
-
canceled: "취소",
|
|
30
28
|
};
|
|
31
29
|
exports.CarPartitionKey = [
|
|
32
30
|
"앞범퍼",
|