@yolo-croket-dev/amqp-access 0.5.98 → 0.5.100-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.
Files changed (29) hide show
  1. package/manage-service/amqp.manage-service.module.js +2 -0
  2. package/manage-service/dto/event-banner/command/create-event-banner.dto.d.ts +18 -0
  3. package/manage-service/dto/event-banner/command/create-event-banner.dto.js +68 -0
  4. package/manage-service/dto/event-banner/command/delete-event-banner.dto.d.ts +3 -0
  5. package/manage-service/dto/event-banner/command/delete-event-banner.dto.js +21 -0
  6. package/manage-service/dto/event-banner/command/index.d.ts +3 -0
  7. package/manage-service/dto/event-banner/command/index.js +19 -0
  8. package/manage-service/dto/event-banner/command/update-event-banner.dto.d.ts +19 -0
  9. package/manage-service/dto/event-banner/command/update-event-banner.dto.js +73 -0
  10. package/manage-service/dto/event-banner/index.d.ts +2 -0
  11. package/manage-service/dto/event-banner/index.js +18 -0
  12. package/manage-service/dto/event-banner/query/get-event-banner-for-buyer.dto.d.ts +13 -0
  13. package/manage-service/dto/event-banner/query/get-event-banner-for-buyer.dto.js +24 -0
  14. package/manage-service/dto/event-banner/query/index.d.ts +1 -0
  15. package/manage-service/dto/event-banner/query/index.js +17 -0
  16. package/manage-service/dto/index.d.ts +1 -0
  17. package/manage-service/dto/index.js +1 -0
  18. package/manage-service/services/event-banner.service.d.ts +12 -0
  19. package/manage-service/services/event-banner.service.js +42 -0
  20. package/manage-service/services/index.d.ts +1 -0
  21. package/manage-service/services/index.js +1 -0
  22. package/package.json +2 -2
  23. package/payment-service/services/amqp.refund.service.js +1 -1
  24. package/store-item-server/dto/store-item/query/atlas-search/get-legacy-store-items-by-atlas-search.dto.d.ts +2 -1
  25. package/store-item-server/dto/store-item/query/atlas-search/get-legacy-store-items-by-atlas-search.dto.js +6 -3
  26. package/store-item-server/dto/store-item/query/atlas-search/get-store-item-ids-by-atlas-search.dto.d.ts +2 -1
  27. package/store-item-server/dto/store-item/query/atlas-search/get-store-item-ids-by-atlas-search.dto.js +6 -3
  28. package/store-item-server/dto/summer-black-friday.modules/weekly-mega-deal/query/get-items-for-coupon-hot-deal.dto.d.ts +7 -2
  29. package/store-item-server/dto/summer-black-friday.modules/weekly-mega-deal/query/get-items-for-coupon-hot-deal.dto.js +4 -3
@@ -21,6 +21,7 @@ exports.AmqpManageServiceModule = AmqpManageServiceModule = __decorate([
21
21
  services_1.AmqpManageUserService,
22
22
  services_1.AmqpExchangeRateService,
23
23
  services_1.AmqpPublicHolidayService,
24
+ services_1.AmqpEventBannerService,
24
25
  ],
25
26
  exports: [
26
27
  amqp_manage_service_provider_1.ManageServiceProvider,
@@ -28,6 +29,7 @@ exports.AmqpManageServiceModule = AmqpManageServiceModule = __decorate([
28
29
  services_1.AmqpManageUserService,
29
30
  services_1.AmqpExchangeRateService,
30
31
  services_1.AmqpPublicHolidayService,
32
+ services_1.AmqpEventBannerService,
31
33
  ],
32
34
  })
33
35
  ], AmqpManageServiceModule);
