@yolo-croket-dev/amqp-access 0.0.49-jun.15 → 0.0.49-jun.17
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/elastic-service/dto/es-purchased-info/command/delete-es-p-infos.dto.d.ts +3 -0
- package/elastic-service/dto/es-purchased-info/command/{delete-es-p-info.dto.js → delete-es-p-infos.dto.js} +4 -4
- package/elastic-service/dto/es-purchased-info/command/index.d.ts +2 -2
- package/elastic-service/dto/es-purchased-info/command/index.js +2 -2
- package/elastic-service/dto/es-purchased-info/command/update-es-p-infos.dto.d.ts +3 -0
- package/elastic-service/dto/es-purchased-info/command/{update-es-p-info.dto.js → update-es-p-infos.dto.js} +4 -4
- package/order-server/dto/query/es/{get-es-purchased-infos-for-search.dto.d.ts → get-es-purchased-infos.dto.d.ts} +2 -2
- package/order-server/dto/query/es/{get-es-purchased-infos-for-search.dto.js → get-es-purchased-infos.dto.js} +6 -6
- package/order-server/dto/query/es/index.d.ts +1 -1
- package/order-server/dto/query/es/index.js +1 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -2
- package/order-server/services/amqp.purchased-info.service.js +2 -2
- package/package.json +1 -1
- package/elastic-service/dto/es-purchased-info/command/delete-es-p-info.dto.d.ts +0 -3
- package/elastic-service/dto/es-purchased-info/command/update-es-p-info.dto.d.ts +0 -3
|
@@ -9,13 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.DeleteEsPInfosPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class DeleteEsPInfosPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.DeleteEsPInfosPayload = DeleteEsPInfosPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
19
|
(0, class_validator_1.IsArray)(),
|
|
20
20
|
__metadata("design:type", Array)
|
|
21
|
-
],
|
|
21
|
+
], DeleteEsPInfosPayload.prototype, "PInfoIds", void 0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './delete-es-p-
|
|
2
|
-
export * from './update-es-p-
|
|
1
|
+
export * from './delete-es-p-infos.dto';
|
|
2
|
+
export * from './update-es-p-infos.dto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./delete-es-p-
|
|
18
|
-
__exportStar(require("./update-es-p-
|
|
17
|
+
__exportStar(require("./delete-es-p-infos.dto"), exports);
|
|
18
|
+
__exportStar(require("./update-es-p-infos.dto"), exports);
|
|
@@ -9,13 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.UpdateEsPInfosPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class UpdateEsPInfosPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.UpdateEsPInfosPayload = UpdateEsPInfosPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
19
|
(0, class_validator_1.IsArray)(),
|
|
20
20
|
__metadata("design:type", Array)
|
|
21
|
-
],
|
|
21
|
+
], UpdateEsPInfosPayload.prototype, "PInfoIds", void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EsPurchasedInfoForSearch } from '@yolo-croket-dev/entity-v2/es-purchased-info-for-search';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class GetEsPurchasedInfosPayload {
|
|
3
3
|
PInfoIds: string[];
|
|
4
4
|
}
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class GetEsPurchasedInfosResult {
|
|
6
6
|
esPurchasedInfosForSearch: EsPurchasedInfoForSearch[];
|
|
7
7
|
}
|
|
@@ -9,16 +9,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GetEsPurchasedInfosResult = exports.GetEsPurchasedInfosPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetEsPurchasedInfosPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetEsPurchasedInfosPayload = GetEsPurchasedInfosPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
19
|
(0, class_validator_1.IsArray)(),
|
|
20
20
|
__metadata("design:type", Array)
|
|
21
|
-
],
|
|
22
|
-
class
|
|
21
|
+
], GetEsPurchasedInfosPayload.prototype, "PInfoIds", void 0);
|
|
22
|
+
class GetEsPurchasedInfosResult {
|
|
23
23
|
}
|
|
24
|
-
exports.
|
|
24
|
+
exports.GetEsPurchasedInfosResult = GetEsPurchasedInfosResult;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './get-es-purchased-infos
|
|
1
|
+
export * from './get-es-purchased-infos.dto';
|
|
2
2
|
export * from './get-all-purchased-info-ids.dto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-es-purchased-infos
|
|
17
|
+
__exportStar(require("./get-es-purchased-infos.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-all-purchased-info-ids.dto"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { GetEsPurchasedInfosPayload, GetEsPurchasedInfosResult, 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
|
-
|
|
8
|
+
getEsPurchasedInfos(payload: GetEsPurchasedInfosPayload, param: AbstractParam): Promise<GetEsPurchasedInfosResult>;
|
|
9
9
|
getAllPurchasedInfoIds(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
|
|
10
10
|
countAllPurchasedInfos(payload: void, param: AbstractParam): Promise<number>;
|
|
11
11
|
}
|
|
@@ -21,9 +21,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
async
|
|
24
|
+
async getEsPurchasedInfos(payload, param) {
|
|
25
25
|
// eslint-disable-next-line max-len
|
|
26
|
-
return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es
|
|
26
|
+
return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es', payload, param, { isErrorThrowing: true });
|
|
27
27
|
}
|
|
28
28
|
async getAllPurchasedInfoIds(payload, param) {
|
|
29
29
|
// eslint-disable-next-line max-len
|
package/package.json
CHANGED