@carsayo/types 1.1.892038 → 1.1.892040

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,4 +1,5 @@
1
1
  import { ReqSellMyCarId } from "./dto";
2
+ import { SellMyCarOrderInspection } from "./interface";
2
3
  import { DealerGrade } from "./interface-member";
3
4
  import { SellMyCarCommissionExpenseProofStatus, SellMyCarOrderAgencyCashflowStatus } from "./type";
4
5
  /** 관리자 > 진단사 배정 요청 DTO */
@@ -189,3 +190,22 @@ export interface ReqSellMyCarToggleAdminChecked {
189
190
  /** 주문 ID (sell_car_order.id) */
190
191
  sell_car_order_id: string;
191
192
  }
193
+ export interface ReqAdminSumbitInspection {
194
+ /** 관리자 API에서 진단 완료 시 사용하는 주문 ID */
195
+ order_id: string;
196
+ /** 진단 완료 시 첨부 url 정보 */
197
+ urls: Exclude<SellMyCarOrderInspection["urls"], null>;
198
+ /** 진단 완료 시 작성 의견 */
199
+ inspectorComment: string;
200
+ }
201
+ /** 취소 관련 내용
202
+ * @note 입력한 내용은 SellMyCarOrder.inspection.cancelInfo에서 확인 가능
203
+ */
204
+ export interface ReqAdminCancelInspection {
205
+ /** 관리자 API에서 진단 완료 시 사용하는 주문 ID */
206
+ order_id: string;
207
+ /** 취소 사유 제목 */
208
+ title: string;
209
+ /** 취소 사유 내용 */
210
+ content: string;
211
+ }
@@ -159,11 +159,13 @@ export declare const SellMyCarOrderKey: readonly ["auction_start_at", "totalBidC
159
159
  export type SellMyCarOrderKey = (typeof SellMyCarOrderKey)[number];
160
160
  /** 관리자 페이지에서만 사용하는 상태 정보 */
161
161
  export declare const SellMyCarOrderStatus_Admin: {
162
- readonly 판매검토_진단요청: "진단요청";
163
- readonly 판매검토_진단대기: "진단대기";
164
162
  readonly 판매검토_원부요청: "원부요청";
165
- readonly 판매검토_검토대기: "검토대기";
163
+ readonly 판매검토_검토중: "검토중";
166
164
  readonly 판매검토_검토완료: "검토완료";
165
+ readonly 판매검토_진단요청: "진단요청";
166
+ readonly 판매검토_배정완료: "배정완료";
167
+ readonly 판매검토_진단진행: "진단진행";
168
+ readonly 판매검토_진단취소: "진단취소";
167
169
  readonly 경매_경매중: "경매중";
168
170
  readonly 경매_경매종료: "경매종료";
169
171
  readonly 판매요청_선택중: "선택중";
@@ -158,11 +158,13 @@ exports.SellMyCarOrderKey = [
158
158
  ];
159
159
  /** 관리자 페이지에서만 사용하는 상태 정보 */
160
160
  exports.SellMyCarOrderStatus_Admin = {
161
- 판매검토_진단요청: "진단요청",
162
- 판매검토_진단대기: "진단대기",
163
161
  판매검토_원부요청: "원부요청",
164
- 판매검토_검토대기: "검토대기",
162
+ 판매검토_검토중: "검토중",
165
163
  판매검토_검토완료: "검토완료",
164
+ 판매검토_진단요청: "진단요청",
165
+ 판매검토_배정완료: "배정완료",
166
+ 판매검토_진단진행: "진단진행",
167
+ 판매검토_진단취소: "진단취소",
166
168
  경매_경매중: "경매중",
167
169
  경매_경매종료: "경매종료",
168
170
  판매요청_선택중: "선택중",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.892038",
3
+ "version": "1.1.892040",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",