@yolo-croket-dev/amqp-access 0.0.80-jun.1 → 0.0.80-jun.3
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/order-server/services/amqp.purchased-info.service.d.ts +2 -1
- package/order-server/services/amqp.purchased-info.service.js +4 -1
- package/package.json +1 -1
- package/user-service/dto/ask/query/atlas/get-ask-all-settle-amount-by-atlas.dto.d.ts +6 -0
- package/user-service/dto/ask/query/atlas/get-ask-all-settle-amount-by-atlas.dto.js +9 -0
- package/user-service/dto/ask/query/atlas/index.d.ts +1 -0
- package/user-service/dto/ask/query/atlas/index.js +1 -0
- package/user-service/services/ask/amqp.ask.service.d.ts +2 -1
- package/user-service/services/ask/amqp.ask.service.js +3 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult } from '../dto/purchasedinfos';
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getPInfoSettleAmountInfoByAtlas(payload: GetPInfoSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountInfoByAtlasResult>;
|
|
9
|
+
getPInfoAllSettleAmountByAtlas(payload: GetPInfoAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetPInfoAllSettleAmountByAtlasResult>;
|
|
9
10
|
}
|
|
@@ -22,7 +22,10 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
24
|
async getPInfoSettleAmountInfoByAtlas(payload, param) {
|
|
25
|
-
return this.amqpManager.call('
|
|
25
|
+
return this.amqpManager.call('atlas 검색 - 특정 기간 정산금 정보 조회', 'purchased-info.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async getPInfoAllSettleAmountByAtlas(payload, param) {
|
|
28
|
+
return this.amqpManager.call('atlas 검색 - 전체 정산된 금액 조회', 'purchased-info.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
|
|
26
29
|
}
|
|
27
30
|
};
|
|
28
31
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAskAllSettleAmountByAtlasResult = exports.GetAskAllSettleAmountByAtlasPayload = void 0;
|
|
4
|
+
class GetAskAllSettleAmountByAtlasPayload {
|
|
5
|
+
}
|
|
6
|
+
exports.GetAskAllSettleAmountByAtlasPayload = GetAskAllSettleAmountByAtlasPayload;
|
|
7
|
+
class GetAskAllSettleAmountByAtlasResult {
|
|
8
|
+
}
|
|
9
|
+
exports.GetAskAllSettleAmountByAtlasResult = GetAskAllSettleAmountByAtlasResult;
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-ask-ids-by-atlas-search.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-ask-settle-amount-info-by-atlas.dto"), exports);
|
|
19
|
+
__exportStar(require("./get-ask-all-settle-amount-by-atlas.dto"), exports);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult } from '../../dto/ask';
|
|
3
|
+
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasPayload, GetAskAllSettleAmountByAtlasResult } from '../../dto/ask';
|
|
4
4
|
export declare class AmqpAskService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getAskIdsByAtlasSearch(payload: GetAskIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetAskIdsByAtlasSearchResult>;
|
|
9
9
|
getAskSettleAmountInfoByAtlas(payload: GetAskSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountInfoByAtlasResult>;
|
|
10
|
+
getAskAllSettleAmountByAtlas(payload: GetAskAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskAllSettleAmountByAtlasResult>;
|
|
10
11
|
}
|
|
@@ -27,6 +27,9 @@ let AmqpAskService = class AmqpAskService {
|
|
|
27
27
|
async getAskSettleAmountInfoByAtlas(payload, param) {
|
|
28
28
|
return this.amqpManager.call('Atlas 정산금 정보 조회', 'ask.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
+
async getAskAllSettleAmountByAtlas(payload, param) {
|
|
31
|
+
return this.amqpManager.call('Atlas - 전체 정산된 금액 조회', 'ask.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
30
33
|
};
|
|
31
34
|
exports.AmqpAskService = AmqpAskService;
|
|
32
35
|
exports.AmqpAskService = AmqpAskService = __decorate([
|