@carsayo/types 1.1.89158 → 1.1.89159
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.
|
@@ -142,9 +142,9 @@ export interface CustomerInfo {
|
|
|
142
142
|
/** 등록 차량 정보 */
|
|
143
143
|
registerCar: {
|
|
144
144
|
/** 대표 차량 */
|
|
145
|
-
representative:
|
|
145
|
+
representative: CustomerCarInfo | null;
|
|
146
146
|
/** 등록 차량 리스트 (대표 차량 포함) */
|
|
147
|
-
list:
|
|
147
|
+
list: CustomerCarInfo[];
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
export interface DealerInfo {
|
|
@@ -619,8 +619,42 @@ export interface MemberMemo {
|
|
|
619
619
|
created_at: Date;
|
|
620
620
|
updated_at: Date | null;
|
|
621
621
|
}
|
|
622
|
-
/** 일반회원 등록 차량 정보
|
|
622
|
+
/** 일반회원 등록 차량 정보
|
|
623
|
+
* @deprecated 쿠콘 차량 정보 사용 권장
|
|
624
|
+
*/
|
|
623
625
|
export interface RegisterCar {
|
|
626
|
+
/** UUID */
|
|
627
|
+
id: string;
|
|
628
|
+
/** 소유자 아이디 */
|
|
629
|
+
memberId: string;
|
|
630
|
+
/**
|
|
631
|
+
* @description 자동차 등록번호
|
|
632
|
+
* @example 03가0000
|
|
633
|
+
*/
|
|
634
|
+
carName: string;
|
|
635
|
+
/** 제조사명(회원 임의입력) */
|
|
636
|
+
carMaker: string | null;
|
|
637
|
+
/** 차량 모델명(회원 임의입력) */
|
|
638
|
+
carModel: string | null;
|
|
639
|
+
/** 가입 보험사 */
|
|
640
|
+
insuranceCompany: InsuranceCompany | null;
|
|
641
|
+
/** 보험 가입일
|
|
642
|
+
* @notice ISOString
|
|
643
|
+
*/
|
|
644
|
+
insurance_start_date: Date | null;
|
|
645
|
+
/** 보험 가입일
|
|
646
|
+
* @notice ISOString
|
|
647
|
+
*/
|
|
648
|
+
insurance_expiration_date: Date | null;
|
|
649
|
+
/** 대표차량 여부
|
|
650
|
+
* @notice 한 회원당 하나만 가능합니다.
|
|
651
|
+
*/
|
|
652
|
+
isRepresentative: boolean;
|
|
653
|
+
created_at: Date;
|
|
654
|
+
updated_at: Date;
|
|
655
|
+
}
|
|
656
|
+
/** 일반회원 등록 차량 정보 with 쿠콘 차량 정보 사용 */
|
|
657
|
+
export interface CustomerCarInfo {
|
|
624
658
|
/** UUID */
|
|
625
659
|
id: string;
|
|
626
660
|
/**
|