@carsayo/types 1.1.891963 → 1.1.891965
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.
|
@@ -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
|
*/
|
|
@@ -485,6 +500,8 @@ export interface SellMyCarOrderAgencyTransport {
|
|
|
485
500
|
* @note 고객이 탁송 정보를 등록한 이후 값이 존재합니다
|
|
486
501
|
*/
|
|
487
502
|
customerTransportInfo: SellMyCarOrderVisitFormInfo;
|
|
503
|
+
/** 고객이 탁송 정보 변경 신청한 내용 */
|
|
504
|
+
customerChangeRequest: SellMyCarOrder_Inspect_Transport_ChangeRequest | null;
|
|
488
505
|
/** 딜러가 입력한 탁송 정보 (딜러가 탁송기사를 통해 차량을 배송받을 위치) */
|
|
489
506
|
dealerTransportInfo: {
|
|
490
507
|
/** 틱송 신주소 */
|
|
@@ -503,7 +520,31 @@ export interface SellMyCarOrderAgencyTransport {
|
|
|
503
520
|
*/
|
|
504
521
|
transportRider: SellMyCarOrderTransportRider | null;
|
|
505
522
|
/** 탁송 과정에서 오가는 현금흐름 */
|
|
506
|
-
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;
|
|
507
548
|
}
|
|
508
549
|
export interface SellMyCarOrderRegistration {
|
|
509
550
|
/** 딜러가 등록한 등록증(이전 또는 말소) 처리 예정일 */
|
|
@@ -835,3 +876,18 @@ export interface SellMyCarServiceAvailableRegion {
|
|
|
835
876
|
*/
|
|
836
877
|
sigungu?: string[];
|
|
837
878
|
}
|
|
879
|
+
/** 진단사 혹은 탁송 정보 변경 요청 데이터 */
|
|
880
|
+
export interface SellMyCarOrder_Inspect_Transport_ChangeRequest {
|
|
881
|
+
/** 관리자 처리 결과 */
|
|
882
|
+
status: "pending" | "approved" | "rejected";
|
|
883
|
+
/** 탁송 정보 변경 요청 데이터 */
|
|
884
|
+
data: SellMyCarOrderVisitFormInfo;
|
|
885
|
+
/** 처리 사유 */
|
|
886
|
+
reason: string | null;
|
|
887
|
+
/** 요청 날짜 */
|
|
888
|
+
requested_at: Date;
|
|
889
|
+
/** 처리 날짜
|
|
890
|
+
* @note 관리자가 처리한 날짜 (approved, rejected 시 값이 존재합니다)
|
|
891
|
+
*/
|
|
892
|
+
processed_at: Date | null;
|
|
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: "국내",
|