@yolo-croket-dev/amqp-access 0.0.49-jun.16 → 0.0.49-jun.2
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/dto/query/es/get-es-purchased-infos-for-search.dto.d.ts +2 -2
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -4
- package/order-server/services/amqp.purchased-info.service.js +0 -8
- package/package.json +1 -1
- package/elastic-service/dto/es-purchased-info/command/delete-es-p-infos.dto.d.ts +0 -3
- package/elastic-service/dto/es-purchased-info/command/delete-es-p-infos.dto.js +0 -21
- package/elastic-service/dto/es-purchased-info/command/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info/command/index.js +0 -18
- package/elastic-service/dto/es-purchased-info/command/update-es-p-infos.dto.d.ts +0 -3
- package/elastic-service/dto/es-purchased-info/command/update-es-p-infos.dto.js +0 -21
- package/elastic-service/dto/es-purchased-info/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info/index.js +0 -18
- package/elastic-service/dto/es-purchased-info/query/count-group-es-p-infos-for-mange-buyer.dto.d.ts +0 -12
- package/elastic-service/dto/es-purchased-info/query/count-group-es-p-infos-for-mange-buyer.dto.js +0 -36
- package/elastic-service/dto/es-purchased-info/query/get-es-p-infos-for-mange-buyer.dto.d.ts +0 -21
- package/elastic-service/dto/es-purchased-info/query/get-es-p-infos-for-mange-buyer.dto.js +0 -56
- package/elastic-service/dto/es-purchased-info/query/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info/query/index.js +0 -18
|
@@ -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
|
-
|
|
6
|
+
eSPurchasedInfosForSearch: ESPurchasedInfoForSearch[];
|
|
7
7
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { 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:
|
|
9
|
-
getAllPurchasedInfoIds(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
|
|
10
|
-
countAllPurchasedInfos(payload: void, param: AbstractParam): Promise<number>;
|
|
8
|
+
getEsPurchasedInfosForSearch(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
|
|
11
9
|
}
|
|
@@ -25,14 +25,6 @@ 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
|
-
}
|
|
36
28
|
};
|
|
37
29
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
38
30
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.DeleteEsPInfosPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class DeleteEsPInfosPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.DeleteEsPInfosPayload = DeleteEsPInfosPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], DeleteEsPInfosPayload.prototype, "PInfoIds", void 0);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./delete-es-p-infos.dto"), exports);
|
|
18
|
-
__exportStar(require("./update-es-p-infos.dto"), exports);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateEsPInfosPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class UpdateEsPInfosPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.UpdateEsPInfosPayload = UpdateEsPInfosPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], UpdateEsPInfosPayload.prototype, "PInfoIds", void 0);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./command"), exports);
|
|
18
|
-
__exportStar(require("./query"), exports);
|
package/elastic-service/dto/es-purchased-info/query/count-group-es-p-infos-for-mange-buyer.dto.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class CountGroupEsPInfoForManageBuyerPayload {
|
|
2
|
-
sellerId?: string;
|
|
3
|
-
paymentSDate?: Date;
|
|
4
|
-
paymentEDate?: Date;
|
|
5
|
-
searchText?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface CountGroupEsPInfoForManageBuyerResult {
|
|
8
|
-
processInfos: {
|
|
9
|
-
process: string;
|
|
10
|
-
count: number;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
package/elastic-service/dto/es-purchased-info/query/count-group-es-p-infos-for-mange-buyer.dto.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CountGroupEsPInfoForManageBuyerPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CountGroupEsPInfoForManageBuyerPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.CountGroupEsPInfoForManageBuyerPayload = CountGroupEsPInfoForManageBuyerPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CountGroupEsPInfoForManageBuyerPayload.prototype, "sellerId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsDateString)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
__metadata("design:type", Date)
|
|
26
|
-
], CountGroupEsPInfoForManageBuyerPayload.prototype, "paymentSDate", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsDateString)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
__metadata("design:type", Date)
|
|
31
|
-
], CountGroupEsPInfoForManageBuyerPayload.prototype, "paymentEDate", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CountGroupEsPInfoForManageBuyerPayload.prototype, "searchText", void 0);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare enum GetEsPInfoForManageBuyerSortTypeEnum {
|
|
2
|
-
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
3
|
-
'구매자 이름순' = "\uAD6C\uB9E4\uC790 \uC774\uB984\uC21C",
|
|
4
|
-
'상품명순' = "\uC0C1\uD488\uBA85\uC21C",
|
|
5
|
-
'진행상태순' = "\uC9C4\uD589\uC0C1\uD0DC\uC21C"
|
|
6
|
-
}
|
|
7
|
-
/** 구매자 관리용 결제 정보 리스트 조회 */
|
|
8
|
-
export declare class GetEsPInfosForMangeBuyerPayload {
|
|
9
|
-
sellerId?: string;
|
|
10
|
-
paymentSDate?: Date;
|
|
11
|
-
paymentEDate?: Date;
|
|
12
|
-
searchText?: string;
|
|
13
|
-
page: number;
|
|
14
|
-
limit: number;
|
|
15
|
-
sortType: GetEsPInfoForManageBuyerSortTypeEnum;
|
|
16
|
-
}
|
|
17
|
-
/** 구매자 관리용 결제 정보 결고과 */
|
|
18
|
-
export interface GetEsPInfosForMangeBuyerResult {
|
|
19
|
-
PInfoIds: string[];
|
|
20
|
-
allCount: number;
|
|
21
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GetEsPInfosForMangeBuyerPayload = exports.GetEsPInfoForManageBuyerSortTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var GetEsPInfoForManageBuyerSortTypeEnum;
|
|
15
|
-
(function (GetEsPInfoForManageBuyerSortTypeEnum) {
|
|
16
|
-
GetEsPInfoForManageBuyerSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
17
|
-
GetEsPInfoForManageBuyerSortTypeEnum["\uAD6C\uB9E4\uC790 \uC774\uB984\uC21C"] = "\uAD6C\uB9E4\uC790 \uC774\uB984\uC21C";
|
|
18
|
-
GetEsPInfoForManageBuyerSortTypeEnum["\uC0C1\uD488\uBA85\uC21C"] = "\uC0C1\uD488\uBA85\uC21C";
|
|
19
|
-
GetEsPInfoForManageBuyerSortTypeEnum["\uC9C4\uD589\uC0C1\uD0DC\uC21C"] = "\uC9C4\uD589\uC0C1\uD0DC\uC21C";
|
|
20
|
-
})(GetEsPInfoForManageBuyerSortTypeEnum || (exports.GetEsPInfoForManageBuyerSortTypeEnum = GetEsPInfoForManageBuyerSortTypeEnum = {}));
|
|
21
|
-
/** 구매자 관리용 결제 정보 리스트 조회 */
|
|
22
|
-
class GetEsPInfosForMangeBuyerPayload {
|
|
23
|
-
}
|
|
24
|
-
exports.GetEsPInfosForMangeBuyerPayload = GetEsPInfosForMangeBuyerPayload;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsMongoId)(),
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "sellerId", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsDateString)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
__metadata("design:type", Date)
|
|
34
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "paymentSDate", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_validator_1.IsDateString)(),
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
__metadata("design:type", Date)
|
|
39
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "paymentEDate", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "searchText", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsNumber)(),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "page", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsNumber)(),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "limit", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsEnum)(GetEsPInfoForManageBuyerSortTypeEnum),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], GetEsPInfosForMangeBuyerPayload.prototype, "sortType", void 0);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./count-group-es-p-infos-for-mange-buyer.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-es-p-infos-for-mange-buyer.dto"), exports);
|