@yolo-croket-dev/amqp-access 0.7.47-jun.48 → 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.
@@ -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.48",
3
+ "version": "0.7.47-jun.49",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",