@yolo-croket-dev/amqp-access 0.5.7 → 0.5.8-sj1

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.
Files changed (30) hide show
  1. package/excel-upload-server/amqp.excel-upload-server.module.js +2 -0
  2. package/excel-upload-server/dto/brand-excel/generate-and-share-users-by-brand-cohort-excel.dto.d.ts +3 -0
  3. package/excel-upload-server/dto/brand-excel/generate-and-share-users-by-brand-cohort-excel.dto.js +20 -0
  4. package/excel-upload-server/dto/brand-excel/index.d.ts +1 -0
  5. package/excel-upload-server/dto/brand-excel/index.js +17 -0
  6. package/excel-upload-server/dto/index.d.ts +1 -0
  7. package/excel-upload-server/dto/index.js +1 -0
  8. package/excel-upload-server/services/amqp.brand-excel.service.d.ts +9 -0
  9. package/excel-upload-server/services/amqp.brand-excel.service.js +33 -0
  10. package/excel-upload-server/services/index.d.ts +1 -0
  11. package/excel-upload-server/services/index.js +1 -0
  12. package/package.json +2 -2
  13. package/store-item-server/dto/brand-bookmark/query/get-bookmarked-brands-for-buyer.dto.d.ts +2 -4
  14. package/store-item-server/dto/brand-bookmark/query/get-bookmarked-brands-for-buyer.dto.js +4 -1
  15. package/store-item-server/dto/brand-bookmark/query/get-brand-bookmark-users-by-brand-id.dto.d.ts +15 -0
  16. package/store-item-server/dto/brand-bookmark/query/get-brand-bookmark-users-by-brand-id.dto.js +26 -0
  17. package/store-item-server/dto/brand-bookmark/query/index.d.ts +1 -0
  18. package/store-item-server/dto/brand-bookmark/query/index.js +1 -0
  19. package/store-item-server/dto/brand-cohort/query/get-brand-cohorts-for-admin.dto.d.ts +8 -4
  20. package/store-item-server/dto/brand-cohort/query/get-brand-cohorts-for-admin.dto.js +12 -4
  21. package/store-item-server/dto/brand-cohort/query/get-brand-infos-by-brand-cohort-id.dto.d.ts +11 -0
  22. package/store-item-server/dto/brand-cohort/query/get-brand-infos-by-brand-cohort-id.dto.js +26 -0
  23. package/store-item-server/dto/brand-cohort/query/index.d.ts +1 -0
  24. package/store-item-server/dto/brand-cohort/query/index.js +1 -0
  25. package/store-item-server/dto/summer-black-friday.modules/weekly-mega-deal/command/create-weekly-mega-deal-data.dto.d.ts +8 -0
  26. package/store-item-server/dto/summer-black-friday.modules/weekly-mega-deal/command/create-weekly-mega-deal-data.dto.js +10 -0
  27. package/store-item-server/services/amqp.brand-bookmark.service.d.ts +2 -1
  28. package/store-item-server/services/amqp.brand-bookmark.service.js +3 -0
  29. package/store-item-server/services/amqp.brand-cohort.service.d.ts +2 -1
  30. package/store-item-server/services/amqp.brand-cohort.service.js +4 -1
@@ -19,11 +19,13 @@ exports.AmqpExcelUploadServerModule = AmqpExcelUploadServerModule = __decorate([
19
19
  amqp_excel_upload_server_provider_1.ExcelUploadServerProvider,
20
20
  services_1.AmqpStoreItemExcelService,
21
21
  services_1.AmqpPurchasedInfoExcelService,
22
+ services_1.AmqpBrandExcelService,
22
23
  ],
23
24
  exports: [
24
25
  services_1.AmqpStoreItemExcelService,
25
26
  amqp_excel_upload_server_provider_1.ExcelUploadServerProvider,
26
27
  services_1.AmqpPurchasedInfoExcelService,
28
+ services_1.AmqpBrandExcelService,
27
29
  ],
28
30
  })
29
31
  ], AmqpExcelUploadServerModule);
