@yolo-croket-dev/amqp-access 0.0.90-jun.21 → 0.0.90-jun.23
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.
|
@@ -4,7 +4,7 @@ export declare class GetBundlePInfoForPayLogPayload {
|
|
|
4
4
|
pInfoId: string;
|
|
5
5
|
}
|
|
6
6
|
export declare class GetBundlePInfoForPayLogResult {
|
|
7
|
-
|
|
7
|
+
bundlePInfo: SearchedBundlePInfo;
|
|
8
8
|
}
|
|
9
9
|
export declare type SearchedBundlePInfo = Pick<BundlePurchasedInfoEntity, '_id' | 'PInfoList'> & {
|
|
10
10
|
_purchasedInfos: SearchedPurchasedInfo[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { AddBundlePInfoPayload, RegBundlePInfoPayload } from '../dto/bundle-p-info';
|
|
3
|
+
import { AddBundlePInfoPayload, RegBundlePInfoPayload, GetBundlePInfoForPayLogPayload, GetBundlePInfoForPayLogResult } from '../dto/bundle-p-info';
|
|
4
4
|
export declare class AmqpBundlePInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
addBundlePInfo(payload: AddBundlePInfoPayload, param: AbstractParam): Promise<void>;
|
|
9
9
|
regBundlePInfo(payload: RegBundlePInfoPayload, param: AbstractParam): Promise<void>;
|
|
10
|
+
getBundlePInfoForPayLog(payload: GetBundlePInfoForPayLogPayload, param: AbstractParam): Promise<GetBundlePInfoForPayLogResult>;
|
|
10
11
|
}
|
|
@@ -29,6 +29,9 @@ let AmqpBundlePInfoService = class AmqpBundlePInfoService {
|
|
|
29
29
|
// eslint-disable-next-line max-len
|
|
30
30
|
return this.amqpManager.call('묶음 결제 생성', 'bundle-p-info.create', payload, param, { isErrorThrowing: true });
|
|
31
31
|
}
|
|
32
|
+
async getBundlePInfoForPayLog(payload, param) {
|
|
33
|
+
return this.amqpManager.call('묶음 결제 검색 for pay log', 'bundle-p-info.get.for-pay-log', payload, param, { isErrorThrowing: true });
|
|
34
|
+
}
|
|
32
35
|
};
|
|
33
36
|
AmqpBundlePInfoService = __decorate([
|
|
34
37
|
(0, common_1.Injectable)(),
|