@carsayo/types 1.1.76 → 1.1.78

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 (35) hide show
  1. package/dist/data/carOptionRelationCategory.d.ts +20 -0
  2. package/dist/data/carOptionRelationCategory.js +28 -0
  3. package/dist/data/term.d.ts +11 -2
  4. package/dist/data/term.js +61 -51
  5. package/dist/types/modules/accidentRegistration/dto.d.ts +49 -0
  6. package/dist/types/modules/accidentRegistration/dto.js +2 -0
  7. package/dist/types/modules/accidentRegistration/index.d.ts +3 -0
  8. package/dist/types/modules/accidentRegistration/index.js +19 -0
  9. package/dist/types/modules/accidentRegistration/interface.d.ts +34 -0
  10. package/dist/types/modules/accidentRegistration/interface.js +2 -0
  11. package/dist/types/modules/accidentRegistration/type.d.ts +4 -0
  12. package/dist/types/modules/accidentRegistration/type.js +6 -0
  13. package/dist/types/modules/car/dto.d.ts +3 -0
  14. package/dist/types/modules/car/interface.d.ts +56 -7
  15. package/dist/types/modules/common/enum.d.ts +65 -0
  16. package/dist/types/modules/common/enum.js +69 -0
  17. package/dist/types/modules/common/index.d.ts +1 -0
  18. package/dist/types/modules/common/index.js +1 -0
  19. package/dist/types/modules/common/interface.d.ts +17 -0
  20. package/dist/types/modules/index.d.ts +2 -0
  21. package/dist/types/modules/index.js +2 -0
  22. package/dist/types/modules/insurance/dto.d.ts +84 -0
  23. package/dist/types/modules/insurance/dto.js +3 -0
  24. package/dist/types/modules/insurance/index.d.ts +2 -0
  25. package/dist/types/modules/insurance/index.js +18 -0
  26. package/dist/types/modules/insurance/interface.d.ts +55 -0
  27. package/dist/types/modules/insurance/interface.js +2 -0
  28. package/dist/types/modules/member/dto.d.ts +91 -0
  29. package/dist/types/modules/member/interface.d.ts +132 -3
  30. package/dist/types/modules/member/type.d.ts +4 -0
  31. package/dist/types/modules/member/type.js +5 -1
  32. package/dist/types/modules/order/dto.d.ts +33 -11
  33. package/dist/types/modules/promotion/24090500/interface.d.ts +5 -0
  34. package/dist/types/modules/term/dto.d.ts +11 -15
  35. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ /** 카사요 서비스 내 인기 차량 카테고리
2
+ * @relation RDB 내 car_popular_catrgory
3
+ * @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
4
+ * @backend Prisma, Main_Service
5
+ */
6
+ export declare const CarOptionRelationCategory: readonly [{
7
+ readonly id: 0;
8
+ readonly title: "포함 관계";
9
+ readonly description: "car_option_1은 car_option_2를 포함하고 있습니다.";
10
+ }, {
11
+ readonly id: 1;
12
+ readonly title: "필요 관계";
13
+ readonly description: "car_option_1을 선택하기 위해서는 car_option_2를 필요로 합니다.";
14
+ }, {
15
+ readonly id: 2;
16
+ readonly title: "양립 불가 관계";
17
+ readonly description: "car_option_1는 car_option_2와 동시 선택될 수 없습니다.";
18
+ }];
19
+ export declare const CarOptionRelationCategoryId: (0 | 1 | 2)[];
20
+ export type CarOptionRelationCategoryId = (typeof CarOptionRelationCategory)[number]["id"];
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /** 카사요 서비스 내 인기 차량 카테고리
3
+ * @relation RDB 내 car_popular_catrgory
4
+ * @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
5
+ * @backend Prisma, Main_Service
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CarOptionRelationCategoryId = exports.CarOptionRelationCategory = void 0;
9
+ exports.CarOptionRelationCategory = [
10
+ {
11
+ id: 0,
12
+ title: "포함 관계",
13
+ description: "car_option_1은 car_option_2를 포함하고 있습니다.",
14
+ },
15
+ {
16
+ id: 1,
17
+ title: "필요 관계",
18
+ description: "car_option_1을 선택하기 위해서는 car_option_2를 필요로 합니다.",
19
+ },
20
+ {
21
+ id: 2,
22
+ title: "양립 불가 관계",
23
+ description: "car_option_1는 car_option_2와 동시 선택될 수 없습니다.",
24
+ },
25
+ ];
26
+ exports.CarOptionRelationCategoryId = exports.CarOptionRelationCategory.map((el) => {
27
+ return el.id;
28
+ });
@@ -121,6 +121,15 @@ export declare const TermCategoryData: readonly [{
121
121
  readonly isEssential: true;
122
122
  readonly isContent: true;
123
123
  readonly isActive: true;
124
+ }, {
125
+ readonly id: 94100;
126
+ readonly title: "위치기반서비스 이용 동의";
127
+ readonly description: "위치기반서비스 이용 약관";
128
+ readonly member_type: any;
129
+ readonly dealer_type: any;
130
+ readonly isEssential: false;
131
+ readonly isContent: true;
132
+ readonly isActive: true;
124
133
  }, {
125
134
  readonly id: 95100;
126
135
  readonly title: "푸시 알람 수신 동의";
@@ -149,5 +158,5 @@ export declare const TermCategoryData: readonly [{
149
158
  readonly isContent: true;
150
159
  readonly isActive: true;
151
160
  }];
152
- export declare const TermCategoryId: (10100 | 10200 | 10500 | 10600 | 10700 | 20100 | 20200 | 24090 | 24100 | 25090 | 25100 | 26090 | 26100 | 95100 | 95200 | 95300)[];
153
- export type TermCategoryId = (typeof TermCategoryData)[number]['id'];
161
+ export declare const TermCategoryId: (10100 | 10200 | 10500 | 10600 | 10700 | 20100 | 20200 | 24090 | 24100 | 25090 | 25100 | 26090 | 26100 | 94100 | 95100 | 95200 | 95300)[];
162
+ export type TermCategoryId = (typeof TermCategoryData)[number]["id"];
package/dist/data/term.js CHANGED
@@ -11,9 +11,9 @@ exports.TermCategoryData = [
11
11
  /** 일반회원 가입 약관 */