@@ -0,0 +1,3 @@
1
+ export declare class GenerateAndShareUsersByBrandCohortExcelPayload {
2
+ brandCohortId: string;
3
+ }
@@ -0,0 +1,20 @@
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.GenerateAndShareUsersByBrandCohortExcelPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GenerateAndShareUsersByBrandCohortExcelPayload {
15
+ }
16
+ exports.GenerateAndShareUsersByBrandCohortExcelPayload = GenerateAndShareUsersByBrandCohortExcelPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GenerateAndShareUsersByBrandCohortExcelPayload.prototype, "brandCohortId", void 0);
@@ -0,0 +1 @@
1
+ export * from './generate-and-share-users-by-brand-cohort-excel.dto';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./generate-and-share-users-by-brand-cohort-excel.dto"), exports);
@@ -1,2 +1,3 @@
1
+ export * from './brand-excel';
1
2
  export * from './purchased-info-excel';
2
3
  export * from './store-item-excel';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./brand-excel"), exports);
17
18
  __exportStar(require("./purchased-info-excel"), exports);
18
19
  __exportStar(require("./store-item-excel"), exports);
@@ -0,0 +1,9 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { GenerateAndShareUsersByBrandCohortExcelPayload } from '../dto';
4
+ export declare class AmqpBrandExcelService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ generateAndShareUsersByBrandCohortExcel(payload: GenerateAndShareUsersByBrandCohortExcelPayload, param: AbstractParam): Promise<void>;
9
+ }
@@ -0,0 +1,33 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AmqpBrandExcelService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const microservices_1 = require("@nestjs/microservices");
18
+ const functions_1 = require("@yolo-croket-dev/core/functions");
19
+ let AmqpBrandExcelService = class AmqpBrandExcelService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async generateAndShareUsersByBrandCohortExcel(payload, param) {
25
+ return this.amqpManager.call('브랜드 코호트 기반 유저 리스트 엑셀 파일 생성 및 슬랙 공유', 'brand-excel.generate-and-share-users-by-brand-cohort-excel', payload, param, { isErrorThrowing: true });
26
+ }
27
+ };
28
+ exports.AmqpBrandExcelService = AmqpBrandExcelService;
29
+ exports.AmqpBrandExcelService = AmqpBrandExcelService = __decorate([
30
+ (0, common_1.Injectable)(),
31
+ __param(0, (0, common_1.Inject)('EXCEL_UPLOAD_SERVER_PROVIDER')),
32
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
33
+ ], AmqpBrandExcelService);
@@ -1,2 +1,3 @@
1
1
  export * from './amqp.store-item-excel.service';
2
2
  export * from './amqp.purchased-info-excel.service';
3
+ export * from './amqp.brand-excel.service';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./amqp.store-item-excel.service"), exports);
18
18
  __exportStar(require("./amqp.purchased-info-excel.service"), exports);
