@carsayo/types 1.1.891909 → 1.1.891911

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,13 +1,57 @@
1
1
  export declare const SellCarTagData: readonly [{
2
2
  readonly id: 1;
3
- readonly title: "완무";
4
- readonly color_text: "#B8860B";
5
- readonly color_bg: "#FFF8DC";
3
+ readonly title: "완무 (보험0건)";
4
+ readonly detail_name: "완전무사고";
5
+ readonly color_text: "#0C75FF";
6
+ readonly color_bg: "#E7F0FF";
6
7
  }, {
7
8
  readonly id: 2;
8
- readonly title: "무사고";
9
- readonly color_text: "#1E90FF";
10
- readonly color_bg: "#E6F0FF";
9
+ readonly title: "단순";
10
+ readonly detail_name: "단순교환";
11
+ readonly color_text: "#FF4747";
12
+ readonly color_bg: "#FFE7E7";
13
+ }, {
14
+ readonly id: 3;
15
+ readonly title: "전손";
16
+ readonly detail_name: "전손";
17
+ readonly color_text: "#FF4747";
18
+ readonly color_bg: "#FFE7E7";
19
+ }, {
20
+ readonly id: 4;
21
+ readonly title: "유사고";
22
+ readonly detail_name: "유사고";
23
+ readonly color_text: "#FF4747";
24
+ readonly color_bg: "#FFE7E7";
25
+ }, {
26
+ readonly id: 5;
27
+ readonly title: "사고모름";
28
+ readonly detail_name: "사고모름";
29
+ readonly color_text: "#FF4747";
30
+ readonly color_bg: "#FFE7E7";
31
+ }, {
32
+ readonly id: 11;
33
+ readonly title: "영업";
34
+ readonly detail_name: "영업";
35
+ readonly color_text: "#F47200";
36
+ readonly color_bg: "#FFF1DA";
37
+ }, {
38
+ readonly id: 12;
39
+ readonly title: "대여";
40
+ readonly detail_name: "대여";
41
+ readonly color_text: "#F47200";
42
+ readonly color_bg: "#FFF1DA";
43
+ }, {
44
+ readonly id: 21;
45
+ readonly title: "운행불가";
46
+ readonly detail_name: "운행불가";
47
+ readonly color_text: "#555555";
48
+ readonly color_bg: "#F3F6F9";
49
+ }, {
50
+ readonly id: 31;
51
+ readonly title: "1인소유";
52
+ readonly detail_name: "1인소유";
53
+ readonly color_text: "#484AF5";
54
+ readonly color_bg: "#F0F0FD";
11
55
  }];
12
- export declare const SellCarTagId: (1 | 2)[];
56
+ export declare const SellCarTagId: (1 | 2 | 3 | 5 | 4 | 11 | 21 | 12 | 31)[];
13
57
  export type SellCarTagId = (typeof SellCarTagData)[number]["id"];
@@ -4,15 +4,66 @@ exports.SellCarTagId = exports.SellCarTagData = void 0;
4
4
  exports.SellCarTagData = [
5
5
  {
6
6
  id: 1,
7
- title: "완무",
8
- color_text: "#B8860B",
9
- color_bg: "#FFF8DC",
7
+ title: "완무 (보험0건)",
8
+ detail_name: "완전무사고",
9
+ color_text: "#0C75FF",
10
+ color_bg: "#E7F0FF",
10
11
  },
11
12
  {
12
13
  id: 2,
13
- title: "무사고",
14
- color_text: "#1E90FF",
15
- color_bg: "#E6F0FF",
14
+ title: "단순",
15
+ detail_name: "단순교환",
16
+ color_text: "#FF4747",
17
+ color_bg: "#FFE7E7",
18
+ },
19
+ {
20
+ id: 3,
21
+ title: "전손",
22
+ detail_name: "전손",
23
+ color_text: "#FF4747",
24
+ color_bg: "#FFE7E7",
25
+ },
26
+ {
27
+ id: 4,
28
+ title: "유사고",
29
+ detail_name: "유사고",
30
+ color_text: "#FF4747",
31
+ color_bg: "#FFE7E7",
32
+ },
33
+ {
34
+ id: 5,
35
+ title: "사고모름",
36
+ detail_name: "사고모름",
37
+ color_text: "#FF4747",
38
+ color_bg: "#FFE7E7",
39
+ },
40
+ {
41
+ id: 11,
42
+ title: "영업",
43
+ detail_name: "영업",
44
+ color_text: "#F47200",
45
+ color_bg: "#FFF1DA",
46
+ },
47
+ {
48
+ id: 12,
49
+ title: "대여",
50
+ detail_name: "대여",
51
+ color_text: "#F47200",
52
+ color_bg: "#FFF1DA",
53
+ },
54
+ {
55
+ id: 21,
56
+ title: "운행불가",
57
+ detail_name: "운행불가",
58
+ color_text: "#555555",
59
+ color_bg: "#F3F6F9",
60
+ },
61
+ {
62
+ id: 31,
63
+ title: "1인소유",
64
+ detail_name: "1인소유",
65
+ color_text: "#484AF5",
66
+ color_bg: "#F0F0FD",
16
67
  },
17
68
  ];
18
69
  exports.SellCarTagId = exports.SellCarTagData.map((el) => {
@@ -201,6 +201,21 @@ export interface SellMyCarOrderSellCarInfo {
201
201
  carName: string;
202
202
  /** 소유자명 */
203
203
  ownerName: string;
204
+ /** 차량 사진 썸네일 URL
205
+ * @direct 직접등록일 경우 고객이 업로드한 사진 중 최초 1장
206
+ * @agency 카사요 퍼펙트 신청일 경우 관리자가 등록한 사진 중 최초 1장
207
+ */
208
+ thumbnail: string | null;
209
+ /** 차량 사진 URL 리스트
210
+ * @direct 직접등록일 경우 고객이 업로드한 사진 리스트
211
+ * @agency 카사요 퍼펙트 신청일 경우 관리자가 등록한 사진 리스트
212
+ */
213
+ pictures: string[] | null;
214
+ /** 구매방식 선택
215
+ * @direct 직접등록일 경우 고객이 견적요청시 선택한 구매방식
216
+ * @agency 카사요 퍼펙트 신청일 경우 고객이 문진표 작성 시 선택한 구매방식
217
+ */
218
+ purchaseMethod: SellMyCarOrderPurchaseMethod | null;
204
219
  /** 고객이 입력한 차량 정보 */
205
220
  customerInput: {
206
221
  /** 직접등록시 고객이 입력한 정보 */
@@ -213,8 +228,6 @@ export interface SellMyCarOrderSellCarInfo {
213
228
  accident: string | null;
214
229
  /** 차량정보 선택값 */
215
230
  state: string | null;
216
- /** 직접등록 고객이 올린 사진 리스트 */
217
- pictures: string[] | null;
218
231
  } | null;
219
232
  /** 카사요 퍼펙트 신청시 입력한 차량 정보 */
220
233
  agency: null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891909",
3
+ "version": "1.1.891911",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",