@yolo-croket-dev/amqp-access 0.6.36-jun.1 → 0.6.36-jun.2

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.
@@ -3,6 +3,8 @@ export declare class GetCouponAggregationPayload {
3
3
  startDate: string;
4
4
  /** 조회 종료일 (ISO 8601) */
5
5
  endDate: string;
6
+ /** 포함할 쿠폰 코드 패턴 */
7
+ includeCodes?: string[];
6
8
  /** 제외할 쿠폰 코드 패턴 */
7
9
  excludeCodes?: string[];
8
10
  /** 메모 AND 검색 키워드 */
@@ -14,17 +14,24 @@ exports.GetCouponAggregationPayload = void 0;
14
14
  * @description 쿠폰 집계 조회 DTO
15
15
  */
16
16
  const class_validator_1 = require("class-validator");
17
+ const is_iso_8601_utc_decorator_1 = require("../../../../../decorator/is-iso-8601-utc.decorator");
17
18
  class GetCouponAggregationPayload {
18
19
  }
19
20
  exports.GetCouponAggregationPayload = GetCouponAggregationPayload;
20
21
  __decorate([
21
- (0, class_validator_1.IsDateString)(),
22
+ (0, is_iso_8601_utc_decorator_1.IsIso8601Utc)(),
22
23
  __metadata("design:type", String)
23
24
  ], GetCouponAggregationPayload.prototype, "startDate", void 0);
24
25
  __decorate([
25
- (0, class_validator_1.IsDateString)(),
26
+ (0, is_iso_8601_utc_decorator_1.IsIso8601Utc)(),
26
27
  __metadata("design:type", String)
27
28
  ], GetCouponAggregationPayload.prototype, "endDate", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsOptional)(),
31
+ (0, class_validator_1.IsArray)(),
32
+ (0, class_validator_1.IsString)({ each: true }),
33
+ __metadata("design:type", Array)
34
+ ], GetCouponAggregationPayload.prototype, "includeCodes", void 0);
28
35
  __decorate([
29
36
  (0, class_validator_1.IsOptional)(),
30
37
  (0, class_validator_1.IsArray)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.6.36-jun.1",
3
+ "version": "0.6.36-jun.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",