@yolo-croket-dev/amqp-access 0.5.131 → 0.5.133

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,11 +1,14 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { GetAppBulkPushLogByRedisDBKeyPayload, GetAppBulkPushLogByRedisDBKeyResult } from '@yolo-croket-dev/dto-v2/notification-service/app-bulk-push-log';
3
4
  /** @dto */
4
5
  import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult, EditReservationAppBulkPushLogPayload, RemoveReservationAppBulkPushLogPayload } from '../dto/app-bulk-push-log';
5
6
  export declare class AmqpAppBulkPushLogService {
6
7
  private readonly client;
7
8
  private readonly amqpManager;
8
9
  constructor(client: ClientProxy);
10
+ /** @description 대량 앱 푸시 로그 조회 (RedisKey로 조회) */
11
+ getAppBulkPushLogByRedisDBKey(payload: GetAppBulkPushLogByRedisDBKeyPayload, param: AbstractParam): Promise<GetAppBulkPushLogByRedisDBKeyResult>;
9
12
  isExistsAppBulkPushLogByRedisDBKey(payload: IsExistsAppBulkPushLogByRedisDBKeyPayload, param: AbstractParam): Promise<IsExistsAppBulkPushLogByRedisDBKeyResult>;
10
13
  editReservationAppBulkPushLog(payload: EditReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
11
14
  removeReservationAppBulkPushLog(payload: RemoveReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
@@ -21,6 +21,10 @@ let AmqpAppBulkPushLogService = class AmqpAppBulkPushLogService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
+ /** @description 대량 앱 푸시 로그 조회 (RedisKey로 조회) */
25
+ async getAppBulkPushLogByRedisDBKey(payload, param) {
26
+ return this.amqpManager.call('대량 앱 푸시 로그 조회 (RedisKey로 조회)', 'app-bulk-push-log.get.by-redis-db-key', payload, param, { isErrorThrowing: true });
27
+ }
24
28
  async isExistsAppBulkPushLogByRedisDBKey(payload, param) {
25
29
  return this.amqpManager.call('대량 앱 푸시 존재 여부 체크', 'app-bulk-push-log.is-exists.by-redis-db-key', payload, param, { isErrorThrowing: true });
26
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.131",
3
+ "version": "0.5.133",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -12,7 +12,7 @@ export declare class AmqpBrandService {
12
12
  getBrandsByBrandNames(payload: GetBrandsByBrandNamesPayload, param: AbstractParam): Promise<GetBrandsByBrandNamesResult>;
13
13
  getBrandsForAdmin(payload: GetBrandsForAdminPayload, param: AbstractParam): Promise<GetBrandsForAdminResult>;
14
14
  getBrandsByItemIds(payload: GetBrandsByItemIdsPayload, param: AbstractParam): Promise<GetBrandsByItemIdsResult>;
15
- getBrandRequiredCategories(payload: void, param: AbstractParam): Promise<GetBrandRequiredCategoriesResult>;
15
+ getBrandRequiredCategories(param: AbstractParam): Promise<GetBrandRequiredCategoriesResult>;
16
16
  getBrandByBrandName(payload: GetBrandByBrandNamePayload, param: AbstractParam): Promise<GetBrandByBrandNameResult>;
17
17
  autocompleteBrands(payload: AutocompleteBrandsPayload, param: AbstractParam): Promise<AutocompleteBrandsResult>;
18
18
  }
@@ -42,8 +42,8 @@ let AmqpBrandService = class AmqpBrandService {
42
42
  async getBrandsByItemIds(payload, param) {
43
43
  return this.amqpManager.call('브랜드 리스트 조회 -관리자-', 'brand.get.by-item-ids', payload, param);
44
44
  }
45
- async getBrandRequiredCategories(payload, param) {
46
- return this.amqpManager.call('브랜드 필수 카테고리 조회', 'brand.get.required-categories', payload, param);
45
+ async getBrandRequiredCategories(param) {
46
+ return this.amqpManager.call('브랜드 필수 카테고리 조회', 'brand.get.required-categories', {}, param);
47
47
  }
48
48
  async getBrandByBrandName(payload, param) {
49
49
  return this.amqpManager.call('브랜드 이름으로 브랜드 조회', 'brand.get.by-brand-name', payload, param);