@yolo-croket-dev/amqp-access 0.6.1 → 0.6.3

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.6.1",
3
+ "version": "0.6.3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,9 +1,35 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.GetStoreItemInfoByIdResult = exports.GetStoreItemInfoByIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
4
14
  class GetStoreItemInfoByIdPayload {
5
15
  }
6
16
  exports.GetStoreItemInfoByIdPayload = GetStoreItemInfoByIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetStoreItemInfoByIdPayload.prototype, "itemId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsArray)(),
23
+ (0, class_validator_1.IsString)({ each: true }),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", Array)
26
+ ], GetStoreItemInfoByIdPayload.prototype, "includeFields", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsArray)(),
29
+ (0, class_validator_1.IsString)({ each: true }),
30
+ (0, class_validator_1.IsOptional)(),
31
+ __metadata("design:type", Array)
32
+ ], GetStoreItemInfoByIdPayload.prototype, "excludeFields", void 0);
7
33
  class GetStoreItemInfoByIdResult {
8
34
  }
9
35
  exports.GetStoreItemInfoByIdResult = GetStoreItemInfoByIdResult;
@@ -1,7 +1,7 @@
1
- import { WeeklyMegaDealCouponHotDealItemData } from '../../../weekly-mega-deal';
1
+ import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
2
2
  export declare class GetStoreItemsByTopRankTabPayload {
3
3
  blackFridayTopRankTabId: string;
4
4
  topRankTitle: string;
5
5
  }
6
- export interface GetStoreItemsByTopRankTabResult extends WeeklyMegaDealCouponHotDealItemData {
6
+ export interface GetStoreItemsByTopRankTabResult extends StoreItemLegacyEntity {
7
7
  }
@@ -5,16 +5,19 @@ export interface WeeklyMegaDealCouponHotDealItemData {
5
5
  itemImg: string;
6
6
  itemName: string;
7
7
  itemPriceForBuyer: number;
8
+ isShipping: boolean;
8
9
  shippingFee: number;
9
10
  isBooked: boolean;
10
11
  stickerInfo?: StoreItemLegacyStickerInfo;
11
12
  maxDiscountCouponPriceInfo?: MaxDiscountCouponPriceInfo;
12
13
  isAbroadShipping: boolean;
13
14
  regularPrice?: number;
15
+ storeTitle: string;
16
+ area: string;
17
+ nation: string;
18
+ remainCount: number;
19
+ /** @deprecated 기존 legacy api 에서 없던 값 */
14
20
  isSoldOut?: boolean;
15
- storeTitle?: string;
16
- area?: string;
17
- nation?: string;
18
21
  }
19
22
  export declare class GetItemsForCouponHotDealPayload {
20
23
  searchAfter?: string;