@carsayo/types 1.1.891964 → 1.1.891966
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/types/modules/sellMyCar/dto-admin.d.ts +2 -0
- package/dist/types/modules/sellMyCar/interface-member.d.ts +31 -2
- package/dist/types/modules/sellMyCar/interface.d.ts +48 -8
- package/dist/types/modules/sellMyCar/type.d.ts +15 -0
- package/dist/types/modules/sellMyCar/type.js +14 -1
- package/package.json +1 -1
|
@@ -131,8 +131,37 @@ export interface UsedCarDealerMyselfInfo extends UsedCarDealerInfo {
|
|
|
131
131
|
workingSidoId: SidoId | null;
|
|
132
132
|
/** 알림설정 정보 */
|
|
133
133
|
setting: Member["setting"];
|
|
134
|
-
/** 추가 정보 (값
|
|
135
|
-
|
|
134
|
+
/** 추가 정보 (값 자유롭게 들어갈 수 있음)
|
|
135
|
+
* member_dealer.additionalInfo에서 꺼내옵니다.
|
|
136
|
+
*/
|
|
137
|
+
additional_info: {
|
|
138
|
+
/** 탁송 주소 */
|
|
139
|
+
sell_car_transport_address: {
|
|
140
|
+
main: {
|
|
141
|
+
/** 신주소 */
|
|
142
|
+
new: string;
|
|
143
|
+
/** 오래된 주소 */
|
|
144
|
+
old: string;
|
|
145
|
+
};
|
|
146
|
+
/** 상세 주소 */
|
|
147
|
+
detail: string | null;
|
|
148
|
+
} | null;
|
|
149
|
+
/** 서류 받을 곳 */
|
|
150
|
+
sell_car_get_paper_address: string | null;
|
|
151
|
+
/** 입력한 구매자 정보 */
|
|
152
|
+
sell_car_buyer_info: {
|
|
153
|
+
/** 딜러 주민(사업자)번호 */
|
|
154
|
+
dealerIdentificationNo: string;
|
|
155
|
+
/** 딜러 이름(법인명) */
|
|
156
|
+
dealerName: string;
|
|
157
|
+
/** 딜러 신주소 */
|
|
158
|
+
dealerNewAddress: string;
|
|
159
|
+
/** 딜러 구주소 */
|
|
160
|
+
dealerOldAddress: string;
|
|
161
|
+
/** 딜러 상세 주소 */
|
|
162
|
+
dealerDetailAddress?: string;
|
|
163
|
+
} | null;
|
|
164
|
+
};
|
|
136
165
|
}
|
|
137
166
|
/** 딜러 패널티 리스트 (견적실수, 경고 등) */
|
|
138
167
|
export interface CurrentDealerPenalty {
|
|
@@ -2,7 +2,7 @@ import { BankCode, SellCarTagId, SidoName, SigunguId } from "../../../data";
|
|
|
2
2
|
import { CooconAccidentHistoryInfo, CooconUsedCarInfo } from "../../providers";
|
|
3
3
|
import { FileInfo } from "../file";
|
|
4
4
|
import { UsedCarDealerInfo } from "./interface-member";
|
|
5
|
-
import { SellMyCarCommissionStatus, SellMyCarOrderBidSubject, SellMyCarOrderBidStatus, SellMyCarOrderBidType, SellMyCarOrderMethod, SellMyCarOrderPurchaseMethod, SellMyCarOrderRegistrationType, SellMyCarOrderStatus, SellMyCarOrderType, SellMyCarRegistryLienType, SellMyCarOrderCancelType, SellMyCarOrderBidCancelType } from "./type";
|
|
5
|
+
import { SellMyCarCommissionStatus, SellMyCarOrderBidSubject, SellMyCarOrderBidStatus, SellMyCarOrderBidType, SellMyCarOrderMethod, SellMyCarOrderPurchaseMethod, SellMyCarOrderRegistrationType, SellMyCarOrderStatus, SellMyCarOrderType, SellMyCarRegistryLienType, SellMyCarOrderCancelType, SellMyCarOrderBidCancelType, SellMyCarOrderInspectionReviewSatisfaction, SellMyCarOrderAgencyCashflowStatus } from "./type";
|
|
6
6
|
export interface SellMyCarCommissionHistory {
|
|
7
7
|
title: string;
|
|
8
8
|
content: string;
|
|
@@ -275,6 +275,8 @@ export interface SellMyCarOrderRequest {
|
|
|
275
275
|
wantVisitedOldAddress: string | null;
|
|
276
276
|
/** 원하는 진단사 방문 상세 주소 */
|
|
277
277
|
wantVisitedDetailAddress: string | null;
|
|
278
|
+
/** 고객이 진단 신청 정보 변경 신청한 내용 */
|
|
279
|
+
customerChangeRequest: SellMyCarOrder_Inspect_Transport_ChangeRequest | null;
|
|
278
280
|
} | null;
|
|
279
281
|
}
|
|
280
282
|
/** 진단사 정보 */
|
|
@@ -283,6 +285,8 @@ export interface SellMyCarOrderInspectionInspector {
|
|
|
283
285
|
name: string;
|
|
284
286
|
/** 진단사 전화번호 */
|
|
285
287
|
phone: string;
|
|
288
|
+
/** 진단사 프로필 사진 (썸네일 이미지) */
|
|
289
|
+
profileUrl: string | null;
|
|
286
290
|
}
|
|
287
291
|
export interface SellMyCarOrderInspectionVisitInfo {
|
|
288
292
|
/** 원하는 방문 일시 - mm월 dd일 금요일
|
|
@@ -302,6 +306,13 @@ export interface SellMyCarOrderInspectionVisitInfo {
|
|
|
302
306
|
/** 원하는 방문 상세 주소 */
|
|
303
307
|
wantVisitedDetailAddress: string | null;
|
|
304
308
|
}
|
|
309
|
+
/** 고객이 진단사에 대하여 작성한 리뷰 */
|
|
310
|
+
export interface SellMyCarOrderInspectionReview {
|
|
311
|
+
/** 만족도 */
|
|
312
|
+
satisfaction: SellMyCarOrderInspectionReviewSatisfaction;
|
|
313
|
+
/** 리뷰 내용 */
|
|
314
|
+
content: string;
|
|
315
|
+
}
|
|
305
316
|
/** 카사요 퍼펙트 > 진단 정보
|
|
306
317
|
* @note 관리자 > 진단사 등록 이후 값이 존재합니다.
|
|
307
318
|
*/
|
|
@@ -321,6 +332,10 @@ export interface SellMyCarOrderInspection {
|
|
|
321
332
|
* @note 문진표는 진단사 방문 당일 고객이 작성하는 내용입니다.
|
|
322
333
|
*/
|
|
323
334
|
questionnaire: string | null;
|
|
335
|
+
/** 진단사 리뷰 (고객 작성)
|
|
336
|
+
* @note 진단사 방문 이후 고객이 작성하는 내용입니다.
|
|
337
|
+
*/
|
|
338
|
+
inspectorReview: SellMyCarOrderInspectionReview | null;
|
|
324
339
|
/** 링크 내용
|
|
325
340
|
* @note 진단사가 방문 후 작성하는 내용입니다. (진단 완료 시에만 존재합니다.)
|
|
326
341
|
*/
|
|
@@ -486,7 +501,7 @@ export interface SellMyCarOrderAgencyTransport {
|
|
|
486
501
|
*/
|
|
487
502
|
customerTransportInfo: SellMyCarOrderVisitFormInfo;
|
|
488
503
|
/** 고객이 탁송 정보 변경 신청한 내용 */
|
|
489
|
-
customerChangeRequest:
|
|
504
|
+
customerChangeRequest: SellMyCarOrder_Inspect_Transport_ChangeRequest | null;
|
|
490
505
|
/** 딜러가 입력한 탁송 정보 (딜러가 탁송기사를 통해 차량을 배송받을 위치) */
|
|
491
506
|
dealerTransportInfo: {
|
|
492
507
|
/** 틱송 신주소 */
|
|
@@ -505,7 +520,31 @@ export interface SellMyCarOrderAgencyTransport {
|
|
|
505
520
|
*/
|
|
506
521
|
transportRider: SellMyCarOrderTransportRider | null;
|
|
507
522
|
/** 탁송 과정에서 오가는 현금흐름 */
|
|
508
|
-
cashflow: {
|
|
523
|
+
cashflow: {
|
|
524
|
+
amount: number;
|
|
525
|
+
status: SellMyCarOrderAgencyCashflowStatus;
|
|
526
|
+
/** 입금 정보 */
|
|
527
|
+
deposit: {
|
|
528
|
+
/** 은행코드 (예: 004 - KB국민은행 등) */
|
|
529
|
+
bank_code: string;
|
|
530
|
+
/** 예금주명 */
|
|
531
|
+
account_holder_name: string;
|
|
532
|
+
/** 계좌번호 */
|
|
533
|
+
account_number: string;
|
|
534
|
+
/** 입금기한 */
|
|
535
|
+
deposit_deadline: Date;
|
|
536
|
+
} | null;
|
|
537
|
+
/** 딜러에게 입금 요청 발송 시점
|
|
538
|
+
* @note null일 경우 아직 입금 요청을 발송하지 않았습니다.
|
|
539
|
+
*/
|
|
540
|
+
dealer_request_at: Date | null;
|
|
541
|
+
/** 현금흐름 생성 날짜 */
|
|
542
|
+
created_at: Date;
|
|
543
|
+
/** 딜러가 입금을 완료한 날짜 */
|
|
544
|
+
dealer_completed_at: Date | null;
|
|
545
|
+
/** 고객에게 입금을 완료한 날짜 */
|
|
546
|
+
customer_completed_at: Date | null;
|
|
547
|
+
} | null;
|
|
509
548
|
}
|
|
510
549
|
export interface SellMyCarOrderRegistration {
|
|
511
550
|
/** 딜러가 등록한 등록증(이전 또는 말소) 처리 예정일 */
|
|
@@ -837,17 +876,18 @@ export interface SellMyCarServiceAvailableRegion {
|
|
|
837
876
|
*/
|
|
838
877
|
sigungu?: string[];
|
|
839
878
|
}
|
|
840
|
-
|
|
879
|
+
/** 진단사 혹은 탁송 정보 변경 요청 데이터 */
|
|
880
|
+
export interface SellMyCarOrder_Inspect_Transport_ChangeRequest {
|
|
881
|
+
/** 관리자 처리 결과 */
|
|
882
|
+
status: "pending" | "approved" | "rejected";
|
|
841
883
|
/** 탁송 정보 변경 요청 데이터 */
|
|
842
884
|
data: SellMyCarOrderVisitFormInfo;
|
|
843
|
-
/**
|
|
844
|
-
|
|
885
|
+
/** 처리 사유 */
|
|
886
|
+
reason: string | null;
|
|
845
887
|
/** 요청 날짜 */
|
|
846
888
|
requested_at: Date;
|
|
847
889
|
/** 처리 날짜
|
|
848
890
|
* @note 관리자가 처리한 날짜 (approved, rejected 시 값이 존재합니다)
|
|
849
891
|
*/
|
|
850
892
|
processed_at: Date | null;
|
|
851
|
-
/** 처리 사유 */
|
|
852
|
-
reason: string | null;
|
|
853
893
|
}
|
|
@@ -8,6 +8,21 @@ export declare const SellMyCarRegistryLienType: {
|
|
|
8
8
|
readonly mortgage: "저당";
|
|
9
9
|
};
|
|
10
10
|
export type SellMyCarRegistryLienType = keyof typeof SellMyCarRegistryLienType;
|
|
11
|
+
export declare const SellMyCarOrderInspectionReviewSatisfaction: {
|
|
12
|
+
readonly satisfied: "만족";
|
|
13
|
+
readonly normal: "보통";
|
|
14
|
+
readonly unsatisfied: "불만족";
|
|
15
|
+
};
|
|
16
|
+
export type SellMyCarOrderInspectionReviewSatisfaction = keyof typeof SellMyCarOrderInspectionReviewSatisfaction;
|
|
17
|
+
export declare const SellMyCarOrderAgencyCashflowStatus: {
|
|
18
|
+
/** 딜러가 입금을 완료하지 않은 상태 */
|
|
19
|
+
readonly pending: "입금대기";
|
|
20
|
+
/** 딜러가 입금을 완료한 상태 */
|
|
21
|
+
readonly dealer_completed: "입금완료";
|
|
22
|
+
/** 고객에게 입금을 완료한 상태 */
|
|
23
|
+
readonly customer_completed: "고객전달완료";
|
|
24
|
+
};
|
|
25
|
+
export type SellMyCarOrderAgencyCashflowStatus = keyof typeof SellMyCarOrderAgencyCashflowStatus;
|
|
11
26
|
/** 내차팔기 - 딜러가 입찰 후 어떻게 차량을 판매할지 분류하는 타입 - 국내/해외/폐차 */
|
|
12
27
|
export declare const SellMyCarType: {
|
|
13
28
|
readonly domestic: "국내";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SellMyCarOrderStatus_Admin = exports.SellMyCarOrderKey = exports.SellMyCarFilterCategory = exports.SellMyCarOrderBidCancelType = exports.SellMyCarOrderCancelType = exports.SellMyCarOrderBidSubject = exports.SellMyCarOrderRegistrationType = exports.SellMyCarOrderPurchaseMethod = exports.SellMyCarOrderType = exports.SellMyCarOrderBidStatus = exports.SellMyCarOrderStatus = exports.SellMyCarOrderMethod = exports.SellMyCarOrderBidType = exports.CurrentDealerPenaltyReason = exports.CurrentDealerPenaltyType = exports.SellMyCarType = exports.SellMyCarRegistryLienType = exports.SellMyCarCommissionStatus = void 0;
|
|
3
|
+
exports.SellMyCarOrderStatus_Admin = exports.SellMyCarOrderKey = exports.SellMyCarFilterCategory = exports.SellMyCarOrderBidCancelType = exports.SellMyCarOrderCancelType = exports.SellMyCarOrderBidSubject = exports.SellMyCarOrderRegistrationType = exports.SellMyCarOrderPurchaseMethod = exports.SellMyCarOrderType = exports.SellMyCarOrderBidStatus = exports.SellMyCarOrderStatus = exports.SellMyCarOrderMethod = exports.SellMyCarOrderBidType = exports.CurrentDealerPenaltyReason = exports.CurrentDealerPenaltyType = exports.SellMyCarType = exports.SellMyCarOrderAgencyCashflowStatus = exports.SellMyCarOrderInspectionReviewSatisfaction = exports.SellMyCarRegistryLienType = exports.SellMyCarCommissionStatus = void 0;
|
|
4
4
|
exports.SellMyCarCommissionStatus = {
|
|
5
5
|
pending: "입금 대기",
|
|
6
6
|
completed: "입금 완료",
|
|
@@ -9,6 +9,19 @@ exports.SellMyCarRegistryLienType = {
|
|
|
9
9
|
lien: "압류",
|
|
10
10
|
mortgage: "저당",
|
|
11
11
|
};
|
|
12
|
+
exports.SellMyCarOrderInspectionReviewSatisfaction = {
|
|
13
|
+
satisfied: "만족",
|
|
14
|
+
normal: "보통",
|
|
15
|
+
unsatisfied: "불만족",
|
|
16
|
+
};
|
|
17
|
+
exports.SellMyCarOrderAgencyCashflowStatus = {
|
|
18
|
+
/** 딜러가 입금을 완료하지 않은 상태 */
|
|
19
|
+
pending: "입금대기",
|
|
20
|
+
/** 딜러가 입금을 완료한 상태 */
|
|
21
|
+
dealer_completed: "입금완료",
|
|
22
|
+
/** 고객에게 입금을 완료한 상태 */
|
|
23
|
+
customer_completed: "고객전달완료",
|
|
24
|
+
};
|
|
12
25
|
/** 내차팔기 - 딜러가 입찰 후 어떻게 차량을 판매할지 분류하는 타입 - 국내/해외/폐차 */
|
|
13
26
|
exports.SellMyCarType = {
|
|
14
27
|
domestic: "국내",
|