@carsayo/types 1.1.891721 → 1.1.891722
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,7 +1,7 @@
|
|
|
1
1
|
import { FileInfo } from "../file";
|
|
2
2
|
import { InsuranceCompany } from "../insurance";
|
|
3
3
|
import { MemberGender } from "../member";
|
|
4
|
-
import { AccidentReportCommissionState, AccidentReportState, RepairShopWorkingStatus } from "./type";
|
|
4
|
+
import { AccidentReportCommissionState, AccidentReportState, RepairShopStatus, RepairShopWorkingStatus } from "./type";
|
|
5
5
|
/** 공업사 운영 시간
|
|
6
6
|
* @note 휴무일 경우 null
|
|
7
7
|
* @note 시간은 HHdd형태 (1200, 1230, ...)
|
|
@@ -236,7 +236,7 @@ export type Admin_AccidentReport = Omit<AccidentReport, "repairShop"> & {
|
|
|
236
236
|
/** 관리자가 조회하는 정비소 정보 */
|
|
237
237
|
export type Admin_RepairShop = RepairShop & {
|
|
238
238
|
/** 승인 상태 */
|
|
239
|
-
status:
|
|
239
|
+
status: RepairShopStatus;
|
|
240
240
|
/** 사업자등록번호 */
|
|
241
241
|
business_registration_number: string;
|
|
242
242
|
/** 이메일 주소(세금계산서 발행용) */
|
|
@@ -23,3 +23,12 @@ export declare const AccidentReportCommissionState: {
|
|
|
23
23
|
canceled: string;
|
|
24
24
|
};
|
|
25
25
|
export type AccidentReportCommissionState = keyof typeof AccidentReportCommissionState;
|
|
26
|
+
export declare const RepairShopStatus: {
|
|
27
|
+
/** 입점 신청 */
|
|
28
|
+
submitted: string;
|
|
29
|
+
/** 입점 승인 */
|
|
30
|
+
accepted: string;
|
|
31
|
+
/** 입점 거절 */
|
|
32
|
+
rejected: string;
|
|
33
|
+
};
|
|
34
|
+
export type RepairShopStatus = keyof typeof RepairShopStatus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccidentReportCommissionState = exports.AccidentReportState = exports.RepairShopWorkingStatus = void 0;
|
|
3
|
+
exports.RepairShopStatus = exports.AccidentReportCommissionState = exports.AccidentReportState = exports.RepairShopWorkingStatus = void 0;
|
|
4
4
|
exports.RepairShopWorkingStatus = {
|
|
5
5
|
open: "open",
|
|
6
6
|
closed: "closed",
|
|
@@ -23,3 +23,11 @@ exports.AccidentReportCommissionState = {
|
|
|
23
23
|
/** 정산 취소 */
|
|
24
24
|
canceled: "정산 취소",
|
|
25
25
|
};
|
|
26
|
+
exports.RepairShopStatus = {
|
|
27
|
+
/** 입점 신청 */
|
|
28
|
+
submitted: "입점 신청",
|
|
29
|
+
/** 입점 승인 */
|
|
30
|
+
accepted: "입점 승인",
|
|
31
|
+
/** 입점 거절 */
|
|
32
|
+
rejected: "입점 거절",
|
|
33
|
+
};
|