@yolo-croket-dev/amqp-access 0.1.23-jun.0 → 0.1.23-jun.1
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
|
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 } 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 } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -20,4 +20,5 @@ export declare class AmqpStoreItemService {
|
|
|
20
20
|
migrationStoreItemBrandInfo(param: AbstractParam): Promise<void>;
|
|
21
21
|
processSoldNumsLastNDays(param: AbstractParam): Promise<void>;
|
|
22
22
|
getItemGroupNums(payload: GetItemGroupNumsPayload, param: AbstractParam): Promise<GetItemGroupNumsResult>;
|
|
23
|
+
getRandomItemIds(payload: GetRandomItemIdsPayload, param: AbstractParam): Promise<GetRandomItemIdsResult>;
|
|
23
24
|
}
|
|
@@ -60,6 +60,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
60
60
|
async getItemGroupNums(payload, param) {
|
|
61
61
|
return this.amqpManager.call('상품 그룹별 갯수 조회', 'store-item.get.item-group-nums', payload, param, { isErrorThrowing: true });
|
|
62
62
|
}
|
|
63
|
+
async getRandomItemIds(payload, param) {
|
|
64
|
+
return this.amqpManager.call('상품 아이디 랜덤 조회', 'store-item.get.random-item-ids', payload, param, { isErrorThrowing: true });
|
|
65
|
+
}
|
|
63
66
|
};
|
|
64
67
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
65
68
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|