@yolo-croket-dev/amqp-access 0.0.49-jun.2 → 0.0.49-jun.4
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EsPurchasedInfoForSearch } from '@yolo-croket-dev/entity-v2/es-purchased-info-for-search';
|
|
2
2
|
export declare class GetEsPurchasedInfosForsearchPayload {
|
|
3
3
|
PInfoIds: string[];
|
|
4
4
|
}
|
|
5
5
|
export declare class GetEsPurchasedInfosForsearchResult {
|
|
6
|
-
eSPurchasedInfosForSearch:
|
|
6
|
+
eSPurchasedInfosForSearch: EsPurchasedInfoForSearch[];
|
|
7
7
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetAllPurchasedInfoIdsPayload, GetAllPurchasedInfoIdsResult } from '../dto/query/es';
|
|
3
|
+
import { GetEsPurchasedInfosForsearchPayload, GetEsPurchasedInfosForsearchResult, GetAllPurchasedInfoIdsPayload, GetAllPurchasedInfoIdsResult } from '../dto/query/es';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
getEsPurchasedInfosForSearch(payload:
|
|
8
|
+
getEsPurchasedInfosForSearch(payload: GetEsPurchasedInfosForsearchPayload, param: AbstractParam): Promise<GetEsPurchasedInfosForsearchResult>;
|
|
9
|
+
getAllPurchasedInfoIds(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
|
|
10
|
+
countAllPurchasedInfos(payload: void, param: AbstractParam): Promise<number>;
|
|
9
11
|
}
|
|
@@ -25,6 +25,14 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
25
25
|
// eslint-disable-next-line max-len
|
|
26
26
|
return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es-for-search', payload, param, { isErrorThrowing: true });
|
|
27
27
|
}
|
|
28
|
+
async getAllPurchasedInfoIds(payload, param) {
|
|
29
|
+
// eslint-disable-next-line max-len
|
|
30
|
+
return this.amqpManager.call('전체 조회를 위한 결제 아이디 리스트 조회', 'purchased-info.get.ids', payload, param, { isErrorThrowing: true });
|
|
31
|
+
}
|
|
32
|
+
async countAllPurchasedInfos(payload, param) {
|
|
33
|
+
// eslint-disable-next-line max-len
|
|
34
|
+
return this.amqpManager.call('전체 조회를 위한 결제 전체 수 조회', 'purchased-info.count.all', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
28
36
|
};
|
|
29
37
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
30
38
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|