@carsayo/types 1.1.892079 → 1.1.892080

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.
Files changed (247) hide show
  1. package/package.json +1 -1
  2. package/dist/data/bankcode.d.ts +0 -167
  3. package/dist/data/bankcode.js +0 -66
  4. package/dist/data/board.d.ts +0 -74
  5. package/dist/data/board.js +0 -56
  6. package/dist/data/car.d.ts +0 -822
  7. package/dist/data/car.js +0 -895
  8. package/dist/data/carOptionRelationCategory.d.ts +0 -20
  9. package/dist/data/carOptionRelationCategory.js +0 -28
  10. package/dist/data/carPopularCategory.d.ts +0 -20
  11. package/dist/data/carPopularCategory.js +0 -28
  12. package/dist/data/collaborator.d.ts +0 -9
  13. package/dist/data/collaborator.js +0 -18
  14. package/dist/data/index.d.ts +0 -11
  15. package/dist/data/index.js +0 -27
  16. package/dist/data/purchase.d.ts +0 -18
  17. package/dist/data/purchase.js +0 -25
  18. package/dist/data/region.d.ts +0 -1226
  19. package/dist/data/region.js +0 -267
  20. package/dist/data/role.d.ts +0 -121
  21. package/dist/data/role.js +0 -150
  22. package/dist/data/sell_car.d.ts +0 -57
  23. package/dist/data/sell_car.js +0 -71
  24. package/dist/data/system.d.ts +0 -19
  25. package/dist/data/system.js +0 -28
  26. package/dist/data/term.d.ts +0 -349
  27. package/dist/data/term.js +0 -395
  28. package/dist/index.d.ts +0 -2
  29. package/dist/index.js +0 -18
  30. package/dist/types/index.d.ts +0 -2
  31. package/dist/types/index.js +0 -18
  32. package/dist/types/modules/accidentReport/dto.d.ts +0 -73
  33. package/dist/types/modules/accidentReport/dto.js +0 -2
  34. package/dist/types/modules/accidentReport/index.d.ts +0 -3
  35. package/dist/types/modules/accidentReport/index.js +0 -19
  36. package/dist/types/modules/accidentReport/interface.d.ts +0 -309
  37. package/dist/types/modules/accidentReport/interface.js +0 -2
  38. package/dist/types/modules/accidentReport/type.d.ts +0 -36
  39. package/dist/types/modules/accidentReport/type.js +0 -35
  40. package/dist/types/modules/board/dto.d.ts +0 -189
  41. package/dist/types/modules/board/dto.js +0 -3
  42. package/dist/types/modules/board/index.d.ts +0 -3
  43. package/dist/types/modules/board/index.js +0 -19
  44. package/dist/types/modules/board/interface.d.ts +0 -233
  45. package/dist/types/modules/board/interface.js +0 -2
  46. package/dist/types/modules/board/type.d.ts +0 -30
  47. package/dist/types/modules/board/type.js +0 -8
  48. package/dist/types/modules/car/dto.d.ts +0 -404
  49. package/dist/types/modules/car/dto.js +0 -15
  50. package/dist/types/modules/car/index.d.ts +0 -3
  51. package/dist/types/modules/car/index.js +0 -19
  52. package/dist/types/modules/car/interface.d.ts +0 -594
  53. package/dist/types/modules/car/interface.js +0 -2
  54. package/dist/types/modules/car/type.d.ts +0 -11
  55. package/dist/types/modules/car/type.js +0 -13
  56. package/dist/types/modules/chat/constants.d.ts +0 -2
  57. package/dist/types/modules/chat/constants.js +0 -5
  58. package/dist/types/modules/chat/dto.d.ts +0 -4
  59. package/dist/types/modules/chat/dto.js +0 -2
  60. package/dist/types/modules/chat/index.d.ts +0 -6
  61. package/dist/types/modules/chat/index.js +0 -22
  62. package/dist/types/modules/chat/type.d.ts +0 -117
  63. package/dist/types/modules/chat/type.js +0 -17
  64. package/dist/types/modules/chat/type.opponent.additionalInfo.d.ts +0 -7
  65. package/dist/types/modules/chat/type.opponent.additionalInfo.js +0 -2
  66. package/dist/types/modules/chat/type.room.additionalInfo.d.ts +0 -52
  67. package/dist/types/modules/chat/type.room.additionalInfo.js +0 -2
  68. package/dist/types/modules/chat/type.socket.d.ts +0 -46
  69. package/dist/types/modules/chat/type.socket.js +0 -2
  70. package/dist/types/modules/collaborator/dto.d.ts +0 -10
  71. package/dist/types/modules/collaborator/dto.js +0 -3
  72. package/dist/types/modules/collaborator/index.d.ts +0 -1
  73. package/dist/types/modules/collaborator/index.js +0 -17
  74. package/dist/types/modules/common/enum.d.ts +0 -65
  75. package/dist/types/modules/common/enum.js +0 -69
  76. package/dist/types/modules/common/index.d.ts +0 -3
  77. package/dist/types/modules/common/index.js +0 -19
  78. package/dist/types/modules/common/interface.d.ts +0 -40
  79. package/dist/types/modules/common/interface.js +0 -2
  80. package/dist/types/modules/common/type.d.ts +0 -14
  81. package/dist/types/modules/common/type.js +0 -13
  82. package/dist/types/modules/data/dto.d.ts +0 -4
  83. package/dist/types/modules/data/dto.js +0 -7
  84. package/dist/types/modules/data/index.d.ts +0 -2
  85. package/dist/types/modules/data/index.js +0 -18
  86. package/dist/types/modules/data/interface.d.ts +0 -6
  87. package/dist/types/modules/data/interface.js +0 -2
  88. package/dist/types/modules/file/dto.d.ts +0 -18
  89. package/dist/types/modules/file/dto.js +0 -3
  90. package/dist/types/modules/file/index.d.ts +0 -3
  91. package/dist/types/modules/file/index.js +0 -19
  92. package/dist/types/modules/file/interface.d.ts +0 -26
  93. package/dist/types/modules/file/interface.js +0 -2
  94. package/dist/types/modules/file/type.d.ts +0 -13
  95. package/dist/types/modules/file/type.js +0 -15
  96. package/dist/types/modules/history/dto.d.ts +0 -13
  97. package/dist/types/modules/history/dto.js +0 -3
  98. package/dist/types/modules/history/index.d.ts +0 -2
  99. package/dist/types/modules/history/index.js +0 -18
  100. package/dist/types/modules/history/interface.d.ts +0 -12
  101. package/dist/types/modules/history/interface.js +0 -2
  102. package/dist/types/modules/index.d.ts +0 -20
  103. package/dist/types/modules/index.js +0 -36
  104. package/dist/types/modules/inquiry/dto.d.ts +0 -79
  105. package/dist/types/modules/inquiry/dto.js +0 -2
  106. package/dist/types/modules/inquiry/index.d.ts +0 -3
  107. package/dist/types/modules/inquiry/index.js +0 -19
  108. package/dist/types/modules/inquiry/interface.d.ts +0 -37
  109. package/dist/types/modules/inquiry/interface.js +0 -2
  110. package/dist/types/modules/inquiry/type.d.ts +0 -14
  111. package/dist/types/modules/inquiry/type.js +0 -15
  112. package/dist/types/modules/insurance/dto.d.ts +0 -88
  113. package/dist/types/modules/insurance/dto.js +0 -3
  114. package/dist/types/modules/insurance/index.d.ts +0 -2
  115. package/dist/types/modules/insurance/index.js +0 -18
  116. package/dist/types/modules/insurance/interface.d.ts +0 -58
  117. package/dist/types/modules/insurance/interface.js +0 -2
  118. package/dist/types/modules/member/dto.d.ts +0 -677
  119. package/dist/types/modules/member/dto.js +0 -3
  120. package/dist/types/modules/member/index.d.ts +0 -3
  121. package/dist/types/modules/member/index.js +0 -19
  122. package/dist/types/modules/member/interface.d.ts +0 -696
  123. package/dist/types/modules/member/interface.js +0 -2
  124. package/dist/types/modules/member/type.d.ts +0 -92
  125. package/dist/types/modules/member/type.js +0 -86
  126. package/dist/types/modules/message/dto.d.ts +0 -15
  127. package/dist/types/modules/message/dto.js +0 -2
  128. package/dist/types/modules/message/index.d.ts +0 -3
  129. package/dist/types/modules/message/index.js +0 -19
  130. package/dist/types/modules/message/interface.d.ts +0 -20
  131. package/dist/types/modules/message/interface.js +0 -2
  132. package/dist/types/modules/message/type.d.ts +0 -22
  133. package/dist/types/modules/message/type.js +0 -22
  134. package/dist/types/modules/notification/dto.d.ts +0 -13
  135. package/dist/types/modules/notification/dto.js +0 -3
  136. package/dist/types/modules/notification/index.d.ts +0 -3
  137. package/dist/types/modules/notification/index.js +0 -19
  138. package/dist/types/modules/notification/interface.d.ts +0 -19
  139. package/dist/types/modules/notification/interface.js +0 -2
  140. package/dist/types/modules/notification/type.d.ts +0 -5
  141. package/dist/types/modules/notification/type.js +0 -7
  142. package/dist/types/modules/order/dto.d.ts +0 -446
  143. package/dist/types/modules/order/dto.js +0 -16
  144. package/dist/types/modules/order/index.d.ts +0 -3
  145. package/dist/types/modules/order/index.js +0 -19
  146. package/dist/types/modules/order/interface.d.ts +0 -913
  147. package/dist/types/modules/order/interface.js +0 -2
  148. package/dist/types/modules/order/type.d.ts +0 -160
  149. package/dist/types/modules/order/type.js +0 -147
  150. package/dist/types/modules/partners/dto.d.ts +0 -37
  151. package/dist/types/modules/partners/dto.js +0 -11
  152. package/dist/types/modules/partners/index.d.ts +0 -3
  153. package/dist/types/modules/partners/index.js +0 -19
  154. package/dist/types/modules/partners/interface.d.ts +0 -40
  155. package/dist/types/modules/partners/interface.js +0 -2
  156. package/dist/types/modules/partners/type.d.ts +0 -12
  157. package/dist/types/modules/partners/type.js +0 -13
  158. package/dist/types/modules/purchase/dto.d.ts +0 -9
  159. package/dist/types/modules/purchase/dto.js +0 -3
  160. package/dist/types/modules/purchase/index.d.ts +0 -2
  161. package/dist/types/modules/purchase/index.js +0 -18
  162. package/dist/types/modules/purchase/interface.d.ts +0 -22
  163. package/dist/types/modules/purchase/interface.js +0 -2
  164. package/dist/types/modules/purchase/type.d.ts +0 -11
  165. package/dist/types/modules/purchase/type.js +0 -13
  166. package/dist/types/modules/repair/constant.d.ts +0 -28
  167. package/dist/types/modules/repair/constant.js +0 -139
  168. package/dist/types/modules/repair/constants.d.ts +0 -23
  169. package/dist/types/modules/repair/constants.js +0 -52
  170. package/dist/types/modules/repair/dto.d.ts +0 -96
  171. package/dist/types/modules/repair/dto.js +0 -2
  172. package/dist/types/modules/repair/index.d.ts +0 -4
  173. package/dist/types/modules/repair/index.js +0 -20
  174. package/dist/types/modules/repair/interface.d.ts +0 -659
  175. package/dist/types/modules/repair/interface.js +0 -2
  176. package/dist/types/modules/repair/type.d.ts +0 -64
  177. package/dist/types/modules/repair/type.js +0 -71
  178. package/dist/types/modules/sellMyCar/constant.d.ts +0 -54
  179. package/dist/types/modules/sellMyCar/constant.js +0 -117
  180. package/dist/types/modules/sellMyCar/dto-admin.d.ts +0 -258
  181. package/dist/types/modules/sellMyCar/dto-admin.js +0 -2
  182. package/dist/types/modules/sellMyCar/dto.d.ts +0 -186
  183. package/dist/types/modules/sellMyCar/dto.js +0 -15
  184. package/dist/types/modules/sellMyCar/index.d.ts +0 -9
  185. package/dist/types/modules/sellMyCar/index.js +0 -25
  186. package/dist/types/modules/sellMyCar/interface-admin.d.ts +0 -85
  187. package/dist/types/modules/sellMyCar/interface-admin.js +0 -23
  188. package/dist/types/modules/sellMyCar/interface-faq.d.ts +0 -52
  189. package/dist/types/modules/sellMyCar/interface-faq.js +0 -22
  190. package/dist/types/modules/sellMyCar/interface-member.d.ts +0 -252
  191. package/dist/types/modules/sellMyCar/interface-member.js +0 -16
  192. package/dist/types/modules/sellMyCar/interface-notice.d.ts +0 -28
  193. package/dist/types/modules/sellMyCar/interface-notice.js +0 -2
  194. package/dist/types/modules/sellMyCar/interface.d.ts +0 -1075
  195. package/dist/types/modules/sellMyCar/interface.js +0 -7
  196. package/dist/types/modules/sellMyCar/type.d.ts +0 -203
  197. package/dist/types/modules/sellMyCar/type.js +0 -199
  198. package/dist/types/modules/system/dto.d.ts +0 -13
  199. package/dist/types/modules/system/dto.js +0 -3
  200. package/dist/types/modules/system/index.d.ts +0 -2
  201. package/dist/types/modules/system/index.js +0 -18
  202. package/dist/types/modules/system/interface.d.ts +0 -18
  203. package/dist/types/modules/system/interface.js +0 -2
  204. package/dist/types/modules/term/dto.d.ts +0 -171
  205. package/dist/types/modules/term/dto.js +0 -3
  206. package/dist/types/modules/term/index.d.ts +0 -3
  207. package/dist/types/modules/term/index.js +0 -19
  208. package/dist/types/modules/term/interface.d.ts +0 -52
  209. package/dist/types/modules/term/interface.js +0 -2
  210. package/dist/types/modules/term/type.d.ts +0 -11
  211. package/dist/types/modules/term/type.js +0 -13
  212. package/dist/types/providers/coocon-usedcar/constant.d.ts +0 -46
  213. package/dist/types/providers/coocon-usedcar/constant.js +0 -673
  214. package/dist/types/providers/coocon-usedcar/constants.d.ts +0 -46
  215. package/dist/types/providers/coocon-usedcar/constants.js +0 -673
  216. package/dist/types/providers/coocon-usedcar/dto.d.ts +0 -23
  217. package/dist/types/providers/coocon-usedcar/dto.js +0 -3
  218. package/dist/types/providers/coocon-usedcar/index.d.ts +0 -3
  219. package/dist/types/providers/coocon-usedcar/index.js +0 -19
  220. package/dist/types/providers/coocon-usedcar/interface.d.ts +0 -305
  221. package/dist/types/providers/coocon-usedcar/interface.js +0 -2
  222. package/dist/types/providers/firebase-message/dto.d.ts +0 -56
  223. package/dist/types/providers/firebase-message/dto.js +0 -3
  224. package/dist/types/providers/firebase-message/index.d.ts +0 -2
  225. package/dist/types/providers/firebase-message/index.js +0 -18
  226. package/dist/types/providers/firebase-message/interface.d.ts +0 -4
  227. package/dist/types/providers/firebase-message/interface.js +0 -2
  228. package/dist/types/providers/gabia-sms/dto.d.ts +0 -31
  229. package/dist/types/providers/gabia-sms/dto.js +0 -3
  230. package/dist/types/providers/gabia-sms/index.d.ts +0 -1
  231. package/dist/types/providers/gabia-sms/index.js +0 -17
  232. package/dist/types/providers/index.d.ts +0 -5
  233. package/dist/types/providers/index.js +0 -21
  234. package/dist/types/providers/niceapi/dto.d.ts +0 -15
  235. package/dist/types/providers/niceapi/dto.js +0 -3
  236. package/dist/types/providers/niceapi/index.d.ts +0 -2
  237. package/dist/types/providers/niceapi/index.js +0 -18
  238. package/dist/types/providers/niceapi/interface.d.ts +0 -25
  239. package/dist/types/providers/niceapi/interface.js +0 -2
  240. package/dist/types/providers/nicepayment/dto.d.ts +0 -60
  241. package/dist/types/providers/nicepayment/dto.js +0 -9
  242. package/dist/types/providers/nicepayment/index.d.ts +0 -3
  243. package/dist/types/providers/nicepayment/index.js +0 -19
  244. package/dist/types/providers/nicepayment/interface.d.ts +0 -168
  245. package/dist/types/providers/nicepayment/interface.js +0 -2
  246. package/dist/types/providers/nicepayment/type.d.ts +0 -36
  247. package/dist/types/providers/nicepayment/type.js +0 -37
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto"), exports);
18
- __exportStar(require("./interface"), exports);
19
- __exportStar(require("./type"), exports);
@@ -1,594 +0,0 @@
1
- import { CarMakerId, CarCategoryId, PopularCarCategoryId } from "../../../data";
2
- import { CarMakerType } from "./type";
3
- /**
4
- * @description 차량 제조사
5
- */
6
- export interface CarMaker {
7
- id: CarMakerId;
8
- name: string;
9
- name_en: string;
10
- country: string;
11
- image_url: string;
12
- type: CarMakerType;
13
- /** 슈퍼카 브랜드 여부 */
14
- isSuperCar: boolean;
15
- }
16
- /**
17
- * @description 차량 모델
18
- */
19
- export interface CarModel {
20
- id: number;
21
- name: string;
22
- name_brand: string;
23
- released_day: string;
24
- image_url: string;
25
- car_category: CarCategory | null;
26
- /** 전기차 여부 */
27
- isEletric: boolean;
28
- /** 숨김처리 여부 */
29
- isHidden: boolean;
30
- /** 사전예약 여부 */
31
- isPreorder: boolean;
32
- /** 신규 모델 기간
33
- * @note 이 기간보다 작을 경우 "신규" 태그가 붙습니다.
34
- */
35
- newCarPeriod: Date | null;
36
- /** 가격 정보가 없을 경우 min, max 둘 다 0이 찍혀 나옵니다 */
37
- price: {
38
- max: number;
39
- min: number;
40
- };
41
- }
42
- /**
43
- * @description 차량 카테고리
44
- */
45
- export interface CarCategory {
46
- id: CarCategoryId;
47
- name: string;
48
- }
49
- /**
50
- * @description 차량 상세모델
51
- */
52
- export interface CarTrim {
53
- id: number;
54
- name: string;
55
- image_url: string;
56
- /** 숨김처리 여부 */
57
- isHidden: boolean;
58
- car_shape: {
59
- id: number;
60
- name: string;
61
- } | null;
62
- }
63
- /**
64
- * @description 차량 등급
65
- */
66
- export interface CarGrade {
67
- id: number;
68
- name: string;
69
- price: number;
70
- released_month: string;
71
- /** 숨김처리 여부 */
72
- isHidden: boolean;
73
- car_purpose: {
74
- id: number;
75
- name: string;
76
- } | null;
77
- /** 연식
78
- * @notice 23년 7월 모델: 24
79
- */
80
- modelYear: number;
81
- /** 배기량
82
- * @notice NumberString 혹은 빈 String
83
- */
84
- displace: string;
85
- /** 연료
86
- * @notice NumberString 혹은 빈 String
87
- */
88
- fuel: string;
89
- /** 탑승 인원 수
90
- * @notice NumberString 혹은 빈 String
91
- */
92
- seatingCapacity: string;
93
- /** 필수 옵션 카테고리
94
- * 필수 카테고리 내 하나의 옵션이 무조건 선택되게 합니다.
95
- */
96
- essential_category: string[];
97
- /** 선택 옵션 카테고리
98
- * 선택 카테고리 내에서 최대 하나의 옵션만 선택할 수 있게 합니다.
99
- */
100
- radio_category: string[];
101
- }
102
- /**
103
- * @description 차량 색상
104
- */
105
- export interface CarColor {
106
- id: number;
107
- name: string;
108
- description: string | null;
109
- price: number;
110
- /** 관리자단에서 직접 입력한 카테고리 */
111
- category: string | null;
112
- /** NiceDNR에서 제공하는 색상 이미지
113
- * @note color_code가 우선적으로 사용되고, 해당 값이 없을 경우 이 이미지를 사용합니다.
114
- */
115
- image_url: string;
116
- /** 색상 코드 (주색)
117
- * @example "#222"
118
- * @note 관리자 페이지에서 색상 정의했을 경우 사용
119
- */
120
- color_code_main: string | null;
121
- /** 색상 코드 (보조색)
122
- * @example "#222"
123
- * @note 다중 색상일 경우(2개 색상이 섞이는 경우) 정의
124
- */
125
- color_code_sub: string | null;
126
- /** 경고 문구
127
- * @example 프리미엄 셀렉션 2 필수
128
- */
129
- warning_text: string | null;
130
- /** 외장색상 여부
131
- * @note 외장색상일 경우 false, 내장색상일 경우 true
132
- * @default false
133
- */
134
- is_interior: boolean;
135
- /** 숨김처리 여부
136
- * @note car_color_LINK_car_grade 테이블에서 숨김처리 여부를 확인합니다.
137
- */
138
- isHidden: boolean;
139
- /** 해당 색상 선택 시 걸리는 제한 사항 */
140
- restrictions: CarColorRestrictions | null;
141
- /** 색상 하위 선택항목 목록
142
- * @note 현재 내장색상에서만 정상동작합니다.
143
- */
144
- internalSelection: CarColorInternalSelection[] | null;
145
- }
146
- /** 해당 색상 선택 시 걸리는 제한 사항
147
- * @example {"incompatible":{"color":["그랜드 화이트","인디안 레드"],"option":["투톤 컬러 루프"]}}
148
- * @example 위 경우, 해당 색상이 선택되었을 경우 "그랜드 화이트"와 "인디안 레드" 색상과 "투톤 컬러 루프" 옵션은 선택할 수 없습니다.
149
- * @note DB상에 JSON 형식으로 저장되어 있습니다. Non-typesafity하므로 속성을 모두 Optional하게 사용합니다.
150
- */
151
- export interface CarColorRestrictions {
152
- incompatible?: {
153
- /** 동시 선택할 수 없는 색상 "이름" */
154
- color?: string[];
155
- /** 동시에 선택할 수 없는 옵션 "이름" */
156
- option?: string[];
157
- };
158
- /** 해당 색상이 선택될 경우, 필수적으로 동시에 선택해야 하는 항목 */
159
- nessary?: {
160
- /** 동시에 선택해야 하는 옵션 "이름" */
161
- option?: string[];
162
- };
163
- }
164
- export interface CarColorInternalSelection {
165
- /** 색상 하위 선택항목 이름
166
- * @example 애쉬 우드 메탈 G-Matrix 패턴
167
- */
168
- name: string;
169
- /** 색상 하위 선택항목 가격 */
170
- price: number;
171
- /** 색상 하위 선택항목 이미지 URL */
172
- imageUrl: string | null;
173
- }
174
- export interface InteriorCarColor {
175
- /** 카사요 색상 데이터에서 선택했을 경우 정의 */
176
- id?: number;
177
- /** 카사요 색상 데이터에서 선택 OR 직접 입력
178
- * @note 무조건 존재
179
- */
180
- name: string;
181
- /** 가격
182
- * @default 0
183
- */
184
- price: number;
185
- /** 카테고리 */
186
- category: string | null;
187
- /** 이미지 URL
188
- * @note NiceDNR에서 정의할 경우 존재
189
- */
190
- imageUrl: string | null;
191
- /** 주색
192
- * @note 카사요 관리자에서 정의했을 경우 값 존재
193
- */
194
- color_code_main: string | null;
195
- /** 보조색
196
- * @note 카사요 관리자에서 정의했을 경우 값 존재
197
- * @note 다중 색상일 경우에만 값 존재
198
- */
199
- color_code_sub: string | null;
200
- /** 경고 문구
201
- * @note 카사요 관리자에서 정의했을 경우 값 존재
202
- */
203
- warning_text: string | null;
204
- /** 하위 선택 항목
205
- * @note 현재 내장색상에서만 정상동작합니다.
206
- * @note 제네시스 내장재 선택에서 주로 사용합니다.
207
- */
208
- internalSelection?: CarColorInternalSelection | null;
209
- }
210
- /** 차량 옵션 */
211
- export interface CarOption {
212
- id: number;
213
- name: string;
214
- /** 옵션 짧은 설명 (한줄내외) */
215
- info: string | null;
216
- /** 옵션 가격 */
217
- price: number;
218
- /** 필수 옵션 여부
219
- * @note 해당 등급에서 필수 옵션인지 여부입니다.
220
- */
221
- isEssential: boolean;
222
- /** 숨김처리 여부
223
- * @note car_option_LINK_car_grade 테이블에서 숨김처리 여부를 확인합니다.
224
- */
225
- isHidden: boolean;
226
- /** 관리자단에서 직접 입력한 카테고리 */
227
- category: string | null;
228
- /** 옵션 설명 존재 시 옵션 설명 Id값 */
229
- descriptionId: number | null;
230
- relation: {
231
- /** 이 옵션의 하위 옵션 리스트
232
- * @notice CarOption의 Id값 리스트입니다.
233
- * @example "파퓰러 패키지" 안에 "드라이브 와이즈 1"이 포함될 경우, "드라이브 와이즈 1"의 id값이 포함됩니다.
234
- */
235
- include: number[];
236
- /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
237
- * @notice CarOption의 Id값 리스트입니다.
238
- */
239
- /** 이 옵션의 상위 옵션 목록
240
- * @notice CarOption의 Id값 리스트입니다.
241
- * @example "드라이브 와이즈 1" 이 "파퓰러 패키지", "프레스티지 패키지"에 포함될 경우, "파퓰러 패키지", "프레스티지 패키지"의 id값 두 개가 포함됩니다.
242
- */
243
- parent: number[];
244
- /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
245
- * @notice CarOption의 Id값 리스트입니다.
246
- */
247
- nessary: number[];
248
- /** 동시에 선택할 수 없는 옵션 리스트
249
- * @notice CarOption의 Id값 리스트입니다.
250
- */
251
- incompatible: number[];
252
- } | null;
253
- }
254
- /** 옵션에 대한 상세 설명 */
255
- export interface CarOptionDescription {
256
- id: number;
257
- /** 대상 차량 제조사 아이디 */
258
- car_makerId: number | null;
259
- /** 대상 차량 모델 아이디 리스트 */
260
- car_modelIdList: number[];
261
- /** 옵션 설명 제목 */
262
- name: string;
263
- /** 상세 설명 내용,
264
- * @notice 빈 String이 올 수 있습니다.
265
- */
266
- content: string;
267
- /** 옵션 설명 이미지 url
268
- * @example https://cdn.carsayo.net/resource/car/option/description/image/13181.jpg
269
- */
270
- imgSrc: string | null;
271
- include: {
272
- id: number;
273
- /** 대상 차량 제조사 아이디 */
274
- car_makerId: number | null;
275
- /** 대상 차량 모델 아이디 리스트 */
276
- car_modelIdList: number[];
277
- /** 옵션 하위 내용 제목 */
278
- name: string;
279
- /** 옵션 하위 내용 상세 설명
280
- * @notice 빈 String이 올 수 있습니다.
281
- */
282
- content: string;
283
- /** 옵션 설명 이미지 url
284
- * @example https://cdn.carsayo.net/resource/car/option/description/image/13181.jpg
285
- */
286
- imgSrc: string | null;
287
- }[];
288
- }
289
- export interface InterestCarInfo extends CarModel {
290
- created_at: Date;
291
- carMaker: CarMaker;
292
- isInterest: boolean;
293
- }
294
- export interface PopularCarCategory {
295
- id: PopularCarCategoryId;
296
- name: string;
297
- description: string;
298
- carList: PopularCar[];
299
- }
300
- export interface PopularCar {
301
- id: number;
302
- name: string;
303
- description: string;
304
- /** 관심차량 여부 */
305
- isInterest: boolean;
306
- model: CarModel;
307
- maker: CarMaker;
308
- }
309
- export interface CarDetailInfo {
310
- id: string;
311
- created_at: Date;
312
- updated_at: Date;
313
- car_color: {
314
- id: number;
315
- name: string;
316
- image_url: string;
317
- price: number;
318
- } | null;
319
- car_grade: {
320
- id: number;
321
- name: string;
322
- price: number;
323
- released_month: string;
324
- } | null;
325
- car_maker: {
326
- id: number;
327
- name: string;
328
- country: string;
329
- } | null;
330
- car_model: {
331
- id: number;
332
- name: string;
333
- name_brand: string;
334
- released_day: string;
335
- car_category: {
336
- id: number;
337
- name: string;
338
- } | null;
339
- } | null;
340
- car_trim: {
341
- id: number;
342
- name: string;
343
- image_url: string;
344
- } | null;
345
- car_option: {
346
- id: number;
347
- name: string;
348
- price: number;
349
- }[];
350
- }
351
- export interface CarShortInfo {
352
- id: string;
353
- car_grade: {
354
- id: number;
355
- name: string;
356
- price: number;
357
- } | null;
358
- car_model: {
359
- id: number;
360
- name: string;
361
- name_brand: string;
362
- car_category: {
363
- id: number;
364
- name: string;
365
- } | null;
366
- } | null;
367
- car_trim: {
368
- id: number;
369
- name: string;
370
- image_url: string;
371
- } | null;
372
- car_color: {
373
- id: number;
374
- name: string;
375
- image_url: string;
376
- } | null;
377
- car_maker: {
378
- id: number;
379
- name: string;
380
- country: string;
381
- } | null;
382
- }
383
- /** 브랜드별 판매 차량 데이터 */
384
- export type WholeSellingCar = CarMaker & {
385
- car_model: (CarModel & {
386
- car_trim: (CarTrim & {
387
- car_grade: CarGrade[];
388
- })[];
389
- })[];
390
- };
391
- /** 관리자에서 에디트하기 위한 데이터 */
392
- export type Admin_WholeSellingCar = Omit<WholeSellingCar, "car_model"> & {
393
- /** 관리자에서 에디트한 제목 */
394
- name_changed: string | null;
395
- /** 관리자에서 에디트한 순서 */
396
- sort_order: number;
397
- car_model: (CarModel & {
398
- /** 관리자에서 에디트한 제목 */
399
- name_changed: string | null;
400
- /** 관리자에서 에디트한 순서 */
401
- sort_order: number;
402
- /** 관리자가 임의로 생성했는지 여부
403
- * @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
404
- */
405
- isInsertedManually: boolean;
406
- car_trim: (CarTrim & {
407
- /** 관리자에서 에디트한 제목 */
408
- name_changed: string | null;
409
- /** 관리자에서 에디트한 순서 */
410
- sort_order: number;
411
- /** 관리자가 임의로 생성했는지 여부
412
- * @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
413
- */
414
- isInsertedManually: boolean;
415
- car_grade: (CarGrade & {
416
- /** 관리자에서 에디트한 제목 */
417
- name_changed: string | null;
418
- /** 관리자에서 에디트한 순서 */
419
- sort_order: number;
420
- /** 관리자에서 에디트한 가격 */
421
- price_changed: number | null;
422
- /** 관리자에서 가격 에디트한 시점 */
423
- price_changedAt: Date | null;
424
- /** 관리자가 임의로 생성했는지 여부
425
- * @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
426
- */
427
- isInsertedManually: boolean;
428
- /** 관리자용 추가 정보 */
429
- admin_additional_info: CarAdminAdditionalInfo[] | null;
430
- created_at: Date;
431
- updated_at: Date;
432
- })[];
433
- /** 관리자용 추가 정보 */
434
- admin_additional_info: CarAdminAdditionalInfo[] | null;
435
- created_at: Date;
436
- updated_at: Date;
437
- })[];
438
- /** 관리자용 추가 정보 */
439
- admin_additional_info: CarAdminAdditionalInfo[] | null;
440
- created_at: Date;
441
- updated_at: Date;
442
- })[];
443
- /** 관리자용 추가 정보 */
444
- admin_additional_info: CarAdminAdditionalInfo[] | null;
445
- created_at: Date;
446
- updated_at: Date;
447
- };
448
- /** 특정 모델 내 모든 옵션과 색상 데이터 */
449
- export interface CarModelOptionColor {
450
- option: {
451
- id: number;
452
- name: string;
453
- category: string | null;
454
- price: number;
455
- isDescription: boolean;
456
- isInsertedManually: boolean;
457
- }[];
458
- color: {
459
- id: number;
460
- name: string;
461
- category: string | null;
462
- price: number;
463
- isInsertedManually: boolean;
464
- /** 외장색상 여부
465
- * @note 외장색상일 경우 false, 내장색상일 경우 true
466
- * @default false
467
- */
468
- is_interior: boolean;
469
- /** NiceDNR에서 제공하는 색상 이미지
470
- * @note color_code가 우선적으로 사용되고, 해당 값이 없을 경우 이 이미지를 사용합니다.
471
- */
472
- image_url: string;
473
- /** 색상 코드 (주색)
474
- * @example "#222"
475
- * @note 관리자 페이지에서 색상 정의했을 경우 사용
476
- */
477
- color_code_main: string | null;
478
- /** 색상 코드 (보조색)
479
- * @example "#222"
480
- * @note 다중 색상일 경우(2개 색상이 섞이는 경우) 정의
481
- */
482
- color_code_sub: string | null;
483
- }[];
484
- }
485
- export interface Admin_CarOption extends CarOption {
486
- /** 관리자에서 에디트한 제목 */
487
- name_changed: string | null;
488
- /** 관리자에서 에디트한 가격 */
489
- price_changed: number | null;
490
- /** 관리자에서 가격 에디트한 시점 */
491
- price_changedAt: Date | null;
492
- /** 해당 옵션이 연결되어 있는 상세등급 수 */
493
- connectGradeCount: number;
494
- /** 관리자가 임의로 옵션-상세등급간 연결했는지 여부
495
- * @notice true: 관리자 페이지에서 임의로 연결한 옵션, false: Nice데이터 기반
496
- */
497
- isConnectedManually: boolean;
498
- /** 관리자가 임의로 생성했는지 여부
499
- * @notice true: 관리자 페이지에서 생성한 옵션, false: Nice데이터 기반
500
- */
501
- isInsertedManually: boolean;
502
- /** 관리자용 추가 정보 */
503
- admin_additional_info: CarAdminAdditionalInfo[] | null;
504
- created_at: Date;
505
- updated_at: Date;
506
- }
507
- export interface Admin_CarColor extends CarColor {
508
- /** 관리자에서 에디트한 제목 */
509
- name_changed: string | null;
510
- /** 관리자에서 에디트한 가격 */
511
- price_changed: number | null;
512
- /** 관리자에서 가격 에디트한 시점 */
513
- price_changedAt: Date | null;
514
- /** 해당 옵션이 연결되어 있는 상세등급 수 */
515
- connectGradeCount: number;
516
- /** 관리자가 임의로 옵션-상세등급간 연결했는지 여부
517
- * @notice true: 관리자 페이지에서 임의로 연결한 옵션, false: Nice데이터 기반
518
- */
519
- isConnectedManually: boolean;
520
- /** 관리자가 임의로 생성했는지 여부
521
- * @notice true: 관리자 페이지에서 생성한 옵션, false: Nice데이터 기반
522
- */
523
- isInsertedManually: boolean;
524
- /** 관리자용 추가 정보 */
525
- admin_additional_info: CarAdminAdditionalInfo[] | null;
526
- created_at: Date;
527
- updated_at: Date;
528
- }
529
- export interface CarAdminAdditionalInfo {
530
- /** YYYYMMDD */
531
- updateDay: string;
532
- /** 업데이트 내용 */
533
- content: string;
534
- /** 태그 색상 (관리자 페이지에서 표시되는 색상) */
535
- color: "red" | "blue" | "green" | "yellow" | "purple" | "orange" | "gray";
536
- /** 확인 여부 (미확인인 것만 관리자에게 노출) */
537
- checked: boolean;
538
- }
539
- /** Deprecated */
540
- export interface CooconCarInfo {
541
- id: string;
542
- carName: string;
543
- ownerName: string;
544
- carInfo: {
545
- vin: string;
546
- regName: string;
547
- firstdate: string;
548
- year: string;
549
- isForeign: boolean;
550
- makername: string;
551
- classname: string;
552
- modelname: string;
553
- seriesname1: string;
554
- seriesname2: string;
555
- seriesname: string;
556
- cargubun: string;
557
- modelimage: string;
558
- usegubun: string;
559
- displacement: number;
560
- fuel: string;
561
- gearbox: string;
562
- color: string;
563
- stdmileage: string;
564
- newprice: number;
565
- carmakeprice: number;
566
- seating: string;
567
- enType: string;
568
- option_table: {
569
- cate1Name: string;
570
- cate2Name: string;
571
- cate3Name: string;
572
- option_flag: string;
573
- }[] | null;
574
- optlist: {
575
- price: string;
576
- name: string;
577
- }[] | null;
578
- };
579
- seloptlist: {
580
- optname: string;
581
- optprice: string;
582
- }[];
583
- mileageprice: {
584
- price: number;
585
- mileage: number;
586
- }[];
587
- usedprice: {
588
- rate: string;
589
- price: number;
590
- rvalue: number;
591
- stdym: string;
592
- }[];
593
- created_at: string;
594
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * @domestic 국산차
3
- * @imported 수입차
4
- * @etc 기타
5
- */
6
- export declare const CarMakerType: {
7
- domestic: string;
8
- imported: string;
9
- etc: string;
10
- };
11
- export type CarMakerType = keyof typeof CarMakerType;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CarMakerType = void 0;
4
- /**
5
- * @domestic 국산차
6
- * @imported 수입차
7
- * @etc 기타
8
- */
9
- exports.CarMakerType = {
10
- domestic: "domestic",
11
- imported: "imported",
12
- etc: "etc",
13
- };
@@ -1,2 +0,0 @@
1
- export declare const ADMIN_CHAT_ID = "CsyAdminChat";
2
- export declare const ADMIN_PROFILE_IMAGE = "https://cdn.carsayo.net/carsayo/thumbnail/admin/profile.png";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ADMIN_PROFILE_IMAGE = exports.ADMIN_CHAT_ID = void 0;
4
- exports.ADMIN_CHAT_ID = "CsyAdminChat";
5
- exports.ADMIN_PROFILE_IMAGE = "https://cdn.carsayo.net/carsayo/thumbnail/admin/profile.png";
@@ -1,4 +0,0 @@
1
- export interface ConnectChatSellCarInfoDTO {
2
- sell_car_order_id: string;
3
- chat_room_inquiry_id: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export * from "./type.room.additionalInfo";
2
- export * from "./type.opponent.additionalInfo";
3
- export * from "./type.socket";
4
- export * from "./type";
5
- export * from "./constants";
6
- export * from "./dto";
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./type.room.additionalInfo"), exports);
18
- __exportStar(require("./type.opponent.additionalInfo"), exports);
19
- __exportStar(require("./type.socket"), exports);
20
- __exportStar(require("./type"), exports);
21
- __exportStar(require("./constants"), exports);
22
- __exportStar(require("./dto"), exports);