@yolo-croket-dev/amqp-access 0.4.91-jun.1 → 0.4.91-jun.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.
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateAdCenterCouponSettlesPayload } from '../dto/ad-center-settle';
|
|
3
|
+
import { CreateAdCenterCouponSettlesPayload, EditAdCenterCouponSettlePayload } from '../dto/ad-center-settle';
|
|
4
4
|
export declare class AmqpAdCenterSettleService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
createAdCenterCouponSettles(payload: CreateAdCenterCouponSettlesPayload, param: AbstractParam): Promise<void>;
|
|
9
|
+
editAdCenterCouponSettle(payload: EditAdCenterCouponSettlePayload, param: AbstractParam): Promise<void>;
|
|
9
10
|
}
|
|
@@ -25,6 +25,9 @@ let AmqpAdCenterSettleService = class AmqpAdCenterSettleService {
|
|
|
25
25
|
// eslint-disable-next-line max-len
|
|
26
26
|
return this.amqpManager.call('광고센터쿠폰 정산 데이터 생성', 'ad-center-settle.create.ad-center-coupon', payload, param, { isErrorThrowing: true });
|
|
27
27
|
}
|
|
28
|
+
async editAdCenterCouponSettle(payload, param) {
|
|
29
|
+
return this.amqpManager.call('광고센터쿠폰 정산 데이터 수정', 'ad-center-settle.edit.ad-center-coupon', payload, param);
|
|
30
|
+
}
|
|
28
31
|
};
|
|
29
32
|
exports.AmqpAdCenterSettleService = AmqpAdCenterSettleService;
|
|
30
33
|
exports.AmqpAdCenterSettleService = AmqpAdCenterSettleService = __decorate([
|