@carsayo/types 1.1.892048 → 1.1.892051

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,8 @@
1
+ import { SidoId, SigunguId } from "../../../data";
1
2
  import { ReqSellMyCarId } from "./dto";
2
3
  import { SellMyCarOrderInspection } from "./interface";
3
4
  import { DealerGrade } from "./interface-member";
4
- import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus } from "./type";
5
+ import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus, SellMyCarOrderPurchaseMethod } from "./type";
5
6
  /** 관리자 > 진단사 배정 요청 DTO */
6
7
  export interface ReqSetMyCarInspector extends ReqSellMyCarId {
7
8
  /** 진단사 이름 */
@@ -185,6 +186,14 @@ export interface ReqUpdateSellMyCarDealerFile {
185
186
  /** 무역업 고유번호 파일 Id */
186
187
  sell_car_trade_business_reg_file_id: string | null;
187
188
  }
189
+ export interface ReqSellMyCarUpdateOrderInfo {
190
+ /** 주문 ID (sell_car_order.id) */
191
+ sell_car_order_id: string;
192
+ /** 년식 */
193
+ year?: number;
194
+ /** 주행거리 */
195
+ distance?: number;
196
+ }
188
197
  /** 관리자 > 카사요 코멘트 업데이트 */
189
198
  export interface ReqSellMyCarToggleAdminChecked {
190
199
  /** 주문 ID (sell_car_order.id) */
@@ -209,3 +218,32 @@ export interface ReqAdminCancelInspection {
209
218
  /** 취소 사유 내용 */
210
219
  content: string;
211
220
  }
221
+ /** 관리자 > 문진표 작성 내용 업데이트 */
222
+ export interface ReqAdminUpdateInspectionQuestionnaire extends ReqSellMyCarId {
223
+ questionnaire_setted_at: Date;
224
+ /** 문진표 작성 내용
225
+ * @note Stringfied JSON
226
+ */
227
+ questionnaire: string;
228
+ }
229
+ /** 관리자 > 고객 입력 항목 업데이트 */
230
+ export interface ReqAdminUpdateDirectCustomerCarInfo extends ReqSellMyCarId {
231
+ distance?: number;
232
+ /** 옵션 내용
233
+ * @note Stringfied JSON
234
+ */
235
+ option?: string;
236
+ /** 사고이력 작성 내용
237
+ * @note Stringfied JSON
238
+ */
239
+ accident?: string;
240
+ /** 차량 상태 작성 내용
241
+ * @note Stringfied JSON
242
+ */
243
+ state?: string;
244
+ purchaseMethod?: SellMyCarOrderPurchaseMethod;
245
+ saleRegionId?: {
246
+ siId: SidoId;
247
+ sigunguId: SigunguId;
248
+ };
249
+ }
@@ -390,6 +390,8 @@ export interface SellMyCarOrderInspection {
390
390
  * @note 문진표는 진단사 방문 당일 고객이 작성하는 내용입니다.
391
391
  */
392
392
  questionnaire: string | null;
393
+ /** 문진표 등록 날짜 */
394
+ questionnaire_setted_at: Date | null;
393
395
  /** 진단사 리뷰 (고객 작성)
394
396
  * @note 진단사 방문 이후 고객이 작성하는 내용입니다.
395
397
  */
@@ -144,6 +144,10 @@ export declare const SellMyCarOrderCancelType: {
144
144
  readonly inspect_inspector_canceled: "inspect_inspector_canceled";
145
145
  /** [Agency] 고객이 탁송정보를 마감일까지 등록하지 않은 경우 */
146
146
  readonly transport_customer_expired: "transport_customer_expired";
147
+ /** [Agency] 고객이 탁송 배정 이후 노쇼로 인한 취소 */
148
+ readonly transport_customer_noshow: "transport_customer_noshow";
149
+ /** [Agency] 탁송 배정 이후 딜러 사유로 인한 취소 */
150
+ readonly transport_dealer_reason: "transport_dealer_reason";
147
151
  };
148
152
  export type SellMyCarOrderCancelType = keyof typeof SellMyCarOrderCancelType;
149
153
  export declare const SellMyCarOrderBidCancelType: {
@@ -132,6 +132,10 @@ exports.SellMyCarOrderCancelType = {
132
132
  inspect_inspector_canceled: "inspect_inspector_canceled",
133
133
  /** [Agency] 고객이 탁송정보를 마감일까지 등록하지 않은 경우 */
134
134
  transport_customer_expired: "transport_customer_expired",
135
+ /** [Agency] 고객이 탁송 배정 이후 노쇼로 인한 취소 */
136
+ transport_customer_noshow: "transport_customer_noshow",
137
+ /** [Agency] 탁송 배정 이후 딜러 사유로 인한 취소 */
138
+ transport_dealer_reason: "transport_dealer_reason",
135
139
  };
136
140
  exports.SellMyCarOrderBidCancelType = {
137
141
  /** 고객이 확인하기 전, 발송한 견적을 취소하는 경우 (이 경우 딜러에게 벌점이 부여됩니다) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.892048",
3
+ "version": "1.1.892051",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",