@carsayo/types 1.1.0 → 1.1.2
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/banner.d.ts +36 -0
- package/dist/data/board.d.ts +32 -0
- package/dist/data/car.d.ts +867 -0
- package/dist/data/carPopularCategory.d.ts +20 -0
- package/dist/data/collaborator.d.ts +8 -0
- package/dist/data/index.d.ts +12 -0
- package/dist/data/popup.d.ts +20 -0
- package/dist/data/purchase.d.ts +18 -0
- package/dist/data/region.d.ts +1224 -0
- package/dist/data/role.d.ts +91 -0
- package/dist/data/system.d.ts +19 -0
- package/dist/data/term.d.ts +153 -0
- package/dist/index.d.ts +2 -7
- package/dist/types/index.d.ts +2 -0
- package/dist/types/modules/banner/dto.d.ts +35 -0
- package/dist/types/modules/banner/index.d.ts +2 -0
- package/dist/types/modules/banner/interface.d.ts +50 -0
- package/dist/types/modules/board/dto.d.ts +189 -0
- package/dist/types/modules/board/index.d.ts +3 -0
- package/dist/types/modules/board/interface.d.ts +233 -0
- package/dist/types/modules/board/type.d.ts +29 -0
- package/dist/types/modules/car/dto.d.ts +72 -0
- package/dist/types/modules/car/index.d.ts +3 -0
- package/dist/types/modules/car/interface.d.ts +249 -0
- package/dist/types/modules/car/type.d.ts +11 -0
- package/dist/types/modules/collaborator/dto.d.ts +10 -0
- package/dist/types/modules/collaborator/index.d.ts +1 -0
- package/dist/types/modules/common/index.d.ts +2 -0
- package/dist/types/modules/common/interface.d.ts +23 -0
- package/dist/types/modules/common/type.d.ts +25 -0
- package/dist/types/modules/file/dto.d.ts +17 -0
- package/dist/types/modules/file/index.d.ts +3 -0
- package/dist/types/modules/file/interface.d.ts +26 -0
- package/dist/types/modules/file/type.d.ts +13 -0
- package/dist/types/modules/history/dto.d.ts +12 -0
- package/dist/types/modules/history/index.d.ts +2 -0
- package/dist/types/modules/history/interface.d.ts +12 -0
- package/dist/types/modules/index.d.ts +15 -0
- package/dist/types/modules/inquiry/dto.d.ts +79 -0
- package/dist/types/modules/inquiry/index.d.ts +3 -0
- package/dist/types/modules/inquiry/interface.d.ts +37 -0
- package/dist/types/modules/inquiry/type.d.ts +14 -0
- package/dist/types/modules/member/dto.d.ts +587 -0
- package/dist/types/modules/member/index.d.ts +3 -0
- package/dist/types/modules/member/interface.d.ts +582 -0
- package/dist/types/modules/member/type.d.ts +73 -0
- package/dist/types/modules/notification/dto.d.ts +13 -0
- package/dist/types/modules/notification/index.d.ts +3 -0
- package/dist/types/modules/notification/interface.d.ts +19 -0
- package/dist/types/modules/notification/type.d.ts +5 -0
- package/dist/types/modules/order/dto.d.ts +446 -0
- package/dist/types/modules/order/index.d.ts +3 -0
- package/dist/types/modules/order/interface.d.ts +905 -0
- package/dist/types/modules/order/type.d.ts +161 -0
- package/dist/types/modules/popup/dto.d.ts +33 -0
- package/dist/types/modules/popup/index.d.ts +2 -0
- package/dist/types/modules/popup/interface.d.ts +49 -0
- package/dist/types/modules/purchase/dto.d.ts +9 -0
- package/dist/types/modules/purchase/index.d.ts +3 -0
- package/dist/types/modules/purchase/interface.d.ts +22 -0
- package/dist/types/modules/purchase/type.d.ts +11 -0
- package/dist/types/modules/system/dto.d.ts +13 -0
- package/dist/types/modules/system/index.d.ts +2 -0
- package/dist/types/modules/system/interface.d.ts +18 -0
- package/dist/types/modules/term/dto.d.ts +175 -0
- package/dist/types/modules/term/index.d.ts +2 -0
- package/dist/types/modules/term/interface.d.ts +45 -0
- package/dist/types/providers/coocon-usedcar/dto.d.ts +23 -0
- package/dist/types/providers/coocon-usedcar/index.d.ts +2 -0
- package/dist/types/providers/coocon-usedcar/interface.d.ts +300 -0
- package/dist/types/providers/firebase-message/dto.d.ts +83 -0
- package/dist/types/providers/firebase-message/index.d.ts +2 -0
- package/dist/types/providers/firebase-message/interface.d.ts +4 -0
- package/dist/types/providers/gabia-sms/dto.d.ts +31 -0
- package/dist/types/providers/gabia-sms/index.d.ts +1 -0
- package/dist/types/providers/index.d.ts +7 -0
- package/dist/types/providers/mailer/dto.d.ts +4 -0
- package/dist/types/providers/mailer/index.d.ts +1 -0
- package/dist/types/providers/niceapi/dto.d.ts +15 -0
- package/dist/types/providers/niceapi/index.d.ts +2 -0
- package/dist/types/providers/niceapi/interface.d.ts +22 -0
- package/dist/types/providers/nicepayment/dto.d.ts +60 -0
- package/dist/types/providers/nicepayment/index.d.ts +3 -0
- package/dist/types/providers/nicepayment/interface.d.ts +168 -0
- package/dist/types/providers/nicepayment/type.d.ts +36 -0
- package/dist/validator/IsNullable.d.ts +3 -0
- package/package.json +5 -1
- package/dist/type/all.ts +0 -5402
- package/dist/type/data/bankcode.ts +0 -64
- package/dist/type/data/banner.ts +0 -45
- package/dist/type/data/board.ts +0 -37
- package/dist/type/data/car.ts +0 -1015
- package/dist/type/data/carPopularCategory.ts +0 -28
- package/dist/type/data/collaborator.ts +0 -13
- package/dist/type/data/popup.ts +0 -26
- package/dist/type/data/purchase.ts +0 -24
- package/dist/type/data/region.ts +0 -348
- package/dist/type/data/role.ts +0 -118
- package/dist/type/data/system.ts +0 -31
- package/dist/type/data/term.ts +0 -184
- package/dist/type/history.ts +0 -25
- package/dist/type/interface/type.ts +0 -43
- package/dist/type/order.ts +0 -696
- package/dist/type/purchase.ts +0 -286
- package/dist/type/selling.ts +0 -169
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @leaseRent 리스/렌트
|
|
3
|
+
* @newCar 신차 구매
|
|
4
|
+
* @sellCar 내차 팔기
|
|
5
|
+
*/
|
|
6
|
+
export declare const OrderCategory: {
|
|
7
|
+
readonly leaseRent: "leaseRent";
|
|
8
|
+
readonly newCar: "newCar";
|
|
9
|
+
readonly sellCar: "sellCar";
|
|
10
|
+
};
|
|
11
|
+
export type OrderCategory = keyof typeof OrderCategory;
|
|
12
|
+
/**
|
|
13
|
+
* @lease 리스
|
|
14
|
+
* @rent 렌트
|
|
15
|
+
* @newCar 신차 구매
|
|
16
|
+
* @sellCar 내차 팔기
|
|
17
|
+
*/
|
|
18
|
+
export declare const OrderType: {
|
|
19
|
+
readonly lease: "lease";
|
|
20
|
+
readonly rent: "rent";
|
|
21
|
+
readonly newCar: "newCar";
|
|
22
|
+
readonly sellCar: "sellCar";
|
|
23
|
+
};
|
|
24
|
+
export type OrderType = keyof typeof OrderType;
|
|
25
|
+
/**
|
|
26
|
+
* @submitted 주문신청 완료 및 입칠중 (견적요청, 입찰중인 상태)
|
|
27
|
+
* @progressing 거래 진행중
|
|
28
|
+
* @holded 거래가 보류된 상태 (주문 진행 도중 보류되거나 한 경우)
|
|
29
|
+
* @canceled 취소된 상태 (진행중인 주문이 취소된 경우)
|
|
30
|
+
* @deleted 회원이 주문을 제거한 상태
|
|
31
|
+
* @finished 종료됨 (정상적으로 종료)
|
|
32
|
+
* @nonAccepted 입찰 기간이 지나 종료된 상태.
|
|
33
|
+
* @failBid 카매니저가 해당 주문에 유찰된 상태 (입찰했으나 낙찰되지 않음). 이 상태는 DB상에 존재하지 않습니다.
|
|
34
|
+
*/
|
|
35
|
+
export declare const OrderState: {
|
|
36
|
+
readonly submitted: "submitted";
|
|
37
|
+
readonly progressing: "progressing";
|
|
38
|
+
readonly holded: "holded";
|
|
39
|
+
readonly canceled: "canceled";
|
|
40
|
+
readonly deleted: "deleted";
|
|
41
|
+
readonly finished: "finished";
|
|
42
|
+
readonly nonAccepted: "nonAccepted";
|
|
43
|
+
readonly failBid: "failBid";
|
|
44
|
+
};
|
|
45
|
+
export type OrderState = keyof typeof OrderState;
|
|
46
|
+
/**
|
|
47
|
+
* @bidding 입찰중
|
|
48
|
+
* @accepted 낙찰된
|
|
49
|
+
* @nonAccepted 낙찰되지 않은
|
|
50
|
+
*/
|
|
51
|
+
export declare const OrderBidState: {
|
|
52
|
+
readonly bidding: "bidding";
|
|
53
|
+
readonly accepted: "accepted";
|
|
54
|
+
readonly nonAccepted: "nonAccepted";
|
|
55
|
+
};
|
|
56
|
+
export type OrderBidState = keyof typeof OrderBidState;
|
|
57
|
+
/**
|
|
58
|
+
* @waiting 아직 카매니저에게 수수료 내용을 전송하지 않은 상태
|
|
59
|
+
* @progressing 입금대기 (수수료 입금 내용을 카매니저에게 전달한 상태)
|
|
60
|
+
* @paid 입금완료 (계좌 확인 후 어드민이 직접 입금완료처리)
|
|
61
|
+
* @canceled 입금취소
|
|
62
|
+
*/
|
|
63
|
+
export declare const OrderCommissionState: {
|
|
64
|
+
readonly waiting: "waiting";
|
|
65
|
+
readonly sended: "sended";
|
|
66
|
+
readonly paid: "paid";
|
|
67
|
+
readonly canceled: "canceled";
|
|
68
|
+
};
|
|
69
|
+
export type OrderCommissionState = keyof typeof OrderCommissionState;
|
|
70
|
+
export declare const OrderCommissionType: {
|
|
71
|
+
readonly lease: "lease";
|
|
72
|
+
readonly rent: "rent";
|
|
73
|
+
readonly newCar: "newCar";
|
|
74
|
+
readonly sellCar: "sellCar";
|
|
75
|
+
};
|
|
76
|
+
export type OrderCommissionType = keyof typeof OrderCommissionType;
|
|
77
|
+
export declare const OrderCommissionMethod: {
|
|
78
|
+
/** 계좌이체 */
|
|
79
|
+
readonly account: "account";
|
|
80
|
+
/** 가상계좌 */
|
|
81
|
+
readonly virtualAccount: "virtualAccount";
|
|
82
|
+
};
|
|
83
|
+
export type OrderCommissionMethod = keyof typeof OrderCommissionMethod;
|
|
84
|
+
/** 차량구매 - 차량 구매 주체
|
|
85
|
+
* @individual 개인
|
|
86
|
+
* @sole_proprietor 개인사업자
|
|
87
|
+
* @corporation 법인사업자
|
|
88
|
+
*/
|
|
89
|
+
export declare const BuyerType: {
|
|
90
|
+
readonly individual: "individual";
|
|
91
|
+
readonly sole_proprietor: "sole_proprietor";
|
|
92
|
+
readonly corporation: "corporation";
|
|
93
|
+
};
|
|
94
|
+
export type BuyerType = keyof typeof BuyerType;
|
|
95
|
+
/** 내차팔기 - 차량 구매 방식
|
|
96
|
+
* @cash 현금 혹은 할부
|
|
97
|
+
* @operatingLease 운용 리스
|
|
98
|
+
* @capitalLease 금융 리스
|
|
99
|
+
*/
|
|
100
|
+
export declare const SellCarBoughtMethod: {
|
|
101
|
+
readonly cash: "cash";
|
|
102
|
+
readonly capitalLease: "capitalLease";
|
|
103
|
+
readonly operatingLease: "operatingLease";
|
|
104
|
+
};
|
|
105
|
+
export type SellCarBoughtMethod = keyof typeof SellCarBoughtMethod;
|
|
106
|
+
/** 면세조건
|
|
107
|
+
* @normal "일반인 (해당없음)"
|
|
108
|
+
* @manyChild "다자녀 (취득세 감면)"
|
|
109
|
+
* @isSevereDisability "중증 장애 (1~3급)"
|
|
110
|
+
* @isMildDisability "경증 장애 (시각 4급)"
|
|
111
|
+
* @isVisualDisability "시각 장애 (일반 4급)"
|
|
112
|
+
* @isNationalMerit "국가유공자"
|
|
113
|
+
* @isAgentOrangeDisabled "장애인 (고엽제)"
|
|
114
|
+
* @isMay18Disabled "장애인 (5.18 민주화)"
|
|
115
|
+
*/
|
|
116
|
+
export declare const DutyFreeCondition: {
|
|
117
|
+
readonly normal: "normal";
|
|
118
|
+
readonly manyChild: "manyChild";
|
|
119
|
+
readonly isSevereDisability: "isSevereDisability";
|
|
120
|
+
readonly isMildDisability: "isMildDisability";
|
|
121
|
+
readonly isVisualDisability: "isVisualDisability";
|
|
122
|
+
readonly isNationalMerit: "isNationalMerit";
|
|
123
|
+
readonly isAgentOrangeDisabled: "isAgentOrangeDisabled";
|
|
124
|
+
readonly isMay18Disabled: "isMay18Disabled";
|
|
125
|
+
};
|
|
126
|
+
export type DutyFreeCondition = keyof typeof DutyFreeCondition;
|
|
127
|
+
/** 주문 프로세스 카드 상태 */
|
|
128
|
+
export type OrderProcessState = Omit<OrderState, "nonAccepted" | "setMeeting" | "bidding" | "accepted" | "resumed">;
|
|
129
|
+
/** 내차팔기 주문 태그 - 차량 상태
|
|
130
|
+
* @none 없음
|
|
131
|
+
* @fullNoAccident 완무 (완전무사고, 무사고 & 보험처리이력 없음)
|
|
132
|
+
* @noAccident 무사고 (회원이 무사고로 주문시, 보험처리이력은 있음)
|
|
133
|
+
* @justExchange 단순교환 (회원이 단순교환으로 주문시)
|
|
134
|
+
*/
|
|
135
|
+
export declare const OrderTagCarState: {
|
|
136
|
+
readonly none: "none";
|
|
137
|
+
readonly fullNoAccident: "fullNoAccident";
|
|
138
|
+
readonly noAccident: "noAccident";
|
|
139
|
+
readonly justExchange: "justExchange";
|
|
140
|
+
};
|
|
141
|
+
export type OrderTagCarState = keyof typeof OrderTagCarState;
|
|
142
|
+
/** 내차팔기 주문 태그 - 차량 소유권
|
|
143
|
+
* @none 없음
|
|
144
|
+
* @noChanged 1인소유 (차량 소유권이 변경된 적 없음)
|
|
145
|
+
*/
|
|
146
|
+
export declare const OrderTagCarOwnership: {
|
|
147
|
+
readonly none: "none";
|
|
148
|
+
readonly noChanged: "noChanged";
|
|
149
|
+
};
|
|
150
|
+
export type OrderTagCarOwnership = keyof typeof OrderTagCarOwnership;
|
|
151
|
+
export declare const OrderPurchasingType: {
|
|
152
|
+
readonly leaseRent: "leaseRent";
|
|
153
|
+
readonly newCar: "newCar";
|
|
154
|
+
};
|
|
155
|
+
export type OrderPurchasingType = keyof typeof OrderPurchasingType;
|
|
156
|
+
export declare const OrderListIntervalTarget: {
|
|
157
|
+
readonly created_at: "created_at";
|
|
158
|
+
readonly finished_at: "finished_at";
|
|
159
|
+
readonly bid_ended_at: "bid_ended_at";
|
|
160
|
+
};
|
|
161
|
+
export type OrderListIntervalTarget = keyof typeof OrderListIntervalTarget;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
+
import { PopupCategoryId } from "../../../data";
|
|
3
|
+
export declare class PopupCategoryIdDTO {
|
|
4
|
+
categoryId: PopupCategoryId;
|
|
5
|
+
}
|
|
6
|
+
export declare class PopupCreateDTO {
|
|
7
|
+
categoryId: PopupCategoryId;
|
|
8
|
+
title?: string;
|
|
9
|
+
content_html: string;
|
|
10
|
+
/** 배너 클릭 시 넘어갈 URL Path */
|
|
11
|
+
redirectPath?: string;
|
|
12
|
+
/** 배너가 노출 시작되는 시기를 정의합니다 */
|
|
13
|
+
started_at?: Date;
|
|
14
|
+
/** 배너가 노출 종료되는 시기를 정의합니다 */
|
|
15
|
+
ended_at?: Date;
|
|
16
|
+
}
|
|
17
|
+
export declare class PopupUpdateDTO {
|
|
18
|
+
popupId: number;
|
|
19
|
+
/** null일 경우 값을 제거합니다 */
|
|
20
|
+
title?: string | null;
|
|
21
|
+
content_html?: string;
|
|
22
|
+
/** 활성화 상태 변경 여부 */
|
|
23
|
+
isActivate?: boolean;
|
|
24
|
+
/** 배너 클릭 시 넘어갈 URL Path */
|
|
25
|
+
redirectPath?: string | null;
|
|
26
|
+
/** 배너가 노출 시작되는 시기를 정의합니다 */
|
|
27
|
+
started_at?: Date | null;
|
|
28
|
+
/** 배너가 노출 종료되는 시기를 정의합니다 */
|
|
29
|
+
ended_at?: Date | null;
|
|
30
|
+
}
|
|
31
|
+
export declare class PopupIdDTO {
|
|
32
|
+
popupId: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PopupCategoryId } from "../../../data";
|
|
2
|
+
import { ContentTarget } from "../common";
|
|
3
|
+
import { MemberShort } from "../member";
|
|
4
|
+
export interface PopupContent {
|
|
5
|
+
id: number;
|
|
6
|
+
category: PopupCategory;
|
|
7
|
+
title: string | null;
|
|
8
|
+
content_html: string;
|
|
9
|
+
redirectPath: string | null;
|
|
10
|
+
count_hit: number;
|
|
11
|
+
/** 배너 노출 시작 시점 */
|
|
12
|
+
started_at: Date | null;
|
|
13
|
+
/**
|
|
14
|
+
* @description 배너 노출 종료 시점
|
|
15
|
+
* @case null일 경우 이 배너는 영구적으로 보여집니다
|
|
16
|
+
*/
|
|
17
|
+
ended_at: Date | null;
|
|
18
|
+
}
|
|
19
|
+
export interface PopupListData {
|
|
20
|
+
id: number;
|
|
21
|
+
category: PopupCategory;
|
|
22
|
+
title: string | null;
|
|
23
|
+
writer: MemberShort;
|
|
24
|
+
redirectPath: string | null;
|
|
25
|
+
count_hit: number;
|
|
26
|
+
isActivate: boolean;
|
|
27
|
+
created_at: Date;
|
|
28
|
+
updated_at: Date;
|
|
29
|
+
/** 배너 노출 시작 시점 */
|
|
30
|
+
started_at: Date | null;
|
|
31
|
+
/**
|
|
32
|
+
* @description 배너 노출 종료 시점
|
|
33
|
+
* @case null일 경우 이 배너는 영구적으로 보여집니다
|
|
34
|
+
*/
|
|
35
|
+
ended_at: Date | null;
|
|
36
|
+
}
|
|
37
|
+
export interface PopupCategory {
|
|
38
|
+
id: PopupCategoryId;
|
|
39
|
+
name: string;
|
|
40
|
+
description: string;
|
|
41
|
+
/** 가로세로 비율
|
|
42
|
+
* @notice 아직 사용하지는 않습니다
|
|
43
|
+
* @description 가로를 세로로 나눈 값입니다. (ex. 4/3: 가로4, 세로3)
|
|
44
|
+
* @example 1.33333333 (4/3이니까 4:3)
|
|
45
|
+
*/
|
|
46
|
+
ratio: number | null;
|
|
47
|
+
count_hit: number;
|
|
48
|
+
target: ContentTarget;
|
|
49
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
+
import { PurchaseItemId } from "../../../data";
|
|
3
|
+
export declare class GetPurchaseItemDTO {
|
|
4
|
+
termCategoryId: PurchaseItemId;
|
|
5
|
+
}
|
|
6
|
+
export declare class PurchaseItemDTO {
|
|
7
|
+
termCategoryId: PurchaseItemId;
|
|
8
|
+
paymentId: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PurchaseItemId } from "../../../data";
|
|
2
|
+
import { PaymentVirtualBankInfo } from "../../providers";
|
|
3
|
+
import { PurchaseState } from "./type";
|
|
4
|
+
/** 구매할 아이템 정보 */
|
|
5
|
+
export interface PurchaseItemInfo {
|
|
6
|
+
id: PurchaseItemId;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
price: number;
|
|
10
|
+
created_at: Date;
|
|
11
|
+
updated_at: Date;
|
|
12
|
+
}
|
|
13
|
+
export interface PurchaseResult {
|
|
14
|
+
/** purchaseID */
|
|
15
|
+
id: string;
|
|
16
|
+
state: PurchaseState;
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
price: number;
|
|
20
|
+
created_at: Date;
|
|
21
|
+
virtualBank?: PaymentVirtualBankInfo;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
+
import { RoleGroupId, RoleId, SystemSettingId } from "../../../data";
|
|
3
|
+
export declare class SystemRoleGroupUpdateDTO {
|
|
4
|
+
/** SuperAdmin에 대해서는 아무 동작도 하지 않습니다 */
|
|
5
|
+
roleGroup: RoleGroupId;
|
|
6
|
+
/** SU 권한이 있으면 아무 동작도 하지 않습니다 */
|
|
7
|
+
roleList: RoleId[];
|
|
8
|
+
}
|
|
9
|
+
export declare class SystemSettingUpdateDTO {
|
|
10
|
+
id: SystemSettingId;
|
|
11
|
+
isActivate?: boolean;
|
|
12
|
+
value?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RoleGroupId, RoleId, SystemSettingId } from "../../../data";
|
|
2
|
+
import { MemberType } from "../member";
|
|
3
|
+
export interface RoleGroupInfo {
|
|
4
|
+
id: RoleGroupId;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
/** 해당 역할 그룹이 사용 가능한 회원 유형 */
|
|
8
|
+
MemberType: MemberType;
|
|
9
|
+
/** 해당 그룹에 포함된 역할 Id 리스트 */
|
|
10
|
+
roles: RoleId[];
|
|
11
|
+
}
|
|
12
|
+
export interface SystemSettingInfo {
|
|
13
|
+
id: SystemSettingId;
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
isActivate: boolean | null;
|
|
17
|
+
value: number | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
+
import { TermCategoryId } from "../../../data";
|
|
3
|
+
import { MemberType, MemberDealerType } from "../member";
|
|
4
|
+
export declare class TermCategoryIdDTO {
|
|
5
|
+
termCategoryId: TermCategoryId;
|
|
6
|
+
}
|
|
7
|
+
export declare class GetTermCategoryDTO {
|
|
8
|
+
memberType?: MemberType;
|
|
9
|
+
dealerType?: MemberDealerType;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetTermDetailDTO extends TermCategoryIdDTO {
|
|
12
|
+
termId?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @description 광고성 메시지 수신 동의 약관 파트
|
|
16
|
+
*/
|
|
17
|
+
export declare class AdvertiseReceiveTermsDTO {
|
|
18
|
+
/**
|
|
19
|
+
* Optional - 광고성 푸시 알람 수신 동의
|
|
20
|
+
*/
|
|
21
|
+
95100?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Optional - 광고성 SMS 메시지 수신 동의
|
|
24
|
+
*/
|
|
25
|
+
95200?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Optional - 광고성 이메일 수신 동의
|
|
28
|
+
*/
|
|
29
|
+
95300?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @description 고객 회원가입시 입력하는 약관
|
|
33
|
+
*/
|
|
34
|
+
export declare class CustomerSignupTermsDTO extends AdvertiseReceiveTermsDTO {
|
|
35
|
+
/**
|
|
36
|
+
* 서비스 이용약관
|
|
37
|
+
*/
|
|
38
|
+
10100: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 개인정보 처리방침
|
|
41
|
+
*/
|
|
42
|
+
10200: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* 미스터리 쇼퍼가 아닙니다
|
|
45
|
+
*/
|
|
46
|
+
10500: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* 실구매자 또는 실판매자입니다
|
|
49
|
+
*/
|
|
50
|
+
10600: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* 무분별한 구매/판매 요청은 하지 않습니다
|
|
53
|
+
*/
|
|
54
|
+
10700: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @description 딜러 회원가입시 입력하는 약관
|
|
58
|
+
*/
|
|
59
|
+
export declare class DealerSignupTermsDTO extends AdvertiseReceiveTermsDTO {
|
|
60
|
+
/**
|
|
61
|
+
* 서비스 이용약관
|
|
62
|
+
*/
|
|
63
|
+
20100: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* 개인정보 수집이용
|
|
66
|
+
*/
|
|
67
|
+
20200: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* [신차 딜러] 이용방법 & 거래 주의사항
|
|
70
|
+
* @description 신차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
71
|
+
*/
|
|
72
|
+
24090?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* [신차 딜러] 공식 직원 여부
|
|
75
|
+
* @description 신차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
76
|
+
*/
|
|
77
|
+
24100?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* [중고차 딜러] 이용방법 & 거래 주의사항
|
|
80
|
+
* @description 중고차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
81
|
+
*/
|
|
82
|
+
25090?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* [중고차 딜러] 자동차매매사업조합연합회 소속여부
|
|
85
|
+
* @description 중고차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
86
|
+
*/
|
|
87
|
+
25100?: boolean;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @description 회원이 약괸에 대하여 동의/비동의할 떄 사용합니다
|
|
91
|
+
* @example {termCategoryId: 20100, isAgree: false}일 경우 20100약관에 대한 동의해제 요청을 의미합니다
|
|
92
|
+
*/
|
|
93
|
+
export interface TermUpdate {
|
|
94
|
+
termCategoryId: TermCategoryId;
|
|
95
|
+
isAgree: boolean;
|
|
96
|
+
}
|
|
97
|
+
export declare class TermUpdateDTO extends TermCategoryIdDTO {
|
|
98
|
+
isAgree: boolean;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @description 회원 약관 동의내역 변경
|
|
102
|
+
*/
|
|
103
|
+
export declare class MemberChangeAgreeTermDTO {
|
|
104
|
+
updateTerms: TermUpdateDTO[];
|
|
105
|
+
}
|
|
106
|
+
export declare class DealerNewcarSignupTermsDTO extends AdvertiseReceiveTermsDTO {
|
|
107
|
+
/**
|
|
108
|
+
* [딜러] 서비스 이용약관
|
|
109
|
+
*/
|
|
110
|
+
20100: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* [딜러] 개인정보 수집이용
|
|
113
|
+
*/
|
|
114
|
+
20200: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* [신차 딜러] 이용방법 & 거래 주의사항
|
|
117
|
+
* @description 신차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
118
|
+
*/
|
|
119
|
+
24090: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* [신차 딜러] 공식 직원 여부
|
|
122
|
+
* @description 신차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
123
|
+
*/
|
|
124
|
+
24100: boolean;
|
|
125
|
+
}
|
|
126
|
+
export declare class DealerUsedcarSignupTermsDTO extends AdvertiseReceiveTermsDTO {
|
|
127
|
+
/**
|
|
128
|
+
* [딜러] 서비스 이용약관
|
|
129
|
+
*/
|
|
130
|
+
20100: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* [딜러] 개인정보 수집이용
|
|
133
|
+
*/
|
|
134
|
+
20200: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* [중고차 딜러] 이용방법 & 거래 주의사항
|
|
137
|
+
* @description 중고차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
138
|
+
*/
|
|
139
|
+
25090: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* [중고차 딜러] 자동차매매사업조합연합회 소속여부
|
|
142
|
+
* @description 중고차 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
143
|
+
*/
|
|
144
|
+
25100: boolean;
|
|
145
|
+
}
|
|
146
|
+
export declare class DealerLeaseRentSignupTermsDTO extends AdvertiseReceiveTermsDTO {
|
|
147
|
+
/**
|
|
148
|
+
* [딜러] 서비스 이용약관
|
|
149
|
+
*/
|
|
150
|
+
20100: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* [딜러] 개인정보 수집이용
|
|
153
|
+
*/
|
|
154
|
+
20200: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* [리스/장기렌트 딜러] 이용방법 & 거래 주의사항
|
|
157
|
+
* @description 리스렌트 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
158
|
+
*/
|
|
159
|
+
26090: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* [리스/장기렌트 딜러] 대출성 상품 판매대리 중개업자 자격증이 있습니다.
|
|
162
|
+
* @description 리스렌트 딜러는 이 약관을 무조건 true로 해야 합니다
|
|
163
|
+
*/
|
|
164
|
+
26100: boolean;
|
|
165
|
+
}
|
|
166
|
+
/** 본인인증 -> 딜러회원 가입 */
|
|
167
|
+
export declare class MemberSignupDealerDTO extends DealerSignupTermsDTO {
|
|
168
|
+
identityVerifyToken: string;
|
|
169
|
+
dealerType: MemberDealerType;
|
|
170
|
+
}
|
|
171
|
+
export declare class CreateTermDTO extends TermCategoryIdDTO {
|
|
172
|
+
content_html: string;
|
|
173
|
+
/** 현재 최신 버전보다 높은 숫자가 입력되어야 합니다 */
|
|
174
|
+
version: number;
|
|
175
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TermCategoryId } from "../../../data";
|
|
2
|
+
import { MemberType, MemberDealerType } from "../member";
|
|
3
|
+
import { TermUpdate } from "./dto";
|
|
4
|
+
/** 특정 회원이 기존에 동의한 약관 정보 */
|
|
5
|
+
export interface AgreedTermCategory {
|
|
6
|
+
id: TermCategoryId;
|
|
7
|
+
title: string;
|
|
8
|
+
version: number;
|
|
9
|
+
isEssential: boolean;
|
|
10
|
+
isContent: boolean;
|
|
11
|
+
agreed_at: Date | null;
|
|
12
|
+
}
|
|
13
|
+
/** 약관 업데이트 내역 */
|
|
14
|
+
export interface TermUpdateResult {
|
|
15
|
+
success: TermUpdate[];
|
|
16
|
+
failed: TermUpdate[];
|
|
17
|
+
}
|
|
18
|
+
export interface IsAgreeTerm {
|
|
19
|
+
isAgree: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* TermId
|
|
22
|
+
* @description 약관에 동의했을 경우에만 해당 약관 상세버전 ID값 출력
|
|
23
|
+
*/
|
|
24
|
+
termId?: string;
|
|
25
|
+
agreed_at?: Date | null;
|
|
26
|
+
}
|
|
27
|
+
export interface TermInfo {
|
|
28
|
+
/**
|
|
29
|
+
* TermId
|
|
30
|
+
* @description 약관 카테고리 내 약관 상세버전 ID값
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
version: number;
|
|
34
|
+
created_at: Date;
|
|
35
|
+
}
|
|
36
|
+
export interface TermCategoryDetailInfo {
|
|
37
|
+
id: TermCategoryId;
|
|
38
|
+
title: string;
|
|
39
|
+
description: string;
|
|
40
|
+
isEssential: boolean;
|
|
41
|
+
isContent: boolean;
|
|
42
|
+
MemberType: MemberType | null;
|
|
43
|
+
dealer_type: MemberDealerType | null;
|
|
44
|
+
termList: TermInfo[];
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
+
/**
|
|
3
|
+
* @description 중고차 정보를 가져올 때 인풋값입니다
|
|
4
|
+
*/
|
|
5
|
+
export declare class GetUsedCarInfoDTO {
|
|
6
|
+
/**
|
|
7
|
+
* @description 자동차 등록번호
|
|
8
|
+
* @example 03가0000
|
|
9
|
+
*/
|
|
10
|
+
carName: string;
|
|
11
|
+
/**
|
|
12
|
+
* @description 차량 소유자 명
|
|
13
|
+
*/
|
|
14
|
+
ownerName: string;
|
|
15
|
+
/** 조회결과 고유코드
|
|
16
|
+
* @description 이 값과 seriesno가 정의될 경우 상세검색
|
|
17
|
+
*/
|
|
18
|
+
ts_key?: string;
|
|
19
|
+
/** 등급키
|
|
20
|
+
* @description 이 값과 seriesno가 정의될 경우 상세검색
|
|
21
|
+
*/
|
|
22
|
+
seriesno?: string;
|
|
23
|
+
}
|