@carsayo/types 1.1.77091 → 1.1.77095
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.
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import { MemberGender } from "../member";
|
|
2
|
-
export
|
|
2
|
+
export interface AccidentRegistrationOptionDTO {
|
|
3
3
|
/** 견인 필요 여부 */
|
|
4
4
|
needTraction: boolean;
|
|
5
5
|
}
|
|
6
|
+
/** 기존 등록된 차량이 없을 경우 차량 등록을 위한 데이터 */
|
|
7
|
+
export interface AccidentRegistration_CreateRegisterCarDTO {
|
|
8
|
+
/**
|
|
9
|
+
* 자동차 등록번호
|
|
10
|
+
* @example 03가0000
|
|
11
|
+
*/
|
|
12
|
+
carName: string;
|
|
13
|
+
/** 보험사 아이디값
|
|
14
|
+
* @notice InsuranceCompany의 Id
|
|
15
|
+
*/
|
|
16
|
+
insurance_company_id: number;
|
|
17
|
+
}
|
|
6
18
|
/** 일반회원 - 사고접수 등록 */
|
|
7
|
-
export
|
|
19
|
+
export interface AccidentRegistrationCreateDTO {
|
|
8
20
|
/** 접수자 본명 */
|
|
9
21
|
name_real: string;
|
|
10
22
|
/** 접수자 전화번호 */
|
|
@@ -23,5 +35,15 @@ export declare class AccidentRegistrationCreateDTO {
|
|
|
23
35
|
* @notice InsuranceCompany의 Id
|
|
24
36
|
*/
|
|
25
37
|
insurance_company_id: number;
|
|
38
|
+
/** 차량 정보 아이디
|
|
39
|
+
* @description 기존 등록된 회원 차량이 있을 경우
|
|
40
|
+
* @notice registerCarId 혹은 createRegisterCar는 둘중 하나가 정의되어야 합니다.
|
|
41
|
+
*/
|
|
42
|
+
registerCarId?: string;
|
|
43
|
+
/** 신규 차량 등록 시
|
|
44
|
+
* @description 사고 접수 시 기존에 등록된 회원 차량이 없을 경우 회원 차량을 생성 후 사고접수처리합니다.
|
|
45
|
+
* @notice registerCarId 혹은 createRegisterCar는 둘중 하나가 정의되어야 합니다.
|
|
46
|
+
*/
|
|
47
|
+
createRegisterCar?: AccidentRegistration_CreateRegisterCarDTO;
|
|
26
48
|
option: AccidentRegistrationOptionDTO;
|
|
27
49
|
}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccidentRegistrationCreateDTO = exports.AccidentRegistrationOptionDTO = void 0;
|
|
4
|
-
class AccidentRegistrationOptionDTO {
|
|
5
|
-
}
|
|
6
|
-
exports.AccidentRegistrationOptionDTO = AccidentRegistrationOptionDTO;
|
|
7
|
-
/** 일반회원 - 사고접수 등록 */
|
|
8
|
-
class AccidentRegistrationCreateDTO {
|
|
9
|
-
}
|
|
10
|
-
exports.AccidentRegistrationCreateDTO = AccidentRegistrationCreateDTO;
|
|
@@ -598,6 +598,17 @@ export interface RegisterCar {
|
|
|
598
598
|
* @notice 한 회원당 하나만 가능합니다.
|
|
599
599
|
*/
|
|
600
600
|
isRepresentative: boolean;
|
|
601
|
+
count: {
|
|
602
|
+
/** 해당 차량 사고 접수 횟수 */
|
|
603
|
+
accidentRegistration: number;
|
|
604
|
+
};
|
|
601
605
|
created_at: Date;
|
|
602
606
|
updated_at: Date;
|
|
603
607
|
}
|
|
608
|
+
export interface Admin_SendMessageParam {
|
|
609
|
+
id: string;
|
|
610
|
+
name_real: string | null;
|
|
611
|
+
phoneNumber: string | null;
|
|
612
|
+
isFcmToken: boolean;
|
|
613
|
+
type: MemberType;
|
|
614
|
+
}
|