@carsayo/types 1.1.891919 → 1.1.891921
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.
|
@@ -84,7 +84,7 @@ export interface SellMyCarRegistry {
|
|
|
84
84
|
/** 생성일 */
|
|
85
85
|
created_at: Date;
|
|
86
86
|
}
|
|
87
|
-
/** 압류/저당 정보 */
|
|
87
|
+
/** 원부정보 > 압류/저당 정보 */
|
|
88
88
|
export interface SellMyCarRegistryLien {
|
|
89
89
|
/** 고유 식별자 */
|
|
90
90
|
id: number;
|
|
@@ -162,10 +162,6 @@ export interface SellMyCarOrderBid {
|
|
|
162
162
|
* @case SellMyCarOrderBidCancelType
|
|
163
163
|
*/
|
|
164
164
|
cancelInfo: SellMyCarOrderCancelInfo<SellMyCarOrderBidCancelType> | null;
|
|
165
|
-
/** 종료 정보
|
|
166
|
-
* @note status: "finished" 일 때 존재하는 정보
|
|
167
|
-
*/
|
|
168
|
-
finishInfo: SellMyCarOrderFinishInfo | null;
|
|
169
165
|
/** 해당 입찰에 대하여 취할 수 있는 동작 */
|
|
170
166
|
avaliableAction: {
|
|
171
167
|
customer: SellMyCarOrderBidAvaliableAction_Customer;
|
|
@@ -345,34 +341,118 @@ export interface SellMyCarOrderInspection {
|
|
|
345
341
|
canceledAt: Date;
|
|
346
342
|
} | null;
|
|
347
343
|
}
|
|
344
|
+
/** 내차팔기 진행 과정
|
|
345
|
+
* @note 딜러 입찰 승인 이후 - 구매 완료까지의 프로세스입니다 */
|
|
346
|
+
export interface SellMyCarOrderPurchaseProcess {
|
|
347
|
+
direct: {
|
|
348
|
+
/** [Direct] 딜러 방문 정보
|
|
349
|
+
* @note 입찰받지 못한 딜러에게는 null
|
|
350
|
+
* @note 직접등록일 경우에만 사용됩니다.
|
|
351
|
+
* @note 딜러가 판매 요청 승인 후 방문 일정을 등록한 내용입니다.
|
|
352
|
+
*/
|
|
353
|
+
visit: SellMyCarOrderDirectVisit | null;
|
|
354
|
+
} | null;
|
|
355
|
+
agency: {
|
|
356
|
+
/** [Agency] 탁송 정보 (ㄴㄴㄴㄴㄴㄴㄴㄴㄴㄴ)
|
|
357
|
+
* @note 입찰받지 못한 딜러에게는 null
|
|
358
|
+
* @note 탁송일 경우에만 사용됩니다.
|
|
359
|
+
* @note 딜러가 판매 요청 승인 후 탁송 일정을 등록한 내용입니다.
|
|
360
|
+
*/
|
|
361
|
+
transport: SellMyCarOrderAgencyTransport | null;
|
|
362
|
+
};
|
|
363
|
+
/** 매수자 정보 (방문 일정 등록 후 딜러가 등록) */
|
|
364
|
+
buyer: SellMyCarOrderBuyer | null;
|
|
365
|
+
/** 압류/저당 해지 동의 (null일 경우 미동의)
|
|
366
|
+
* @note 압류/저당 해지 동의 정보는 고객이 등록한 정보입니다.
|
|
367
|
+
* @condition 원부정보 > 압류/저당 정보가 존재할 경우, 고객이 등록할 수 있습니다.
|
|
368
|
+
*/
|
|
369
|
+
lien_release_agreement: {
|
|
370
|
+
/** 압류 / 저당일 경우 고객이 올린 서명 파일 */
|
|
371
|
+
signature_file: FileInfo;
|
|
372
|
+
/** 압류/저당 해지 동의 날짜 */
|
|
373
|
+
agreed_at: Date;
|
|
374
|
+
} | null;
|
|
375
|
+
/**
|
|
376
|
+
* 해외수출용 고객 신분증 업로드 정보
|
|
377
|
+
* @note 고객이 입력하는 정보
|
|
378
|
+
* @condition 딜러가 해외수출용으로 구매할 경우 필수 조건입니다.
|
|
379
|
+
*/
|
|
380
|
+
export_identification: {
|
|
381
|
+
/**
|
|
382
|
+
* 고객 신분증 파일 정보
|
|
383
|
+
* @note 최대 5개 */
|
|
384
|
+
files: FileInfo[];
|
|
385
|
+
/** 업로드 날짜 */
|
|
386
|
+
uploaded_at: Date;
|
|
387
|
+
} | null;
|
|
388
|
+
}
|
|
389
|
+
/** 내차팔기 구매 정보 */
|
|
390
|
+
export interface SellMyCarOrderPurchaseInfo {
|
|
391
|
+
/** 실제 판매가
|
|
392
|
+
* @direct 직접등록에서 검차결과 후
|
|
393
|
+
* @agency 진단대행은 입찰가 그대로 등록
|
|
394
|
+
* */
|
|
395
|
+
price_real: number;
|
|
396
|
+
/** 감가상각 정보
|
|
397
|
+
* @direct 직접등록에서 검차결과 후 감가상각이 있을 경우 값 존재
|
|
398
|
+
* @agency 진단대행은 무조건 Null
|
|
399
|
+
*/
|
|
400
|
+
depreciation: {
|
|
401
|
+
/** 감가상각된 금액 */
|
|
402
|
+
price_depreciation: number;
|
|
403
|
+
/** 가격조정근거(검차결과)
|
|
404
|
+
* @note Stringified JSON
|
|
405
|
+
*/
|
|
406
|
+
price_adjustment: string | null;
|
|
407
|
+
} | null;
|
|
408
|
+
/** 딜러 구매 완료 시점 */
|
|
409
|
+
purchase_completed_at: Date;
|
|
410
|
+
}
|
|
411
|
+
/** 딜러 구매 완료 이후 프로세스 */
|
|
412
|
+
export interface SellMyCarOrderAfterPurchase {
|
|
413
|
+
/** 등록증 정보 */
|
|
414
|
+
registration: SellMyCarOrderRegistration;
|
|
415
|
+
/** 딜러가 구매 완료 이후 업로드하는 파일 정보 */
|
|
416
|
+
files: {
|
|
417
|
+
/** 계약서 이미지 파일 리스트 */
|
|
418
|
+
contract: string[] | null;
|
|
419
|
+
/** 성능검사서 이미지 파일 리스트 */
|
|
420
|
+
performanceCheck: string[] | null;
|
|
421
|
+
};
|
|
422
|
+
/** 관리자가 종결처리 했는지 여부 */
|
|
423
|
+
admin_finished_at: Date | null;
|
|
424
|
+
}
|
|
348
425
|
/** 딜러 방문 정보 */
|
|
349
426
|
export interface SellMyCarOrderDirectVisit {
|
|
350
|
-
/**
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
427
|
+
/** 딜러가 등록하는 방문 일정 정보 */
|
|
428
|
+
request: {
|
|
429
|
+
/** 방문 일자 (Date 형식, 예상 방문 시점)
|
|
430
|
+
* @note visitedDay와 visitedTime를 가지고 계산한 값과 같습니다.
|
|
431
|
+
*/
|
|
432
|
+
visitedAt: Date;
|
|
433
|
+
/** 방문 일자 (m월 d일 ddd 형식, 예상 방문 일자)
|
|
434
|
+
* @example '7월 1일 금요일'
|
|
435
|
+
*/
|
|
436
|
+
visitedDay: string;
|
|
437
|
+
/** 방문 시간(분)
|
|
438
|
+
* @example 600: 10:00 (10시)
|
|
439
|
+
*/
|
|
440
|
+
visitedTime: number;
|
|
441
|
+
/** 방문 신주소 */
|
|
442
|
+
visitedNewAddress: string;
|
|
443
|
+
/** 방문 구주소 */
|
|
444
|
+
visitedOldAddress: string;
|
|
445
|
+
/** 방문 상세 주소 */
|
|
446
|
+
visitedDetailAddress: string;
|
|
447
|
+
/** 딜러가 방문 일정을 등록한 날짜 */
|
|
448
|
+
visited_setted_at: Date;
|
|
449
|
+
};
|
|
370
450
|
/** 방문 완료 날짜
|
|
371
451
|
* @note DB상에서는 종료 날짜와 같습니다. (finished_at)
|
|
372
452
|
*/
|
|
373
453
|
visitedCompletedAt: Date | null;
|
|
374
454
|
}
|
|
375
|
-
/** 탁송
|
|
455
|
+
/** 탁송 정보
|
|
376
456
|
* @note 프로세스가 정립되지 않습니다
|
|
377
457
|
*/
|
|
378
458
|
export interface SellMyCarOrderAgencyTransport {
|
|
@@ -392,12 +472,17 @@ export interface SellMyCarOrderAgencyTransport {
|
|
|
392
472
|
deliveryCompletedAt: Date | null;
|
|
393
473
|
}
|
|
394
474
|
export interface SellMyCarOrderRegistration {
|
|
395
|
-
/** 딜러가 등록한 등록증 처리 예정일 */
|
|
396
|
-
|
|
397
|
-
/** 등록증
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
475
|
+
/** 딜러가 등록한 등록증(이전 또는 말소) 처리 예정일 */
|
|
476
|
+
expected_at: Date;
|
|
477
|
+
/** 등록증 정보
|
|
478
|
+
* @note 딜러가 등록증을 업로드 한 이후 값이 등록됩니다.
|
|
479
|
+
*/
|
|
480
|
+
registration: {
|
|
481
|
+
/** 등록증 타입 */
|
|
482
|
+
type: SellMyCarOrderRegistrationType;
|
|
483
|
+
/** 이전등록증 이미지 파일 리스트 */
|
|
484
|
+
files: string[];
|
|
485
|
+
} | null;
|
|
401
486
|
}
|
|
402
487
|
/** 매수자(딜러) 정보 */
|
|
403
488
|
export interface SellMyCarOrderBuyer {
|
|
@@ -420,23 +505,6 @@ export interface SellMyCarOrderBuyer {
|
|
|
420
505
|
/** 매수자 상세주소 */
|
|
421
506
|
detailAddress: string;
|
|
422
507
|
}
|
|
423
|
-
/** @note FileInfo or string[] (url list) */
|
|
424
|
-
export interface SellMyCarOrderFiles {
|
|
425
|
-
/** 고객 신분증 파일 정보
|
|
426
|
-
* @note 수출일 때에만 받습니다.
|
|
427
|
-
*/
|
|
428
|
-
identification: {
|
|
429
|
-
/** 최대 5개 */
|
|
430
|
-
files: FileInfo[];
|
|
431
|
-
uploaded_at: Date;
|
|
432
|
-
} | null;
|
|
433
|
-
/** 압류 / 저당일 경우 고객이 올린 서명 파일 */
|
|
434
|
-
customerSignature: FileInfo | null;
|
|
435
|
-
/** 계약서 이미지 파일 리스트 */
|
|
436
|
-
contract: string[] | null;
|
|
437
|
-
/** 성능검사서 이미지 파일 리스트 */
|
|
438
|
-
performanceCheck: string[] | null;
|
|
439
|
-
}
|
|
440
508
|
/** 고객이 작성한 판매 요청 정보
|
|
441
509
|
* @note 딜러 선택 시 입력한 내용입니다.
|
|
442
510
|
*/
|
|
@@ -498,21 +566,6 @@ export interface SellMyCarOrderCustomer {
|
|
|
498
566
|
/** 고객 전화번호 */
|
|
499
567
|
phoneNumber: string;
|
|
500
568
|
}
|
|
501
|
-
/** @note status: "finished" 일 때 존재하는 정보 */
|
|
502
|
-
export interface SellMyCarOrderFinishInfo {
|
|
503
|
-
direct: {
|
|
504
|
-
/** 가격조정근거(검차결과)
|
|
505
|
-
* @note sell-car-direct.price_adjustment에서 조회
|
|
506
|
-
* @note Stringified JSON
|
|
507
|
-
*/
|
|
508
|
-
priceAdjustment: string | null;
|
|
509
|
-
} | null;
|
|
510
|
-
agency: {} | null;
|
|
511
|
-
/** 관리자가 종결처리 했는지 여부 */
|
|
512
|
-
admin_finished_at: Date | null;
|
|
513
|
-
/** 딜러가 판매(딜러입장에서 구매)를 완료한 날짜 */
|
|
514
|
-
finishedAt: Date;
|
|
515
|
-
}
|
|
516
569
|
export interface SellMyCarOrderBookmark {
|
|
517
570
|
/** 북마크 여부 */
|
|
518
571
|
is_bookmarked: boolean;
|
|
@@ -580,30 +633,19 @@ export interface SellMyCarOrder {
|
|
|
580
633
|
* @note 입찰받지 못한 딜러에게는 null
|
|
581
634
|
*/
|
|
582
635
|
sell_request: SellMyCarOrderCustomerSellRequest | null;
|
|
583
|
-
/**
|
|
636
|
+
/** 내차팔기 진행 과정
|
|
584
637
|
* @note 입찰받지 못한 딜러에게는 null
|
|
585
|
-
* @note 직접등록일 경우에만 사용됩니다.
|
|
586
|
-
* @note 딜러가 판매 요청 승인 후 방문 일정을 등록한 내용입니다.
|
|
587
638
|
*/
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* @note 입찰받지 못한 딜러에게는 null
|
|
591
|
-
* @note 탁송일 경우에만 사용됩니다.
|
|
592
|
-
* @note 딜러가 판매 요청 승인 후 탁송 일정을 등록한 내용입니다.
|
|
593
|
-
*/
|
|
594
|
-
agency_transport: SellMyCarOrderAgencyTransport | null;
|
|
595
|
-
/** 매수자 정보
|
|
596
|
-
* @note 입찰받지 못한 딜러에게는 null
|
|
597
|
-
*/
|
|
598
|
-
buyer: SellMyCarOrderBuyer | null;
|
|
599
|
-
/** 등록증 정보
|
|
639
|
+
purchase_process: SellMyCarOrderPurchaseProcess | null;
|
|
640
|
+
/** 내차팔기 구매 정보 (딜러 구매 완료시 등록되는 정보)
|
|
600
641
|
* @note 입찰받지 못한 딜러에게는 null
|
|
601
642
|
*/
|
|
602
|
-
|
|
603
|
-
/**
|
|
643
|
+
purchase_info: SellMyCarOrderPurchaseInfo | null;
|
|
644
|
+
/** 딜러 구매 완료 이후 프로세스
|
|
604
645
|
* @note 입찰받지 못한 딜러에게는 null
|
|
646
|
+
* @note 딜러가 구매 완료 이후 프로세스입니다.
|
|
605
647
|
*/
|
|
606
|
-
|
|
648
|
+
after_purchase: SellMyCarOrderAfterPurchase | null;
|
|
607
649
|
/** 리뷰 정보 */
|
|
608
650
|
review: SellMyCarOrderReview | null;
|
|
609
651
|
/** 태그 정보
|