@yolo-croket-dev/amqp-access 0.7.216 → 0.7.217

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.216",
3
+ "version": "0.7.217",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -34,6 +34,8 @@ export declare class StoreItemKeyword implements StoreItemKeywordEntity {
34
34
  isMainKeyword: boolean;
35
35
  }
36
36
  export declare class RegStoreItemPayload {
37
+ /** 셀러 전용 상품 관리 메모 */
38
+ sellerMemo?: string;
37
39
  /** 중고 상품 여부 */
38
40
  isUsedProduct?: boolean;
39
41
  itemImgUrls: string[];
@@ -13,6 +13,7 @@ exports.RegStoreItemResult = exports.RegStoreItemPayload = exports.StoreItemKeyw
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const store_item_1 = require("@yolo-croket-dev/entity/src/store-item");
16
+ const update_store_item_seller_memo_dto_1 = require("./update-store-item-seller-memo.dto");
16
17
  class RegStoreItemImgSizeInfo {
17
18
  }
18
19
  exports.RegStoreItemImgSizeInfo = RegStoreItemImgSizeInfo;
@@ -127,6 +128,12 @@ __decorate([
127
128
  class RegStoreItemPayload {
128
129
  }
129
130
  exports.RegStoreItemPayload = RegStoreItemPayload;
131
+ __decorate([
132
+ (0, class_validator_1.IsString)(),
133
+ (0, class_validator_1.IsOptional)(),
134
+ (0, class_validator_1.MaxLength)(update_store_item_seller_memo_dto_1.STORE_ITEM_SELLER_MEMO_MAX_LENGTH),
135
+ __metadata("design:type", String)
136
+ ], RegStoreItemPayload.prototype, "sellerMemo", void 0);
130
137
  __decorate([
131
138
  (0, class_validator_1.IsBoolean)(),
132
139
  (0, class_validator_1.IsOptional)(),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @author jun
3
+ * @description 셀러 상품 관리 메모 조회 요청
4
+ * @process 상품 식별자를 검증한다.
5
+ */
6
+ export declare class GetStoreItemSellerMemoPayload {
7
+ itemId: string;
8
+ }
9
+ export interface GetStoreItemSellerMemoResult {
10
+ sellerMemo: string;
11
+ }
@@ -0,0 +1,25 @@
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.GetStoreItemSellerMemoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author jun
16
+ * @description 셀러 상품 관리 메모 조회 요청
17
+ * @process 상품 식별자를 검증한다.
18
+ */
19
+ class GetStoreItemSellerMemoPayload {
20
+ }
21
+ exports.GetStoreItemSellerMemoPayload = GetStoreItemSellerMemoPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], GetStoreItemSellerMemoPayload.prototype, "itemId", void 0);
@@ -29,3 +29,4 @@ export * from './search-secret-items-for-admin.dto';
29
29
  export * from './get-cro-care-store-item-info.dto';
30
30
  export * from './get-meta-product-feed-sync-status-by-item-ids.dto';
31
31
  export * from './search-store-items-for-enuri-summary-ep.dto';
32
+ export * from './get-store-item-seller-memo.dto';
@@ -45,3 +45,4 @@ __exportStar(require("./search-secret-items-for-admin.dto"), exports);
45
45
  __exportStar(require("./get-cro-care-store-item-info.dto"), exports);
46
46
  __exportStar(require("./get-meta-product-feed-sync-status-by-item-ids.dto"), exports);
47
47
  __exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
48
+ __exportStar(require("./get-store-item-seller-memo.dto"), 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, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, 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, 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, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, 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, 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, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -14,6 +14,8 @@ export declare class AmqpStoreItemService {
14
14
  getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
15
15
  getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
16
16
  searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
17
+ /** 셀러 상품 관리 메모를 조회한다. */
18
+ getStoreItemSellerMemo(payload: GetStoreItemSellerMemoPayload, param: AbstractParam): Promise<GetStoreItemSellerMemoResult>;
17
19
  /** 셀러 상품 관리 메모를 수정한다. */
18
20
  updateStoreItemSellerMemo(payload: UpdateStoreItemSellerMemoPayload, param: AbstractParam): Promise<UpdateStoreItemSellerMemoResult>;
19
21
  getStoreItemsForEs(payload: GetStoreItemsForESPayload, param: AbstractParam): Promise<GetStoreItemsForESResult>;
@@ -42,6 +42,10 @@ let AmqpStoreItemService = class AmqpStoreItemService {
42
42
  async searchSellingStoreItems(payload, param) {
43
43
  return this.amqpManager.call('셀러 판매 상품 관리 리스트 호출', 'store-item.get.selling-store-item-list', payload, param, { isErrorThrowing: true });
44
44
  }
45
+ /** 셀러 상품 관리 메모를 조회한다. */
46
+ async getStoreItemSellerMemo(payload, param) {
47
+ return this.amqpManager.call('셀러 상품 관리 메모 조회', 'store-item.get.seller-memo', payload, param, { isErrorThrowing: true });
48
+ }
45
49
  /** 셀러 상품 관리 메모를 수정한다. */
46
50
  async updateStoreItemSellerMemo(payload, param) {
47
51
  return this.amqpManager.call('셀러 상품 관리 메모 수정', 'store-item.update.seller-memo', payload, param, { isErrorThrowing: true });