@yolo-croket-dev/amqp-access 0.4.119-jun.0 → 0.4.119-jun.1

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.119-jun.0",
3
+ "version": "0.4.119-jun.1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,9 @@
1
+ export interface BrandBlackFridayMdTheme {
2
+ _id: string;
3
+ MDThemeMainTitle: string;
4
+ MDThemeSubTitle: string;
5
+ MDThemePreview: string;
6
+ }
7
+ export declare class GetBrandBlackFirdayMdThemeResult {
8
+ results: BrandBlackFridayMdTheme[];
9
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetBrandBlackFirdayMdThemeResult = void 0;
4
+ class GetBrandBlackFirdayMdThemeResult {
5
+ }
6
+ exports.GetBrandBlackFirdayMdThemeResult = GetBrandBlackFirdayMdThemeResult;
@@ -1,3 +1,4 @@
1
1
  export * from './get-store-md-theme-by-id.dto';
2
2
  export * from './search-store-md-theme-detail-by-id.dto';
3
3
  export * from './search-store-md-theme-ids-by-item-id.dto';
4
+ export * from './get-brand-black-firday-md-theme.dto';
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-store-md-theme-by-id.dto"), exports);
18
18
  __exportStar(require("./search-store-md-theme-detail-by-id.dto"), exports);
19
19
  __exportStar(require("./search-store-md-theme-ids-by-item-id.dto"), exports);
20
+ __exportStar(require("./get-brand-black-firday-md-theme.dto"), exports);
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { StoreMDThemeEntity } from '@yolo-croket-dev/entity/src/storemdtheme';
4
- import { GetStoreMDThemeByIdPayload, SearchStoreMDThemeDetailByIdPayload, SearchStoreMDThemeDetailByIdResult, SearchStoreMDThemeIdsByItemIdPayload, SearchStoreMDThemeIdsByItemIdResult } from '../dto/store-md-theme';
4
+ import { GetStoreMDThemeByIdPayload, SearchStoreMDThemeDetailByIdPayload, SearchStoreMDThemeDetailByIdResult, SearchStoreMDThemeIdsByItemIdPayload, SearchStoreMDThemeIdsByItemIdResult, GetBrandBlackFirdayMdThemeResult } from '../dto/store-md-theme';
5
5
  export declare class AmqpStoreMdThemeService {
6
6
  private readonly client;
7
7
  private readonly amqpManager;
@@ -9,4 +9,5 @@ export declare class AmqpStoreMdThemeService {
9
9
  getStoreMDThemeById(payload: GetStoreMDThemeByIdPayload, param: AbstractParam): Promise<StoreMDThemeEntity>;
10
10
  searchStoreMDThemeDetailById(payload: SearchStoreMDThemeDetailByIdPayload, param: AbstractParam): Promise<SearchStoreMDThemeDetailByIdResult>;
11
11
  searchStoreMDThemeIdsByItemId(payload: SearchStoreMDThemeIdsByItemIdPayload, param: AbstractParam): Promise<SearchStoreMDThemeIdsByItemIdResult>;
12
+ getBrandBlackFirdayMdTheme(payload: void, param: AbstractParam): Promise<GetBrandBlackFirdayMdThemeResult>;
12
13
  }
@@ -30,6 +30,9 @@ let AmqpStoreMdThemeService = class AmqpStoreMdThemeService {
30
30
  async searchStoreMDThemeIdsByItemId(payload, param) {
31
31
  return this.amqpManager.call('상품 아이디로 MDTheme 아이디 리스트 조회', 'store-md-theme.get.ids-by-item-id', payload, param, { isErrorThrowing: true });
32
32
  }
33
+ async getBrandBlackFirdayMdTheme(payload, param) {
34
+ return this.amqpManager.call('브랜드 블랙 프라이데이 MDTheme 조회', 'store-md-theme.get.brand-black-friday', payload, param, { isErrorThrowing: true });
35
+ }
33
36
  };
34
37
  exports.AmqpStoreMdThemeService = AmqpStoreMdThemeService;
35
38
  exports.AmqpStoreMdThemeService = AmqpStoreMdThemeService = __decorate([