@yolo-croket-dev/amqp-access 0.7.163 → 0.7.164

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.7.163",
3
+ "version": "0.7.164",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,3 @@
1
+ export declare class GetBlackFridayLiveTabFilterPayload {
2
+ blackFridayLiveTabId: string;
3
+ }
@@ -0,0 +1,20 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GetBlackFridayLiveTabFilterPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBlackFridayLiveTabFilterPayload {
15
+ }
16
+ exports.GetBlackFridayLiveTabFilterPayload = GetBlackFridayLiveTabFilterPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetBlackFridayLiveTabFilterPayload.prototype, "blackFridayLiveTabId", void 0);
@@ -1 +1,2 @@
1
+ export * from './get-black-friday-live-tab-filter.dto';
1
2
  export * from './get-black-friday-live-tab-info.dto';
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-black-friday-live-tab-filter.dto"), exports);
17
18
  __exportStar(require("./get-black-friday-live-tab-info.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload } from '../../dto';
3
+ import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabFilterPayload, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload } from '../../dto';
4
4
  export declare class AmqpMainBlackFridayService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -9,6 +9,7 @@ export declare class AmqpMainBlackFridayService {
9
9
  getBlackFridayCouponItemTabFilter(payload: GetBlackFridayCouponItemTabFilterPayload, param: AbstractParam): Promise<GetBlackFridayCouponItemTabFilterResult>;
10
10
  getStoreItemsByCouponItemTab(payload: GetStoreItemsByCouponItemTabPayload, param: AbstractParam): Promise<GetStoreItemsByCouponItemTabResult>;
11
11
  updateBlackFridayLiveTab(payload: void, param: AbstractParam): Promise<string>;
12
+ getBlackFridayLiveTabFilter(payload: GetBlackFridayLiveTabFilterPayload, param: AbstractParam): Promise<string[]>;
12
13
  getBlackFridayLiveTabInfo(payload: GetBlackFridayLiveTabInfoPayload, param: AbstractParam): Promise<GetBlackFridayLiveTabInfoResult>;
13
14
  updateBlackFridayThisWeekHotDealTab(payload: void, param: AbstractParam): Promise<string>;
14
15
  getBlackFridayThisWeekHotDealTabLiveDeals(payload: GetBlackFridayThisWeekHotDealTabLiveDealsPayload, param: AbstractParam): Promise<GetBlackFridayThisWeekHotDealTabLiveDealsResult>;
@@ -33,6 +33,9 @@ let AmqpMainBlackFridayService = class AmqpMainBlackFridayService {
33
33
  async updateBlackFridayLiveTab(payload, param) {
34
34
  return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 수정', 'main-black-friday.update.live-tab', payload, param, { isErrorThrowing: true });
35
35
  }
36
+ async getBlackFridayLiveTabFilter(payload, param) {
37
+ return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 필터 조회', 'main-black-friday.get.live-tab-filter', payload, param, { isErrorThrowing: true });
38
+ }
36
39
  async getBlackFridayLiveTabInfo(payload, param) {
37
40
  return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 정보 조회', 'main-black-friday.get.live-tab-info', payload, param, { isErrorThrowing: true });
38
41
  }