@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.
@@ -0,0 +1,6 @@
1
+ export declare class CheckCanChangePurchasedOptionPayload {
2
+ PInfoId: string;
3
+ }
4
+ export declare class CheckCanChangePurchasedOptionResult {
5
+ isCanChange: boolean;
6
+ }
@@ -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.PushRedisDBPayload = void 0;
12
+ exports.CheckCanChangePurchasedOptionResult = exports.CheckCanChangePurchasedOptionPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class PushRedisDBPayload {
14
+ class CheckCanChangePurchasedOptionPayload {
15
15
  }
16
- exports.PushRedisDBPayload = PushRedisDBPayload;
16
+ exports.CheckCanChangePurchasedOptionPayload = CheckCanChangePurchasedOptionPayload;
17
17
  __decorate([
18
- (0, class_validator_1.IsString)(),
19
- (0, class_validator_1.MinLength)(1),
18
+ (0, class_validator_1.IsMongoId)(),
20
19
  __metadata("design:type", String)
21
- ], PushRedisDBPayload.prototype, "redisDBKey", void 0);
22
- __decorate([
23
- (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.MinLength)(1),
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.71",
3
+ "version": "0.4.72-hj-1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,3 +0,0 @@
1
- import { PushRedisDBPayload } from './push-redis-db.dto';
2
- export declare class PullRedisDBPayload extends PushRedisDBPayload {
3
- }
@@ -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;
@@ -1,4 +0,0 @@
1
- export declare class PushRedisDBPayload {
2
- redisDBKey: string;
3
- value: string;
4
- }