@yolo-croket-dev/amqp-access 0.0.166-slowquery.3 → 0.0.166-slowquery.5
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,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPurchasedInfoByIdsPayload, GetPurchasedInfosForBulkNotiPayload, GetPurchasedInfosForBulkNotiResult } from '@yolo-croket-dev/dto-v2/order-server';
|
|
3
|
+
import { GetPurchasedInfoByIdsPayload, GetPurchasedInfosForBulkNotiPayload, GetPurchasedInfosForBulkNotiResult, GetPurchasedInfoForAdminExcelPayload, GetPurchasedInfoForAdminExcelResult } from '@yolo-croket-dev/dto-v2/order-server';
|
|
4
4
|
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity/src/purchased-info';
|
|
5
5
|
import { SearchSellerTransactionHistoryByProcessPayload, SearchSellerTransactionHistoryByProcessResult } from './dto';
|
|
6
6
|
export declare class AmqpOrderServer {
|
|
@@ -11,4 +11,6 @@ export declare class AmqpOrderServer {
|
|
|
11
11
|
getPurchasedInfosForBulkNoti(payload: GetPurchasedInfosForBulkNotiPayload, param: AbstractParam): Promise<GetPurchasedInfosForBulkNotiResult>;
|
|
12
12
|
/** 셀러 거래 내역 추출 (엑셀 생성에 쓰임) */
|
|
13
13
|
searchSellerTransactionHistoryByProcess(payload: SearchSellerTransactionHistoryByProcessPayload, param: AbstractParam): Promise<SearchSellerTransactionHistoryByProcessResult[]>;
|
|
14
|
+
/** 결제 내역 추출 */
|
|
15
|
+
getPurchasedInfoForAdminExcel(payload: GetPurchasedInfoForAdminExcelPayload, param: AbstractParam): Promise<GetPurchasedInfoForAdminExcelResult>;
|
|
14
16
|
}
|
|
@@ -32,6 +32,10 @@ let AmqpOrderServer = class AmqpOrderServer {
|
|
|
32
32
|
async searchSellerTransactionHistoryByProcess(payload, param) {
|
|
33
33
|
return this.amqpManager.call('셀러 거래 내역 데이터 조회', 'purchasedinfos.get.seller-transaction-history-by-process', payload, param, { isErrorThrowing: true });
|
|
34
34
|
}
|
|
35
|
+
/** 결제 내역 추출 */
|
|
36
|
+
async getPurchasedInfoForAdminExcel(payload, param) {
|
|
37
|
+
return this.amqpManager.call('결제 내역 엑셀 다운로드용 데이터 조회', 'purchased-info.search.for-admin-excel', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
35
39
|
};
|
|
36
40
|
AmqpOrderServer = __decorate([
|
|
37
41
|
(0, common_1.Injectable)(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.0.166-slowquery.
|
|
3
|
+
"version": "0.0.166-slowquery.5",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@nestjs/microservices": "9.0.8",
|
|
22
22
|
"@yolo-croket-dev/core": "^1.4.52",
|
|
23
|
-
"@yolo-croket-dev/dto-v2": "^0.0.
|
|
23
|
+
"@yolo-croket-dev/dto-v2": "^0.0.159",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.128",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.0.71",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GetCompleteProcessByPaymentedAtForAdminPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
class GetCompleteProcessByPaymentedAtForAdminPayload {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
@@ -23,10 +24,12 @@ __decorate([
|
|
|
23
24
|
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "endedAt", void 0);
|
|
24
25
|
__decorate([
|
|
25
26
|
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
26
28
|
__metadata("design:type", Number)
|
|
27
29
|
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "skip", void 0);
|
|
28
30
|
__decorate([
|
|
29
31
|
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
30
33
|
__metadata("design:type", Number)
|
|
31
34
|
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "limit", void 0);
|
|
32
35
|
exports.GetCompleteProcessByPaymentedAtForAdminPayload = GetCompleteProcessByPaymentedAtForAdminPayload;
|