@carsayo/types 1.1.891745 → 1.1.891747

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.
@@ -4,6 +4,10 @@ import { CustomerCarInfo, MemberShort } from "../member";
4
4
  import { CarPartitionKey, RepairBidState, RepairState, RequestRepairType, TireSize } from "./type";
5
5
  /** 고객이 수리 요청시 생성 */
6
6
  export interface Repair {
7
+ /** 견적 번호
8
+ * YYYYMMDD_(T)0001
9
+ * (T)는 A: 사고 수리, E: 외장 수리, O: 엔진오일 교체, T: 타이어 교체
10
+ */
7
11
  id: string;
8
12
  state: RepairState;
9
13
  /** 견적 요청 내용 */
@@ -40,6 +44,12 @@ export interface Repair {
40
44
  export interface Repair_bid {
41
45
  id: string;
42
46
  state: RepairBidState;
47
+ /** 예약 번호
48
+ * @note 고객이 예약 완료할 때 저장되는 유니크 키값
49
+ * YYYYMMDD_(T)0001
50
+ * (T)는 A: 사고 수리, E: 외장 수리, O: 엔진오일 교체, T: 타이어 교체
51
+ */
52
+ reservationNumber: string | null;
43
53
  /** 견적 발송 내용 */
44
54
  estimate: RepairEstimate;
45
55
  /** 정비 진행 내용 */
@@ -55,14 +65,14 @@ export interface Repair_bid {
55
65
  reservation: RepairReservation | null;
56
66
  /** 견적과 연결된 채팅방 Id */
57
67
  chatRoomId: string | null;
58
- /** 고객이 읽은 시간
59
- * @note 이 값이 non-null이면 공업사가 견적서를 삭제할 수 없습니다.
60
- */
61
- estimate_read_at: Date | null;
62
68
  /** 견적 취소 사유
63
69
  * @note 견적 취소 시 저장
64
70
  */
65
71
  cancelReason: string | null;
72
+ /** 고객이 읽은 시간
73
+ * @note 이 값이 non-null이면 공업사가 견적서를 삭제할 수 없습니다.
74
+ */
75
+ estimate_read_at: Date | null;
66
76
  /** 견적 제출 일시 */
67
77
  submitted_at: Date;
68
78
  /** 견적 수락 일시 */
@@ -437,6 +447,8 @@ export interface RepairReview {
437
447
  content: string;
438
448
  /** 리뷰 내 첨부 이미지 url */
439
449
  images: string[];
450
+ /** 리뷰 작성 일시 */
451
+ created_at: Date;
440
452
  }
441
453
  /** 수리 주소 정보 */
442
454
  export interface RepairAddress {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891745",
3
+ "version": "1.1.891747",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",