@@ -0,0 +1,18 @@
1
+ import { BannerPlatformInfo as IBannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
2
+ import { EventBannerType } from '@yolo-croket-dev/entity-v2/event-banner';
3
+ declare class BannerPlatformInfo implements IBannerPlatformInfo {
4
+ imgUrl: string;
5
+ landingUrl: string;
6
+ width: number;
7
+ height: number;
8
+ }
9
+ export declare class CreateEventBannerPayload {
10
+ type: EventBannerType;
11
+ description: string;
12
+ web: BannerPlatformInfo;
13
+ app: BannerPlatformInfo;
14
+ isView: boolean;
15
+ displayStartDate?: string;
16
+ displayEndDate?: string;
17
+ }
18
+ export {};
@@ -0,0 +1,68 @@
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.CreateEventBannerPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const event_banner_1 = require("@yolo-croket-dev/entity-v2/event-banner");
15
+ class BannerPlatformInfo {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], BannerPlatformInfo.prototype, "imgUrl", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], BannerPlatformInfo.prototype, "landingUrl", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], BannerPlatformInfo.prototype, "width", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsNumber)(),
33
+ __metadata("design:type", Number)
34
+ ], BannerPlatformInfo.prototype, "height", void 0);
35
+ class CreateEventBannerPayload {
36
+ }
37
+ exports.CreateEventBannerPayload = CreateEventBannerPayload;
38
+ __decorate([
39
+ (0, class_validator_1.IsEnum)(event_banner_1.EventBannerType),
40
+ __metadata("design:type", String)
41
+ ], CreateEventBannerPayload.prototype, "type", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.IsNotEmpty)(),
45
+ __metadata("design:type", String)
46
+ ], CreateEventBannerPayload.prototype, "description", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsNotEmpty)(),
49
+ __metadata("design:type", BannerPlatformInfo)
50
+ ], CreateEventBannerPayload.prototype, "web", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsNotEmpty)(),
53
+ __metadata("design:type", BannerPlatformInfo)
54
+ ], CreateEventBannerPayload.prototype, "app", void 0);
55
+ __decorate([
56
+ (0, class_validator_1.IsBoolean)(),
57
+ __metadata("design:type", Boolean)
58
+ ], CreateEventBannerPayload.prototype, "isView", void 0);
59
+ __decorate([
60
+ (0, class_validator_1.IsDateString)(),
61
+ (0, class_validator_1.IsOptional)(),
62
+ __metadata("design:type", String)
63
+ ], CreateEventBannerPayload.prototype, "displayStartDate", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.IsDateString)(),
66
+ (0, class_validator_1.IsOptional)(),
67
+ __metadata("design:type", String)
68
+ ], CreateEventBannerPayload.prototype, "displayEndDate", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class DeleteEventBannerPayload {
2
+ eventBannerId: string;
3
+ }
@@ -0,0 +1,21 @@
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.DeleteEventBannerPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class DeleteEventBannerPayload {
15
+ }
16
+ exports.DeleteEventBannerPayload = DeleteEventBannerPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], DeleteEventBannerPayload.prototype, "eventBannerId", void 0);
@@ -0,0 +1,3 @@
1
+ export * from './create-event-banner.dto';
2
+ export * from './delete-event-banner.dto';
3
+ export * from './update-event-banner.dto';
@@ -0,0 +1,19 @@
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("./create-event-banner.dto"), exports);
18
+ __exportStar(require("./delete-event-banner.dto"), exports);
19
+ __exportStar(require("./update-event-banner.dto"), exports);
@@ -0,0 +1,19 @@
1
+ import { BannerPlatformInfo as IBannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
2
+ import { EventBannerType } from '@yolo-croket-dev/entity-v2/event-banner';
3
+ declare class BannerPlatformInfo implements IBannerPlatformInfo {
4
+ imgUrl: string;
5
+ landingUrl: string;
6
+ width: number;
7
+ height: number;
8
+ }
9
+ export declare class UpdateEventBannerPayload {
10
+ eventBannerId: string;
11
+ type: EventBannerType;
12
+ description: string;
13
+ web: BannerPlatformInfo;
14
+ app: BannerPlatformInfo;
15
+ isView: boolean;
16
+ displayStartDate?: string;
17
+ displayEndDate?: string;
18
+ }
19
+ export {};
@@ -0,0 +1,73 @@
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.UpdateEventBannerPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const event_banner_1 = require("@yolo-croket-dev/entity-v2/event-banner");
15
+ class BannerPlatformInfo {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], BannerPlatformInfo.prototype, "imgUrl", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], BannerPlatformInfo.prototype, "landingUrl", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], BannerPlatformInfo.prototype, "width", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsNumber)(),
33
+ __metadata("design:type", Number)
34
+ ], BannerPlatformInfo.prototype, "height", void 0);
35
+ class UpdateEventBannerPayload {
36
+ }
37
+ exports.UpdateEventBannerPayload = UpdateEventBannerPayload;
38
+ __decorate([
39
+ (0, class_validator_1.IsMongoId)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ __metadata("design:type", String)
42
+ ], UpdateEventBannerPayload.prototype, "eventBannerId", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsEnum)(event_banner_1.EventBannerType),
45
+ __metadata("design:type", String)
46
+ ], UpdateEventBannerPayload.prototype, "type", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsString)(),
49
+ (0, class_validator_1.IsNotEmpty)(),
50
+ __metadata("design:type", String)
51
+ ], UpdateEventBannerPayload.prototype, "description", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ __metadata("design:type", BannerPlatformInfo)
55
+ ], UpdateEventBannerPayload.prototype, "web", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsNotEmpty)(),
58
+ __metadata("design:type", BannerPlatformInfo)
59
+ ], UpdateEventBannerPayload.prototype, "app", void 0);
60
+ __decorate([
61
+ (0, class_validator_1.IsBoolean)(),
62
+ __metadata("design:type", Boolean)
63
+ ], UpdateEventBannerPayload.prototype, "isView", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.IsDateString)(),
66
+ (0, class_validator_1.IsOptional)(),
67
+ __metadata("design:type", String)
68
+ ], UpdateEventBannerPayload.prototype, "displayStartDate", void 0);
69
+ __decorate([
70
+ (0, class_validator_1.IsDateString)(),
71
+ (0, class_validator_1.IsOptional)(),
72
+ __metadata("design:type", String)
73
+ ], UpdateEventBannerPayload.prototype, "displayEndDate", void 0);
@@ -0,0 +1,2 @@
1
+ export * from './command';
2
+ export * from './query';
@@ -0,0 +1,18 @@
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("./command"), exports);
18
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,13 @@
1
+ import { BannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
2
+ import { EventBannerType } from '@yolo-croket-dev/entity-v2/event-banner';
3
+ import { EventBannerEntity } from '@yolo-croket-dev/entity-v2/event-banner';
4
+ export declare class GetEventBannerForBuyerPayload {
5
+ type: EventBannerType;
6
+ }
7
+ export declare class GetEventBannerForBuyerResult implements Pick<EventBannerEntity, '_id' | 'type' | 'web' | 'app' | 'description'> {
8
+ _id: string;
9
+ type: EventBannerType;
10
+ web: BannerPlatformInfo;
11
+ app: BannerPlatformInfo;
12
+ description: string;
13
+ }
@@ -0,0 +1,24 @@
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.GetEventBannerForBuyerResult = exports.GetEventBannerForBuyerPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const event_banner_1 = require("@yolo-croket-dev/entity-v2/event-banner");
15
+ class GetEventBannerForBuyerPayload {
16
+ }
17
+ exports.GetEventBannerForBuyerPayload = GetEventBannerForBuyerPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsEnum)(event_banner_1.EventBannerType),
20
+ __metadata("design:type", String)
21
+ ], GetEventBannerForBuyerPayload.prototype, "type", void 0);
22
+ class GetEventBannerForBuyerResult {
23
+ }
24
+ exports.GetEventBannerForBuyerResult = GetEventBannerForBuyerResult;
@@ -0,0 +1 @@
1
+ export * from './get-event-banner-for-buyer.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("./get-event-banner-for-buyer.dto"), exports);
@@ -1,3 +1,4 @@
1
1
  export * from './link-tab';
