@carsayo/types 1.1.892081 → 1.1.892083
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.
- package/dist/data/bankcode.d.ts +167 -0
- package/dist/data/bankcode.js +66 -0
- package/dist/data/board.d.ts +74 -0
- package/dist/data/board.js +56 -0
- package/dist/data/car.d.ts +822 -0
- package/dist/data/car.js +895 -0
- package/dist/data/carOptionRelationCategory.d.ts +20 -0
- package/dist/data/carOptionRelationCategory.js +28 -0
- package/dist/data/carPopularCategory.d.ts +20 -0
- package/dist/data/carPopularCategory.js +28 -0
- package/dist/data/collaborator.d.ts +9 -0
- package/dist/data/collaborator.js +18 -0
- package/dist/data/index.d.ts +11 -0
- package/dist/data/index.js +27 -0
- package/dist/data/purchase.d.ts +18 -0
- package/dist/data/purchase.js +25 -0
- package/dist/data/region.d.ts +1226 -0
- package/dist/data/region.js +267 -0
- package/dist/data/role.d.ts +121 -0
- package/dist/data/role.js +150 -0
- package/dist/data/sell_car.d.ts +57 -0
- package/dist/data/sell_car.js +71 -0
- package/dist/data/system.d.ts +19 -0
- package/dist/data/system.js +28 -0
- package/dist/data/term.d.ts +349 -0
- package/dist/data/term.js +395 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +18 -0
- package/dist/types/modules/accidentReport/dto.d.ts +73 -0
- package/dist/types/modules/accidentReport/dto.js +2 -0
- package/dist/types/modules/accidentReport/index.d.ts +3 -0
- package/dist/types/modules/accidentReport/index.js +19 -0
- package/dist/types/modules/accidentReport/interface.d.ts +309 -0
- package/dist/types/modules/accidentReport/interface.js +2 -0
- package/dist/types/modules/accidentReport/type.d.ts +36 -0
- package/dist/types/modules/accidentReport/type.js +35 -0
- package/dist/types/modules/board/dto.d.ts +189 -0
- package/dist/types/modules/board/dto.js +3 -0
- package/dist/types/modules/board/index.d.ts +3 -0
- package/dist/types/modules/board/index.js +19 -0
- package/dist/types/modules/board/interface.d.ts +233 -0
- package/dist/types/modules/board/interface.js +2 -0
- package/dist/types/modules/board/type.d.ts +30 -0
- package/dist/types/modules/board/type.js +8 -0
- package/dist/types/modules/car/dto.d.ts +404 -0
- package/dist/types/modules/car/dto.js +15 -0
- package/dist/types/modules/car/index.d.ts +3 -0
- package/dist/types/modules/car/index.js +19 -0
- package/dist/types/modules/car/interface.d.ts +594 -0
- package/dist/types/modules/car/interface.js +2 -0
- package/dist/types/modules/car/type.d.ts +11 -0
- package/dist/types/modules/car/type.js +13 -0
- package/dist/types/modules/chat/constants.d.ts +2 -0
- package/dist/types/modules/chat/constants.js +5 -0
- package/dist/types/modules/chat/dto.d.ts +4 -0
- package/dist/types/modules/chat/dto.js +2 -0
- package/dist/types/modules/chat/index.d.ts +6 -0
- package/dist/types/modules/chat/index.js +22 -0
- package/dist/types/modules/chat/type.d.ts +117 -0
- package/dist/types/modules/chat/type.js +17 -0
- package/dist/types/modules/chat/type.opponent.additionalInfo.d.ts +7 -0
- package/dist/types/modules/chat/type.opponent.additionalInfo.js +2 -0
- package/dist/types/modules/chat/type.room.additionalInfo.d.ts +52 -0
- package/dist/types/modules/chat/type.room.additionalInfo.js +2 -0
- package/dist/types/modules/chat/type.socket.d.ts +46 -0
- package/dist/types/modules/chat/type.socket.js +2 -0
- package/dist/types/modules/collaborator/dto.d.ts +10 -0
- package/dist/types/modules/collaborator/dto.js +3 -0
- package/dist/types/modules/collaborator/index.d.ts +1 -0
- package/dist/types/modules/collaborator/index.js +17 -0
- package/dist/types/modules/common/enum.d.ts +65 -0
- package/dist/types/modules/common/enum.js +69 -0
- package/dist/types/modules/common/index.d.ts +3 -0
- package/dist/types/modules/common/index.js +19 -0
- package/dist/types/modules/common/interface.d.ts +40 -0
- package/dist/types/modules/common/interface.js +2 -0
- package/dist/types/modules/common/type.d.ts +14 -0
- package/dist/types/modules/common/type.js +13 -0
- package/dist/types/modules/data/dto.d.ts +4 -0
- package/dist/types/modules/data/dto.js +7 -0
- package/dist/types/modules/data/index.d.ts +2 -0
- package/dist/types/modules/data/index.js +18 -0
- package/dist/types/modules/data/interface.d.ts +6 -0
- package/dist/types/modules/data/interface.js +2 -0
- package/dist/types/modules/file/dto.d.ts +18 -0
- package/dist/types/modules/file/dto.js +3 -0
- package/dist/types/modules/file/index.d.ts +3 -0
- package/dist/types/modules/file/index.js +19 -0
- package/dist/types/modules/file/interface.d.ts +26 -0
- package/dist/types/modules/file/interface.js +2 -0
- package/dist/types/modules/file/type.d.ts +13 -0
- package/dist/types/modules/file/type.js +15 -0
- package/dist/types/modules/history/dto.d.ts +13 -0
- package/dist/types/modules/history/dto.js +3 -0
- package/dist/types/modules/history/index.d.ts +2 -0
- package/dist/types/modules/history/index.js +18 -0
- package/dist/types/modules/history/interface.d.ts +12 -0
- package/dist/types/modules/history/interface.js +2 -0
- package/dist/types/modules/index.d.ts +20 -0
- package/dist/types/modules/index.js +36 -0
- package/dist/types/modules/inquiry/dto.d.ts +79 -0
- package/dist/types/modules/inquiry/dto.js +2 -0
- package/dist/types/modules/inquiry/index.d.ts +3 -0
- package/dist/types/modules/inquiry/index.js +19 -0
- package/dist/types/modules/inquiry/interface.d.ts +37 -0
- package/dist/types/modules/inquiry/interface.js +2 -0
- package/dist/types/modules/inquiry/type.d.ts +14 -0
- package/dist/types/modules/inquiry/type.js +15 -0
- package/dist/types/modules/insurance/dto.d.ts +88 -0
- package/dist/types/modules/insurance/dto.js +3 -0
- package/dist/types/modules/insurance/index.d.ts +2 -0
- package/dist/types/modules/insurance/index.js +18 -0
- package/dist/types/modules/insurance/interface.d.ts +58 -0
- package/dist/types/modules/insurance/interface.js +2 -0
- package/dist/types/modules/member/dto.d.ts +677 -0
- package/dist/types/modules/member/dto.js +3 -0
- package/dist/types/modules/member/index.d.ts +3 -0
- package/dist/types/modules/member/index.js +19 -0
- package/dist/types/modules/member/interface.d.ts +696 -0
- package/dist/types/modules/member/interface.js +2 -0
- package/dist/types/modules/member/type.d.ts +92 -0
- package/dist/types/modules/member/type.js +86 -0
- package/dist/types/modules/message/dto.d.ts +15 -0
- package/dist/types/modules/message/dto.js +2 -0
- package/dist/types/modules/message/index.d.ts +3 -0
- package/dist/types/modules/message/index.js +19 -0
- package/dist/types/modules/message/interface.d.ts +20 -0
- package/dist/types/modules/message/interface.js +2 -0
- package/dist/types/modules/message/type.d.ts +22 -0
- package/dist/types/modules/message/type.js +22 -0
- package/dist/types/modules/notification/dto.d.ts +13 -0
- package/dist/types/modules/notification/dto.js +3 -0
- package/dist/types/modules/notification/index.d.ts +3 -0
- package/dist/types/modules/notification/index.js +19 -0
- package/dist/types/modules/notification/interface.d.ts +19 -0
- package/dist/types/modules/notification/interface.js +2 -0
- package/dist/types/modules/notification/type.d.ts +5 -0
- package/dist/types/modules/notification/type.js +7 -0
- package/dist/types/modules/order/dto.d.ts +446 -0
- package/dist/types/modules/order/dto.js +16 -0
- package/dist/types/modules/order/index.d.ts +3 -0
- package/dist/types/modules/order/index.js +19 -0
- package/dist/types/modules/order/interface.d.ts +913 -0
- package/dist/types/modules/order/interface.js +2 -0
- package/dist/types/modules/order/type.d.ts +160 -0
- package/dist/types/modules/order/type.js +147 -0
- package/dist/types/modules/partners/dto.d.ts +37 -0
- package/dist/types/modules/partners/dto.js +11 -0
- package/dist/types/modules/partners/index.d.ts +3 -0
- package/dist/types/modules/partners/index.js +19 -0
- package/dist/types/modules/partners/interface.d.ts +40 -0
- package/dist/types/modules/partners/interface.js +2 -0
- package/dist/types/modules/partners/type.d.ts +12 -0
- package/dist/types/modules/partners/type.js +13 -0
- package/dist/types/modules/repair/constant.d.ts +28 -0
- package/dist/types/modules/repair/constant.js +139 -0
- package/dist/types/modules/repair/dto.d.ts +96 -0
- package/dist/types/modules/repair/dto.js +2 -0
- package/dist/types/modules/repair/index.d.ts +4 -0
- package/dist/types/modules/repair/index.js +20 -0
- package/dist/types/modules/repair/interface.d.ts +659 -0
- package/dist/types/modules/repair/interface.js +2 -0
- package/dist/types/modules/repair/type.d.ts +64 -0
- package/dist/types/modules/repair/type.js +71 -0
- package/dist/types/modules/sellMyCar/constant.d.ts +54 -0
- package/dist/types/modules/sellMyCar/constant.js +117 -0
- package/dist/types/modules/sellMyCar/dto-admin.d.ts +262 -0
- package/dist/types/modules/sellMyCar/dto-admin.js +2 -0
- package/dist/types/modules/sellMyCar/dto.d.ts +186 -0
- package/dist/types/modules/sellMyCar/dto.js +15 -0
- package/dist/types/modules/sellMyCar/index.d.ts +9 -0
- package/dist/types/modules/sellMyCar/index.js +25 -0
- package/dist/types/modules/sellMyCar/interface-admin.d.ts +85 -0
- package/dist/types/modules/sellMyCar/interface-admin.js +23 -0
- package/dist/types/modules/sellMyCar/interface-faq.d.ts +52 -0
- package/dist/types/modules/sellMyCar/interface-faq.js +22 -0
- package/dist/types/modules/sellMyCar/interface-member.d.ts +252 -0
- package/dist/types/modules/sellMyCar/interface-member.js +16 -0
- package/dist/types/modules/sellMyCar/interface-notice.d.ts +28 -0
- package/dist/types/modules/sellMyCar/interface-notice.js +2 -0
- package/dist/types/modules/sellMyCar/interface.d.ts +1075 -0
- package/dist/types/modules/sellMyCar/interface.js +7 -0
- package/dist/types/modules/sellMyCar/type.d.ts +203 -0
- package/dist/types/modules/sellMyCar/type.js +199 -0
- package/dist/types/modules/system/dto.d.ts +13 -0
- package/dist/types/modules/system/dto.js +3 -0
- package/dist/types/modules/system/index.d.ts +2 -0
- package/dist/types/modules/system/index.js +18 -0
- package/dist/types/modules/system/interface.d.ts +18 -0
- package/dist/types/modules/system/interface.js +2 -0
- package/dist/types/modules/term/dto.d.ts +171 -0
- package/dist/types/modules/term/dto.js +3 -0
- package/dist/types/modules/term/index.d.ts +3 -0
- package/dist/types/modules/term/index.js +19 -0
- package/dist/types/modules/term/interface.d.ts +52 -0
- package/dist/types/modules/term/interface.js +2 -0
- package/dist/types/modules/term/type.d.ts +11 -0
- package/dist/types/modules/term/type.js +13 -0
- package/dist/types/providers/coocon-usedcar/constant.d.ts +46 -0
- package/dist/types/providers/coocon-usedcar/constant.js +673 -0
- package/dist/types/providers/coocon-usedcar/dto.d.ts +23 -0
- package/dist/types/providers/coocon-usedcar/dto.js +3 -0
- package/dist/types/providers/coocon-usedcar/index.d.ts +3 -0
- package/dist/types/providers/coocon-usedcar/index.js +19 -0
- package/dist/types/providers/coocon-usedcar/interface.d.ts +305 -0
- package/dist/types/providers/coocon-usedcar/interface.js +2 -0
- package/dist/types/providers/firebase-message/dto.d.ts +56 -0
- package/dist/types/providers/firebase-message/dto.js +3 -0
- package/dist/types/providers/firebase-message/index.d.ts +2 -0
- package/dist/types/providers/firebase-message/index.js +18 -0
- package/dist/types/providers/firebase-message/interface.d.ts +4 -0
- package/dist/types/providers/firebase-message/interface.js +2 -0
- package/dist/types/providers/gabia-sms/dto.d.ts +31 -0
- package/dist/types/providers/gabia-sms/dto.js +3 -0
- package/dist/types/providers/gabia-sms/index.d.ts +1 -0
- package/dist/types/providers/gabia-sms/index.js +17 -0
- package/dist/types/providers/index.d.ts +5 -0
- package/dist/types/providers/index.js +21 -0
- package/dist/types/providers/niceapi/dto.d.ts +15 -0
- package/dist/types/providers/niceapi/dto.js +3 -0
- package/dist/types/providers/niceapi/index.d.ts +2 -0
- package/dist/types/providers/niceapi/index.js +18 -0
- package/dist/types/providers/niceapi/interface.d.ts +25 -0
- package/dist/types/providers/niceapi/interface.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { TermCategoryId } from "../../../data";
|
|
2
|
+
import { MemberType, MemberDealerType } from "../member";
|
|
3
|
+
import { TermUpdate } from "./dto";
|
|
4
|
+
import { TermCategoryType } from "./type";
|
|
5
|
+
/** 특정 회원이 기존에 동의한 약관 정보 */
|
|
6
|
+
export interface AgreedTermCategory {
|
|
7
|
+
id: TermCategoryId;
|
|
8
|
+
title: string;
|
|
9
|
+
type: TermCategoryType;
|
|
10
|
+
version: number;
|
|
11
|
+
isEssential: boolean;
|
|
12
|
+
isContent: boolean;
|
|
13
|
+
agreed_at: Date | null;
|
|
14
|
+
}
|
|
15
|
+
/** 약관 업데이트 내역 */
|
|
16
|
+
export interface TermUpdateResult {
|
|
17
|
+
success: TermUpdate[];
|
|
18
|
+
failed: TermUpdate[];
|
|
19
|
+
}
|
|
20
|
+
export interface IsAgreeTerm {
|
|
21
|
+
isAgree: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* TermId
|
|
24
|
+
* @description 약관에 동의했을 경우에만 해당 약관 상세버전 ID값 출력
|
|
25
|
+
*/
|
|
26
|
+
termId?: string;
|
|
27
|
+
agreed_at?: Date | null;
|
|
28
|
+
}
|
|
29
|
+
export interface TermInfo {
|
|
30
|
+
/**
|
|
31
|
+
* TermId
|
|
32
|
+
* @description 약관 카테고리 내 약관 상세버전 ID값
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
version: number;
|
|
36
|
+
created_at: Date;
|
|
37
|
+
}
|
|
38
|
+
export interface TermDetail extends TermInfo {
|
|
39
|
+
content_html: string | null;
|
|
40
|
+
term_categoryId: TermCategoryId;
|
|
41
|
+
}
|
|
42
|
+
export interface TermCategoryDetailInfo {
|
|
43
|
+
id: TermCategoryId;
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
isEssential: boolean;
|
|
47
|
+
isContent: boolean;
|
|
48
|
+
type: TermCategoryType;
|
|
49
|
+
member_type: MemberType | null;
|
|
50
|
+
dealer_type: MemberDealerType | null;
|
|
51
|
+
termList: TermInfo[];
|
|
52
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const TermCategoryType: {
|
|
2
|
+
readonly customer: "일반 회원";
|
|
3
|
+
readonly dealer: "카 매니저";
|
|
4
|
+
readonly sellcar_dealer: "내차팔기 딜러";
|
|
5
|
+
readonly partners: "파트너스";
|
|
6
|
+
readonly insurance: "인슈어런스";
|
|
7
|
+
readonly insurance_compare: "보험비교-고객용";
|
|
8
|
+
readonly hecto_verify: "헥토본인인증";
|
|
9
|
+
readonly common: "공통";
|
|
10
|
+
};
|
|
11
|
+
export type TermCategoryType = keyof typeof TermCategoryType;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TermCategoryType = void 0;
|
|
4
|
+
exports.TermCategoryType = {
|
|
5
|
+
customer: "일반 회원",
|
|
6
|
+
dealer: "카 매니저",
|
|
7
|
+
sellcar_dealer: "내차팔기 딜러",
|
|
8
|
+
partners: "파트너스",
|
|
9
|
+
insurance: "인슈어런스",
|
|
10
|
+
insurance_compare: "보험비교-고객용",
|
|
11
|
+
hecto_verify: "헥토본인인증",
|
|
12
|
+
common: "공통",
|
|
13
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Coocon 차량 유형 정보 */
|
|
2
|
+
export declare const CooconUsedCarInfoCategory: readonly [{
|
|
3
|
+
readonly bg_name: "경차";
|
|
4
|
+
readonly bg_no: "1";
|
|
5
|
+
}, {
|
|
6
|
+
readonly bg_name: "소형차";
|
|
7
|
+
readonly bg_no: "2";
|
|
8
|
+
}, {
|
|
9
|
+
readonly bg_name: "준중형차";
|
|
10
|
+
readonly bg_no: "3";
|
|
11
|
+
}, {
|
|
12
|
+
readonly bg_name: "중형차";
|
|
13
|
+
readonly bg_no: "4";
|
|
14
|
+
}, {
|
|
15
|
+
readonly bg_name: "대형차";
|
|
16
|
+
readonly bg_no: "5";
|
|
17
|
+
}, {
|
|
18
|
+
readonly bg_name: "스포츠카";
|
|
19
|
+
readonly bg_no: "6";
|
|
20
|
+
}, {
|
|
21
|
+
readonly bg_name: "RV";
|
|
22
|
+
readonly bg_no: "7";
|
|
23
|
+
}, {
|
|
24
|
+
readonly bg_name: "SUV";
|
|
25
|
+
readonly bg_no: "8";
|
|
26
|
+
}, {
|
|
27
|
+
readonly bg_name: "승합차";
|
|
28
|
+
readonly bg_no: "9";
|
|
29
|
+
}, {
|
|
30
|
+
readonly bg_name: "화물차";
|
|
31
|
+
readonly bg_no: "10";
|
|
32
|
+
}, {
|
|
33
|
+
readonly bg_name: "버스";
|
|
34
|
+
readonly bg_no: "11";
|
|
35
|
+
}, {
|
|
36
|
+
readonly bg_name: "특장차";
|
|
37
|
+
readonly bg_no: "21";
|
|
38
|
+
}, {
|
|
39
|
+
readonly bg_name: "기타";
|
|
40
|
+
readonly bg_no: "20";
|
|
41
|
+
}];
|
|
42
|
+
/** Coocon 제조사 정보 */
|
|
43
|
+
export declare const CooconUsedCarInfoMaker: {
|
|
44
|
+
bm_no: string;
|
|
45
|
+
bm_name: string;
|
|
46
|
+
}[];
|