@yolo-croket-dev/amqp-access 0.4.34-slowquery.0 → 0.4.34-slowquery.2
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,9 +1,10 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { SendTemplateNotificationPayload } from '../dto/notification';
|
|
3
|
+
import { SendTemplateNotificationPayload, SendTemplateNotificationBulkPayload, SendTemplateNotificationBulkResult } from '../dto/notification';
|
|
4
4
|
export declare class AmqpSendNotificationService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
sendTemplateNotification(payload: SendTemplateNotificationPayload, param: AbstractParam): Promise<boolean>;
|
|
9
|
+
sendTemplateNotificationBulk(payload: SendTemplateNotificationBulkPayload, param: AbstractParam): Promise<SendTemplateNotificationBulkResult>;
|
|
9
10
|
}
|
|
@@ -24,6 +24,9 @@ let AmqpSendNotificationService = class AmqpSendNotificationService {
|
|
|
24
24
|
async sendTemplateNotification(payload, param) {
|
|
25
25
|
return this.amqpManager.call('알림 보내기', 'notification.template.send', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
|
+
async sendTemplateNotificationBulk(payload, param) {
|
|
28
|
+
return this.amqpManager.call('알림 보내기 Bulk', 'notification.template.bulk-send', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
27
30
|
};
|
|
28
31
|
exports.AmqpSendNotificationService = AmqpSendNotificationService;
|
|
29
32
|
exports.AmqpSendNotificationService = AmqpSendNotificationService = __decorate([
|
package/package.json
CHANGED