@yolo-croket-dev/amqp-access 0.5.129 → 0.5.131
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 { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload, GetBrandRequiredCategoriesResult, GetBrandByBrandNamePayload, GetBrandByBrandNameResult } from '../../dto/brand.modules/brand';
|
|
3
|
+
import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload, GetBrandRequiredCategoriesResult, GetBrandByBrandNamePayload, GetBrandByBrandNameResult, AutocompleteBrandsResult, AutocompleteBrandsPayload } from '../../dto/brand.modules/brand';
|
|
4
4
|
export declare class AmqpBrandService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -14,4 +14,5 @@ export declare class AmqpBrandService {
|
|
|
14
14
|
getBrandsByItemIds(payload: GetBrandsByItemIdsPayload, param: AbstractParam): Promise<GetBrandsByItemIdsResult>;
|
|
15
15
|
getBrandRequiredCategories(payload: void, param: AbstractParam): Promise<GetBrandRequiredCategoriesResult>;
|
|
16
16
|
getBrandByBrandName(payload: GetBrandByBrandNamePayload, param: AbstractParam): Promise<GetBrandByBrandNameResult>;
|
|
17
|
+
autocompleteBrands(payload: AutocompleteBrandsPayload, param: AbstractParam): Promise<AutocompleteBrandsResult>;
|
|
17
18
|
}
|
|
@@ -48,6 +48,9 @@ let AmqpBrandService = class AmqpBrandService {
|
|
|
48
48
|
async getBrandByBrandName(payload, param) {
|
|
49
49
|
return this.amqpManager.call('브랜드 이름으로 브랜드 조회', 'brand.get.by-brand-name', payload, param);
|
|
50
50
|
}
|
|
51
|
+
async autocompleteBrands(payload, param) {
|
|
52
|
+
return this.amqpManager.call('자동완성 브랜드 리스트 조회', 'brand.get.autocomplete', payload, param);
|
|
53
|
+
}
|
|
51
54
|
};
|
|
52
55
|
exports.AmqpBrandService = AmqpBrandService;
|
|
53
56
|
exports.AmqpBrandService = AmqpBrandService = __decorate([
|