@yolo-croket-dev/amqp-access 0.0.74-jun.2 → 0.0.74-jun.4

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.0.74-jun.2",
3
+ "version": "0.0.74-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -78,6 +78,6 @@ export declare class GetStoreItemIdsByAtlasSearchPayload {
78
78
  export interface GetStoreItemIdsByAtlasSearchResult {
79
79
  allCount: number;
80
80
  itemIds: string[];
81
- searchAfter: string;
82
- searchBefore: string;
81
+ searchAfter?: string;
82
+ searchBefore?: string;
83
83
  }
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -9,6 +9,8 @@ export declare class AmqpStoreItemService {
9
9
  getStoreItemLegacies(payload: GetStoreItemLegaciesPayload, param: AbstractParam): Promise<GetStoreItemLegaciesResult>;
10
10
  /** atlas 검색 */
11
11
  getLegacyStoreItemsByAtlasSearch(payload: GetLegacyStoreItemsByAtlasSearchPayload, param: AbstractParam): Promise<GetLegacyStoreItemsByAtlasSearchResult>;
12
+ /** atlas 상품 itemIds 검색 */
13
+ getStoreItemIdsByAtlasSearch(payload: GetStoreItemIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetStoreItemIdsByAtlasSearchResult>;
12
14
  getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
13
15
  searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
14
16
  getStoreItemsForEs(payload: GetStoreItemsForESPayload, param: AbstractParam): Promise<GetStoreItemsForESResult>;
@@ -29,6 +29,10 @@ let AmqpStoreItemService = class AmqpStoreItemService {
29
29
  async getLegacyStoreItemsByAtlasSearch(payload, param) {
30
30
  return this.amqpManager.call('store item 레거시 조회 atlas ', 'store-item.get.legacy-store-items-by-atlas-search', payload, param, { isErrorThrowing: true });
31
31
  }
32
+ /** atlas 상품 itemIds 검색 */
33
+ async getStoreItemIdsByAtlasSearch(payload, param) {
34
+ return this.amqpManager.call('atlas 상품 itemIds 검색', 'store-item.get.store-item-ids-by-atlas-search', payload, param, { isErrorThrowing: true });
35
+ }
32
36
  async getSellingItemIdsByStoreId(payload, param) {
33
37
  return this.amqpManager.call('해당 스토어에 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-store-id', payload, param, { isErrorThrowing: true });
34
38
  }