2
2
  export * from './manage-user';
3
3
  export * from './exchange-rate';
4
+ export * from './event-banner';
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./link-tab"), exports);
18
18
  __exportStar(require("./manage-user"), exports);
19
19
  __exportStar(require("./exchange-rate"), exports);
20
+ __exportStar(require("./event-banner"), exports);
@@ -0,0 +1,12 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { CreateEventBannerPayload, DeleteEventBannerPayload, UpdateEventBannerPayload, GetEventBannerForBuyerPayload, GetEventBannerForBuyerResult } from '../dto';
4
+ export declare class AmqpEventBannerService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ createEventBanner(payload: CreateEventBannerPayload, param: AbstractParam): Promise<void>;
9
+ updateEventBanner(payload: UpdateEventBannerPayload, param: AbstractParam): Promise<void>;
10
+ deleteEventBanner(payload: DeleteEventBannerPayload, param: AbstractParam): Promise<void>;
11
+ getEventBannerForBuyer(payload: GetEventBannerForBuyerPayload, param: AbstractParam): Promise<GetEventBannerForBuyerResult>;
12
+ }
@@ -0,0 +1,42 @@
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.AmqpEventBannerService = 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 AmqpEventBannerService = class AmqpEventBannerService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async createEventBanner(payload, param) {
25
+ return this.amqpManager.call('이벤트 배너 등록', 'event-banner.create', payload, param, { isErrorThrowing: true });
26
+ }
27
+ async updateEventBanner(payload, param) {
28
+ return this.amqpManager.call('이벤트 배너 수정', 'event-banner.update', payload, param, { isErrorThrowing: true });
29
+ }
30
+ async deleteEventBanner(payload, param) {
31
+ return this.amqpManager.call('이벤트 배너 삭제', 'event-banner.delete', payload, param, { isErrorThrowing: true });
32
+ }
33
+ async getEventBannerForBuyer(payload, param) {
34
+ return this.amqpManager.call('이벤트 배너 조회 -구매자-', 'event-banner.get.for-buyer', payload, param, { isErrorThrowing: true });
35
+ }
36
+ };
37
+ exports.AmqpEventBannerService = AmqpEventBannerService;
38
+ exports.AmqpEventBannerService = AmqpEventBannerService = __decorate([
39
+ (0, common_1.Injectable)(),
40
+ __param(0, (0, common_1.Inject)('MANAGE_SERVICE_PROVIDER')),
41
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
42
+ ], AmqpEventBannerService);
@@ -2,3 +2,4 @@ export * from './amqp-link-tab.service';
2
2
  export * from './amqp.manage-user.service';
