@yolo-croket-dev/amqp-access 0.5.132 → 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
|
}
|