@yolo-croket-dev/amqp-access 0.7.77 → 0.7.78-sj1
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.
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
export declare enum DeliveryListRangeEnum {
|
|
3
3
|
/** 미발송 — beforeDeposit, waitingOrder, beforeDelivery */
|
|
4
4
|
yet = "yet",
|
|
5
|
-
/** 배송 중 —
|
|
5
|
+
/** 배송 중 — afterDelivery, waitingReceive */
|
|
6
6
|
shipping = "shipping"
|
|
7
7
|
}
|
|
8
|
+
/** 배송 목록 정렬 기준 */
|
|
9
|
+
export declare enum GetDeliveryListForAdminSortTypeEnum {
|
|
10
|
+
'최근_결제일순' = "\uCD5C\uADFC_\uACB0\uC81C\uC77C\uC21C",
|
|
11
|
+
'오래된_결제일순' = "\uC624\uB798\uB41C_\uACB0\uC81C\uC77C\uC21C"
|
|
12
|
+
}
|
|
8
13
|
export declare class GetDeliveryListForAdminPayload {
|
|
9
14
|
/** 조회 시작일 — paymentDate 기준 (레거시: sDate) */
|
|
10
15
|
startDate: string;
|
|
@@ -22,6 +27,12 @@ export declare class GetDeliveryListForAdminPayload {
|
|
|
22
27
|
sellerId?: string;
|
|
23
28
|
/** 구매자 아이디 필터 */
|
|
24
29
|
buyerId?: string;
|
|
30
|
+
/** 결제정보 ID로 직접 조회 (설정 시 날짜/범위 조건 무시) */
|
|
31
|
+
pInfoId?: string;
|
|
32
|
+
/** 정렬 기준 — 기본 '최근 결제일순' */
|
|
33
|
+
sortType?: GetDeliveryListForAdminSortTypeEnum;
|
|
34
|
+
/** 페이지 번호 — 기본 1 */
|
|
35
|
+
page?: number;
|
|
25
36
|
/** 조회 건수 — 기본 100, 최대 500 (레거시: 100 고정) */
|
|
26
37
|
limit?: number;
|
|
27
38
|
}
|
|
@@ -9,16 +9,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GetDeliveryListForAdminPayload = exports.DeliveryListRangeEnum = void 0;
|
|
12
|
+
exports.GetDeliveryListForAdminPayload = exports.GetDeliveryListForAdminSortTypeEnum = exports.DeliveryListRangeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
/** 배송 목록 조회 범위 (레거시: range 파라미터) */
|
|
15
15
|
var DeliveryListRangeEnum;
|
|
16
16
|
(function (DeliveryListRangeEnum) {
|
|
17
17
|
/** 미발송 — beforeDeposit, waitingOrder, beforeDelivery */
|
|
18
18
|
DeliveryListRangeEnum["yet"] = "yet";
|
|
19
|
-
/** 배송 중 —
|
|
19
|
+
/** 배송 중 — afterDelivery, waitingReceive */
|
|
20
20
|
DeliveryListRangeEnum["shipping"] = "shipping";
|
|
21
21
|
})(DeliveryListRangeEnum || (exports.DeliveryListRangeEnum = DeliveryListRangeEnum = {}));
|
|
22
|
+
/** 배송 목록 정렬 기준 */
|
|
23
|
+
var GetDeliveryListForAdminSortTypeEnum;
|
|
24
|
+
(function (GetDeliveryListForAdminSortTypeEnum) {
|
|
25
|
+
GetDeliveryListForAdminSortTypeEnum["\uCD5C\uADFC_\uACB0\uC81C\uC77C\uC21C"] = "\uCD5C\uADFC_\uACB0\uC81C\uC77C\uC21C";
|
|
26
|
+
GetDeliveryListForAdminSortTypeEnum["\uC624\uB798\uB41C_\uACB0\uC81C\uC77C\uC21C"] = "\uC624\uB798\uB41C_\uACB0\uC81C\uC77C\uC21C";
|
|
27
|
+
})(GetDeliveryListForAdminSortTypeEnum || (exports.GetDeliveryListForAdminSortTypeEnum = GetDeliveryListForAdminSortTypeEnum = {}));
|
|
22
28
|
class GetDeliveryListForAdminPayload {
|
|
23
29
|
}
|
|
24
30
|
exports.GetDeliveryListForAdminPayload = GetDeliveryListForAdminPayload;
|
|
@@ -59,6 +65,21 @@ __decorate([
|
|
|
59
65
|
(0, class_validator_1.IsMongoId)(),
|
|
60
66
|
__metadata("design:type", String)
|
|
61
67
|
], GetDeliveryListForAdminPayload.prototype, "buyerId", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], GetDeliveryListForAdminPayload.prototype, "pInfoId", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsEnum)(GetDeliveryListForAdminSortTypeEnum),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], GetDeliveryListForAdminPayload.prototype, "sortType", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsNumber)(),
|
|
81
|
+
__metadata("design:type", Number)
|
|
82
|
+
], GetDeliveryListForAdminPayload.prototype, "page", void 0);
|
|
62
83
|
__decorate([
|
|
63
84
|
(0, class_validator_1.IsOptional)(),
|
|
64
85
|
(0, class_validator_1.IsNumber)(),
|