3
3
  export * from './amqp-exchange-rate.service';
4
4
  export * from './amqp-public-holiday.service';
5
+ export * from './event-banner.service';
@@ -18,3 +18,4 @@ __exportStar(require("./amqp-link-tab.service"), exports);
18
18
  __exportStar(require("./amqp.manage-user.service"), exports);
19
19
  __exportStar(require("./amqp-exchange-rate.service"), exports);
20
20
  __exportStar(require("./amqp-public-holiday.service"), exports);
21
+ __exportStar(require("./event-banner.service"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.98",
3
+ "version": "0.5.100-sj",
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.2.12",
23
23
  "@yolo-croket-dev/dto-v2": "^0.1.10",
24
24
  "@yolo-croket-dev/entity": "^0.2.24",
25
- "@yolo-croket-dev/entity-v2": "^0.2.38",
25
+ "@yolo-croket-dev/entity-v2": "^0.2.39-sj",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -35,7 +35,7 @@ let AmqpRefundService = class AmqpRefundService {
35
35
  return this.amqpManager.call('환불 요청이 가장 많은 Top 3 상품 조회', 'refund.get.analytics-aggregation-refunding-top3', payload, param);
36
36
  }
37
37
  async checkForImmediateRefundAvailabilityV2(payload, param) {
38
- return this.amqpManager.call('환불 가능 여부 조회', 'refund.check.for-immediate-refund-availability-v2', payload, param, { isErrorThrowing: true });
38
+ return this.amqpManager.call('환불 가능 여부 조회', 'refund.check-for-immediate-refund-availability-v2', payload, param, { isErrorThrowing: true });
39
39
  }
40
40
  };
41
41
  exports.AmqpRefundService = AmqpRefundService;
@@ -57,7 +57,8 @@ export declare class GetLegacyStoreItemsByAtlasSearchPayload {
57
57
  prepayPrice?: number;
58
58
  /** 광고 센터 키워드 상품 노출 여부 */
59
59
  viewAd?: boolean;
60
- brandName?: string;
60
+ /** 브랜드 명 리스트 */
61
+ brandNames?: string[];
61
62
  }
62
63
  export interface GetLegacyStoreItemsByAtlasSearchResult {
63
64
  maxPage: number;
@@ -214,7 +214,10 @@ __decorate([
214
214
  __metadata("design:type", Boolean)
215
215
  ], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "viewAd", void 0);
216
216
  __decorate([
217
- (0, class_validator_1.IsString)(),
218
217
  (0, class_validator_1.IsOptional)(),
219
- __metadata("design:type", String)
220
- ], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "brandName", void 0);
218
+ (0, class_validator_1.IsArray)(),
219
+ (0, class_validator_1.IsString)({ each: true })
220
+ /** 브랜드 명 리스트 */
221
+ ,
222
+ __metadata("design:type", Array)
223
+ ], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "brandNames", void 0);
@@ -75,7 +75,8 @@ export declare class GetStoreItemIdsByAtlasSearchPayload {
75
75
  bundleShippingFee?: number;
76
76
  isPrepay?: boolean;
77
77
  prepayPrice?: number;
78
- brandName?: string;
78
+ /** 브랜드 명 리스트 */
79
+ brandNames?: string[];
79
80
  }
