@carsayo/types 1.1.891994 → 1.1.891996

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.
@@ -28,7 +28,13 @@ export interface SellMyCar_Admin_UpdateFaqIsImportant {
28
28
  /** 중요여부 */
29
29
  isImportant: boolean;
30
30
  }
31
- export type SellMyCarFaqTarget = "dealer" | "customer";
31
+ /** FAQ 대상 */
32
+ export declare const SellMyCarFaqTarget: {
33
+ dealer: string;
34
+ customer: string;
35
+ };
36
+ export type SellMyCarFaqTarget = keyof typeof SellMyCarFaqTarget;
37
+ /** FAQ 타입 - 딜러 */
32
38
  export declare const SellMyCarFaqType_Dealer: {
33
39
  transaction: string;
34
40
  settlement: string;
@@ -37,6 +43,7 @@ export declare const SellMyCarFaqType_Dealer: {
37
43
  etc: string;
38
44
  };
39
45
  export type SellMyCarFaqType_Dealer = keyof typeof SellMyCarFaqType_Dealer;
46
+ /** FAQ 타입 - 고객 */
40
47
  export declare const SellMyCarFaqType_Customer: {
41
48
  direct: string;
42
49
  agency: string;
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SellMyCarFaqType_Customer = exports.SellMyCarFaqType_Dealer = void 0;
3
+ exports.SellMyCarFaqType_Customer = exports.SellMyCarFaqType_Dealer = exports.SellMyCarFaqTarget = void 0;
4
+ /** FAQ 대상 */
5
+ exports.SellMyCarFaqTarget = {
6
+ dealer: "딜러",
7
+ customer: "고객",
8
+ };
9
+ /** FAQ 타입 - 딜러 */
4
10
  exports.SellMyCarFaqType_Dealer = {
5
11
  transaction: "거래/입찰",
6
12
  settlement: "정산/수수료",
@@ -8,6 +14,7 @@ exports.SellMyCarFaqType_Dealer = {
8
14
  visit: "방문/응대",
9
15
  etc: "기타",
10
16
  };
17
+ /** FAQ 타입 - 고객 */
11
18
  exports.SellMyCarFaqType_Customer = {
12
19
  direct: "직접등록",
13
20
  agency: "카사요 퍼펙트",
@@ -2,7 +2,7 @@ import { BankCode, SellCarTagId, SidoName, SigunguId } from "../../../data";
2
2
  import { CooconAccidentHistoryInfo, CooconUsedCarInfo } from "../../providers";
3
3
  import { FileInfo } from "../file";
4
4
  import { UsedCarDealerInfo } from "./interface-member";
5
- import { SellMyCarCommissionStatus, SellMyCarOrderBidSubject, SellMyCarOrderBidStatus, SellMyCarOrderBidType, SellMyCarOrderMethod, SellMyCarOrderPurchaseMethod, SellMyCarOrderRegistrationType, SellMyCarOrderStatus, SellMyCarOrderType, SellMyCarRegistryLienType, SellMyCarOrderCancelType, SellMyCarOrderBidCancelType, SellMyCarOrderInspectionReviewSatisfaction, SellMyCarOrderAgencyCashflowStatus } from "./type";
5
+ import { SellMyCarCommissionStatus, SellMyCarOrderBidSubject, SellMyCarOrderBidStatus, SellMyCarOrderBidType, SellMyCarOrderMethod, SellMyCarOrderPurchaseMethod, SellMyCarOrderRegistrationType, SellMyCarOrderStatus, SellMyCarOrderType, SellMyCarRegistryLienType, SellMyCarOrderCancelType, SellMyCarOrderBidCancelType, SellMyCarOrderInspectionReviewSatisfaction, SellMyCarOrderAgencyCashflowStatus, SellMyCarCommissionExpenseProofType, SellMyCarCommissionExpenseProofStatus } from "./type";
6
6
  export interface SellMyCarCommissionHistory {
7
7
  title: string;
8
8
  content: string;
@@ -26,6 +26,38 @@ export interface SellMyCarCommission {
26
26
  * @note 이 금액은 탁송기사 배정 시 처음 설정됩니다.
27
27
  */
28
28
  transport_amount: number | null;
29
+ /** 지출증빙정보 */
30
+ expense_proof: {
31
+ /** 지출증빙 요청 시 정보 */
32
+ request: {
33
+ tax_invoice: {
34
+ /** 상호명 */
35
+ company_name: string;
36
+ /** 사업자등록번호 */
37
+ business_number: string;
38
+ /** 이메일 */
39
+ email: string;
40
+ } | null;
41
+ receipt: {
42
+ /** 성명 */
43
+ name: string;
44
+ /** 연락처 */
45
+ phone: string;
46
+ } | null;
47
+ };
48
+ /** 지출증빙 타입 */
49
+ type: SellMyCarCommissionExpenseProofType;
50
+ /** 지출증빙 상태 */
51
+ status: SellMyCarCommissionExpenseProofStatus;
52
+ /** 제출 날짜 */
53
+ submitted_at: Date;
54
+ /** 발행 날짜 */
55
+ completed_at: Date | null;
56
+ /** 수정 요청 날짜 */
57
+ request_edit_at: Date | null;
58
+ /** 수정 완료 날짜 */
59
+ edit_completed_at: Date | null;
60
+ } | null;
29
61
  /** 수수료 이력 정보 */
30
62
  history: SellMyCarCommissionHistory[];
31
63
  /** 생성일 */
@@ -176,3 +176,21 @@ export declare const SellMyCarOrderStatus_Admin: {
176
176
  readonly 거래종결_거래종결: "거래종결";
177
177
  };
178
178
  export type SellMyCarOrderStatus_Admin = keyof typeof SellMyCarOrderStatus_Admin;
179
+ export declare const SellMyCarCommissionExpenseProofType: {
180
+ /** 세금계산서 */
181
+ readonly tax_invoice: "세금계산서";
182
+ /** 영수증 */
183
+ readonly receipt: "영수증";
184
+ };
185
+ export type SellMyCarCommissionExpenseProofType = keyof typeof SellMyCarCommissionExpenseProofType;
186
+ export declare const SellMyCarCommissionExpenseProofStatus: {
187
+ /** 제출요청 */
188
+ readonly submitted: "제출요청";
189
+ /** 발행완료 */
190
+ readonly completed: "발행완료";
191
+ /** 수정요청 */
192
+ readonly request_edit: "수정요청";
193
+ /** 수정완료 */
194
+ readonly edit_completed: "수정완료";
195
+ };
196
+ export type SellMyCarCommissionExpenseProofStatus = keyof typeof SellMyCarCommissionExpenseProofStatus;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SellMyCarOrderStatus_Admin = exports.SellMyCarOrderKey = exports.SellMyCarFilterCategory = exports.SellMyCarOrderBidCancelType = exports.SellMyCarOrderCancelType = exports.SellMyCarOrderBidSubject = exports.SellMyCarOrderRegistrationType = exports.SellMyCarOrderPurchaseMethod = exports.SellMyCarOrderType = exports.SellMyCarOrderBidStatus = exports.SellMyCarOrderStatus = exports.SellMyCarOrderMethod = exports.SellMyCarOrderBidType = exports.CurrentDealerPenaltyReason = exports.CurrentDealerPenaltyType = exports.SellMyCarType = exports.SellMyCarOrderAgencyCashflowStatus = exports.SellMyCarOrderInspectionReviewSatisfaction = exports.SellMyCarRegistryLienType = exports.SellMyCarCommissionStatus = void 0;
3
+ exports.SellMyCarCommissionExpenseProofStatus = exports.SellMyCarCommissionExpenseProofType = exports.SellMyCarOrderStatus_Admin = exports.SellMyCarOrderKey = exports.SellMyCarFilterCategory = exports.SellMyCarOrderBidCancelType = exports.SellMyCarOrderCancelType = exports.SellMyCarOrderBidSubject = exports.SellMyCarOrderRegistrationType = exports.SellMyCarOrderPurchaseMethod = exports.SellMyCarOrderType = exports.SellMyCarOrderBidStatus = exports.SellMyCarOrderStatus = exports.SellMyCarOrderMethod = exports.SellMyCarOrderBidType = exports.CurrentDealerPenaltyReason = exports.CurrentDealerPenaltyType = exports.SellMyCarType = exports.SellMyCarOrderAgencyCashflowStatus = exports.SellMyCarOrderInspectionReviewSatisfaction = exports.SellMyCarRegistryLienType = exports.SellMyCarCommissionStatus = void 0;
4
4
  exports.SellMyCarCommissionStatus = {
5
5
  pending: "입금 대기",
6
6
  completed: "입금 완료",
@@ -174,3 +174,19 @@ exports.SellMyCarOrderStatus_Admin = {
174
174
  거래종결_검토중: "검토중",
175
175
  거래종결_거래종결: "거래종결",
176
176
  };
177
+ exports.SellMyCarCommissionExpenseProofType = {
178
+ /** 세금계산서 */
179
+ tax_invoice: "세금계산서",
180
+ /** 영수증 */
181
+ receipt: "영수증",
182
+ };
183
+ exports.SellMyCarCommissionExpenseProofStatus = {
184
+ /** 제출요청 */
185
+ submitted: "제출요청",
186
+ /** 발행완료 */
187
+ completed: "발행완료",
188
+ /** 수정요청 */
189
+ request_edit: "수정요청",
190
+ /** 수정완료 */
191
+ edit_completed: "수정완료",
192
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891994",
3
+ "version": "1.1.891996",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",