@yolo-croket-dev/amqp-access 0.7.326 → 0.7.327

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.326",
3
+ "version": "0.7.327",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -28,4 +28,4 @@
28
28
  "class-validator": "^0.13.2",
29
29
  "dotenv": "^16.3.1"
30
30
  }
31
- }
31
+ }
@@ -0,0 +1,5 @@
1
+ export declare class GetSellerStoreCouponRegistrationStatusResult {
2
+ activeItemCount: number;
3
+ itemCountLimit: number;
4
+ isStoreCouponRegistrationBlocked: boolean;
5
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSellerStoreCouponRegistrationStatusResult = void 0;
4
+ class GetSellerStoreCouponRegistrationStatusResult {
5
+ }
6
+ exports.GetSellerStoreCouponRegistrationStatusResult = GetSellerStoreCouponRegistrationStatusResult;
@@ -1,5 +1,6 @@
1
1
  export * from './get-store-item-legacies.dto';
2
2
  export * from './get-selling-item-ids-by-store-id.dto';
3
+ export * from './get-seller-store-coupon-registration-status.dto';
3
4
  export * from './search-selling-store-items.dto';
4
5
  export * from './search-normal-selling-store-items-for-bulk-stop.dto';
5
6
  export * from './for-es';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-store-item-legacies.dto"), exports);
18
18
  __exportStar(require("./get-selling-item-ids-by-store-id.dto"), exports);
19
+ __exportStar(require("./get-seller-store-coupon-registration-status.dto"), exports);
19
20
  __exportStar(require("./search-selling-store-items.dto"), exports);
20
21
  __exportStar(require("./search-normal-selling-store-items-for-bulk-stop.dto"), exports);
21
22
  __exportStar(require("./for-es"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -26,6 +26,7 @@ export declare class AmqpStoreItemService {
26
26
  /** atlas 상품 itemIds 검색 */
27
27
  getStoreItemIdsByAtlasSearch(payload: GetStoreItemIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetStoreItemIdsByAtlasSearchResult>;
28
28
  getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
29
+ getSellerStoreCouponRegistrationStatus(param: AbstractParam): Promise<GetSellerStoreCouponRegistrationStatusResult>;
29
30
  getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
30
31
  searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
31
32
  /**
@@ -62,6 +62,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
62
62
  async getSellingItemIdsByStoreId(payload, param) {
63
63
  return this.amqpManager.call('해당 스토어에 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-store-id', payload, param, { isErrorThrowing: true });
64
64
  }
65
+ async getSellerStoreCouponRegistrationStatus(param) {
66
+ return this.amqpManager.call('셀러 스토어 전체 쿠폰 등록 가능 상품 수 조회', 'store-item.get.seller-store-coupon-registration-status', undefined, param, { isErrorThrowing: true });
67
+ }
65
68
  async getSellingItemIdsByThemeId(payload, param) {
66
69
  return this.amqpManager.call('매거진에 연결되어져 있는 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-theme-id', payload, param, { isErrorThrowing: true });
67
70
  }