80
81
  export interface GetStoreItemIdsByAtlasSearchResult {
81
82
  allCount: number;
@@ -214,7 +214,10 @@ __decorate([
214
214
  __metadata("design:type", Number)
215
215
  ], GetStoreItemIdsByAtlasSearchPayload.prototype, "prepayPrice", void 0);
216
216
  __decorate([
217
- (0, class_validator_1.IsString)(),
218
217
  (0, class_validator_1.IsOptional)(),
219
- __metadata("design:type", String)
220
- ], GetStoreItemIdsByAtlasSearchPayload.prototype, "brandName", void 0);
218
+ (0, class_validator_1.IsArray)(),
219
+ (0, class_validator_1.IsString)({ each: true })
220
+ /** 브랜드 명 리스트 */
221
+ ,
222
+ __metadata("design:type", Array)
223
+ ], GetStoreItemIdsByAtlasSearchPayload.prototype, "brandNames", void 0);
@@ -16,13 +16,18 @@ export declare class GetItemsForCouponHotDealPayload {
16
16
  searchBefore?: string;
17
17
  mainCategory?: string;
18
18
  subCategory?: string;
19
- brandName?: string;
19
+ brandNames?: string[];
20
20
  limit: number;
21
21
  }
22
+ interface BrandMetadata {
23
+ displayBrandName: string;
24
+ searchKeywords: string[];
25
+ }
22
26
  export declare class GetItemsForCouponHotDealResult {
23
27
  storeItems: WeeklyMegaDealCouponHotDealItemData[];
24
28
  firstPaginationToken?: string;
25
29
  lastPaginationToken?: string;
26
30
  mainCategories: string[];
27
- brands: string[];
31
+ brands: BrandMetadata[];
28
32
  }
33
+ export {};
@@ -35,10 +35,11 @@ __decorate([
35
35
  __metadata("design:type", String)
36
36
  ], GetItemsForCouponHotDealPayload.prototype, "subCategory", void 0);
37
37
  __decorate([
38
- (0, class_validator_1.IsString)(),
38
+ (0, class_validator_1.IsArray)(),
39
+ (0, class_validator_1.IsString)({ each: true }),
39
40
  (0, class_validator_1.IsOptional)(),
40
- __metadata("design:type", String)
41
- ], GetItemsForCouponHotDealPayload.prototype, "brandName", void 0);
41
+ __metadata("design:type", Array)
42
+ ], GetItemsForCouponHotDealPayload.prototype, "brandNames", void 0);
42
43
  __decorate([
43
44
  (0, class_validator_1.IsNumber)(),
44
45
  __metadata("design:type", Number)