@yolo-croket-dev/amqp-access 0.6.44 → 0.6.46-sj

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.6.44",
3
+ "version": "0.6.46-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -27,4 +27,4 @@
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -1,8 +1,18 @@
1
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.GetAdCenterSettlesForGoogleSheetResult = exports.GetAdCenterSettlesForGoogleSheetPayload = exports.AdCenterSettleForGoogleSheet = void 0;
4
13
  const ad_center_settle_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema");
5
14
  const swagger_1 = require("@nestjs/swagger");
15
+ const class_validator_1 = require("class-validator");
6
16
  /** 구글 시트용 광고센터정산 데이터 */
7
17
  class AdCenterSettleForGoogleSheet extends (0, swagger_1.PickType)(ad_center_settle_schema_1.AdCenterSettle, [
8
18
  '_id',
@@ -28,6 +38,16 @@ exports.AdCenterSettleForGoogleSheet = AdCenterSettleForGoogleSheet;
28
38
  class GetAdCenterSettlesForGoogleSheetPayload {
29
39
  }
30
40
  exports.GetAdCenterSettlesForGoogleSheetPayload = GetAdCenterSettlesForGoogleSheetPayload;
41
+ __decorate([
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsDateString)(),
44
+ __metadata("design:type", Date)
45
+ ], GetAdCenterSettlesForGoogleSheetPayload.prototype, "expectedSettleSDate", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsDateString)(),
49
+ __metadata("design:type", Date)
50
+ ], GetAdCenterSettlesForGoogleSheetPayload.prototype, "expectedSettleEDate", void 0);
31
51
  class GetAdCenterSettlesForGoogleSheetResult {
32
52
  }
33
53
  exports.GetAdCenterSettlesForGoogleSheetResult = GetAdCenterSettlesForGoogleSheetResult;
@@ -19,3 +19,4 @@ export * from './reg-regular-price-bulk-by-admin.dto';
19
19
  export * from './update-regular-price-by-admin.dto';
20
20
  export * from './delete-regular-price-by-admin.dto';
21
21
  export * from './reg-item-name-eng-bulk-by-admin.dto';
22
+ export * from './update-naver-enabled-bulk.dto';
@@ -35,3 +35,4 @@ __exportStar(require("./reg-regular-price-bulk-by-admin.dto"), exports);
35
35
  __exportStar(require("./update-regular-price-by-admin.dto"), exports);
36
36
  __exportStar(require("./delete-regular-price-by-admin.dto"), exports);
37
37
  __exportStar(require("./reg-item-name-eng-bulk-by-admin.dto"), exports);
38
+ __exportStar(require("./update-naver-enabled-bulk.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export declare class UpdateNaverEnabledBulkPayload {
2
+ itemIds: string[];
3
+ isNaverEnabled: boolean;
4
+ }
@@ -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.UpdateNaverEnabledBulkPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateNaverEnabledBulkPayload {
15
+ }
16
+ exports.UpdateNaverEnabledBulkPayload = UpdateNaverEnabledBulkPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsArray)(),
19
+ (0, class_validator_1.IsMongoId)({ each: true }),
20
+ __metadata("design:type", Array)
21
+ ], UpdateNaverEnabledBulkPayload.prototype, "itemIds", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsBoolean)(),
24
+ __metadata("design:type", Boolean)
25
+ ], UpdateNaverEnabledBulkPayload.prototype, "isNaverEnabled", void 0);
@@ -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 } 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 } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -66,4 +66,5 @@ export declare class AmqpStoreItemService {
66
66
  searchSecretItemsForAdmin(payload: SearchSecretItemsForAdminPayload, param: AbstractParam): Promise<SearchSecretItemsForAdminResult>;
67
67
  regItemNameEngBulkByAdmin(payload: RegItemNameEngBulkByAdminPayload, param: AbstractParam): Promise<void>;
68
68
  updateStoreItemGlobalInfoBulk(payload: UpdateStoreItemGlobalInfoBulkPayload, param: AbstractParam): Promise<string>;
69
+ updateNaverEnabledBulk(payload: UpdateNaverEnabledBulkPayload, param: AbstractParam): Promise<void>;
69
70
  }
@@ -198,6 +198,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
198
198
  async updateStoreItemGlobalInfoBulk(payload, param) {
199
199
  return this.amqpManager.call('상품 전역 정보 대량 업데이트', 'store-item.update.global-info-bulk', payload, param, { isErrorThrowing: true });
200
200
  }
201
+ async updateNaverEnabledBulk(payload, param) {
202
+ return this.amqpManager.call('상품 네이버 상품 시트 연동 여부 대량 업데이트', 'store-item.update.naver-enabled-bulk', payload, param, { isErrorThrowing: true });
203
+ }
201
204
  };
202
205
  exports.AmqpStoreItemService = AmqpStoreItemService;
203
206
  exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
@@ -1,9 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "mcp__serena__check_onboarding_performed",
5
- "mcp__serena__list_dir",
6
- "Bash(/tmp/check_incomplete.sh)"
7
- ]
8
- }
9
- }