@yolo-croket-dev/amqp-access 0.7.47-jun.47 → 0.7.47-jun.49
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/order-server/dto/purchase-receipt/command/update-purchase-receipt.dto.d.ts +2 -1
- package/order-server/dto/purchase-receipt/command/update-purchase-receipt.dto.js +6 -0
- package/order-server/dto/purchase-receipt/query/search-purchase-receipts.dto.d.ts +2 -1
- package/order-server/dto/purchase-receipt/query/search-purchase-receipts.dto.js +6 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PurchasedProcessV2Enum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
|
|
1
|
+
import { PurchasedProcessV2Enum, ReservationCancelTypeEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
|
|
2
2
|
declare class PurchaseReceiptReceiveInfo {
|
|
3
3
|
buyerName: string;
|
|
4
4
|
buyerPhoneNumber: string;
|
|
@@ -14,5 +14,6 @@ export declare class UpdatePurchaseReceiptPayload {
|
|
|
14
14
|
process?: PurchasedProcessV2Enum;
|
|
15
15
|
paymentDate?: Date;
|
|
16
16
|
receiveInfo?: PurchaseReceiptReceiveInfo;
|
|
17
|
+
cancelType?: ReservationCancelTypeEnum;
|
|
17
18
|
}
|
|
18
19
|
export {};
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdatePurchaseReceiptPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
// eslint-disable-next-line max-len
|
|
14
15
|
const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
|
|
15
16
|
const class_transformer_1 = require("class-transformer");
|
|
16
17
|
class PurchaseReceiptReceiveInfo {
|
|
@@ -78,3 +79,8 @@ __decorate([
|
|
|
78
79
|
(0, class_validator_1.IsOptional)(),
|
|
79
80
|
__metadata("design:type", PurchaseReceiptReceiveInfo)
|
|
80
81
|
], UpdatePurchaseReceiptPayload.prototype, "receiveInfo", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsEnum)(purchased_info_entity_1.ReservationCancelTypeEnum),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], UpdatePurchaseReceiptPayload.prototype, "cancelType", void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PurchasedProcessV2Enum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
|
|
1
|
+
import { PurchasedProcessV2Enum, ReservationCancelTypeEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
|
|
2
2
|
import { PurchaseReceiptDomain, CustomPurchaseReceiptPurchasedInfo } from '@yolo-croket-dev/domain';
|
|
3
3
|
export declare class SearchPurchaseReceiptsPayload {
|
|
4
4
|
sDate?: Date;
|
|
@@ -7,6 +7,7 @@ export declare class SearchPurchaseReceiptsPayload {
|
|
|
7
7
|
limit: number;
|
|
8
8
|
searchAfter?: string;
|
|
9
9
|
searchBefore?: string;
|
|
10
|
+
cancelType?: ReservationCancelTypeEnum;
|
|
10
11
|
}
|
|
11
12
|
export declare class PurchaseReceiptList implements Pick<PurchaseReceiptDomain, '_id' | 'paymentNumber' | 'paymentMethod' | 'purchasedInfos' | 'paymentDate' | 'searchToken' | 'purchasedInfoTotalCount'> {
|
|
12
13
|
_id: string;
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SearchPurchaseReceiptsResult = exports.PurchaseReceiptList = exports.SearchPurchaseReceiptsPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
// eslint-disable-next-line max-len
|
|
14
15
|
const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
|
|
15
16
|
class SearchPurchaseReceiptsPayload {
|
|
16
17
|
}
|
|
@@ -46,6 +47,11 @@ __decorate([
|
|
|
46
47
|
(0, class_validator_1.IsOptional)(),
|
|
47
48
|
__metadata("design:type", String)
|
|
48
49
|
], SearchPurchaseReceiptsPayload.prototype, "searchBefore", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsEnum)(purchased_info_entity_1.ReservationCancelTypeEnum),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], SearchPurchaseReceiptsPayload.prototype, "cancelType", void 0);
|
|
49
55
|
// eslint-disable-next-line max-len
|
|
50
56
|
class PurchaseReceiptList {
|
|
51
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.47-jun.
|
|
3
|
+
"version": "0.7.47-jun.49",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.27",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "0.2.15",
|
|
24
24
|
"@yolo-croket-dev/entity": "0.2.66-jun.10",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.2.124-jun.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "0.2.124-jun.17",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|