@yolo-croket-dev/amqp-access 0.0.109 → 0.0.110
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
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
|
|
3
3
|
import { GetAskUserAndCountByDatePayload, GetAskUserAndCountByDateResult } from '@yolo-croket-dev/dto-v2/payment-service/ask/query';
|
|
4
4
|
import { GetPurchasedInfoUserAndCountByDatePayload, GetPurchasedInfoUserAndCountByDateResult } from '@yolo-croket-dev/dto-v2/payment-service/purchased-info/query';
|
|
5
|
-
import { DeleteSettlesPayload, DeleteSettlesResult } from './dto';
|
|
5
|
+
import { DeleteSettlesPayload, DeleteSettlesResult, GetLastSteadyStateTransactionPayload, GetLastSteadyStateTransactionResult } from './dto';
|
|
6
6
|
export declare class AmqpPaymentService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -13,4 +13,6 @@ export declare class AmqpPaymentService {
|
|
|
13
13
|
getStoreUserAndCountByDate(payload: GetPurchasedInfoUserAndCountByDatePayload, param: AbstractParam): Promise<GetPurchasedInfoUserAndCountByDateResult[]>;
|
|
14
14
|
/** 정산 완료 다중 선택 삭제 기능 */
|
|
15
15
|
deleteSettles(payload: DeleteSettlesPayload, param: AbstractParam): Promise<DeleteSettlesResult>;
|
|
16
|
+
/** 유저의 가장 마지막 정상 상태의 거래건 조회 */
|
|
17
|
+
getLastSteadyStateTransaction(payload: GetLastSteadyStateTransactionPayload, param: AbstractParam): Promise<GetLastSteadyStateTransactionResult | null>;
|
|
16
18
|
}
|
|
@@ -33,6 +33,10 @@ let AmqpPaymentService = class AmqpPaymentService {
|
|
|
33
33
|
async deleteSettles(payload, param) {
|
|
34
34
|
return this.amqpManager.call('정산 완료 다중 선택 삭제 기능', 'settle.delete.list', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
|
+
/** 유저의 가장 마지막 정상 상태의 거래건 조회 */
|
|
37
|
+
async getLastSteadyStateTransaction(payload, param) {
|
|
38
|
+
return this.amqpManager.call('유저의 가장 마지막 정상 상태의 거래건 조회', 'purchasedinfos.get.last-steady-state-transaction', payload, param, { isErrorThrowing: true });
|
|
39
|
+
}
|
|
36
40
|
};
|
|
37
41
|
exports.AmqpPaymentService = AmqpPaymentService;
|
|
38
42
|
exports.AmqpPaymentService = AmqpPaymentService = __decorate([
|