@yolo-croket-dev/amqp-access 0.5.133 → 0.5.135
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/excel-upload-server/dto/app-bulk-push-excel/command/create-app-bulk-push-job.dto.d.ts +2 -0
- package/excel-upload-server/dto/app-bulk-push-excel/command/create-app-bulk-push-job.dto.js +6 -0
- package/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.d.ts +2 -0
- package/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.js +4 -0
- package/package.json +2 -2
- package/store-item-server/dto/store-item/query/get-store-items-by-pre-black-friday-title.dto.d.ts +9 -0
- package/store-item-server/dto/store-item/query/{get-store-items-by-free-black-friday-title.dto.js → get-store-items-by-pre-black-friday-title.dto.js} +10 -10
- package/store-item-server/dto/store-item/query/index.d.ts +1 -1
- package/store-item-server/dto/store-item/query/index.js +1 -1
- package/store-item-server/dto/summer-black-friday.modules/summer-black-friday/query/get-summer-black-friday-tab.dto.d.ts +5 -5
- package/store-item-server/dto/summer-black-friday.modules/summer-black-friday/query/get-summer-black-friday-tab.dto.js +1 -1
- package/store-item-server/services/amqp.store-item.service.d.ts +2 -2
- package/store-item-server/services/amqp.store-item.service.js +2 -2
- package/store-item-server/services/summer-black-friday.modules/amqp.summer-black-friday.service.d.ts +1 -0
- package/store-item-server/services/summer-black-friday.modules/amqp.summer-black-friday.service.js +3 -0
- package/store-item-server/dto/store-item/query/get-store-items-by-free-black-friday-title.dto.d.ts +0 -9
|
@@ -33,3 +33,9 @@ __decorate([
|
|
|
33
33
|
,
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], CreateAppBulkPushJobPayload.prototype, "fileName", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)()
|
|
38
|
+
/** CSV 파일 저장 경로 */
|
|
39
|
+
,
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateAppBulkPushJobPayload.prototype, "csvFilePath", void 0);
|
package/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.js
CHANGED
|
@@ -33,6 +33,10 @@ __decorate([
|
|
|
33
33
|
(0, class_validator_1.IsString)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], AppBulkPushJobsStatus.prototype, "csvFileURL", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], AppBulkPushJobsStatus.prototype, "csvFilePath", void 0);
|
|
36
40
|
__decorate([
|
|
37
41
|
(0, class_validator_1.IsString)(),
|
|
38
42
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.135",
|
|
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.29",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.2.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.2.44",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
package/store-item-server/dto/store-item/query/get-store-items-by-pre-black-friday-title.dto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GetItemsForCouponHotDealResult } from '../../summer-black-friday.modules';
|
|
2
|
+
export declare class GetStoreItemsByPreBlackFridayIdPayload {
|
|
3
|
+
preBlackFridayId: string;
|
|
4
|
+
limit: number;
|
|
5
|
+
searchAfter?: string;
|
|
6
|
+
searchBefore?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class GetStoreItemsByPreBlackFridayIdResult extends GetItemsForCouponHotDealResult {
|
|
9
|
+
}
|
|
@@ -9,30 +9,30 @@ 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.
|
|
12
|
+
exports.GetStoreItemsByPreBlackFridayIdResult = exports.GetStoreItemsByPreBlackFridayIdPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const summer_black_friday_modules_1 = require("../../summer-black-friday.modules");
|
|
15
|
-
class
|
|
15
|
+
class GetStoreItemsByPreBlackFridayIdPayload {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.GetStoreItemsByPreBlackFridayIdPayload = GetStoreItemsByPreBlackFridayIdPayload;
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_validator_1.
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], GetStoreItemsByPreBlackFridayIdPayload.prototype, "preBlackFridayId", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsNumber)(),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
|
-
],
|
|
25
|
+
], GetStoreItemsByPreBlackFridayIdPayload.prototype, "limit", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsString)(),
|
|
28
28
|
(0, class_validator_1.IsOptional)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
30
|
+
], GetStoreItemsByPreBlackFridayIdPayload.prototype, "searchAfter", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsString)(),
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
36
|
-
class
|
|
35
|
+
], GetStoreItemsByPreBlackFridayIdPayload.prototype, "searchBefore", void 0);
|
|
36
|
+
class GetStoreItemsByPreBlackFridayIdResult extends summer_black_friday_modules_1.GetItemsForCouponHotDealResult {
|
|
37
37
|
}
|
|
38
|
-
exports.
|
|
38
|
+
exports.GetStoreItemsByPreBlackFridayIdResult = GetStoreItemsByPreBlackFridayIdResult;
|
|
@@ -23,4 +23,4 @@ export * from './get-store-item-count-for-brand.dto';
|
|
|
23
23
|
export * from './get-store-infos-by-item-ids.dto';
|
|
24
24
|
export * from './get-coupon-codes-by-selling-item.dto';
|
|
25
25
|
export * from './get-selling-store-items-for-chat.dto';
|
|
26
|
-
export * from './get-store-items-by-
|
|
26
|
+
export * from './get-store-items-by-pre-black-friday-title.dto';
|
|
@@ -39,4 +39,4 @@ __exportStar(require("./get-store-item-count-for-brand.dto"), exports);
|
|
|
39
39
|
__exportStar(require("./get-store-infos-by-item-ids.dto"), exports);
|
|
40
40
|
__exportStar(require("./get-coupon-codes-by-selling-item.dto"), exports);
|
|
41
41
|
__exportStar(require("./get-selling-store-items-for-chat.dto"), exports);
|
|
42
|
-
__exportStar(require("./get-store-items-by-
|
|
42
|
+
__exportStar(require("./get-store-items-by-pre-black-friday-title.dto"), exports);
|
|
@@ -7,18 +7,18 @@ export declare enum MegaDealTypeEnum {
|
|
|
7
7
|
쿠폰_핫딜존 = "CouponHotDealZonePage",
|
|
8
8
|
SUPER_WEEK = "SuperWeekPage",
|
|
9
9
|
트렌드_상품존 = "TrendProductZonePage",
|
|
10
|
-
프리블프 = "
|
|
10
|
+
프리블프 = "PreBlackFridayPage"
|
|
11
11
|
}
|
|
12
12
|
export interface MegaDealTab {
|
|
13
13
|
title: string;
|
|
14
14
|
type: MegaDealTypeEnum;
|
|
15
15
|
/** 프리블프용 데이터 */
|
|
16
|
+
preBlackFridayId?: string;
|
|
17
|
+
mainTitle?: string;
|
|
16
18
|
subTitle?: string;
|
|
17
|
-
tabImgInfo?: {
|
|
18
|
-
imgUrl: string;
|
|
19
|
-
couponCode?: string;
|
|
20
|
-
};
|
|
21
19
|
titleImgUrl?: string;
|
|
20
|
+
tabImgUrl?: string;
|
|
21
|
+
couponCode?: string;
|
|
22
22
|
}
|
|
23
23
|
export declare class GetSummerBlackFridayTabResult {
|
|
24
24
|
tabInfos: MegaDealTab[];
|
|
@@ -12,7 +12,7 @@ var MegaDealTypeEnum;
|
|
|
12
12
|
// 추가
|
|
13
13
|
MegaDealTypeEnum["SUPER_WEEK"] = "SuperWeekPage";
|
|
14
14
|
MegaDealTypeEnum["\uD2B8\uB80C\uB4DC_\uC0C1\uD488\uC874"] = "TrendProductZonePage";
|
|
15
|
-
MegaDealTypeEnum["\uD504\uB9AC\uBE14\uD504"] = "
|
|
15
|
+
MegaDealTypeEnum["\uD504\uB9AC\uBE14\uD504"] = "PreBlackFridayPage";
|
|
16
16
|
})(MegaDealTypeEnum || (exports.MegaDealTypeEnum = MegaDealTypeEnum = {}));
|
|
17
17
|
class GetSummerBlackFridayTabResult {
|
|
18
18
|
}
|
|
@@ -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, UpdateBrandInfosPayload, 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,
|
|
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, UpdateBrandInfosPayload, 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 } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -58,5 +58,5 @@ export declare class AmqpStoreItemService {
|
|
|
58
58
|
copyStoreItemList(payload: CopyStoreItemListPayload, param: AbstractParam): Promise<void>;
|
|
59
59
|
updateStoreItemSecret(payload: UpdateStoreItemSecretPayload, param: AbstractParam): Promise<void>;
|
|
60
60
|
getSellingStoreItemsForChat(payload: GetSellingStoreItemsForChatPayload, param: AbstractParam): Promise<GetSellingStoreItemsForChatResult[]>;
|
|
61
|
-
|
|
61
|
+
getStoreItemsByPreBlackFridayId(payload: GetStoreItemsByPreBlackFridayIdPayload, param: AbstractParam): Promise<GetStoreItemsByPreBlackFridayIdResult>;
|
|
62
62
|
}
|
|
@@ -174,8 +174,8 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
174
174
|
async getSellingStoreItemsForChat(payload, param) {
|
|
175
175
|
return this.amqpManager.call('채팅 상품 조회', 'store-item.get.selling-store-items-for-chat', payload, param, { isErrorThrowing: true });
|
|
176
176
|
}
|
|
177
|
-
async
|
|
178
|
-
return this.amqpManager.call('프리블프 용 상품 조회', 'store-item.get.store-items-by-
|
|
177
|
+
async getStoreItemsByPreBlackFridayId(payload, param) {
|
|
178
|
+
return this.amqpManager.call('프리블프 용 상품 조회', 'store-item.get.store-items-by-pre-black-friday-id', payload, param, { isErrorThrowing: true });
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
package/store-item-server/services/summer-black-friday.modules/amqp.summer-black-friday.service.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export declare class AmqpSummerBlackFridayService {
|
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getSummerBlackFridayTab(payload: void, param: AbstractParam): Promise<GetSummerBlackFridayTabResult>;
|
|
9
|
+
updatePreBlackFriday(payload: void, param: AbstractParam): Promise<void>;
|
|
9
10
|
}
|
package/store-item-server/services/summer-black-friday.modules/amqp.summer-black-friday.service.js
CHANGED
|
@@ -24,6 +24,9 @@ let AmqpSummerBlackFridayService = class AmqpSummerBlackFridayService {
|
|
|
24
24
|
async getSummerBlackFridayTab(payload, param) {
|
|
25
25
|
return this.amqpManager.call('블랙 프라이데이 탭 조회', 'summer-black-friday.get.tab', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
|
+
async updatePreBlackFriday(payload, param) {
|
|
28
|
+
return this.amqpManager.call('블랙 프라이데이 탭 조회', 'summer-black-friday.update.pre-black-friday', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
27
30
|
};
|
|
28
31
|
exports.AmqpSummerBlackFridayService = AmqpSummerBlackFridayService;
|
|
29
32
|
exports.AmqpSummerBlackFridayService = AmqpSummerBlackFridayService = __decorate([
|
package/store-item-server/dto/store-item/query/get-store-items-by-free-black-friday-title.dto.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GetItemsForCouponHotDealResult } from '../../summer-black-friday.modules';
|
|
2
|
-
export declare class GetStoreItemsByFreeBlackFridayTitlePayload {
|
|
3
|
-
title: string;
|
|
4
|
-
limit: number;
|
|
5
|
-
searchAfter?: string;
|
|
6
|
-
searchBefore?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class GetStoreItemsByFreeBlackFridayTitleResult extends GetItemsForCouponHotDealResult {
|
|
9
|
-
}
|