@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
package/dist/type/data/term.ts
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/** 카사요 서비스에서 사용되는 약관
|
|
2
|
-
* @description 회원의 동의를 받는 모든 내용이 포함됩니다
|
|
3
|
-
* @notice 이 파일은 서비스 내 다음 파일들과 일치하여야 합니다
|
|
4
|
-
* @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
|
|
5
|
-
* @backend Prisma, Main_Service
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
export const TermCategoryData = [
|
|
9
|
-
/** 일반회원 가입 약관 */
|
|
10
|
-
{
|
|
11
|
-
id: 10100,
|
|
12
|
-
title: '서비스 이용약관',
|
|
13
|
-
description: '일반 고객의 서비스 이용약관입니다',
|
|
14
|
-
member_type: 'customer',
|
|
15
|
-
dealer_type: null,
|
|
16
|
-
isEssential: true,
|
|
17
|
-
isContent: true,
|
|
18
|
-
isActive: true,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: 10200,
|
|
22
|
-
title: '개인정보 처리방침',
|
|
23
|
-
description: '일반 고객의 개인정보 처리방침입니다',
|
|
24
|
-
member_type: 'customer',
|
|
25
|
-
dealer_type: null,
|
|
26
|
-
isEssential: true,
|
|
27
|
-
isContent: true,
|
|
28
|
-
isActive: true,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: 10500,
|
|
32
|
-
title: '미스터리 쇼퍼가 아닙니다',
|
|
33
|
-
description: '일반 고객의 미스터리 쇼퍼가 아님을 나타내는 약관',
|
|
34
|
-
member_type: 'customer',
|
|
35
|
-
dealer_type: null,
|
|
36
|
-
isEssential: true,
|
|
37
|
-
isContent: true,
|
|
38
|
-
isActive: true,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 10600,
|
|
42
|
-
title: '실구매자 또는 실판매자입니다',
|
|
43
|
-
description: '일반 고객의 실구매자 또는 실판매자임을 나타내는 약관',
|
|
44
|
-
member_type: 'customer',
|
|
45
|
-
dealer_type: null,
|
|
46
|
-
isEssential: true,
|
|
47
|
-
isContent: true,
|
|
48
|
-
isActive: true,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 10700,
|
|
52
|
-
title: '무분별한 구매/판매 요청은 하지 않습니다',
|
|
53
|
-
description: '일반 고객의 무분별한 구매/판매 요청은 하지 않겠다는 약관',
|
|
54
|
-
member_type: 'customer',
|
|
55
|
-
dealer_type: null,
|
|
56
|
-
isEssential: true,
|
|
57
|
-
isContent: false,
|
|
58
|
-
isActive: true,
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
/** 카매니저 약관 */
|
|
62
|
-
{
|
|
63
|
-
id: 20100,
|
|
64
|
-
title: '서비스 이용약관',
|
|
65
|
-
description: '딜러 고객의 서비스 이용약관입니다',
|
|
66
|
-
member_type: 'dealer',
|
|
67
|
-
dealer_type: null,
|
|
68
|
-
isEssential: true,
|
|
69
|
-
isContent: true,
|
|
70
|
-
isActive: true,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: 20200,
|
|
74
|
-
title: '개인정보 처리방침',
|
|
75
|
-
description: '카매니저의 수집이용 약관입니다',
|
|
76
|
-
member_type: 'dealer',
|
|
77
|
-
dealer_type: null,
|
|
78
|
-
isEssential: true,
|
|
79
|
-
isContent: true,
|
|
80
|
-
isActive: true,
|
|
81
|
-
},
|
|
82
|
-
/** 신차 카매니저 전용 */
|
|
83
|
-
{
|
|
84
|
-
id: 24090,
|
|
85
|
-
title: '이용방법 & 거래 주의사항',
|
|
86
|
-
description: '신차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
|
|
87
|
-
member_type: 'dealer',
|
|
88
|
-
dealer_type: 'newcar',
|
|
89
|
-
isEssential: true,
|
|
90
|
-
isContent: true,
|
|
91
|
-
isActive: true,
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
id: 24100,
|
|
95
|
-
title: '국내차/수입차 공식 직원입니다.',
|
|
96
|
-
description: '신차 공식 직원인지에 대한 확인',
|
|
97
|
-
member_type: 'dealer',
|
|
98
|
-
dealer_type: 'newcar',
|
|
99
|
-
isEssential: true,
|
|
100
|
-
isContent: true,
|
|
101
|
-
isActive: true,
|
|
102
|
-
},
|
|
103
|
-
/** 중고차 카매니저 전용 */
|
|
104
|
-
{
|
|
105
|
-
id: 25090,
|
|
106
|
-
title: '이용방법 & 거래 주의사항',
|
|
107
|
-
description: '중고차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
|
|
108
|
-
member_type: 'dealer',
|
|
109
|
-
dealer_type: 'usedcar',
|
|
110
|
-
isEssential: true,
|
|
111
|
-
isContent: true,
|
|
112
|
-
isActive: true,
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 25100,
|
|
116
|
-
title: '자동차매매사업조합연합회 소속입니다.',
|
|
117
|
-
description:
|
|
118
|
-
'중고차 딜러가 자동차매매사업조합연합회 소속인지 여부를 선택합니다',
|
|
119
|
-
member_type: 'dealer',
|
|
120
|
-
dealer_type: 'usedcar',
|
|
121
|
-
isEssential: true,
|
|
122
|
-
isContent: true,
|
|
123
|
-
isActive: true,
|
|
124
|
-
},
|
|
125
|
-
/** 리스렌트 카매니저 전용 */
|
|
126
|
-
{
|
|
127
|
-
id: 26090,
|
|
128
|
-
title: '이용방법 & 거래 주의사항',
|
|
129
|
-
description: '리스렌트 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
|
|
130
|
-
member_type: 'dealer',
|
|
131
|
-
dealer_type: 'leaseRent',
|
|
132
|
-
isEssential: true,
|
|
133
|
-
isContent: true,
|
|
134
|
-
isActive: true,
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
id: 26100,
|
|
138
|
-
title: '대출성 상품 판매대리 중개업자입니다.',
|
|
139
|
-
description: '대출성 상품 판매대리 중개업자 자격이 있다는 것에 동의합니다',
|
|
140
|
-
member_type: 'dealer',
|
|
141
|
-
dealer_type: 'leaseRent',
|
|
142
|
-
isEssential: true,
|
|
143
|
-
isContent: true,
|
|
144
|
-
isActive: true,
|
|
145
|
-
},
|
|
146
|
-
|
|
147
|
-
/** 공통 동의 내용 */
|
|
148
|
-
{
|
|
149
|
-
id: 95100,
|
|
150
|
-
title: '푸시 알람 수신 동의',
|
|
151
|
-
description: '푸시 알람을 통해 광고성 메시지를 받겠다는 약관',
|
|
152
|
-
member_type: null,
|
|
153
|
-
dealer_type: null,
|
|
154
|
-
isEssential: false,
|
|
155
|
-
isContent: true,
|
|
156
|
-
isActive: true,
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
{
|
|
160
|
-
id: 95200,
|
|
161
|
-
title: '메시지 수신 동의',
|
|
162
|
-
description: '문자 메시지를 통해 광고성 메시지를 받겠다는 약관',
|
|
163
|
-
member_type: null,
|
|
164
|
-
dealer_type: null,
|
|
165
|
-
isEssential: false,
|
|
166
|
-
isContent: true,
|
|
167
|
-
isActive: true,
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
id: 95300,
|
|
171
|
-
title: '이메일 수신 동의',
|
|
172
|
-
description: '이메일을 통해 광고성 메시지를 받겠다는 약관',
|
|
173
|
-
member_type: null,
|
|
174
|
-
dealer_type: null,
|
|
175
|
-
isEssential: false,
|
|
176
|
-
isContent: true,
|
|
177
|
-
isActive: true,
|
|
178
|
-
},
|
|
179
|
-
] as const;
|
|
180
|
-
|
|
181
|
-
export const TermCategoryId = TermCategoryData.map((el) => {
|
|
182
|
-
return el.id;
|
|
183
|
-
});
|
|
184
|
-
export type TermCategoryId = (typeof TermCategoryData)[number]['id'];
|
package/dist/type/history.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { MemberShort } from './all';
|
|
2
|
-
|
|
3
|
-
/** 보험 링크 클릭 로그 생성 */
|
|
4
|
-
export interface HistoryInsuranceClickDTO {
|
|
5
|
-
target: string;
|
|
6
|
-
from: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type DeviceType = 'IOS' | 'Android' | 'Web';
|
|
10
|
-
|
|
11
|
-
export interface HistoryInsuranceClick {
|
|
12
|
-
member: MemberShort | null;
|
|
13
|
-
/** 클릭 대상 */
|
|
14
|
-
target: string;
|
|
15
|
-
/** 링크 클릭이 발생된 곳 */
|
|
16
|
-
from: string | null;
|
|
17
|
-
device: DeviceType;
|
|
18
|
-
ip: string;
|
|
19
|
-
created_at: Date;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface GetInsuranceListDTO {
|
|
23
|
-
skip?: number;
|
|
24
|
-
take: number;
|
|
25
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OrderState } from '../all';
|
|
2
|
-
|
|
3
|
-
export type NotificationType = 'common' | 'event';
|
|
4
|
-
|
|
5
|
-
/** 주문 프로세스 카드 상태 */
|
|
6
|
-
export type OrderProcessState = Omit<
|
|
7
|
-
OrderState,
|
|
8
|
-
'nonAccepted' | 'setMeeting' | 'bidding' | 'accepted' | 'resumed'
|
|
9
|
-
>;
|
|
10
|
-
|
|
11
|
-
/** 내차팔기 - 차량 구매 방식
|
|
12
|
-
* @case cash: 현금 혹은 할부
|
|
13
|
-
* @case operatingLease: 운용 리스
|
|
14
|
-
* @case capitalLease: 금융 리스
|
|
15
|
-
*/
|
|
16
|
-
export type SellCarBoughtMethod = 'cash' | 'capitalLease' | 'operatingLease';
|
|
17
|
-
|
|
18
|
-
/** 리스/렌트/할부 구매 - 차량 구매 주체
|
|
19
|
-
* @case individual: 개인
|
|
20
|
-
* @case sole_proprietor: 개인사업자
|
|
21
|
-
* @case corporation: 법인사업자
|
|
22
|
-
*/
|
|
23
|
-
export type BuyerType = 'individual' | 'sole_proprietor' | 'corporation';
|
|
24
|
-
|
|
25
|
-
/** 면세조건
|
|
26
|
-
* @case normal "일반인 (해당없음)"
|
|
27
|
-
* @case manyChild "다자녀 (취득세 감면)"
|
|
28
|
-
* @case isSevereDisability "중증 장애 (1~3급)"
|
|
29
|
-
* @case isMildDisability "경증 장애 (시각 4급)"
|
|
30
|
-
* @case isVisualDisability "시각 장애 (일반 4급)"
|
|
31
|
-
* @case isNationalMerit "국가유공자"
|
|
32
|
-
* @case isAgentOrangeDisabled "장애인 (고엽제)"
|
|
33
|
-
* @case isMay18Disabled "장애인 (5.18 민주화)"
|
|
34
|
-
*/
|
|
35
|
-
export type DutyFreeCondition =
|
|
36
|
-
| 'normal'
|
|
37
|
-
| 'manyChild'
|
|
38
|
-
| 'isSevereDisability'
|
|
39
|
-
| 'isMildDisability'
|
|
40
|
-
| 'isVisualDisability'
|
|
41
|
-
| 'isNationalMerit'
|
|
42
|
-
| 'isAgentOrangeDisabled'
|
|
43
|
-
| 'isMay18Disabled';
|