19
+ __exportStar(require("./amqp.brand-excel.service"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.7",
3
+ "version": "0.5.8-sj1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,7 +22,7 @@
22
22
  "@yolo-croket-dev/domain": "0.1.4",
23
23
  "@yolo-croket-dev/dto-v2": "^0.1.10",
24
24
  "@yolo-croket-dev/entity": "^0.2.17",
25
- "@yolo-croket-dev/entity-v2": "^0.2.1",
25
+ "@yolo-croket-dev/entity-v2": "^0.2.3",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -7,9 +7,7 @@ export declare class GetBookmarkedBrandsForBuyerPayload {
7
7
  limit: number;
8
8
  sortType: BrandSortTypeEnum;
9
9
  }
10
- export interface BrandBuyerInfo extends Pick<BrandForBuyerEntity, '_id' | 'brandName' | 'engBrandName' | 'isBookmarked'> {
11
- }
12
- export interface GetBookmarkedBrandsForBuyerResult {
13
- brands: BrandBuyerInfo[];
10
+ export declare class GetBookmarkedBrandsForBuyerResult {
11
+ brands: BrandForBuyerEntity[];
14
12
  totalCount: number;
15
13
  }
@@ -9,7 +9,7 @@ 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.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
12
+ exports.GetBookmarkedBrandsForBuyerResult = exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandSortTypeEnum;
15
15
  (function (BrandSortTypeEnum) {
@@ -31,3 +31,6 @@ __decorate([
31
31
  (0, class_validator_1.IsEnum)(BrandSortTypeEnum),
32
32
  __metadata("design:type", String)
33
33
  ], GetBookmarkedBrandsForBuyerPayload.prototype, "sortType", void 0);
34
+ class GetBookmarkedBrandsForBuyerResult {
35
+ }
36
+ exports.GetBookmarkedBrandsForBuyerResult = GetBookmarkedBrandsForBuyerResult;
@@ -0,0 +1,15 @@
1
+ export declare class GetBrandBookmarkUsersByBrandIdPayload {
2
+ brandId: string;
3
+ }
4
+ export declare class BrandBookmarkUserInfo {
5
+ userId: string;
6
+ appPush: boolean;
7
+ brandNewsAppPush: boolean;
8
+ phone: boolean;
9
+ phoneNumber: string;
10
+ brandName: string;
11
+ brandLatestBookmarkDate: string;
12
+ }
13
+ export declare class GetBrandBookmarkUsersByBrandIdResult {
14
+ bookmarks: BrandBookmarkUserInfo[];
15
+ }
@@ -0,0 +1,26 @@
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.GetBrandBookmarkUsersByBrandIdResult = exports.BrandBookmarkUserInfo = exports.GetBrandBookmarkUsersByBrandIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBrandBookmarkUsersByBrandIdPayload {
15
+ }
16
+ exports.GetBrandBookmarkUsersByBrandIdPayload = GetBrandBookmarkUsersByBrandIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetBrandBookmarkUsersByBrandIdPayload.prototype, "brandId", void 0);
21
+ class BrandBookmarkUserInfo {
22
+ }
23
+ exports.BrandBookmarkUserInfo = BrandBookmarkUserInfo;
24
+ class GetBrandBookmarkUsersByBrandIdResult {
25
+ }
26
+ exports.GetBrandBookmarkUsersByBrandIdResult = GetBrandBookmarkUsersByBrandIdResult;
@@ -1 +1,2 @@
1
1
  export * from './get-bookmarked-brands-for-buyer.dto';
2
+ export * from './get-brand-bookmark-users-by-brand-id.dto';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-bookmarked-brands-for-buyer.dto"), exports);
18
+ __exportStar(require("./get-brand-bookmark-users-by-brand-id.dto"), exports);
@@ -1,11 +1,15 @@
1
1
  import { BrandCohortForAdminEntity } from '@yolo-croket-dev/entity-v2';
2
+ export declare enum BrandCohortSearchTypeEnum {
3
+ COHORT_NAME = "COHORT_NAME",
4
+ RELATED_BRAND = "RELATED_BRAND"
5
+ }
2
6
  export declare class GetBrandCohortsForAdminPayload {
3
- cohortName?: string;
4
- brandName?: string;
7
+ searchKeyword?: string;
8
+ searchType?: BrandCohortSearchTypeEnum;
5
9
  page: number;
6
10
  limit: number;
7
11
  }
8
- export interface GetBrandCohortsForAdminResult {
12
+ export declare class GetBrandCohortsForAdminResult {
9
13
  brandCohorts: BrandCohortForAdminEntity[];
10
- maxPage: number;
14
+ totalCount: number;
11
15
  }
@@ -9,8 +9,13 @@ 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.GetBrandCohortsForAdminPayload = void 0;
12
+ exports.GetBrandCohortsForAdminResult = exports.GetBrandCohortsForAdminPayload = exports.BrandCohortSearchTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ var BrandCohortSearchTypeEnum;
15
+ (function (BrandCohortSearchTypeEnum) {
16
+ BrandCohortSearchTypeEnum["COHORT_NAME"] = "COHORT_NAME";
17
+ BrandCohortSearchTypeEnum["RELATED_BRAND"] = "RELATED_BRAND";
18
+ })(BrandCohortSearchTypeEnum || (exports.BrandCohortSearchTypeEnum = BrandCohortSearchTypeEnum = {}));
14
19
  class GetBrandCohortsForAdminPayload {
15
20
  }
16
21
  exports.GetBrandCohortsForAdminPayload = GetBrandCohortsForAdminPayload;
@@ -18,12 +23,12 @@ __decorate([
18
23
  (0, class_validator_1.IsString)(),
19
24
  (0, class_validator_1.IsOptional)(),
20
25
  __metadata("design:type", String)
21
- ], GetBrandCohortsForAdminPayload.prototype, "cohortName", void 0);
26
+ ], GetBrandCohortsForAdminPayload.prototype, "searchKeyword", void 0);
22
27
  __decorate([
23
- (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsEnum)(BrandCohortSearchTypeEnum),
24
29
  (0, class_validator_1.IsOptional)(),
25
30
  __metadata("design:type", String)
26
- ], GetBrandCohortsForAdminPayload.prototype, "brandName", void 0);
31
+ ], GetBrandCohortsForAdminPayload.prototype, "searchType", void 0);
27
32
  __decorate([
28
33
  (0, class_validator_1.IsNumber)(),
29
34
  __metadata("design:type", Number)
@@ -32,3 +37,6 @@ __decorate([
32
37
  (0, class_validator_1.IsNumber)(),
33
38
  __metadata("design:type", Number)
34
39
  ], GetBrandCohortsForAdminPayload.prototype, "limit", void 0);
40
+ class GetBrandCohortsForAdminResult {
41
+ }
42
+ exports.GetBrandCohortsForAdminResult = GetBrandCohortsForAdminResult;
@@ -0,0 +1,11 @@
1
+ export declare class GetBrandInfosByBrandCohortIdPayload {
2
+ brandCohortId: string;
3
+ }
4
+ declare class BrandInfo {
5
+ brandId: string;
6
+ brandName: string;
7
+ }
8
+ export declare class GetBrandInfosByBrandCohortIdResult {
9
+ brandInfos: BrandInfo[];
10
+ }
11
+ export {};
@@ -0,0 +1,26 @@
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.GetBrandInfosByBrandCohortIdResult = exports.GetBrandInfosByBrandCohortIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBrandInfosByBrandCohortIdPayload {
15
+ }
16
+ exports.GetBrandInfosByBrandCohortIdPayload = GetBrandInfosByBrandCohortIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GetBrandInfosByBrandCohortIdPayload.prototype, "brandCohortId", void 0);
22
+ class BrandInfo {
23
+ }
24
+ class GetBrandInfosByBrandCohortIdResult {
25
+ }
26
+ exports.GetBrandInfosByBrandCohortIdResult = GetBrandInfosByBrandCohortIdResult;
@@ -1 +1,2 @@
1
1
  export * from './get-brand-cohorts-for-admin.dto';
2
+ export * from './get-brand-infos-by-brand-cohort-id.dto';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-brand-cohorts-for-admin.dto"), exports);
18
+ __exportStar(require("./get-brand-infos-by-brand-cohort-id.dto"), exports);
@@ -28,6 +28,14 @@ import { Types } from 'mongoose';
28
28
  export declare class WeeklyMegaDealPeriodItemDataDto implements WeeklyMegaDealPeriodItemData {
29
29
  itemId: string | Types.ObjectId;
30
30
  isShowNow: boolean;
31
+ /**
32
+ * @description 판매 개수 제한
33
+ */
34
+ sellingNumsLimit?: number | null;
35
+ /**
36
+ * @description 현재 판매된 수 초기화 여부
37
+ */
38
+ isCurrentSoldNumsInit?: boolean;
31
39
  }
32
40
  export declare class ExternalPriceInfoDto implements ExternalPriceInfo {
33
41
  name: ExternalPriceNameEnum;
@@ -25,6 +25,16 @@ __decorate([
25
25
  (0, class_validator_1.IsBoolean)(),
26
26
  __metadata("design:type", Boolean)
27
27
  ], WeeklyMegaDealPeriodItemDataDto.prototype, "isShowNow", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsNumber)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ __metadata("design:type", Object)
32
+ ], WeeklyMegaDealPeriodItemDataDto.prototype, "sellingNumsLimit", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsBoolean)(),
35
+ (0, class_validator_1.IsOptional)(),
36
+ __metadata("design:type", Boolean)
37
+ ], WeeklyMegaDealPeriodItemDataDto.prototype, "isCurrentSoldNumsInit", void 0);
28
38
  class ExternalPriceInfoDto {
29
39
  }
