@carsayo/types 1.1.2 → 1.1.3
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.
- package/dist/data/bankcode.d.ts.map +1 -0
- package/dist/data/bankcode.js +66 -0
- package/dist/data/bankcode.js.map +1 -0
- package/dist/data/banner.d.ts.map +1 -0
- package/dist/data/banner.js +45 -0
- package/dist/data/banner.js.map +1 -0
- package/dist/data/board.d.ts.map +1 -0
- package/dist/data/board.js +35 -0
- package/dist/data/board.js.map +1 -0
- package/dist/data/car.d.ts.map +1 -0
- package/dist/data/car.js +923 -0
- package/dist/data/car.js.map +1 -0
- package/dist/data/carPopularCategory.d.ts.map +1 -0
- package/dist/data/carPopularCategory.js +28 -0
- package/dist/data/carPopularCategory.js.map +1 -0
- package/dist/data/collaborator.d.ts.map +1 -0
- package/dist/data/collaborator.js +14 -0
- package/dist/data/collaborator.js.map +1 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/index.js +28 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data/popup.d.ts.map +1 -0
- package/dist/data/popup.js +27 -0
- package/dist/data/popup.js.map +1 -0
- package/dist/data/purchase.d.ts.map +1 -0
- package/dist/data/purchase.js +25 -0
- package/dist/data/purchase.js.map +1 -0
- package/dist/data/region.d.ts.map +1 -0
- package/dist/data/region.js +264 -0
- package/dist/data/region.js.map +1 -0
- package/dist/data/role.d.ts.map +1 -0
- package/dist/data/role.js +114 -0
- package/dist/data/role.js.map +1 -0
- package/dist/data/system.d.ts.map +1 -0
- package/dist/data/system.js +28 -0
- package/dist/data/system.js.map +1 -0
- package/dist/data/term.d.ts.map +1 -0
- package/dist/data/term.js +180 -0
- package/dist/data/term.js.map +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/modules/banner/dto.d.ts.map +1 -0
- package/dist/types/modules/banner/dto.js +124 -0
- package/dist/types/modules/banner/dto.js.map +1 -0
- package/dist/types/modules/banner/index.d.ts.map +1 -0
- package/dist/types/modules/banner/index.js +18 -0
- package/dist/types/modules/banner/index.js.map +1 -0
- package/dist/types/modules/banner/interface.d.ts.map +1 -0
- package/dist/types/modules/banner/interface.js +2 -0
- package/dist/types/modules/banner/interface.js.map +1 -0
- package/dist/types/modules/board/dto.d.ts.map +1 -0
- package/dist/types/modules/board/dto.js +522 -0
- package/dist/types/modules/board/dto.js.map +1 -0
- package/dist/types/modules/board/index.d.ts.map +1 -0
- package/dist/types/modules/board/index.js +19 -0
- package/dist/types/modules/board/index.js.map +1 -0
- package/dist/types/modules/board/interface.d.ts.map +1 -0
- package/dist/types/modules/board/interface.js +2 -0
- package/dist/types/modules/board/interface.js.map +1 -0
- package/dist/types/modules/board/type.d.ts.map +1 -0
- package/dist/types/modules/board/type.js +8 -0
- package/dist/types/modules/board/type.js.map +1 -0
- package/dist/types/modules/car/dto.d.ts.map +1 -0
- package/dist/types/modules/car/dto.js +209 -0
- package/dist/types/modules/car/dto.js.map +1 -0
- package/dist/types/modules/car/index.d.ts.map +1 -0
- package/dist/types/modules/car/index.js +19 -0
- package/dist/types/modules/car/index.js.map +1 -0
- package/dist/types/modules/car/interface.d.ts.map +1 -0
- package/dist/types/modules/car/interface.js +2 -0
- package/dist/types/modules/car/interface.js.map +1 -0
- package/dist/types/modules/car/type.d.ts.map +1 -0
- package/dist/types/modules/car/type.js +13 -0
- package/dist/types/modules/car/type.js.map +1 -0
- package/dist/types/modules/collaborator/dto.d.ts.map +1 -0
- package/dist/types/modules/collaborator/dto.js +28 -0
- package/dist/types/modules/collaborator/dto.js.map +1 -0
- package/dist/types/modules/collaborator/index.d.ts.map +1 -0
- package/dist/types/modules/collaborator/index.js +17 -0
- package/dist/types/modules/collaborator/index.js.map +1 -0
- package/dist/types/modules/common/index.d.ts.map +1 -0
- package/dist/types/modules/common/index.js +18 -0
- package/dist/types/modules/common/index.js.map +1 -0
- package/dist/types/modules/common/interface.d.ts.map +1 -0
- package/dist/types/modules/common/interface.js +2 -0
- package/dist/types/modules/common/interface.js.map +1 -0
- package/dist/types/modules/common/type.d.ts.map +1 -0
- package/dist/types/modules/common/type.js +25 -0
- package/dist/types/modules/common/type.js.map +1 -0
- package/dist/types/modules/file/dto.d.ts.map +1 -0
- package/dist/types/modules/file/dto.js +40 -0
- package/dist/types/modules/file/dto.js.map +1 -0
- package/dist/types/modules/file/index.d.ts.map +1 -0
- package/dist/types/modules/file/index.js +19 -0
- package/dist/types/modules/file/index.js.map +1 -0
- package/dist/types/modules/file/interface.d.ts.map +1 -0
- package/dist/types/modules/file/interface.js +2 -0
- package/dist/types/modules/file/interface.js.map +1 -0
- package/dist/types/modules/file/type.d.ts.map +1 -0
- package/dist/types/modules/file/type.js +15 -0
- package/dist/types/modules/file/type.js.map +1 -0
- package/dist/types/modules/history/dto.d.ts.map +1 -0
- package/dist/types/modules/history/dto.js +42 -0
- package/dist/types/modules/history/dto.js.map +1 -0
- package/dist/types/modules/history/index.d.ts.map +1 -0
- package/dist/types/modules/history/index.js +18 -0
- package/dist/types/modules/history/index.js.map +1 -0
- package/dist/types/modules/history/interface.d.ts.map +1 -0
- package/dist/types/modules/history/interface.js +2 -0
- package/dist/types/modules/history/interface.js.map +1 -0
- package/dist/types/modules/index.d.ts.map +1 -0
- package/dist/types/modules/index.js +31 -0
- package/dist/types/modules/index.js.map +1 -0
- package/dist/types/modules/inquiry/dto.d.ts.map +1 -0
- package/dist/types/modules/inquiry/dto.js +220 -0
- package/dist/types/modules/inquiry/dto.js.map +1 -0
- package/dist/types/modules/inquiry/index.d.ts.map +1 -0
- package/dist/types/modules/inquiry/index.js +19 -0
- package/dist/types/modules/inquiry/index.js.map +1 -0
- package/dist/types/modules/inquiry/interface.d.ts.map +1 -0
- package/dist/types/modules/inquiry/interface.js +7 -0
- package/dist/types/modules/inquiry/interface.js.map +1 -0
- package/dist/types/modules/inquiry/type.d.ts.map +1 -0
- package/dist/types/modules/inquiry/type.js +15 -0
- package/dist/types/modules/inquiry/type.js.map +1 -0
- package/dist/types/modules/member/dto.d.ts.map +1 -0
- package/dist/types/modules/member/dto.js +1388 -0
- package/dist/types/modules/member/dto.js.map +1 -0
- package/dist/types/modules/member/index.d.ts.map +1 -0
- package/dist/types/modules/member/index.js +19 -0
- package/dist/types/modules/member/index.js.map +1 -0
- package/dist/types/modules/member/interface.d.ts.map +1 -0
- package/dist/types/modules/member/interface.js +2 -0
- package/dist/types/modules/member/interface.js.map +1 -0
- package/dist/types/modules/member/type.d.ts.map +1 -0
- package/dist/types/modules/member/type.js +67 -0
- package/dist/types/modules/member/type.js.map +1 -0
- package/dist/types/modules/notification/dto.d.ts.map +1 -0
- package/dist/types/modules/notification/dto.js +42 -0
- package/dist/types/modules/notification/dto.js.map +1 -0
- package/dist/types/modules/notification/index.d.ts.map +1 -0
- package/dist/types/modules/notification/index.js +19 -0
- package/dist/types/modules/notification/index.js.map +1 -0
- package/dist/types/modules/notification/interface.d.ts.map +1 -0
- package/dist/types/modules/notification/interface.js +2 -0
- package/dist/types/modules/notification/interface.js.map +1 -0
- package/dist/types/modules/notification/type.d.ts.map +1 -0
- package/dist/types/modules/notification/type.js +7 -0
- package/dist/types/modules/notification/type.js.map +1 -0
- package/dist/types/modules/order/dto.d.ts.map +1 -0
- package/dist/types/modules/order/dto.js +960 -0
- package/dist/types/modules/order/dto.js.map +1 -0
- package/dist/types/modules/order/index.d.ts.map +1 -0
- package/dist/types/modules/order/index.js +19 -0
- package/dist/types/modules/order/index.js.map +1 -0
- package/dist/types/modules/order/interface.d.ts.map +1 -0
- package/dist/types/modules/order/interface.js +2 -0
- package/dist/types/modules/order/interface.js.map +1 -0
- package/dist/types/modules/order/type.d.ts.map +1 -0
- package/dist/types/modules/order/type.js +148 -0
- package/dist/types/modules/order/type.js.map +1 -0
- package/dist/types/modules/popup/dto.d.ts.map +1 -0
- package/dist/types/modules/popup/dto.js +124 -0
- package/dist/types/modules/popup/dto.js.map +1 -0
- package/dist/types/modules/popup/index.d.ts.map +1 -0
- package/dist/types/modules/popup/index.js +18 -0
- package/dist/types/modules/popup/index.js.map +1 -0
- package/dist/types/modules/popup/interface.d.ts.map +1 -0
- package/dist/types/modules/popup/interface.js +2 -0
- package/dist/types/modules/popup/interface.js.map +1 -0
- package/dist/types/modules/purchase/dto.d.ts.map +1 -0
- package/dist/types/modules/purchase/dto.js +36 -0
- package/dist/types/modules/purchase/dto.js.map +1 -0
- package/dist/types/modules/purchase/index.d.ts.map +1 -0
- package/dist/types/modules/purchase/index.js +19 -0
- package/dist/types/modules/purchase/index.js.map +1 -0
- package/dist/types/modules/purchase/interface.d.ts.map +1 -0
- package/dist/types/modules/purchase/interface.js +2 -0
- package/dist/types/modules/purchase/interface.js.map +1 -0
- package/dist/types/modules/purchase/type.d.ts.map +1 -0
- package/dist/types/modules/purchase/type.js +13 -0
- package/dist/types/modules/purchase/type.js.map +1 -0
- package/dist/types/modules/system/dto.d.ts.map +1 -0
- package/dist/types/modules/system/dto.js +44 -0
- package/dist/types/modules/system/dto.js.map +1 -0
- package/dist/types/modules/system/index.d.ts.map +1 -0
- package/dist/types/modules/system/index.js +18 -0
- package/dist/types/modules/system/index.js.map +1 -0
- package/dist/types/modules/system/interface.d.ts.map +1 -0
- package/dist/types/modules/system/interface.js +2 -0
- package/dist/types/modules/system/interface.js.map +1 -0
- package/dist/types/modules/term/dto.d.ts.map +1 -0
- package/dist/types/modules/term/dto.js +228 -0
- package/dist/types/modules/term/dto.js.map +1 -0
- package/dist/types/modules/term/index.d.ts.map +1 -0
- package/dist/types/modules/term/index.js +18 -0
- package/dist/types/modules/term/index.js.map +1 -0
- package/dist/types/modules/term/interface.d.ts.map +1 -0
- package/dist/types/modules/term/interface.js +2 -0
- package/dist/types/modules/term/interface.js.map +1 -0
- package/dist/types/providers/coocon-usedcar/dto.d.ts.map +1 -0
- package/dist/types/providers/coocon-usedcar/dto.js +38 -0
- package/dist/types/providers/coocon-usedcar/dto.js.map +1 -0
- package/dist/types/providers/coocon-usedcar/index.d.ts.map +1 -0
- package/dist/types/providers/coocon-usedcar/index.js +18 -0
- package/dist/types/providers/coocon-usedcar/index.js.map +1 -0
- package/dist/types/providers/coocon-usedcar/interface.d.ts.map +1 -0
- package/dist/types/providers/coocon-usedcar/interface.js +7 -0
- package/dist/types/providers/coocon-usedcar/interface.js.map +1 -0
- package/dist/types/providers/firebase-message/dto.d.ts.map +1 -0
- package/dist/types/providers/firebase-message/dto.js +107 -0
- package/dist/types/providers/firebase-message/dto.js.map +1 -0
- package/dist/types/providers/firebase-message/index.d.ts.map +1 -0
- package/dist/types/providers/firebase-message/index.js +18 -0
- package/dist/types/providers/firebase-message/index.js.map +1 -0
- package/dist/types/providers/firebase-message/interface.d.ts.map +1 -0
- package/dist/types/providers/firebase-message/interface.js +2 -0
- package/dist/types/providers/firebase-message/interface.js.map +1 -0
- package/dist/types/providers/gabia-sms/dto.d.ts.map +1 -0
- package/dist/types/providers/gabia-sms/dto.js +48 -0
- package/dist/types/providers/gabia-sms/dto.js.map +1 -0
- package/dist/types/providers/gabia-sms/index.d.ts.map +1 -0
- package/dist/types/providers/gabia-sms/index.js +17 -0
- package/dist/types/providers/gabia-sms/index.js.map +1 -0
- package/dist/types/providers/index.d.ts.map +1 -0
- package/dist/types/providers/index.js +23 -0
- package/dist/types/providers/index.js.map +1 -0
- package/dist/types/providers/mailer/dto.d.ts.map +1 -0
- package/dist/types/providers/mailer/dto.js +22 -0
- package/dist/types/providers/mailer/dto.js.map +1 -0
- package/dist/types/providers/mailer/index.d.ts.map +1 -0
- package/dist/types/providers/mailer/index.js +17 -0
- package/dist/types/providers/mailer/index.js.map +1 -0
- package/dist/types/providers/niceapi/dto.d.ts.map +1 -0
- package/dist/types/providers/niceapi/dto.js +51 -0
- package/dist/types/providers/niceapi/dto.js.map +1 -0
- package/dist/types/providers/niceapi/index.d.ts.map +1 -0
- package/dist/types/providers/niceapi/index.js +18 -0
- package/dist/types/providers/niceapi/index.js.map +1 -0
- package/dist/types/providers/niceapi/interface.d.ts.map +1 -0
- package/dist/types/providers/niceapi/interface.js +2 -0
- package/dist/types/providers/niceapi/interface.js.map +1 -0
- package/dist/types/providers/nicepayment/dto.d.ts.map +1 -0
- package/dist/types/providers/nicepayment/dto.js +149 -0
- package/dist/types/providers/nicepayment/dto.js.map +1 -0
- package/dist/types/providers/nicepayment/index.d.ts.map +1 -0
- package/dist/types/providers/nicepayment/index.js +19 -0
- package/dist/types/providers/nicepayment/index.js.map +1 -0
- package/dist/types/providers/nicepayment/interface.d.ts.map +1 -0
- package/dist/types/providers/nicepayment/interface.js +2 -0
- package/dist/types/providers/nicepayment/interface.js.map +1 -0
- package/dist/types/providers/nicepayment/type.d.ts.map +1 -0
- package/dist/types/providers/nicepayment/type.js +37 -0
- package/dist/types/providers/nicepayment/type.js.map +1 -0
- package/dist/validator/isNullable.d.ts.map +1 -0
- package/dist/validator/isNullable.js +8 -0
- package/dist/validator/isNullable.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,960 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SellingOrderDTO = exports.SellingOrderUpdateDTO = exports.SellingInitDTO = exports.PurchaseOrderDTO = exports.PurchaseOrderUpdateDTO = exports.PurchaseInitDTO = exports.ReviewOrderDTO = exports.OrderBidDTO = exports.OrderBookmarkDTO = exports.DeleteOrderMemoDTO = exports.CreateOrderMemoDTO = exports.Admin_LeaseRentOrder_SetAssignedDealerDTO = exports.Admin_UpdateLeaseRentOrderDTO = exports.CommissionFinishDTO = exports.CommissionIdDTO = exports.AskCommissionDTO = exports.GetOrderCommissionListDTO = exports.OrderCommissionAdditionalInfoDTO = exports.OrderCommissionOptionDTO = exports.SearchOrderListDTO = exports.SearchOrderListAdditionalInfoDTO = exports.FinishOrderDTO = exports.ProgressOrderDTO = exports.ResumeOrderDTO = exports.CancelOrderDTO = exports.HoldOrderDTO = exports.OrderFinishDTO = exports.OrderSubmitContractDTO = exports.OrderMeetingDateDTO = exports.OrderCancelDTO = exports.OrderHoldDTO = exports.SelectOrderDTO = exports.SearchOrderBidListDTO = exports.SearchOrderBidListAdditionalInfoDTO = exports.SearchOrderBidOptionDTO = exports.SearchMyWholeOrder = exports.SearchMyOrderOptionDTO = exports.Admin_UpdateOrderDTO = exports.SelectManagerDTO = exports.DealerOrderBidDTO = exports.GetOrderListDTO = exports.OrderListSearchDTO = exports.OrderListOptionDTO = exports.OrderListIntervalDTO = exports.OrderIdDTO = exports.OrderListAdditionalInfoDTO = void 0;
|
|
16
|
+
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
17
|
+
const class_transformer_1 = require("class-transformer");
|
|
18
|
+
const class_validator_1 = require("class-validator");
|
|
19
|
+
const data_1 = require("../../../data");
|
|
20
|
+
const isNullable_1 = __importDefault(require("../../../validator/isNullable"));
|
|
21
|
+
const type_1 = require("./type");
|
|
22
|
+
class OrderListAdditionalInfoDTO {
|
|
23
|
+
}
|
|
24
|
+
exports.OrderListAdditionalInfoDTO = OrderListAdditionalInfoDTO;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsBoolean)()
|
|
28
|
+
/** true로 검색시 응답에 주문 상태별 총 개수가 나옵니다 */
|
|
29
|
+
,
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], OrderListAdditionalInfoDTO.prototype, "orderState", void 0);
|
|
32
|
+
class OrderIdDTO {
|
|
33
|
+
}
|
|
34
|
+
exports.OrderIdDTO = OrderIdDTO;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], OrderIdDTO.prototype, "orderId", void 0);
|
|
39
|
+
class OrderListIntervalDTO {
|
|
40
|
+
}
|
|
41
|
+
exports.OrderListIntervalDTO = OrderListIntervalDTO;
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderListIntervalTarget)),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], OrderListIntervalDTO.prototype, "target", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsDateString)(),
|
|
48
|
+
(0, isNullable_1.default)(),
|
|
49
|
+
__metadata("design:type", Date)
|
|
50
|
+
], OrderListIntervalDTO.prototype, "start", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsDateString)(),
|
|
53
|
+
(0, isNullable_1.default)(),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], OrderListIntervalDTO.prototype, "end", void 0);
|
|
56
|
+
class OrderListOptionDTO {
|
|
57
|
+
}
|
|
58
|
+
exports.OrderListOptionDTO = OrderListOptionDTO;
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderCategory)),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], OrderListOptionDTO.prototype, "orderType", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsArray)(),
|
|
66
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderState), { each: true }),
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
__metadata("design:type", Array)
|
|
69
|
+
], OrderListOptionDTO.prototype, "orderStateList", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsBoolean)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
__metadata("design:type", Boolean)
|
|
74
|
+
], OrderListOptionDTO.prototype, "isReaded", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsBoolean)(),
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
__metadata("design:type", Boolean)
|
|
79
|
+
], OrderListOptionDTO.prototype, "isBookmarked", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsBoolean)(),
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], OrderListOptionDTO.prototype, "isBidding", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsBoolean)(),
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
__metadata("design:type", Boolean)
|
|
89
|
+
], OrderListOptionDTO.prototype, "isAccepted", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsIn)(data_1.CollaboratorId),
|
|
92
|
+
(0, class_validator_1.IsOptional)()
|
|
93
|
+
/**
|
|
94
|
+
* @description 해당 소속사 카매니저가 입찰한 주문 리스트 검색
|
|
95
|
+
*/
|
|
96
|
+
,
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], OrderListOptionDTO.prototype, "collaboratorId", void 0);
|
|
99
|
+
class OrderListSearchDTO {
|
|
100
|
+
}
|
|
101
|
+
exports.OrderListSearchDTO = OrderListSearchDTO;
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsString)(),
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], OrderListSearchDTO.prototype, "code", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsString)(),
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], OrderListSearchDTO.prototype, "title", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, class_validator_1.IsString)(),
|
|
114
|
+
(0, class_validator_1.IsOptional)(),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], OrderListSearchDTO.prototype, "manager_name", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_validator_1.IsString)(),
|
|
119
|
+
(0, class_validator_1.IsOptional)(),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], OrderListSearchDTO.prototype, "name_real", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.IsOptional)(),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], OrderListSearchDTO.prototype, "name_nick", void 0);
|
|
127
|
+
/**
|
|
128
|
+
* @description 주문 리스트 검색
|
|
129
|
+
* @description Offset Paging 방식의 검색
|
|
130
|
+
*/
|
|
131
|
+
class GetOrderListDTO {
|
|
132
|
+
}
|
|
133
|
+
exports.GetOrderListDTO = GetOrderListDTO;
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsNumber)(),
|
|
136
|
+
(0, class_validator_1.IsOptional)(),
|
|
137
|
+
__metadata("design:type", Number)
|
|
138
|
+
], GetOrderListDTO.prototype, "skip", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_validator_1.IsNumber)(),
|
|
141
|
+
__metadata("design:type", Number)
|
|
142
|
+
], GetOrderListDTO.prototype, "take", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, class_validator_1.IsOptional)(),
|
|
145
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
146
|
+
(0, class_transformer_1.Type)(() => OrderListIntervalDTO),
|
|
147
|
+
__metadata("design:type", OrderListIntervalDTO)
|
|
148
|
+
], GetOrderListDTO.prototype, "interval", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_validator_1.IsOptional)(),
|
|
151
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
152
|
+
(0, class_transformer_1.Type)(() => OrderListOptionDTO),
|
|
153
|
+
__metadata("design:type", OrderListOptionDTO)
|
|
154
|
+
], GetOrderListDTO.prototype, "option", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, class_validator_1.IsOptional)(),
|
|
157
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
158
|
+
(0, class_transformer_1.Type)(() => OrderListSearchDTO),
|
|
159
|
+
__metadata("design:type", OrderListSearchDTO)
|
|
160
|
+
], GetOrderListDTO.prototype, "search", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, class_validator_1.IsOptional)(),
|
|
163
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
164
|
+
(0, class_transformer_1.Type)(() => OrderListAdditionalInfoDTO),
|
|
165
|
+
__metadata("design:type", OrderListAdditionalInfoDTO)
|
|
166
|
+
], GetOrderListDTO.prototype, "additionalInfo", void 0);
|
|
167
|
+
/**
|
|
168
|
+
* 딜러가 입찰하기 위한 DTO
|
|
169
|
+
*/
|
|
170
|
+
class DealerOrderBidDTO extends OrderIdDTO {
|
|
171
|
+
}
|
|
172
|
+
exports.DealerOrderBidDTO = DealerOrderBidDTO;
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, class_validator_1.IsString)()
|
|
175
|
+
/**
|
|
176
|
+
* 견적 내용
|
|
177
|
+
*/
|
|
178
|
+
,
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], DealerOrderBidDTO.prototype, "content", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, class_validator_1.IsString)(),
|
|
183
|
+
(0, class_validator_1.IsOptional)()
|
|
184
|
+
/**
|
|
185
|
+
* 견적 파일 Id
|
|
186
|
+
*/
|
|
187
|
+
,
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], DealerOrderBidDTO.prototype, "estimateFileId", void 0);
|
|
190
|
+
/**
|
|
191
|
+
* 주문 매니저 선택
|
|
192
|
+
*/
|
|
193
|
+
class SelectManagerDTO {
|
|
194
|
+
}
|
|
195
|
+
exports.SelectManagerDTO = SelectManagerDTO;
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, class_validator_1.IsString)(),
|
|
198
|
+
__metadata("design:type", String)
|
|
199
|
+
], SelectManagerDTO.prototype, "orderId", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, class_validator_1.IsString)(),
|
|
202
|
+
__metadata("design:type", String)
|
|
203
|
+
], SelectManagerDTO.prototype, "managerId", void 0);
|
|
204
|
+
/**
|
|
205
|
+
* @description 어드민 - 주문 정보 업데이트
|
|
206
|
+
*/
|
|
207
|
+
class Admin_UpdateOrderDTO extends OrderIdDTO {
|
|
208
|
+
}
|
|
209
|
+
exports.Admin_UpdateOrderDTO = Admin_UpdateOrderDTO;
|
|
210
|
+
__decorate([
|
|
211
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderState)),
|
|
212
|
+
(0, class_validator_1.IsOptional)(),
|
|
213
|
+
__metadata("design:type", String)
|
|
214
|
+
], Admin_UpdateOrderDTO.prototype, "orderState", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
(0, class_validator_1.IsString)(),
|
|
217
|
+
(0, isNullable_1.default)(),
|
|
218
|
+
(0, class_validator_1.IsOptional)(),
|
|
219
|
+
__metadata("design:type", String)
|
|
220
|
+
], Admin_UpdateOrderDTO.prototype, "estimateContent", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, class_validator_1.IsString)(),
|
|
223
|
+
(0, isNullable_1.default)(),
|
|
224
|
+
(0, class_validator_1.IsOptional)(),
|
|
225
|
+
__metadata("design:type", String)
|
|
226
|
+
], Admin_UpdateOrderDTO.prototype, "estimate_fileId", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, class_validator_1.IsString)(),
|
|
229
|
+
(0, isNullable_1.default)(),
|
|
230
|
+
(0, class_validator_1.IsOptional)(),
|
|
231
|
+
__metadata("design:type", String)
|
|
232
|
+
], Admin_UpdateOrderDTO.prototype, "contract_fileId", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
(0, class_validator_1.IsString)(),
|
|
235
|
+
(0, isNullable_1.default)(),
|
|
236
|
+
(0, class_validator_1.IsOptional)(),
|
|
237
|
+
__metadata("design:type", String)
|
|
238
|
+
], Admin_UpdateOrderDTO.prototype, "reason", void 0);
|
|
239
|
+
class SearchMyOrderOptionDTO {
|
|
240
|
+
}
|
|
241
|
+
exports.SearchMyOrderOptionDTO = SearchMyOrderOptionDTO;
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, class_validator_1.IsArray)(),
|
|
244
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderType), { each: true }),
|
|
245
|
+
(0, class_validator_1.IsOptional)(),
|
|
246
|
+
__metadata("design:type", Array)
|
|
247
|
+
], SearchMyOrderOptionDTO.prototype, "orderTypeList", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, class_validator_1.IsArray)(),
|
|
250
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderState), { each: true }),
|
|
251
|
+
(0, class_validator_1.IsOptional)(),
|
|
252
|
+
__metadata("design:type", Array)
|
|
253
|
+
], SearchMyOrderOptionDTO.prototype, "orderStateList", void 0);
|
|
254
|
+
/** 내 주문 통합 검색
|
|
255
|
+
* @description 내가 참여중인 모든 주문 리스트를 주문 타입과 관계 없이 검색할 수 있습니다
|
|
256
|
+
* @notice 일반 회원은 자기 주문을 검색합니다
|
|
257
|
+
* @notice 카매니저 회원은 자기가 낙찰받은 주문에 대하여 검색합니다
|
|
258
|
+
*/
|
|
259
|
+
class SearchMyWholeOrder {
|
|
260
|
+
}
|
|
261
|
+
exports.SearchMyWholeOrder = SearchMyWholeOrder;
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, class_validator_1.IsOptional)(),
|
|
264
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
265
|
+
(0, class_transformer_1.Type)(() => SearchMyOrderOptionDTO),
|
|
266
|
+
__metadata("design:type", SearchMyOrderOptionDTO)
|
|
267
|
+
], SearchMyWholeOrder.prototype, "option", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
(0, class_validator_1.IsString)(),
|
|
270
|
+
(0, class_validator_1.IsOptional)(),
|
|
271
|
+
__metadata("design:type", String)
|
|
272
|
+
], SearchMyWholeOrder.prototype, "keyword", void 0);
|
|
273
|
+
class SearchOrderBidOptionDTO {
|
|
274
|
+
}
|
|
275
|
+
exports.SearchOrderBidOptionDTO = SearchOrderBidOptionDTO;
|
|
276
|
+
__decorate([
|
|
277
|
+
(0, class_validator_1.IsString)(),
|
|
278
|
+
(0, class_validator_1.IsOptional)(),
|
|
279
|
+
__metadata("design:type", String)
|
|
280
|
+
], SearchOrderBidOptionDTO.prototype, "memberId", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
(0, class_validator_1.IsString)(),
|
|
283
|
+
(0, class_validator_1.IsOptional)(),
|
|
284
|
+
__metadata("design:type", String)
|
|
285
|
+
], SearchOrderBidOptionDTO.prototype, "orderId", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
(0, class_validator_1.IsArray)(),
|
|
288
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderState), { each: true }),
|
|
289
|
+
(0, class_validator_1.IsOptional)(),
|
|
290
|
+
__metadata("design:type", Array)
|
|
291
|
+
], SearchOrderBidOptionDTO.prototype, "orderStateList", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
(0, class_validator_1.IsArray)(),
|
|
294
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderBidState), { each: true }),
|
|
295
|
+
(0, class_validator_1.IsOptional)(),
|
|
296
|
+
__metadata("design:type", Array)
|
|
297
|
+
], SearchOrderBidOptionDTO.prototype, "bidStateList", void 0);
|
|
298
|
+
class SearchOrderBidListAdditionalInfoDTO {
|
|
299
|
+
}
|
|
300
|
+
exports.SearchOrderBidListAdditionalInfoDTO = SearchOrderBidListAdditionalInfoDTO;
|
|
301
|
+
__decorate([
|
|
302
|
+
(0, class_validator_1.IsOptional)(),
|
|
303
|
+
(0, class_validator_1.IsBoolean)()
|
|
304
|
+
/** true일 경우 응답 내 입찰 상태별 수가 출력됩니다 */
|
|
305
|
+
,
|
|
306
|
+
__metadata("design:type", Boolean)
|
|
307
|
+
], SearchOrderBidListAdditionalInfoDTO.prototype, "bidState", void 0);
|
|
308
|
+
__decorate([
|
|
309
|
+
(0, class_validator_1.IsOptional)(),
|
|
310
|
+
(0, class_validator_1.IsBoolean)()
|
|
311
|
+
/** true일 경우 응답 내 주문 상태별 수가 출력됩니다 */
|
|
312
|
+
,
|
|
313
|
+
__metadata("design:type", Boolean)
|
|
314
|
+
], SearchOrderBidListAdditionalInfoDTO.prototype, "orderState", void 0);
|
|
315
|
+
/** 입찰 내역 통합 검색
|
|
316
|
+
* @description 특정 카매니저가 입찰한 주문 리스트를 주문 타입과 관계 없이 검색할 수 있습니다
|
|
317
|
+
* @notice 어드민 회원은 특정 회원의 입찰 내역을 검색할 수 있습니다
|
|
318
|
+
* @notice 카매니저 회원은 자기가 낙찰받은 주문에 대하여 검색합니다
|
|
319
|
+
*/
|
|
320
|
+
class SearchOrderBidListDTO {
|
|
321
|
+
}
|
|
322
|
+
exports.SearchOrderBidListDTO = SearchOrderBidListDTO;
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, class_validator_1.IsNumber)(),
|
|
325
|
+
(0, class_validator_1.IsOptional)(),
|
|
326
|
+
__metadata("design:type", Number)
|
|
327
|
+
], SearchOrderBidListDTO.prototype, "skip", void 0);
|
|
328
|
+
__decorate([
|
|
329
|
+
(0, class_validator_1.IsNumber)(),
|
|
330
|
+
__metadata("design:type", Number)
|
|
331
|
+
], SearchOrderBidListDTO.prototype, "take", void 0);
|
|
332
|
+
__decorate([
|
|
333
|
+
(0, class_validator_1.IsOptional)(),
|
|
334
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
335
|
+
(0, class_transformer_1.Type)(() => SearchOrderBidOptionDTO),
|
|
336
|
+
__metadata("design:type", SearchOrderBidOptionDTO)
|
|
337
|
+
], SearchOrderBidListDTO.prototype, "option", void 0);
|
|
338
|
+
__decorate([
|
|
339
|
+
(0, class_validator_1.IsString)(),
|
|
340
|
+
(0, class_validator_1.IsOptional)(),
|
|
341
|
+
__metadata("design:type", String)
|
|
342
|
+
], SearchOrderBidListDTO.prototype, "keyword", void 0);
|
|
343
|
+
__decorate([
|
|
344
|
+
(0, class_validator_1.IsOptional)(),
|
|
345
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
346
|
+
(0, class_transformer_1.Type)(() => SearchOrderBidListAdditionalInfoDTO),
|
|
347
|
+
__metadata("design:type", SearchOrderBidListAdditionalInfoDTO)
|
|
348
|
+
], SearchOrderBidListDTO.prototype, "additionalInfo", void 0);
|
|
349
|
+
/** 특정 주문 선택 */
|
|
350
|
+
class SelectOrderDTO extends OrderIdDTO {
|
|
351
|
+
}
|
|
352
|
+
exports.SelectOrderDTO = SelectOrderDTO;
|
|
353
|
+
__decorate([
|
|
354
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderType)),
|
|
355
|
+
__metadata("design:type", String)
|
|
356
|
+
], SelectOrderDTO.prototype, "orderType", void 0);
|
|
357
|
+
class OrderHoldDTO extends OrderIdDTO {
|
|
358
|
+
}
|
|
359
|
+
exports.OrderHoldDTO = OrderHoldDTO;
|
|
360
|
+
__decorate([
|
|
361
|
+
(0, class_validator_1.IsString)(),
|
|
362
|
+
__metadata("design:type", String)
|
|
363
|
+
], OrderHoldDTO.prototype, "reason", void 0);
|
|
364
|
+
class OrderCancelDTO extends OrderIdDTO {
|
|
365
|
+
}
|
|
366
|
+
exports.OrderCancelDTO = OrderCancelDTO;
|
|
367
|
+
__decorate([
|
|
368
|
+
(0, class_validator_1.IsString)(),
|
|
369
|
+
__metadata("design:type", String)
|
|
370
|
+
], OrderCancelDTO.prototype, "reason", void 0);
|
|
371
|
+
class OrderMeetingDateDTO extends OrderIdDTO {
|
|
372
|
+
}
|
|
373
|
+
exports.OrderMeetingDateDTO = OrderMeetingDateDTO;
|
|
374
|
+
__decorate([
|
|
375
|
+
(0, class_validator_1.IsDateString)(),
|
|
376
|
+
(0, class_validator_1.IsOptional)(),
|
|
377
|
+
__metadata("design:type", Date)
|
|
378
|
+
], OrderMeetingDateDTO.prototype, "meeting_date", void 0);
|
|
379
|
+
/** @deprecated 240626 앞으로 계약서를 주문 종료 시 업로드 합니다. */
|
|
380
|
+
class OrderSubmitContractDTO extends OrderIdDTO {
|
|
381
|
+
}
|
|
382
|
+
exports.OrderSubmitContractDTO = OrderSubmitContractDTO;
|
|
383
|
+
__decorate([
|
|
384
|
+
(0, class_validator_1.IsString)(),
|
|
385
|
+
__metadata("design:type", String)
|
|
386
|
+
], OrderSubmitContractDTO.prototype, "progressMessage", void 0);
|
|
387
|
+
__decorate([
|
|
388
|
+
(0, class_validator_1.IsString)(),
|
|
389
|
+
__metadata("design:type", String)
|
|
390
|
+
], OrderSubmitContractDTO.prototype, "contract_fileId", void 0);
|
|
391
|
+
class OrderFinishDTO extends OrderIdDTO {
|
|
392
|
+
}
|
|
393
|
+
exports.OrderFinishDTO = OrderFinishDTO;
|
|
394
|
+
__decorate([
|
|
395
|
+
(0, class_validator_1.IsString)(),
|
|
396
|
+
__metadata("design:type", String)
|
|
397
|
+
], OrderFinishDTO.prototype, "finishMessage", void 0);
|
|
398
|
+
__decorate([
|
|
399
|
+
(0, class_validator_1.IsString)(),
|
|
400
|
+
(0, class_validator_1.IsOptional)(),
|
|
401
|
+
__metadata("design:type", String)
|
|
402
|
+
], OrderFinishDTO.prototype, "salesDocument_fileId", void 0);
|
|
403
|
+
__decorate([
|
|
404
|
+
(0, class_validator_1.IsString)(),
|
|
405
|
+
(0, class_validator_1.IsOptional)(),
|
|
406
|
+
__metadata("design:type", String)
|
|
407
|
+
], OrderFinishDTO.prototype, "contract_fileId", void 0);
|
|
408
|
+
__decorate([
|
|
409
|
+
(0, class_validator_1.IsString)(),
|
|
410
|
+
(0, class_validator_1.IsOptional)(),
|
|
411
|
+
__metadata("design:type", String)
|
|
412
|
+
], OrderFinishDTO.prototype, "transferCertificate_fileId", void 0);
|
|
413
|
+
/** @deprecated */
|
|
414
|
+
class HoldOrderDTO extends SelectOrderDTO {
|
|
415
|
+
}
|
|
416
|
+
exports.HoldOrderDTO = HoldOrderDTO;
|
|
417
|
+
__decorate([
|
|
418
|
+
(0, class_validator_1.IsString)(),
|
|
419
|
+
__metadata("design:type", String)
|
|
420
|
+
], HoldOrderDTO.prototype, "reason", void 0);
|
|
421
|
+
/** @deprecated */
|
|
422
|
+
class CancelOrderDTO extends SelectOrderDTO {
|
|
423
|
+
}
|
|
424
|
+
exports.CancelOrderDTO = CancelOrderDTO;
|
|
425
|
+
__decorate([
|
|
426
|
+
(0, class_validator_1.IsString)(),
|
|
427
|
+
__metadata("design:type", String)
|
|
428
|
+
], CancelOrderDTO.prototype, "reason", void 0);
|
|
429
|
+
class ResumeOrderDTO extends SelectOrderDTO {
|
|
430
|
+
}
|
|
431
|
+
exports.ResumeOrderDTO = ResumeOrderDTO;
|
|
432
|
+
class ProgressOrderNewCarDTO {
|
|
433
|
+
}
|
|
434
|
+
__decorate([
|
|
435
|
+
(0, class_validator_1.IsOptional)(),
|
|
436
|
+
(0, class_validator_1.IsString)()
|
|
437
|
+
/** 계약서 파일 Id */
|
|
438
|
+
,
|
|
439
|
+
__metadata("design:type", String)
|
|
440
|
+
], ProgressOrderNewCarDTO.prototype, "contractId", void 0);
|
|
441
|
+
class ProgressOrderLeaseRentDTO {
|
|
442
|
+
}
|
|
443
|
+
__decorate([
|
|
444
|
+
(0, class_validator_1.IsOptional)(),
|
|
445
|
+
(0, class_validator_1.IsString)()
|
|
446
|
+
/** 계약서 파일 Id */
|
|
447
|
+
,
|
|
448
|
+
__metadata("design:type", String)
|
|
449
|
+
], ProgressOrderLeaseRentDTO.prototype, "contractId", void 0);
|
|
450
|
+
class ProgressOrderSellCarDTO {
|
|
451
|
+
}
|
|
452
|
+
__decorate([
|
|
453
|
+
(0, class_validator_1.IsOptional)(),
|
|
454
|
+
(0, class_validator_1.IsString)()
|
|
455
|
+
/** 계약서 파일 Id */
|
|
456
|
+
,
|
|
457
|
+
__metadata("design:type", String)
|
|
458
|
+
], ProgressOrderSellCarDTO.prototype, "contractId", void 0);
|
|
459
|
+
__decorate([
|
|
460
|
+
(0, class_validator_1.IsDateString)(),
|
|
461
|
+
(0, class_validator_1.IsOptional)()
|
|
462
|
+
/** 미팅 날짜 */
|
|
463
|
+
,
|
|
464
|
+
__metadata("design:type", Date)
|
|
465
|
+
], ProgressOrderSellCarDTO.prototype, "meeting_date", void 0);
|
|
466
|
+
class ProgressOrderDTO extends SelectOrderDTO {
|
|
467
|
+
}
|
|
468
|
+
exports.ProgressOrderDTO = ProgressOrderDTO;
|
|
469
|
+
__decorate([
|
|
470
|
+
(0, class_validator_1.IsOptional)(),
|
|
471
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
472
|
+
(0, class_transformer_1.Type)(() => ProgressOrderNewCarDTO),
|
|
473
|
+
__metadata("design:type", ProgressOrderNewCarDTO)
|
|
474
|
+
], ProgressOrderDTO.prototype, "newCar", void 0);
|
|
475
|
+
__decorate([
|
|
476
|
+
(0, class_validator_1.IsOptional)(),
|
|
477
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
478
|
+
(0, class_transformer_1.Type)(() => ProgressOrderLeaseRentDTO),
|
|
479
|
+
__metadata("design:type", ProgressOrderLeaseRentDTO)
|
|
480
|
+
], ProgressOrderDTO.prototype, "leaseRent", void 0);
|
|
481
|
+
__decorate([
|
|
482
|
+
(0, class_validator_1.IsOptional)(),
|
|
483
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
484
|
+
(0, class_transformer_1.Type)(() => ProgressOrderSellCarDTO),
|
|
485
|
+
__metadata("design:type", ProgressOrderSellCarDTO)
|
|
486
|
+
], ProgressOrderDTO.prototype, "sellCar", void 0);
|
|
487
|
+
class FinishOrderDTO extends SelectOrderDTO {
|
|
488
|
+
}
|
|
489
|
+
exports.FinishOrderDTO = FinishOrderDTO;
|
|
490
|
+
class SearchOrderListAdditionalInfoDTO {
|
|
491
|
+
}
|
|
492
|
+
exports.SearchOrderListAdditionalInfoDTO = SearchOrderListAdditionalInfoDTO;
|
|
493
|
+
__decorate([
|
|
494
|
+
(0, class_validator_1.IsOptional)(),
|
|
495
|
+
(0, class_validator_1.IsBoolean)()
|
|
496
|
+
/** true일 경우 응답 내 회원가입 방법별 숫자가 */
|
|
497
|
+
,
|
|
498
|
+
__metadata("design:type", Boolean)
|
|
499
|
+
], SearchOrderListAdditionalInfoDTO.prototype, "orderState", void 0);
|
|
500
|
+
class SearchOrderListDTO {
|
|
501
|
+
}
|
|
502
|
+
exports.SearchOrderListDTO = SearchOrderListDTO;
|
|
503
|
+
__decorate([
|
|
504
|
+
(0, class_validator_1.IsString)(),
|
|
505
|
+
__metadata("design:type", String)
|
|
506
|
+
], SearchOrderListDTO.prototype, "memberId", void 0);
|
|
507
|
+
__decorate([
|
|
508
|
+
(0, class_validator_1.IsNumber)(),
|
|
509
|
+
(0, class_validator_1.IsOptional)(),
|
|
510
|
+
__metadata("design:type", Number)
|
|
511
|
+
], SearchOrderListDTO.prototype, "skip", void 0);
|
|
512
|
+
__decorate([
|
|
513
|
+
(0, class_validator_1.IsNumber)(),
|
|
514
|
+
__metadata("design:type", Number)
|
|
515
|
+
], SearchOrderListDTO.prototype, "take", void 0);
|
|
516
|
+
__decorate([
|
|
517
|
+
(0, class_validator_1.IsString)(),
|
|
518
|
+
(0, class_validator_1.IsOptional)(),
|
|
519
|
+
__metadata("design:type", String)
|
|
520
|
+
], SearchOrderListDTO.prototype, "keyword", void 0);
|
|
521
|
+
__decorate([
|
|
522
|
+
(0, class_validator_1.IsOptional)(),
|
|
523
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
524
|
+
(0, class_transformer_1.Type)(() => SearchOrderListAdditionalInfoDTO),
|
|
525
|
+
__metadata("design:type", SearchOrderListAdditionalInfoDTO)
|
|
526
|
+
], SearchOrderListDTO.prototype, "additionalInfo", void 0);
|
|
527
|
+
class OrderCommissionOptionDTO {
|
|
528
|
+
}
|
|
529
|
+
exports.OrderCommissionOptionDTO = OrderCommissionOptionDTO;
|
|
530
|
+
__decorate([
|
|
531
|
+
(0, class_validator_1.IsArray)(),
|
|
532
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderCommissionState), { each: true }),
|
|
533
|
+
(0, class_validator_1.IsOptional)(),
|
|
534
|
+
__metadata("design:type", Array)
|
|
535
|
+
], OrderCommissionOptionDTO.prototype, "stateList", void 0);
|
|
536
|
+
class OrderCommissionAdditionalInfoDTO {
|
|
537
|
+
}
|
|
538
|
+
exports.OrderCommissionAdditionalInfoDTO = OrderCommissionAdditionalInfoDTO;
|
|
539
|
+
__decorate([
|
|
540
|
+
(0, class_validator_1.IsOptional)(),
|
|
541
|
+
(0, class_validator_1.IsBoolean)()
|
|
542
|
+
/** true로 검색시 응답에 수수료 상태별 총 개수가 나옵니다 */
|
|
543
|
+
,
|
|
544
|
+
__metadata("design:type", Boolean)
|
|
545
|
+
], OrderCommissionAdditionalInfoDTO.prototype, "commissionState", void 0);
|
|
546
|
+
__decorate([
|
|
547
|
+
(0, class_validator_1.IsOptional)(),
|
|
548
|
+
(0, class_validator_1.IsBoolean)()
|
|
549
|
+
/** true일 경우 응답 내에 총 가격 합산이 나옵니다. */
|
|
550
|
+
,
|
|
551
|
+
__metadata("design:type", Boolean)
|
|
552
|
+
], OrderCommissionAdditionalInfoDTO.prototype, "totalPrice", void 0);
|
|
553
|
+
__decorate([
|
|
554
|
+
(0, class_validator_1.IsOptional)(),
|
|
555
|
+
(0, class_validator_1.IsBoolean)()
|
|
556
|
+
/** true일 경우 응답 내에 정산 방법에 따른 가격 합산이 나옵니다. */
|
|
557
|
+
,
|
|
558
|
+
__metadata("design:type", Boolean)
|
|
559
|
+
], OrderCommissionAdditionalInfoDTO.prototype, "methodPrice", void 0);
|
|
560
|
+
/**
|
|
561
|
+
* @description 주문 수수료 리스트 검색
|
|
562
|
+
* @description Offset Paging 방식의 검색
|
|
563
|
+
*/
|
|
564
|
+
class GetOrderCommissionListDTO {
|
|
565
|
+
}
|
|
566
|
+
exports.GetOrderCommissionListDTO = GetOrderCommissionListDTO;
|
|
567
|
+
__decorate([
|
|
568
|
+
(0, class_validator_1.IsNumber)(),
|
|
569
|
+
(0, class_validator_1.IsOptional)(),
|
|
570
|
+
__metadata("design:type", Number)
|
|
571
|
+
], GetOrderCommissionListDTO.prototype, "skip", void 0);
|
|
572
|
+
__decorate([
|
|
573
|
+
(0, class_validator_1.IsNumber)(),
|
|
574
|
+
__metadata("design:type", Number)
|
|
575
|
+
], GetOrderCommissionListDTO.prototype, "take", void 0);
|
|
576
|
+
__decorate([
|
|
577
|
+
(0, isNullable_1.default)(),
|
|
578
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
579
|
+
(0, class_transformer_1.Type)(() => OrderCommissionOptionDTO),
|
|
580
|
+
__metadata("design:type", OrderCommissionOptionDTO)
|
|
581
|
+
], GetOrderCommissionListDTO.prototype, "option", void 0);
|
|
582
|
+
__decorate([
|
|
583
|
+
(0, class_validator_1.IsOptional)(),
|
|
584
|
+
(0, class_validator_1.IsString)()
|
|
585
|
+
/** 검색 키워드
|
|
586
|
+
* @notice 카매니저 이름, 닉네임, 주문번호
|
|
587
|
+
*/
|
|
588
|
+
,
|
|
589
|
+
__metadata("design:type", String)
|
|
590
|
+
], GetOrderCommissionListDTO.prototype, "keyword", void 0);
|
|
591
|
+
__decorate([
|
|
592
|
+
(0, isNullable_1.default)(),
|
|
593
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
594
|
+
(0, class_transformer_1.Type)(() => OrderCommissionAdditionalInfoDTO),
|
|
595
|
+
__metadata("design:type", OrderCommissionAdditionalInfoDTO)
|
|
596
|
+
], GetOrderCommissionListDTO.prototype, "additionalInfo", void 0);
|
|
597
|
+
/** 수수료 정산 요청 */
|
|
598
|
+
class AskCommissionDTO {
|
|
599
|
+
}
|
|
600
|
+
exports.AskCommissionDTO = AskCommissionDTO;
|
|
601
|
+
__decorate([
|
|
602
|
+
(0, class_validator_1.IsNumber)(),
|
|
603
|
+
__metadata("design:type", Number)
|
|
604
|
+
], AskCommissionDTO.prototype, "commissionId", void 0);
|
|
605
|
+
__decorate([
|
|
606
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderCommissionMethod)),
|
|
607
|
+
__metadata("design:type", String)
|
|
608
|
+
], AskCommissionDTO.prototype, "method", void 0);
|
|
609
|
+
__decorate([
|
|
610
|
+
(0, class_validator_1.IsIn)(data_1.BankCode),
|
|
611
|
+
__metadata("design:type", String)
|
|
612
|
+
], AskCommissionDTO.prototype, "bankCode", void 0);
|
|
613
|
+
__decorate([
|
|
614
|
+
(0, class_validator_1.IsString)()
|
|
615
|
+
/** 계좌주명 */
|
|
616
|
+
,
|
|
617
|
+
__metadata("design:type", String)
|
|
618
|
+
], AskCommissionDTO.prototype, "ownerName", void 0);
|
|
619
|
+
__decorate([
|
|
620
|
+
(0, class_validator_1.IsString)()
|
|
621
|
+
/** 계좌번호 */
|
|
622
|
+
,
|
|
623
|
+
__metadata("design:type", String)
|
|
624
|
+
], AskCommissionDTO.prototype, "accountNumber", void 0);
|
|
625
|
+
__decorate([
|
|
626
|
+
(0, class_validator_1.IsNumber)()
|
|
627
|
+
/** 관리자가 해당 주문에 대하여 입력한 수수료 */
|
|
628
|
+
,
|
|
629
|
+
__metadata("design:type", Number)
|
|
630
|
+
], AskCommissionDTO.prototype, "price", void 0);
|
|
631
|
+
class CommissionIdDTO {
|
|
632
|
+
}
|
|
633
|
+
exports.CommissionIdDTO = CommissionIdDTO;
|
|
634
|
+
__decorate([
|
|
635
|
+
(0, class_validator_1.IsNumber)(),
|
|
636
|
+
__metadata("design:type", Number)
|
|
637
|
+
], CommissionIdDTO.prototype, "commissionId", void 0);
|
|
638
|
+
class CommissionFinishDTO extends CommissionIdDTO {
|
|
639
|
+
}
|
|
640
|
+
exports.CommissionFinishDTO = CommissionFinishDTO;
|
|
641
|
+
__decorate([
|
|
642
|
+
(0, class_validator_1.IsDate)(),
|
|
643
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
644
|
+
__metadata("design:type", Date)
|
|
645
|
+
], CommissionFinishDTO.prototype, "paid_date", void 0);
|
|
646
|
+
/**
|
|
647
|
+
* @description 어드민 - 리스렌트 주문 정보 업데이트
|
|
648
|
+
*/
|
|
649
|
+
class Admin_UpdateLeaseRentOrderDTO extends Admin_UpdateOrderDTO {
|
|
650
|
+
}
|
|
651
|
+
exports.Admin_UpdateLeaseRentOrderDTO = Admin_UpdateLeaseRentOrderDTO;
|
|
652
|
+
/**
|
|
653
|
+
* @description 해당 주문에 리스렌트 배정 딜러를 업데이트합니다
|
|
654
|
+
* @result 리스렌트 카매니저는 배정받은 주문만 확인할 수 있습니다
|
|
655
|
+
*/
|
|
656
|
+
class Admin_LeaseRentOrder_SetAssignedDealerDTO extends OrderIdDTO {
|
|
657
|
+
}
|
|
658
|
+
exports.Admin_LeaseRentOrder_SetAssignedDealerDTO = Admin_LeaseRentOrder_SetAssignedDealerDTO;
|
|
659
|
+
__decorate([
|
|
660
|
+
(0, class_validator_1.IsArray)(),
|
|
661
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
662
|
+
(0, class_validator_1.IsOptional)()
|
|
663
|
+
/**
|
|
664
|
+
* 회원 Id List
|
|
665
|
+
* 이 리스트로 배정 딜러 리스트를 수정합니다
|
|
666
|
+
*/
|
|
667
|
+
,
|
|
668
|
+
__metadata("design:type", Array)
|
|
669
|
+
], Admin_LeaseRentOrder_SetAssignedDealerDTO.prototype, "assignedDealerList", void 0);
|
|
670
|
+
class CreateOrderMemoDTO extends OrderIdDTO {
|
|
671
|
+
}
|
|
672
|
+
exports.CreateOrderMemoDTO = CreateOrderMemoDTO;
|
|
673
|
+
__decorate([
|
|
674
|
+
(0, class_validator_1.IsString)(),
|
|
675
|
+
__metadata("design:type", String)
|
|
676
|
+
], CreateOrderMemoDTO.prototype, "content", void 0);
|
|
677
|
+
__decorate([
|
|
678
|
+
(0, class_validator_1.IsString)(),
|
|
679
|
+
__metadata("design:type", String)
|
|
680
|
+
], CreateOrderMemoDTO.prototype, "content_html", void 0);
|
|
681
|
+
class DeleteOrderMemoDTO extends OrderIdDTO {
|
|
682
|
+
}
|
|
683
|
+
exports.DeleteOrderMemoDTO = DeleteOrderMemoDTO;
|
|
684
|
+
__decorate([
|
|
685
|
+
(0, class_validator_1.IsInt)(),
|
|
686
|
+
__metadata("design:type", Number)
|
|
687
|
+
], DeleteOrderMemoDTO.prototype, "memoId", void 0);
|
|
688
|
+
class OrderBookmarkDTO extends OrderIdDTO {
|
|
689
|
+
}
|
|
690
|
+
exports.OrderBookmarkDTO = OrderBookmarkDTO;
|
|
691
|
+
__decorate([
|
|
692
|
+
(0, class_validator_1.IsBoolean)(),
|
|
693
|
+
__metadata("design:type", Boolean)
|
|
694
|
+
], OrderBookmarkDTO.prototype, "isBookmarked", void 0);
|
|
695
|
+
class OrderBidDTO extends OrderIdDTO {
|
|
696
|
+
}
|
|
697
|
+
exports.OrderBidDTO = OrderBidDTO;
|
|
698
|
+
__decorate([
|
|
699
|
+
(0, class_validator_1.IsString)(),
|
|
700
|
+
__metadata("design:type", String)
|
|
701
|
+
], OrderBidDTO.prototype, "content", void 0);
|
|
702
|
+
__decorate([
|
|
703
|
+
(0, class_validator_1.IsString)(),
|
|
704
|
+
(0, class_validator_1.IsOptional)(),
|
|
705
|
+
__metadata("design:type", String)
|
|
706
|
+
], OrderBidDTO.prototype, "estimateFileId", void 0);
|
|
707
|
+
__decorate([
|
|
708
|
+
(0, class_validator_1.IsNumber)(),
|
|
709
|
+
(0, class_validator_1.IsOptional)(),
|
|
710
|
+
__metadata("design:type", Number)
|
|
711
|
+
], OrderBidDTO.prototype, "purchasePrice", void 0);
|
|
712
|
+
class ReviewOrderDTO extends OrderIdDTO {
|
|
713
|
+
}
|
|
714
|
+
exports.ReviewOrderDTO = ReviewOrderDTO;
|
|
715
|
+
__decorate([
|
|
716
|
+
(0, class_validator_1.IsNumber)(),
|
|
717
|
+
__metadata("design:type", Number)
|
|
718
|
+
], ReviewOrderDTO.prototype, "rating", void 0);
|
|
719
|
+
__decorate([
|
|
720
|
+
(0, class_validator_1.IsString)(),
|
|
721
|
+
__metadata("design:type", String)
|
|
722
|
+
], ReviewOrderDTO.prototype, "title", void 0);
|
|
723
|
+
__decorate([
|
|
724
|
+
(0, class_validator_1.IsString)(),
|
|
725
|
+
__metadata("design:type", String)
|
|
726
|
+
], ReviewOrderDTO.prototype, "content", void 0);
|
|
727
|
+
__decorate([
|
|
728
|
+
(0, class_validator_1.IsString)(),
|
|
729
|
+
(0, class_validator_1.IsOptional)(),
|
|
730
|
+
__metadata("design:type", String)
|
|
731
|
+
], ReviewOrderDTO.prototype, "file_1_id", void 0);
|
|
732
|
+
__decorate([
|
|
733
|
+
(0, class_validator_1.IsString)(),
|
|
734
|
+
(0, class_validator_1.IsOptional)(),
|
|
735
|
+
__metadata("design:type", String)
|
|
736
|
+
], ReviewOrderDTO.prototype, "file_2_id", void 0);
|
|
737
|
+
__decorate([
|
|
738
|
+
(0, class_validator_1.IsString)(),
|
|
739
|
+
(0, class_validator_1.IsOptional)(),
|
|
740
|
+
__metadata("design:type", String)
|
|
741
|
+
], ReviewOrderDTO.prototype, "file_3_id", void 0);
|
|
742
|
+
__decorate([
|
|
743
|
+
(0, class_validator_1.IsString)(),
|
|
744
|
+
(0, class_validator_1.IsOptional)(),
|
|
745
|
+
__metadata("design:type", String)
|
|
746
|
+
], ReviewOrderDTO.prototype, "file_4_id", void 0);
|
|
747
|
+
__decorate([
|
|
748
|
+
(0, class_validator_1.IsString)(),
|
|
749
|
+
(0, class_validator_1.IsOptional)(),
|
|
750
|
+
__metadata("design:type", String)
|
|
751
|
+
], ReviewOrderDTO.prototype, "file_5_id", void 0);
|
|
752
|
+
class PurchaseInitDTO {
|
|
753
|
+
}
|
|
754
|
+
exports.PurchaseInitDTO = PurchaseInitDTO;
|
|
755
|
+
__decorate([
|
|
756
|
+
(0, class_validator_1.IsNumber)(),
|
|
757
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
758
|
+
(0, class_validator_1.IsOptional)(),
|
|
759
|
+
__metadata("design:type", Number)
|
|
760
|
+
], PurchaseInitDTO.prototype, "carModelId", void 0);
|
|
761
|
+
__decorate([
|
|
762
|
+
(0, class_validator_1.IsIn)(Object.keys(type_1.OrderPurchasingType)),
|
|
763
|
+
__metadata("design:type", String)
|
|
764
|
+
], PurchaseInitDTO.prototype, "type", void 0);
|
|
765
|
+
/**
|
|
766
|
+
* @description 주문 정보를 업데이트할 때 값을 입력해 주세요
|
|
767
|
+
* @description 값이 입력되면 업데이트되며, Null일 경우 값을 제거합니다
|
|
768
|
+
*/
|
|
769
|
+
class PurchaseOrderUpdateDTO {
|
|
770
|
+
}
|
|
771
|
+
exports.PurchaseOrderUpdateDTO = PurchaseOrderUpdateDTO;
|
|
772
|
+
__decorate([
|
|
773
|
+
(0, class_validator_1.IsNumber)(),
|
|
774
|
+
(0, class_validator_1.IsOptional)(),
|
|
775
|
+
__metadata("design:type", Number)
|
|
776
|
+
], PurchaseOrderUpdateDTO.prototype, "progress", void 0);
|
|
777
|
+
__decorate([
|
|
778
|
+
(0, class_validator_1.IsString)(),
|
|
779
|
+
(0, class_validator_1.IsOptional)(),
|
|
780
|
+
__metadata("design:type", String)
|
|
781
|
+
], PurchaseOrderUpdateDTO.prototype, "currentPath", void 0);
|
|
782
|
+
__decorate([
|
|
783
|
+
(0, class_validator_1.IsIn)(data_1.CarMakerId),
|
|
784
|
+
(0, class_validator_1.IsOptional)(),
|
|
785
|
+
(0, isNullable_1.default)(),
|
|
786
|
+
__metadata("design:type", Number)
|
|
787
|
+
], PurchaseOrderUpdateDTO.prototype, "carMakerId", void 0);
|
|
788
|
+
__decorate([
|
|
789
|
+
(0, class_validator_1.IsNumber)(),
|
|
790
|
+
(0, class_validator_1.IsOptional)(),
|
|
791
|
+
(0, isNullable_1.default)(),
|
|
792
|
+
__metadata("design:type", Number)
|
|
793
|
+
], PurchaseOrderUpdateDTO.prototype, "carModelId", void 0);
|
|
794
|
+
__decorate([
|
|
795
|
+
(0, class_validator_1.IsNumber)(),
|
|
796
|
+
(0, class_validator_1.IsOptional)(),
|
|
797
|
+
(0, isNullable_1.default)(),
|
|
798
|
+
__metadata("design:type", Number)
|
|
799
|
+
], PurchaseOrderUpdateDTO.prototype, "carTrimId", void 0);
|
|
800
|
+
__decorate([
|
|
801
|
+
(0, class_validator_1.IsNumber)(),
|
|
802
|
+
(0, class_validator_1.IsOptional)(),
|
|
803
|
+
(0, isNullable_1.default)(),
|
|
804
|
+
__metadata("design:type", Number)
|
|
805
|
+
], PurchaseOrderUpdateDTO.prototype, "carGradeId", void 0);
|
|
806
|
+
__decorate([
|
|
807
|
+
(0, class_validator_1.IsNumber)(),
|
|
808
|
+
(0, class_validator_1.IsOptional)(),
|
|
809
|
+
(0, isNullable_1.default)(),
|
|
810
|
+
__metadata("design:type", Number)
|
|
811
|
+
], PurchaseOrderUpdateDTO.prototype, "carColorId", void 0);
|
|
812
|
+
__decorate([
|
|
813
|
+
(0, class_validator_1.IsBoolean)(),
|
|
814
|
+
(0, class_validator_1.IsOptional)(),
|
|
815
|
+
(0, isNullable_1.default)(),
|
|
816
|
+
__metadata("design:type", Boolean)
|
|
817
|
+
], PurchaseOrderUpdateDTO.prototype, "isNotSelectColor", void 0);
|
|
818
|
+
__decorate([
|
|
819
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
820
|
+
(0, class_validator_1.IsOptional)(),
|
|
821
|
+
(0, isNullable_1.default)(),
|
|
822
|
+
__metadata("design:type", Array)
|
|
823
|
+
], PurchaseOrderUpdateDTO.prototype, "carOptionIdList", void 0);
|
|
824
|
+
__decorate([
|
|
825
|
+
(0, class_validator_1.IsString)(),
|
|
826
|
+
(0, class_validator_1.IsOptional)(),
|
|
827
|
+
(0, isNullable_1.default)(),
|
|
828
|
+
__metadata("design:type", String)
|
|
829
|
+
], PurchaseOrderUpdateDTO.prototype, "otherCompanyEstimateContent", void 0);
|
|
830
|
+
__decorate([
|
|
831
|
+
(0, class_validator_1.IsString)(),
|
|
832
|
+
(0, class_validator_1.IsOptional)(),
|
|
833
|
+
(0, isNullable_1.default)(),
|
|
834
|
+
__metadata("design:type", String)
|
|
835
|
+
], PurchaseOrderUpdateDTO.prototype, "otherCompanyEstimateFileId", void 0);
|
|
836
|
+
__decorate([
|
|
837
|
+
(0, class_validator_1.IsString)(),
|
|
838
|
+
(0, class_validator_1.IsOptional)(),
|
|
839
|
+
(0, isNullable_1.default)(),
|
|
840
|
+
__metadata("design:type", String)
|
|
841
|
+
], PurchaseOrderUpdateDTO.prototype, "additionalRequest", void 0);
|
|
842
|
+
__decorate([
|
|
843
|
+
(0, class_validator_1.IsObject)(),
|
|
844
|
+
(0, class_validator_1.IsOptional)(),
|
|
845
|
+
(0, isNullable_1.default)(),
|
|
846
|
+
__metadata("design:type", Object)
|
|
847
|
+
], PurchaseOrderUpdateDTO.prototype, "additionalInfo", void 0);
|
|
848
|
+
/** 차량 주문 DTO */
|
|
849
|
+
class PurchaseOrderDTO {
|
|
850
|
+
}
|
|
851
|
+
exports.PurchaseOrderDTO = PurchaseOrderDTO;
|
|
852
|
+
__decorate([
|
|
853
|
+
(0, class_validator_1.IsOptional)(),
|
|
854
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
855
|
+
(0, class_transformer_1.Type)(() => PurchaseOrderUpdateDTO),
|
|
856
|
+
__metadata("design:type", PurchaseOrderUpdateDTO)
|
|
857
|
+
], PurchaseOrderDTO.prototype, "update", void 0);
|
|
858
|
+
/** 내차팔기 주문 작성 시작 */
|
|
859
|
+
class SellingInitDTO {
|
|
860
|
+
}
|
|
861
|
+
exports.SellingInitDTO = SellingInitDTO;
|
|
862
|
+
__decorate([
|
|
863
|
+
(0, class_validator_1.IsUUID)(),
|
|
864
|
+
__metadata("design:type", String)
|
|
865
|
+
], SellingInitDTO.prototype, "usedCarInfoId", void 0);
|
|
866
|
+
__decorate([
|
|
867
|
+
(0, class_validator_1.IsUUID)(),
|
|
868
|
+
(0, class_validator_1.IsOptional)(),
|
|
869
|
+
__metadata("design:type", String)
|
|
870
|
+
], SellingInitDTO.prototype, "accidentHistoryId", void 0);
|
|
871
|
+
/**
|
|
872
|
+
* @description 주문 정보를 업데이트할 때 값을 입력해 주세요
|
|
873
|
+
* @description 값이 입력되면 업데이트되며, Null일 경우 값을 제거합니다
|
|
874
|
+
*/
|
|
875
|
+
class SellingOrderUpdateDTO {
|
|
876
|
+
}
|
|
877
|
+
exports.SellingOrderUpdateDTO = SellingOrderUpdateDTO;
|
|
878
|
+
__decorate([
|
|
879
|
+
(0, class_validator_1.IsNumber)(),
|
|
880
|
+
(0, class_validator_1.IsOptional)(),
|
|
881
|
+
__metadata("design:type", Number)
|
|
882
|
+
], SellingOrderUpdateDTO.prototype, "progress", void 0);
|
|
883
|
+
__decorate([
|
|
884
|
+
(0, class_validator_1.IsNumber)(),
|
|
885
|
+
(0, class_validator_1.IsOptional)(),
|
|
886
|
+
__metadata("design:type", Number)
|
|
887
|
+
], SellingOrderUpdateDTO.prototype, "currentStep", void 0);
|
|
888
|
+
__decorate([
|
|
889
|
+
(0, class_validator_1.IsNumber)(),
|
|
890
|
+
(0, class_validator_1.IsOptional)(),
|
|
891
|
+
__metadata("design:type", Number)
|
|
892
|
+
], SellingOrderUpdateDTO.prototype, "drivenDistance", void 0);
|
|
893
|
+
__decorate([
|
|
894
|
+
(0, class_validator_1.IsIn)(data_1.SigunguId),
|
|
895
|
+
(0, class_validator_1.IsOptional)(),
|
|
896
|
+
__metadata("design:type", Number)
|
|
897
|
+
], SellingOrderUpdateDTO.prototype, "sellRegionId", void 0);
|
|
898
|
+
__decorate([
|
|
899
|
+
(0, class_validator_1.IsString)(),
|
|
900
|
+
(0, class_validator_1.IsOptional)(),
|
|
901
|
+
__metadata("design:type", String)
|
|
902
|
+
], SellingOrderUpdateDTO.prototype, "boughtMethod", void 0);
|
|
903
|
+
__decorate([
|
|
904
|
+
(0, class_validator_1.IsString)(),
|
|
905
|
+
(0, class_validator_1.IsOptional)(),
|
|
906
|
+
(0, isNullable_1.default)(),
|
|
907
|
+
__metadata("design:type", String)
|
|
908
|
+
], SellingOrderUpdateDTO.prototype, "additionalRequest", void 0);
|
|
909
|
+
__decorate([
|
|
910
|
+
(0, class_validator_1.IsObject)(),
|
|
911
|
+
(0, class_validator_1.IsOptional)(),
|
|
912
|
+
(0, isNullable_1.default)(),
|
|
913
|
+
__metadata("design:type", Object)
|
|
914
|
+
], SellingOrderUpdateDTO.prototype, "additionalInfo", void 0);
|
|
915
|
+
__decorate([
|
|
916
|
+
(0, class_validator_1.IsString)(),
|
|
917
|
+
(0, class_validator_1.IsOptional)(),
|
|
918
|
+
(0, isNullable_1.default)(),
|
|
919
|
+
__metadata("design:type", String)
|
|
920
|
+
], SellingOrderUpdateDTO.prototype, "file_1_id", void 0);
|
|
921
|
+
__decorate([
|
|
922
|
+
(0, class_validator_1.IsString)(),
|
|
923
|
+
(0, class_validator_1.IsOptional)(),
|
|
924
|
+
(0, isNullable_1.default)(),
|
|
925
|
+
__metadata("design:type", String)
|
|
926
|
+
], SellingOrderUpdateDTO.prototype, "file_2_id", void 0);
|
|
927
|
+
__decorate([
|
|
928
|
+
(0, class_validator_1.IsString)(),
|
|
929
|
+
(0, class_validator_1.IsOptional)(),
|
|
930
|
+
(0, isNullable_1.default)(),
|
|
931
|
+
__metadata("design:type", String)
|
|
932
|
+
], SellingOrderUpdateDTO.prototype, "file_3_id", void 0);
|
|
933
|
+
__decorate([
|
|
934
|
+
(0, class_validator_1.IsString)(),
|
|
935
|
+
(0, class_validator_1.IsOptional)(),
|
|
936
|
+
(0, isNullable_1.default)(),
|
|
937
|
+
__metadata("design:type", String)
|
|
938
|
+
], SellingOrderUpdateDTO.prototype, "file_4_id", void 0);
|
|
939
|
+
__decorate([
|
|
940
|
+
(0, class_validator_1.IsString)(),
|
|
941
|
+
(0, class_validator_1.IsOptional)(),
|
|
942
|
+
(0, isNullable_1.default)(),
|
|
943
|
+
__metadata("design:type", String)
|
|
944
|
+
], SellingOrderUpdateDTO.prototype, "file_5_id", void 0);
|
|
945
|
+
__decorate([
|
|
946
|
+
(0, class_validator_1.IsString)(),
|
|
947
|
+
(0, class_validator_1.IsOptional)(),
|
|
948
|
+
(0, isNullable_1.default)(),
|
|
949
|
+
__metadata("design:type", String)
|
|
950
|
+
], SellingOrderUpdateDTO.prototype, "file_6_id", void 0);
|
|
951
|
+
/** 차량 주문 DTO */
|
|
952
|
+
class SellingOrderDTO {
|
|
953
|
+
}
|
|
954
|
+
exports.SellingOrderDTO = SellingOrderDTO;
|
|
955
|
+
__decorate([
|
|
956
|
+
(0, class_validator_1.IsOptional)(),
|
|
957
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
958
|
+
(0, class_transformer_1.Type)(() => SellingOrderUpdateDTO),
|
|
959
|
+
__metadata("design:type", SellingOrderUpdateDTO)
|
|
960
|
+
], SellingOrderDTO.prototype, "update", void 0);
|