@yolo-croket-dev/amqp-access 0.4.29-slowquery.4 → 0.4.29-slowquery.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.29-slowquery.4",
3
+ "version": "0.4.29-slowquery.6",
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.1.0",
23
23
  "@yolo-croket-dev/dto-v2": "^0.1.1",
24
24
  "@yolo-croket-dev/entity": "^0.2.1",
25
- "@yolo-croket-dev/entity-v2": "^0.1.4",
25
+ "@yolo-croket-dev/entity-v2": "^0.1.13",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -1,12 +1,14 @@
1
1
  export declare class StoreItemPriceFluctuationNotificationTriggerCreate {
2
2
  /** 상품 아이디 */
3
3
  storeItemId: string;
4
- /** 기준 가격 (쿠폰가가 있다면 쿠폰가, 없다면 상품가격) */
5
- calculatedItemPrice?: number;
6
- /** 상품 가격 */
7
- itemPriceForBuyer: number;
8
- /** 기준 가격 */
9
- basePrice: number;
4
+ /** 비교대상 첫번째 로그 가격 */
5
+ firstLogId: string;
6
+ /** 비교대상 마지막 로그 가격 */
7
+ lastLogId: number;
8
+ /** 비교대상 첫번째 로그 기준 가격 */
9
+ firstLogBasePrice: number;
10
+ /** 비교대상 마지막 로그 기준 가격 */
11
+ lastLogBasePrice: number;
10
12
  /** 기준 가격 변동폭 */
11
13
  basePriceFluctuation: number;
12
14
  /** 트리거 타입 */
@@ -20,18 +20,21 @@ __decorate([
20
20
  __metadata("design:type", String)
21
21
  ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "storeItemId", void 0);
22
22
  __decorate([
23
- (0, class_validator_1.IsOptional)(),
24
- (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "firstLogId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsMongoId)(),
25
28
  __metadata("design:type", Number)
26
- ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "calculatedItemPrice", void 0);
29
+ ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "lastLogId", void 0);
27
30
  __decorate([
28
31
  (0, class_validator_1.IsNumber)(),
29
32
  __metadata("design:type", Number)
30
- ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "itemPriceForBuyer", void 0);
33
+ ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "firstLogBasePrice", void 0);
31
34
  __decorate([
32
35
  (0, class_validator_1.IsNumber)(),
33
36
  __metadata("design:type", Number)
34
- ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "basePrice", void 0);
37
+ ], StoreItemPriceFluctuationNotificationTriggerCreate.prototype, "lastLogBasePrice", void 0);
35
38
  __decorate([
36
39
  (0, class_validator_1.IsNumber)(),
37
40
  __metadata("design:type", Number)