30
40
  exports.ExternalPriceInfoDto = ExternalPriceInfoDto;
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CreateBrandBookmarkPayload, DeleteBrandBookmarkPayload, GetBookmarkedBrandsForBuyerPayload, GetBookmarkedBrandsForBuyerResult } from '../dto/brand-bookmark';
3
+ import { CreateBrandBookmarkPayload, DeleteBrandBookmarkPayload, GetBookmarkedBrandsForBuyerPayload, GetBookmarkedBrandsForBuyerResult, GetBrandBookmarkUsersByBrandIdPayload, GetBrandBookmarkUsersByBrandIdResult } from '../dto/brand-bookmark';
4
4
  export declare class AmqpBrandBookmarkService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -8,4 +8,5 @@ export declare class AmqpBrandBookmarkService {
8
8
  createBrandBookmark(payload: CreateBrandBookmarkPayload, param: AbstractParam): Promise<void>;
9
9
  deleteBrandBookmark(payload: DeleteBrandBookmarkPayload, param: AbstractParam): Promise<void>;
10
10
  getBookmarkedBrandsForBuyer(payload: GetBookmarkedBrandsForBuyerPayload, param: AbstractParam): Promise<GetBookmarkedBrandsForBuyerResult>;
11
+ getBrandBookmarkUsersByBrandId(payload: GetBrandBookmarkUsersByBrandIdPayload, param: AbstractParam): Promise<GetBrandBookmarkUsersByBrandIdResult>;
11
12
  }
