@yolo-croket-dev/amqp-access 0.0.49-jun.16 → 0.0.49-jun.17

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.
@@ -1,7 +1,7 @@
1
1
  import { EsPurchasedInfoForSearch } from '@yolo-croket-dev/entity-v2/es-purchased-info-for-search';
2
- export declare class GetEsPurchasedInfosForsearchPayload {
2
+ export declare class GetEsPurchasedInfosPayload {
3
3
  PInfoIds: string[];
4
4
  }
5
- export declare class GetEsPurchasedInfosForsearchResult {
5
+ export declare class GetEsPurchasedInfosResult {
6
6
  esPurchasedInfosForSearch: EsPurchasedInfoForSearch[];
7
7
  }
@@ -9,16 +9,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetEsPurchasedInfosForsearchResult = exports.GetEsPurchasedInfosForsearchPayload = void 0;
12
+ exports.GetEsPurchasedInfosResult = exports.GetEsPurchasedInfosPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetEsPurchasedInfosForsearchPayload {
14
+ class GetEsPurchasedInfosPayload {
15
15
  }
16
- exports.GetEsPurchasedInfosForsearchPayload = GetEsPurchasedInfosForsearchPayload;
16
+ exports.GetEsPurchasedInfosPayload = GetEsPurchasedInfosPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)({ each: true }),
19
19
  (0, class_validator_1.IsArray)(),
20
20
  __metadata("design:type", Array)
21
- ], GetEsPurchasedInfosForsearchPayload.prototype, "PInfoIds", void 0);
22
- class GetEsPurchasedInfosForsearchResult {
21
+ ], GetEsPurchasedInfosPayload.prototype, "PInfoIds", void 0);
22
+ class GetEsPurchasedInfosResult {
23
23
  }
24
- exports.GetEsPurchasedInfosForsearchResult = GetEsPurchasedInfosForsearchResult;
24
+ exports.GetEsPurchasedInfosResult = GetEsPurchasedInfosResult;
@@ -1,2 +1,2 @@
1
- export * from './get-es-purchased-infos-for-search.dto';
1
+ export * from './get-es-purchased-infos.dto';
2
2
  export * from './get-all-purchased-info-ids.dto';
@@ -14,5 +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-es-purchased-infos-for-search.dto"), exports);
17
+ __exportStar(require("./get-es-purchased-infos.dto"), exports);
18
18
  __exportStar(require("./get-all-purchased-info-ids.dto"), exports);
@@ -1,11 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetEsPurchasedInfosForsearchPayload, GetEsPurchasedInfosForsearchResult, GetAllPurchasedInfoIdsPayload, GetAllPurchasedInfoIdsResult } from '../dto/query/es';
3
+ import { GetEsPurchasedInfosPayload, GetEsPurchasedInfosResult, GetAllPurchasedInfoIdsPayload, GetAllPurchasedInfoIdsResult } from '../dto/query/es';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
- getEsPurchasedInfosForSearch(payload: GetEsPurchasedInfosForsearchPayload, param: AbstractParam): Promise<GetEsPurchasedInfosForsearchResult>;
8
+ getEsPurchasedInfos(payload: GetEsPurchasedInfosPayload, param: AbstractParam): Promise<GetEsPurchasedInfosResult>;
9
9
  getAllPurchasedInfoIds(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
10
10
  countAllPurchasedInfos(payload: void, param: AbstractParam): Promise<number>;
11
11
  }
@@ -21,9 +21,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
- async getEsPurchasedInfosForSearch(payload, param) {
24
+ async getEsPurchasedInfos(payload, param) {
25
25
  // eslint-disable-next-line max-len
26
- return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es-for-search', payload, param, { isErrorThrowing: true });
26
+ return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es', payload, param, { isErrorThrowing: true });
27
27
  }
28
28
  async getAllPurchasedInfoIds(payload, param) {
29
29
  // eslint-disable-next-line max-len
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.49-jun.16",
3
+ "version": "0.0.49-jun.17",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",