@yolo-croket-dev/amqp-access 0.0.174-jun.6 → 0.0.174-jun.8
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/order-server/dto/purchasedinfos/command/cancel-done-ad-center-coupon-infos.dto.d.ts +3 -0
- package/order-server/dto/purchasedinfos/command/cancel-done-ad-center-coupon-infos.dto.js +21 -0
- package/order-server/dto/purchasedinfos/command/index.d.ts +1 -0
- package/order-server/dto/purchasedinfos/command/index.js +1 -0
- package/order-server/services/amqp.purchased-info.service.d.ts +3 -1
- package/order-server/services/amqp.purchased-info.service.js +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CancelDoneAdCenterCouponInfosPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CancelDoneAdCenterCouponInfosPayload {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsArray)(),
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
__metadata("design:type", Array)
|
|
20
|
+
], CancelDoneAdCenterCouponInfosPayload.prototype, "pInfoIds", void 0);
|
|
21
|
+
exports.CancelDoneAdCenterCouponInfosPayload = CancelDoneAdCenterCouponInfosPayload;
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./update-ad-center-coupon-info.dto"), exports);
|
|
18
18
|
__exportStar(require("./update-done-ad-center-coupon-infos.dto"), exports);
|
|
19
|
+
__exportStar(require("./cancel-done-ad-center-coupon-infos.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload } from '../dto/purchasedinfos';
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -16,4 +16,6 @@ export declare class AmqpPurchasedInfoService {
|
|
|
16
16
|
getFacetPInfosForManageBuyerByAtlas(payload: GetFacetPInfosForManageBuyerByAtlasPayload, param: AbstractParam): Promise<GetFacetPInfosForManageBuyerByAtlasResult>;
|
|
17
17
|
reloadPInfosForManageBuyer(payload: ReloadPInfosForManageBuyerPayload, param: AbstractParam): Promise<ReloadPInfosForManageBuyerResult>;
|
|
18
18
|
updateAdCenterCouponInfo(payload: UpdateAdCenterCouponInfoPayload, param: AbstractParam): Promise<void>;
|
|
19
|
+
updateDoneAdCenterCouponInfos(payload: UpdateDoneAdCenterCouponInfosPayload, param: AbstractParam): Promise<void>;
|
|
20
|
+
cancelDoneAdCenterCouponInfos(payload: CancelDoneAdCenterCouponInfosPayload, param: AbstractParam): Promise<void>;
|
|
19
21
|
}
|
|
@@ -54,6 +54,12 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
54
54
|
async updateAdCenterCouponInfo(payload, param) {
|
|
55
55
|
return this.amqpManager.call('광고센터쿠폰 정보 업데이트', 'purchased-info.update.ad-center-coupon-info', payload, param, { isErrorThrowing: true });
|
|
56
56
|
}
|
|
57
|
+
async updateDoneAdCenterCouponInfos(payload, param) {
|
|
58
|
+
return this.amqpManager.call('광고센터쿠폰 완료 처리', 'purchased-info.update.done-ad-center-coupon-infos', payload, param, { isErrorThrowing: true });
|
|
59
|
+
}
|
|
60
|
+
async cancelDoneAdCenterCouponInfos(payload, param) {
|
|
61
|
+
return this.amqpManager.call('광고센터쿠폰 완료 취소 처리', 'purchased-info.cancel.done-ad-center-coupon-infos', payload, param, { isErrorThrowing: true });
|
|
62
|
+
}
|
|
57
63
|
};
|
|
58
64
|
AmqpPurchasedInfoService = __decorate([
|
|
59
65
|
(0, common_1.Injectable)(),
|