@@ -30,6 +30,9 @@ let AmqpBrandBookmarkService = class AmqpBrandBookmarkService {
30
30
  async getBookmarkedBrandsForBuyer(payload, param) {
31
31
  return this.amqpManager.call('브랜드 북마크 리스트 조회 -구매자가 찜한 리스트 조회-', 'brand-bookmark.get-bookmarked-brands-for-buyer', payload, param, { isErrorThrowing: true });
32
32
  }
33
+ async getBrandBookmarkUsersByBrandId(payload, param) {
34
+ return this.amqpManager.call('브랜드 북마크 유저 조회 -브랜드 아이디 기반-', 'brand-bookmark.get-brand-bookmark-users-by-brand-id', payload, param, { isErrorThrowing: true });
35
+ }
33
36
  };
34
37
  exports.AmqpBrandBookmarkService = AmqpBrandBookmarkService;
35
38
  exports.AmqpBrandBookmarkService = AmqpBrandBookmarkService = __decorate([
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { BrandCohortForAdminEntity } from '@yolo-croket-dev/entity-v2';
4
- import { CreateBrandCohortPayload, DeleteBrandCohortPayload, UpdateBrandCohortPayload, GetBrandCohortsForAdminPayload } from '../dto/brand-cohort';
4
+ import { CreateBrandCohortPayload, DeleteBrandCohortPayload, UpdateBrandCohortPayload, GetBrandCohortsForAdminPayload, GetBrandInfosByBrandCohortIdPayload, GetBrandInfosByBrandCohortIdResult } from '../dto/brand-cohort';
5
5
  export declare class AmqpBrandCohortService {
6
6
  private readonly client;
7
7
  private readonly amqpManager;
@@ -10,4 +10,5 @@ export declare class AmqpBrandCohortService {
10
10
  updateBrandCohort(payload: UpdateBrandCohortPayload, param: AbstractParam): Promise<void>;
11
11
  deleteBrandCohort(payload: DeleteBrandCohortPayload, param: AbstractParam): Promise<void>;
12
12
  getBrandCohortsForAdmin(payload: GetBrandCohortsForAdminPayload, param: AbstractParam): Promise<BrandCohortForAdminEntity[]>;
13
+ getBrandInfosByBrandCohortId(payload: GetBrandInfosByBrandCohortIdPayload, param: AbstractParam): Promise<GetBrandInfosByBrandCohortIdResult>;
13
14
  }
@@ -31,7 +31,10 @@ let AmqpBrandCohortService = class AmqpBrandCohortService {
31
31
  return this.amqpManager.call('브랜드 코호트 삭제', 'brand-cohort.delete', payload, param, { isErrorThrowing: true });
32
32
  }
33
33
  async getBrandCohortsForAdmin(payload, param) {
34
- return this.amqpManager.call('브랜드 코호트 조회', 'brand-cohort.get-for-admin', payload, param, { isErrorThrowing: true });
34
+ return this.amqpManager.call('브랜드 코호트 조회', 'brand-cohort.get.list-for-admin', payload, param, { isErrorThrowing: true });
35
+ }
36
+ async getBrandInfosByBrandCohortId(payload, param) {
37
+ return this.amqpManager.call('브랜드 코호트 기반 브랜드 리스트 조회', 'brand-cohort.get.list-by-brand-cohort-id', payload, param, { isErrorThrowing: true });
35
38
  }
36
39
  };
37
40
  exports.AmqpBrandCohortService = AmqpBrandCohortService;