@yolo-croket-dev/amqp-access 0.4.71 → 0.4.72-hj-1
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/check-can-change-purchased-option.dto.d.ts +6 -0
- package/{user-service/dto/redis-db/command/push-redis-db.dto.js → order-server/dto/purchasedinfos/command/check-can-change-purchased-option.dto.js} +8 -11
- 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 +2 -1
- package/order-server/services/amqp.purchased-info.service.js +3 -0
- package/package.json +1 -1
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +0 -3
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +0 -7
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +0 -4
|
@@ -9,18 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.CheckCanChangePurchasedOptionResult = exports.CheckCanChangePurchasedOptionPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class CheckCanChangePurchasedOptionPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.CheckCanChangePurchasedOptionPayload = CheckCanChangePurchasedOptionPayload;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
19
|
-
(0, class_validator_1.MinLength)(1),
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PushRedisDBPayload.prototype, "value", void 0);
|
|
20
|
+
], CheckCanChangePurchasedOptionPayload.prototype, "PInfoId", void 0);
|
|
21
|
+
class CheckCanChangePurchasedOptionResult {
|
|
22
|
+
}
|
|
23
|
+
exports.CheckCanChangePurchasedOptionResult = CheckCanChangePurchasedOptionResult;
|
|
@@ -3,3 +3,4 @@ export * from './update-done-ad-center-coupon-infos.dto';
|
|
|
3
3
|
export * from './cancel-done-ad-center-coupon-infos.dto';
|
|
4
4
|
export * from './request-create-ad-center-coupon-settle.dto';
|
|
5
5
|
export * from './patch-process-v2-to-checking-stock.dto';
|
|
6
|
+
export * from './check-can-change-purchased-option.dto';
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./update-done-ad-center-coupon-infos.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./cancel-done-ad-center-coupon-infos.dto"), exports);
|
|
20
20
|
__exportStar(require("./request-create-ad-center-coupon-settle.dto"), exports);
|
|
21
21
|
__exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
|
|
22
|
+
__exportStar(require("./check-can-change-purchased-option.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, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse } 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, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -30,4 +30,5 @@ export declare class AmqpPurchasedInfoService {
|
|
|
30
30
|
migrationPayTryLogIdV2(param: AbstractParam): Promise<void>;
|
|
31
31
|
getPurchasedInfosForUnconfirmedWaitingOrderSellersExcel(param: AbstractParam): Promise<GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult>;
|
|
32
32
|
isPurchaseStoreItemByUserBulk(payload: IsPurchaseStoreItemByUserBulkPayload, param: AbstractParam): Promise<IsPurchaseStoreItemByUserBulkResponse>;
|
|
33
|
+
checkCanChangePurchasedOption(payload: CheckCanChangePurchasedOptionPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionResult>;
|
|
33
34
|
}
|
|
@@ -97,6 +97,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
97
97
|
async isPurchaseStoreItemByUserBulk(payload, param) {
|
|
98
98
|
return this.amqpManager.call('해당 유저가 구매한 상품인지 확인 Bulk', 'purchased-info.is-purchase.store-item-by-user-bulk', payload, param, { isErrorThrowing: true });
|
|
99
99
|
}
|
|
100
|
+
async checkCanChangePurchasedOption(payload, param) {
|
|
101
|
+
return this.amqpManager.call('구매 옵션 변경 가능 여부 확인', 'purchased-info.check.can-change-purchased-option', payload, param);
|
|
102
|
+
}
|
|
100
103
|
};
|
|
101
104
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
102
105
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PullRedisDBPayload = void 0;
|
|
4
|
-
const push_redis_db_dto_1 = require("./push-redis-db.dto");
|
|
5
|
-
class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
|
|
6
|
-
}
|
|
7
|
-
exports.PullRedisDBPayload = PullRedisDBPayload;
|