12
12
  {
13
13
  id: 10100,
14
- title: '서비스 이용약관',
15
- description: '일반 고객의 서비스 이용약관입니다',
16
- member_type: 'customer',
14
+ title: "서비스 이용약관",
15
+ description: "일반 고객의 서비스 이용약관입니다",
16
+ member_type: "customer",
17
17
  dealer_type: null,
18
18
  isEssential: true,
19
19
  isContent: true,
@@ -21,9 +21,9 @@ exports.TermCategoryData = [
21
21
  },
22
22
  {
23
23
  id: 10200,
24
- title: '개인정보 처리방침',
25
- description: '일반 고객의 개인정보 처리방침입니다',
26
- member_type: 'customer',
24
+ title: "개인정보 처리방침",
25
+ description: "일반 고객의 개인정보 처리방침입니다",
26
+ member_type: "customer",
27
27
  dealer_type: null,
28
28
  isEssential: true,
29
29
  isContent: true,
@@ -31,9 +31,9 @@ exports.TermCategoryData = [
31
31
  },
32
32
  {
33
33
  id: 10500,
34
- title: '미스터리 쇼퍼가 아닙니다',
35
- description: '일반 고객의 미스터리 쇼퍼가 아님을 나타내는 약관',
36
- member_type: 'customer',
34
+ title: "미스터리 쇼퍼가 아닙니다",
35
+ description: "일반 고객의 미스터리 쇼퍼가 아님을 나타내는 약관",
36
+ member_type: "customer",
37
37
  dealer_type: null,
38
38
  isEssential: true,
39
39
  isContent: true,
@@ -41,9 +41,9 @@ exports.TermCategoryData = [
41
41
  },
42
42
  {
43
43
  id: 10600,
44
- title: '실구매자 또는 실판매자입니다',
45
- description: '일반 고객의 실구매자 또는 실판매자임을 나타내는 약관',
46
- member_type: 'customer',
44
+ title: "실구매자 또는 실판매자입니다",
45
+ description: "일반 고객의 실구매자 또는 실판매자임을 나타내는 약관",
46
+ member_type: "customer",
47
47
  dealer_type: null,
48
48
  isEssential: true,
49
49
  isContent: true,
@@ -51,9 +51,9 @@ exports.TermCategoryData = [
51
51
  },
52
52
  {
53
53
  id: 10700,
54
- title: '무분별한 구매/판매 요청은 하지 않습니다',
55
- description: '일반 고객의 무분별한 구매/판매 요청은 하지 않겠다는 약관',
56
- member_type: 'customer',
54
+ title: "무분별한 구매/판매 요청은 하지 않습니다",
55
+ description: "일반 고객의 무분별한 구매/판매 요청은 하지 않겠다는 약관",
56
+ member_type: "customer",
57
57
  dealer_type: null,
58
58
  isEssential: true,
59
59
  isContent: false,
@@ -62,9 +62,9 @@ exports.TermCategoryData = [
62
62
  /** 카매니저 약관 */
63
63
  {
64
64
  id: 20100,
65
- title: '서비스 이용약관',
66
- description: '딜러 고객의 서비스 이용약관입니다',
67
- member_type: 'dealer',
65
+ title: "서비스 이용약관",
66
+ description: "딜러 고객의 서비스 이용약관입니다",
67
+ member_type: "dealer",
68
68
  dealer_type: null,
69
69
  isEssential: true,
70
70
  isContent: true,
@@ -72,9 +72,9 @@ exports.TermCategoryData = [
72
72
  },
73
73
  {
74
74
  id: 20200,
75
- title: '개인정보 처리방침',
76
- description: '카매니저의 수집이용 약관입니다',
77
- member_type: 'dealer',
75
+ title: "개인정보 처리방침",
76
+ description: "카매니저의 수집이용 약관입니다",
77
+ member_type: "dealer",
78
78
  dealer_type: null,
79
79
  isEssential: true,
80
80
  isContent: true,
@@ -83,20 +83,20 @@ exports.TermCategoryData = [
83
83
  /** 신차 카매니저 전용 */
84
84
  {
85
85
  id: 24090,
86
- title: '이용방법 & 거래 주의사항',
87
- description: '신차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
88
- member_type: 'dealer',
89
- dealer_type: 'newcar',
86
+ title: "이용방법 & 거래 주의사항",
87
+ description: "신차 카매니저의 서비스 이용 및 거래에 대한 약관입니다",
88
+ member_type: "dealer",
89
+ dealer_type: "newcar",
90
90
  isEssential: true,
91
91
  isContent: true,
92
92
  isActive: true,
93
93
  },
94
94
  {
95
95
  id: 24100,
96
- title: '국내차/수입차 공식 직원입니다.',
97
- description: '신차 공식 직원인지에 대한 확인',
98
- member_type: 'dealer',
99
- dealer_type: 'newcar',
96
+ title: "국내차/수입차 공식 직원입니다.",
97
+ description: "신차 공식 직원인지에 대한 확인",
98
+ member_type: "dealer",
99
+ dealer_type: "newcar",
100
100
  isEssential: true,
101
101
  isContent: true,
102
102
  isActive: true,
@@ -104,20 +104,20 @@ exports.TermCategoryData = [
104
104
  /** 중고차 카매니저 전용 */
105
105
  {
106
106
  id: 25090,
107
- title: '이용방법 & 거래 주의사항',
108
- description: '중고차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
109
- member_type: 'dealer',
110
- dealer_type: 'usedcar',
107
+ title: "이용방법 & 거래 주의사항",
108
+ description: "중고차 카매니저의 서비스 이용 및 거래에 대한 약관입니다",
109
+ member_type: "dealer",
110
+ dealer_type: "usedcar",
111
111
  isEssential: true,
112
112
  isContent: true,
113
113
  isActive: true,
114
114
  },
115
115
  {
116
116
  id: 25100,
117
- title: '자동차매매사업조합연합회 소속입니다.',
118
- description: '중고차 딜러가 자동차매매사업조합연합회 소속인지 여부를 선택합니다',
119
- member_type: 'dealer',
120
- dealer_type: 'usedcar',
117
+ title: "자동차매매사업조합연합회 소속입니다.",
118
+ description: "중고차 딜러가 자동차매매사업조합연합회 소속인지 여부를 선택합니다",
119
+ member_type: "dealer",
120
+ dealer_type: "usedcar",
121
121
  isEssential: true,
122
122
  isContent: true,
123
123
  isActive: true,
@@ -125,29 +125,39 @@ exports.TermCategoryData = [
125
125
  /** 리스렌트 카매니저 전용 */
126
126
  {
127
127
  id: 26090,
128
- title: '이용방법 & 거래 주의사항',
129
- description: '리스렌트 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
130
- member_type: 'dealer',
131
- dealer_type: 'leaseRent',
128
+ title: "이용방법 & 거래 주의사항",
129
+ description: "리스렌트 카매니저의 서비스 이용 및 거래에 대한 약관입니다",
130
+ member_type: "dealer",
131
+ dealer_type: "leaseRent",
132
132
  isEssential: true,
133
133
  isContent: true,
134
134
  isActive: true,
135
135
  },
136
136
  {
137
137
  id: 26100,
138
- title: '대출성 상품 판매대리 중개업자입니다.',
139
- description: '대출성 상품 판매대리 중개업자 자격이 있다는 것에 동의합니다',
140
- member_type: 'dealer',
141
- dealer_type: 'leaseRent',
138
+ title: "대출성 상품 판매대리 중개업자입니다.",
139
+ description: "대출성 상품 판매대리 중개업자 자격이 있다는 것에 동의합니다",
140
+ member_type: "dealer",
141
+ dealer_type: "leaseRent",
142
142
  isEssential: true,
143
143
  isContent: true,
144
144
  isActive: true,
145
145
  },
146
146
  /** 공통 동의 내용 */
147
+ {
148
+ id: 94100,
149
+ title: "위치기반서비스 이용 동의",
150
+ description: "위치기반서비스 이용 약관",
151
+ member_type: null,
152
+ dealer_type: null,
153
+ isEssential: false,
154
+ isContent: true,
155
+ isActive: true,
156
+ },
147
157
  {
148
158
  id: 95100,
149
- title: '푸시 알람 수신 동의',
150
- description: '푸시 알람을 통해 광고성 메시지를 받겠다는 약관',
159
+ title: "푸시 알람 수신 동의",
160
+ description: "푸시 알람을 통해 광고성 메시지를 받겠다는 약관",
151
161
  member_type: null,
152
162
  dealer_type: null,
153
163
  isEssential: false,
@@ -156,8 +166,8 @@ exports.TermCategoryData = [
156
166
  },
157
167
  {
158
168
  id: 95200,
159
- title: '메시지 수신 동의',
160
- description: '문자 메시지를 통해 광고성 메시지를 받겠다는 약관',
169
+ title: "메시지 수신 동의",
170
+ description: "문자 메시지를 통해 광고성 메시지를 받겠다는 약관",
161
171
  member_type: null,
162
172
  dealer_type: null,
163
173
  isEssential: false,
@@ -166,8 +176,8 @@ exports.TermCategoryData = [
166
176
  },
167
177
  {
168
178
  id: 95300,
169
- title: '이메일 수신 동의',
170
- description: '이메일을 통해 광고성 메시지를 받겠다는 약관',
179
+ title: "이메일 수신 동의",
180
+ description: "이메일을 통해 광고성 메시지를 받겠다는 약관",
171
181
  member_type: null,
172
182
  dealer_type: null,
173
183
  isEssential: false,
@@ -0,0 +1,49 @@
1
+ import { MemberGender } from "../member";
2
+ export interface AccidentRegistrationOptionDTO {
3
+ /** 견인 필요 여부 */
4
+ needTraction: boolean;
5
+ }
6
+ /** 기존 등록된 차량이 없을 경우 차량 등록을 위한 데이터 */
7
+ export interface AccidentRegistration_CreateRegisterCarDTO {
8
+ /**
9
+ * 자동차 등록번호
10
+ * @example 03가0000
11
+ */
12
+ carName: string;
13
+ /** 보험사 아이디값
14
+ * @notice InsuranceCompany의 Id
15
+ */
16
+ insurance_company_id: number;
17
+ }
18
+ /** 일반회원 - 사고접수 등록 */
19
+ export interface AccidentRegistrationCreateDTO {
20
+ /** 접수자 본명 */
21
+ name_real: string;
22
+ /** 접수자 전화번호 */
23
+ phoneNumber: string;
24
+ /** 접수자 생년월일
25
+ * @example 19930424 */
26
+ birth: string;
27
+ /** 접수자 성별 */
28
+ gender: MemberGender;
29
+ /**
30
+ * 자동차 등록번호
31
+ * @example 03가0000
32
+ */
33
+ carName: string;
34
+ /** 보험사 아이디값
35
+ * @notice InsuranceCompany의 Id
36
+ */
37
+ insurance_company_id: number;
38
+ /** 차량 정보 아이디
39
+ * @description 기존 등록된 회원 차량이 있을 경우
40
+ * @notice registerCarId 혹은 createRegisterCar는 둘중 하나가 정의되어야 합니다.
41
+ */
42
+ registerCarId?: string;
43
+ /** 신규 차량 등록 시
44
+ * @description 사고 접수 시 기존에 등록된 회원 차량이 없을 경우 회원 차량을 생성 후 사고접수처리합니다.
45
+ * @notice registerCarId 혹은 createRegisterCar는 둘중 하나가 정의되어야 합니다.
46
+ */
47
+ createRegisterCar?: AccidentRegistration_CreateRegisterCarDTO;
48
+ option: AccidentRegistrationOptionDTO;
49
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./dto";
2
+ export * from "./interface";
3
+ export * from "./type";
@@ -0,0 +1,19 @@
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);
@@ -0,0 +1,34 @@
1
+ import { InsuranceCompany } from "../insurance";
2
+ import { MemberGender } from "../member";
3
+ import { AccidentRegistrationState } from "./type";
4
+ /** 사고접수 내역 */
5
+ export interface AccidentRegistration {
6
+ /** UUID형식의 ID */
7
+ id: string;
8
+ /** 사고접수 회원Id */
9
+ memberId: string;
10
+ state: AccidentRegistrationState;
11
+ carName: string;
12
+ /** 해당 사고접수자 정보
13
+ * @notice 로그인 회원과 다를 수 있습니다.
14
+ */
15
+ orderer: {
16
+ /** 접수자 본명 */
17
+ name: string;
18
+ /** 접수자 전화번호 */
19
+ phoneNumber: string;
20
+ /** 접수자 생년월일
21
+ * @example 19930424 */
22
+ birth: string;
23
+ /** 접수자 성별 */
24
+ gender: MemberGender;
25
+ };
26
+ /** 사고접수 보험사 */
27
+ insuranceCompany: InsuranceCompany;
28
+ option: {
29
+ /** 견인 필요 여부 */
30
+ needTraction: boolean;
31
+ };
32
+ created_at: Date;
33
+ updated_at: Date;
34
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare const AccidentRegistrationState: {
2
+ readonly submitted: "submitted";
3
+ };
4
+ export type AccidentRegistrationState = "submitted";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccidentRegistrationState = void 0;
4
+ exports.AccidentRegistrationState = {
5
+ submitted: "submitted",
6
+ };
@@ -21,6 +21,9 @@ export interface GetCarColorDTO {
21
21
  export interface GetCarOptionDTO {
22
22
  carGradeId: number;
23
23
  }
24
+ export interface GetCarOptionDescriptionDTO {
25
+ carOptionDescriptionId: number;
26
+ }
24
27
  /** 차량 좋아요 정보 업데이트 */
25
28
  export interface UpdateInterestCarDTO {
26
29
  carModelId: number;
@@ -82,10 +82,6 @@ export interface CarTrim {
82
82
  id: number;
83
83
  name: string;
84
84
  image_url: string;
85
- car_purpose: {
86
- id: number;
87
- name: string;
88
- } | null;
89
85
  car_shape: {
90
86
  id: number;
91
87
  name: string;
@@ -104,6 +100,10 @@ export interface CarGrade {
104
100
  price: number;
105
101
  updated_day: string;
106
102
  released_month: string;
103
+ car_purpose: {
104
+ id: number;
105
+ name: string;
106
+ } | null;
107
107
  /** 연식
108
108
  * @notice 23년 7월 모델: 24
109
109
  */
@@ -119,15 +119,64 @@ export interface CarColor {
119
119
  price: number;
120
120
  image_url: string;
121
121
  }
122
- /**
123
- * @description 차량 옵션
124
- */
122
+ /** 차량 옵션 */
125
123
  export interface CarOption {
126
124
  id: number;
127
125
  name: string;
128
126
  price: number;
129
127
  position: number;
130
128
  updated_day: string;
129
+ /** 옵션 설명 존재 시 옵션 설명 Id값 */
130
+ descriptionId: number | null;
131
+ relation: {
132
+ /** 이 옵션의 하위 옵션 리스트
133
+ * @notice CarOption의 Id값 리스트입니다.
134
+ * @example "파퓰러 패키지" 안에 "드라이브 와이즈 1"이 포함될 경우, "드라이브 와이즈 1"의 id값이 포함됩니다.
135
+ */
136
+ include: number[];
137
+ /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
138
+ * @notice CarOption의 Id값 리스트입니다.
139
+ */
140
+ /** 이 옵션의 상위 옵션 목록
141
+ * @notice CarOption의 Id값 리스트입니다.
142
+ * @example "드라이브 와이즈 1" 이 "파퓰러 패키지", "프레스티지 패키지"에 포함될 경우, "파퓰러 패키지", "프레스티지 패키지"의 id값 두 개가 포함됩니다.
143
+ */
144
+ parent: number[];
145
+ /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
146
+ * @notice CarOption의 Id값 리스트입니다.
147
+ */
148
+ nessary: number[];
149
+ /** 동시에 선택할 수 없는 옵션 리스트
150
+ * @notice CarOption의 Id값 리스트입니다.
151
+ */
152
+ incompatible: number[];
153
+ } | null;
154
+ }
155
+ /** 옵션에 대한 상세 설명 */
156
+ export interface CarOptionDescription {
157
+ id: number;
158
+ /** 옵션 설명 제목 */
159
+ name: string;
160
+ /** 상세 설명 내용,
161
+ * @notice 빈 String이 올 수 있습니다.
162
+ */
163
+ content: string;
164
+ /** 옵션 설명 이미지 url
165
+ * @example https://cdn.carsayo.net/resource/car/option/description/image/13181.jpg
166
+ */
167
+ imgSrc: string | null;
168
+ include: {
169
+ /** 옵션 하위 내용 제목 */
170
+ name: string;
171
+ /** 옵션 하위 내용 상세 설명
172
+ * @notice 빈 String이 올 수 있습니다.
173
+ */
174
+ content: string;
175
+ /** 옵션 설명 이미지 url
176
+ * @example https://cdn.carsayo.net/resource/car/option/description/image/13181.jpg
177
+ */
178
+ imgSrc: string | null;
179
+ }[];
131
180
  }
132
181
  export interface InterestCarInfo extends CarModel {
133
182
  created_at: Date;
@@ -0,0 +1,65 @@
1
+ export declare enum HttpStatusCode {
2
+ Continue = 100,
3
+ SwitchingProtocols = 101,
4
+ Processing = 102,
5
+ EarlyHints = 103,
6
+ Ok = 200,
7
+ Created = 201,
8
+ Accepted = 202,
9
+ NonAuthoritativeInformation = 203,
10
+ NoContent = 204,
11
+ ResetContent = 205,
12
+ PartialContent = 206,
13
+ MultiStatus = 207,
14
+ AlreadyReported = 208,
15
+ ImUsed = 226,
16
+ MultipleChoices = 300,
17
+ MovedPermanently = 301,
18
+ Found = 302,
19
+ SeeOther = 303,
20
+ NotModified = 304,
21
+ UseProxy = 305,
22
+ Unused = 306,
23
+ TemporaryRedirect = 307,
24
+ PermanentRedirect = 308,
25
+ BadRequest = 400,
26
+ Unauthorized = 401,
27
+ PaymentRequired = 402,
28
+ Forbidden = 403,
29
+ NotFound = 404,
30
+ MethodNotAllowed = 405,
31
+ NotAcceptable = 406,
32
+ ProxyAuthenticationRequired = 407,
33
+ RequestTimeout = 408,
34
+ Conflict = 409,
35
+ Gone = 410,
36
+ LengthRequired = 411,
37
+ PreconditionFailed = 412,
38
+ PayloadTooLarge = 413,
39
+ UriTooLong = 414,
40
+ UnsupportedMediaType = 415,
41
+ RangeNotSatisfiable = 416,
42
+ ExpectationFailed = 417,
43
+ ImATeapot = 418,
44
+ MisdirectedRequest = 421,
45
+ UnprocessableEntity = 422,
46
+ Locked = 423,
47
+ FailedDependency = 424,
48
+ TooEarly = 425,
49
+ UpgradeRequired = 426,
50
+ PreconditionRequired = 428,
51
+ TooManyRequests = 429,
52
+ RequestHeaderFieldsTooLarge = 431,
53
+ UnavailableForLegalReasons = 451,
54
+ InternalServerError = 500,
55
+ NotImplemented = 501,
56
+ BadGateway = 502,
57
+ ServiceUnavailable = 503,
58
+ GatewayTimeout = 504,
59
+ HttpVersionNotSupported = 505,
60
+ VariantAlsoNegotiates = 506,
61
+ InsufficientStorage = 507,
62
+ LoopDetected = 508,
63
+ NotExtended = 510,
64
+ NetworkAuthenticationRequired = 511
65
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpStatusCode = void 0;
4
+ var HttpStatusCode;
5
+ (function (HttpStatusCode) {
6
+ HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
7
+ HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
8
+ HttpStatusCode[HttpStatusCode["Processing"] = 102] = "Processing";
9
+ HttpStatusCode[HttpStatusCode["EarlyHints"] = 103] = "EarlyHints";
10
+ HttpStatusCode[HttpStatusCode["Ok"] = 200] = "Ok";
11
+ HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
12
+ HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
13
+ HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
14
+ HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
15
+ HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
16
+ HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
17
+ HttpStatusCode[HttpStatusCode["MultiStatus"] = 207] = "MultiStatus";
18
+ HttpStatusCode[HttpStatusCode["AlreadyReported"] = 208] = "AlreadyReported";
19
+ HttpStatusCode[HttpStatusCode["ImUsed"] = 226] = "ImUsed";
20
+ HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
21
+ HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
22
+ HttpStatusCode[HttpStatusCode["Found"] = 302] = "Found";
23
+ HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
24
+ HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
25
+ HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
26
+ HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
27
+ HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
28
+ HttpStatusCode[HttpStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect";
29
+ HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
30
+ HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
31
+ HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
32
+ HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
33
+ HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
34
+ HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
35
+ HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
36
+ HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
37
+ HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
38
+ HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
39
+ HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
40
+ HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
41
+ HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
42
+ HttpStatusCode[HttpStatusCode["PayloadTooLarge"] = 413] = "PayloadTooLarge";
43
+ HttpStatusCode[HttpStatusCode["UriTooLong"] = 414] = "UriTooLong";
44
+ HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
45
+ HttpStatusCode[HttpStatusCode["RangeNotSatisfiable"] = 416] = "RangeNotSatisfiable";
46
+ HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
47
+ HttpStatusCode[HttpStatusCode["ImATeapot"] = 418] = "ImATeapot";
48
+ HttpStatusCode[HttpStatusCode["MisdirectedRequest"] = 421] = "MisdirectedRequest";
49
+ HttpStatusCode[HttpStatusCode["UnprocessableEntity"] = 422] = "UnprocessableEntity";
50
+ HttpStatusCode[HttpStatusCode["Locked"] = 423] = "Locked";
51
+ HttpStatusCode[HttpStatusCode["FailedDependency"] = 424] = "FailedDependency";
52
+ HttpStatusCode[HttpStatusCode["TooEarly"] = 425] = "TooEarly";
53
+ HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
54
+ HttpStatusCode[HttpStatusCode["PreconditionRequired"] = 428] = "PreconditionRequired";
55
+ HttpStatusCode[HttpStatusCode["TooManyRequests"] = 429] = "TooManyRequests";
56
+ HttpStatusCode[HttpStatusCode["RequestHeaderFieldsTooLarge"] = 431] = "RequestHeaderFieldsTooLarge";
57
+ HttpStatusCode[HttpStatusCode["UnavailableForLegalReasons"] = 451] = "UnavailableForLegalReasons";
58
+ HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
59
+ HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
60
+ HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
61
+ HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
62
+ HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
63
+ HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
64
+ HttpStatusCode[HttpStatusCode["VariantAlsoNegotiates"] = 506] = "VariantAlsoNegotiates";
65
+ HttpStatusCode[HttpStatusCode["InsufficientStorage"] = 507] = "InsufficientStorage";
66
+ HttpStatusCode[HttpStatusCode["LoopDetected"] = 508] = "LoopDetected";
67
+ HttpStatusCode[HttpStatusCode["NotExtended"] = 510] = "NotExtended";
68
+ HttpStatusCode[HttpStatusCode["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
69
+ })(HttpStatusCode || (exports.HttpStatusCode = HttpStatusCode = {}));