@yolo-croket-dev/amqp-access 0.3.17-jun.1 → 0.3.17-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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetPayTryLogsForEsPayload, GetPayTryLogsForEsResult, GetPayTryLogsForEsByIdsPayload, GetPayTryLogsForEsByIdsResult } from '@yolo-croket-dev/dto-v2/order-server/pay-try-log';
|
|
4
|
-
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload } from '../dto/pay-try-log';
|
|
4
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload } from '../dto/pay-try-log';
|
|
5
5
|
export declare class AmqpPayTryLogService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -14,4 +14,5 @@ export declare class AmqpPayTryLogService {
|
|
|
14
14
|
processStoreItemTestPayment(payload: ProcessStoreItemTestPaymentPayload, param: AbstractParam): Promise<void>;
|
|
15
15
|
getDirectTosspaymentsJson(payload: GetDirectTosspaymentsJsonPayload, param: AbstractParam): Promise<GetDirectTosspaymentsJsonResult>;
|
|
16
16
|
updateIssuedCouponCart(payload: UpdateIssuedCouponCartPayload, param: AbstractParam): Promise<void>;
|
|
17
|
+
updateIssuedCouponNormal(payload: UpdateIssuedCouponNormalPayload, param: AbstractParam): Promise<void>;
|
|
17
18
|
}
|
|
@@ -49,6 +49,9 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
49
49
|
async updateIssuedCouponCart(payload, param) {
|
|
50
50
|
return this.amqpManager.call('장바구니 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-coupon-cart', payload, param, { isErrorThrowing: true });
|
|
51
51
|
}
|
|
52
|
+
async updateIssuedCouponNormal(payload, param) {
|
|
53
|
+
return this.amqpManager.call('일반 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-coupon-normal', payload, param, { isErrorThrowing: true });
|
|
54
|
+
}
|
|
52
55
|
};
|
|
53
56
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
54
57
|
exports.AmqpPayTryLogService = AmqpPayTryLogService = __decorate([
|