@yolo-croket-dev/amqp-access 0.0.49-jun.9 → 0.0.49
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/amqp.order-server.module.js +0 -2
- package/order-server/services/index.d.ts +0 -1
- package/order-server/services/index.js +0 -1
- package/package.json +1 -1
- package/elastic-service/dto/es-purchased-info-for-search/command/delete-es-purchased-info-for-search.dto.d.ts +0 -3
- package/elastic-service/dto/es-purchased-info-for-search/command/delete-es-purchased-info-for-search.dto.js +0 -21
- package/elastic-service/dto/es-purchased-info-for-search/command/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info-for-search/command/index.js +0 -18
- package/elastic-service/dto/es-purchased-info-for-search/command/update-es-purchased-info-for-search.dto.d.ts +0 -3
- package/elastic-service/dto/es-purchased-info-for-search/command/update-es-purchased-info-for-search.dto.js +0 -21
- package/elastic-service/dto/es-purchased-info-for-search/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info-for-search/index.js +0 -18
- package/elastic-service/dto/es-purchased-info-for-search/query/count-group-es-purchased-info-for-search.dto.d.ts +0 -12
- package/elastic-service/dto/es-purchased-info-for-search/query/count-group-es-purchased-info-for-search.dto.js +0 -36
- package/elastic-service/dto/es-purchased-info-for-search/query/get-es-purchased-info-for-search.dto.d.ts +0 -12
- package/elastic-service/dto/es-purchased-info-for-search/query/get-es-purchased-info-for-search.dto.js +0 -55
- package/elastic-service/dto/es-purchased-info-for-search/query/index.d.ts +0 -2
- package/elastic-service/dto/es-purchased-info-for-search/query/index.js +0 -18
- package/order-server/dto/index.d.ts +0 -1
- package/order-server/dto/index.js +0 -17
- package/order-server/dto/query/es/get-all-purchased-info-ids.dto.d.ts +0 -7
- package/order-server/dto/query/es/get-all-purchased-info-ids.dto.js +0 -27
- package/order-server/dto/query/es/get-es-purchased-infos-for-search.dto.d.ts +0 -7
- package/order-server/dto/query/es/get-es-purchased-infos-for-search.dto.js +0 -24
- package/order-server/dto/query/es/index.d.ts +0 -2
- package/order-server/dto/query/es/index.js +0 -18
- package/order-server/dto/query/index.d.ts +0 -1
- package/order-server/dto/query/index.js +0 -17
- package/order-server/services/amqp.purchased-info.service.d.ts +0 -11
- package/order-server/services/amqp.purchased-info.service.js +0 -42
|
@@ -22,7 +22,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
22
22
|
services_1.AmqpPayTryLogService,
|
|
23
23
|
services_1.AmqpPortOneService,
|
|
24
24
|
services_1.AmqpYoloDepositHistoryByPgService,
|
|
25
|
-
services_1.AmqpPurchasedInfoService,
|
|
26
25
|
],
|
|
27
26
|
exports: [
|
|
28
27
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -30,7 +29,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
30
29
|
services_1.AmqpPayTryLogService,
|
|
31
30
|
services_1.AmqpPortOneService,
|
|
32
31
|
services_1.AmqpYoloDepositHistoryByPgService,
|
|
33
|
-
services_1.AmqpPurchasedInfoService,
|
|
34
32
|
],
|
|
35
33
|
})
|
|
36
34
|
], AmqpOrderServerModule);
|
|
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./amqp.pay-try-log.service"), exports);
|
|
18
18
|
__exportStar(require("./amqp.port-one.service"), exports);
|
|
19
19
|
__exportStar(require("./amqp.yolo-deposit-history-by-pg.service"), exports);
|
|
20
|
-
__exportStar(require("./amqp.purchased-info.service"), exports);
|
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.DeleteEsPurchasedInfoForSearchPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class DeleteEsPurchasedInfoForSearchPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.DeleteEsPurchasedInfoForSearchPayload = DeleteEsPurchasedInfoForSearchPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], DeleteEsPurchasedInfoForSearchPayload.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-purchased-info-for-search.dto"), exports);
|
|
18
|
-
__exportStar(require("./update-es-purchased-info-for-search.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.UpdateEsPurchasedInfoForSearchPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class UpdateEsPurchasedInfoForSearchPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.UpdateEsPurchasedInfoForSearchPayload = UpdateEsPurchasedInfoForSearchPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], UpdateEsPurchasedInfoForSearchPayload.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);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class CountGroupEsPurchasedInfoForSearchPayload {
|
|
2
|
-
sellerId?: string;
|
|
3
|
-
paymentSDate?: Date;
|
|
4
|
-
paymentEDate?: Date;
|
|
5
|
-
searchText?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface CountGroupEsPurchasedInfoForSearchResult {
|
|
8
|
-
processInfos: {
|
|
9
|
-
process: string;
|
|
10
|
-
count: number;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
|
@@ -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.CountGroupEsPurchasedInfoForSearchPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CountGroupEsPurchasedInfoForSearchPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.CountGroupEsPurchasedInfoForSearchPayload = CountGroupEsPurchasedInfoForSearchPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CountGroupEsPurchasedInfoForSearchPayload.prototype, "sellerId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsDateString)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
__metadata("design:type", Date)
|
|
26
|
-
], CountGroupEsPurchasedInfoForSearchPayload.prototype, "paymentSDate", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsDateString)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
__metadata("design:type", Date)
|
|
31
|
-
], CountGroupEsPurchasedInfoForSearchPayload.prototype, "paymentEDate", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CountGroupEsPurchasedInfoForSearchPayload.prototype, "searchText", void 0);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class GetEsPurchasedInfoForSearchPayload {
|
|
2
|
-
sellerId?: string;
|
|
3
|
-
paymentSDate?: Date;
|
|
4
|
-
paymentEDate?: Date;
|
|
5
|
-
searchText?: string;
|
|
6
|
-
page: number;
|
|
7
|
-
limit: number;
|
|
8
|
-
sortType: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetEsPurchasedInfoForSearchResult {
|
|
11
|
-
PInfoIds: string[];
|
|
12
|
-
}
|
|
@@ -1,55 +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.GetEsPurchasedInfoForSearchPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var GetEsPurchasedInfoForSearchSortTypeEnum;
|
|
15
|
-
(function (GetEsPurchasedInfoForSearchSortTypeEnum) {
|
|
16
|
-
GetEsPurchasedInfoForSearchSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
17
|
-
GetEsPurchasedInfoForSearchSortTypeEnum["\uAD6C\uB9E4\uC790 \uC774\uB984\uC21C"] = "\uAD6C\uB9E4\uC790 \uC774\uB984\uC21C";
|
|
18
|
-
GetEsPurchasedInfoForSearchSortTypeEnum["\uC0C1\uD488\uBA85\uC21C"] = "\uC0C1\uD488\uBA85\uC21C";
|
|
19
|
-
GetEsPurchasedInfoForSearchSortTypeEnum["\uC9C4\uD589\uC0C1\uD0DC\uC21C"] = "\uC9C4\uD589\uC0C1\uD0DC\uC21C";
|
|
20
|
-
})(GetEsPurchasedInfoForSearchSortTypeEnum || (GetEsPurchasedInfoForSearchSortTypeEnum = {}));
|
|
21
|
-
class GetEsPurchasedInfoForSearchPayload {
|
|
22
|
-
}
|
|
23
|
-
exports.GetEsPurchasedInfoForSearchPayload = GetEsPurchasedInfoForSearchPayload;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsMongoId)(),
|
|
26
|
-
(0, class_validator_1.IsOptional)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "sellerId", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsDateString)(),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", Date)
|
|
33
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "paymentSDate", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsDateString)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", Date)
|
|
38
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "paymentEDate", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "searchText", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsNumber)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "page", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNumber)(),
|
|
50
|
-
__metadata("design:type", Number)
|
|
51
|
-
], GetEsPurchasedInfoForSearchPayload.prototype, "limit", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.IsEnum)(GetEsPurchasedInfoForSearchSortTypeEnum),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], GetEsPurchasedInfoForSearchPayload.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-purchased-info-for-search.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-es-purchased-info-for-search.dto"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './query';
|
|
@@ -1,17 +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("./query"), exports);
|
|
@@ -1,27 +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.GetAllPurchasedInfoIdsResult = exports.GetAllPurchasedInfoIdsPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetAllPurchasedInfoIdsPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetAllPurchasedInfoIdsPayload = GetAllPurchasedInfoIdsPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsNumber)(),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], GetAllPurchasedInfoIdsPayload.prototype, "limit", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], GetAllPurchasedInfoIdsPayload.prototype, "skip", void 0);
|
|
25
|
-
class GetAllPurchasedInfoIdsResult {
|
|
26
|
-
}
|
|
27
|
-
exports.GetAllPurchasedInfoIdsResult = GetAllPurchasedInfoIdsResult;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EsPurchasedInfoForSearch } from '@yolo-croket-dev/entity-v2/es-purchased-info-for-search';
|
|
2
|
-
export declare class GetEsPurchasedInfosForsearchPayload {
|
|
3
|
-
PInfoIds: string[];
|
|
4
|
-
}
|
|
5
|
-
export declare class GetEsPurchasedInfosForsearchResult {
|
|
6
|
-
esPurchasedInfosForSearch: EsPurchasedInfoForSearch[];
|
|
7
|
-
}
|
|
@@ -1,24 +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.GetEsPurchasedInfosForsearchResult = exports.GetEsPurchasedInfosForsearchPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetEsPurchasedInfosForsearchPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetEsPurchasedInfosForsearchPayload = GetEsPurchasedInfosForsearchPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], GetEsPurchasedInfosForsearchPayload.prototype, "PInfoIds", void 0);
|
|
22
|
-
class GetEsPurchasedInfosForsearchResult {
|
|
23
|
-
}
|
|
24
|
-
exports.GetEsPurchasedInfosForsearchResult = GetEsPurchasedInfosForsearchResult;
|
|
@@ -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("./get-es-purchased-infos-for-search.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-all-purchased-info-ids.dto"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './es';
|
|
@@ -1,17 +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("./es"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetEsPurchasedInfosForsearchPayload, GetEsPurchasedInfosForsearchResult, GetAllPurchasedInfoIdsPayload, GetAllPurchasedInfoIdsResult } from '../dto/query/es';
|
|
4
|
-
export declare class AmqpPurchasedInfoService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
getEsPurchasedInfosForSearch(payload: GetEsPurchasedInfosForsearchPayload, param: AbstractParam): Promise<GetEsPurchasedInfosForsearchResult>;
|
|
9
|
-
getAllPurchasedInfoIds(payload: GetAllPurchasedInfoIdsPayload, param: AbstractParam): Promise<GetAllPurchasedInfoIdsResult>;
|
|
10
|
-
countAllPurchasedInfos(payload: void, param: AbstractParam): Promise<number>;
|
|
11
|
-
}
|
|
@@ -1,42 +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
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AmqpPurchasedInfoService = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
-
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
-
let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
-
}
|
|
24
|
-
async getEsPurchasedInfosForSearch(payload, param) {
|
|
25
|
-
// eslint-disable-next-line max-len
|
|
26
|
-
return this.amqpManager.call('검색 es를 위한 구매 정보 리스트 조회', 'purchased-info.get.es-for-search', payload, param, { isErrorThrowing: true });
|
|
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
|
-
};
|
|
37
|
-
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
38
|
-
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
|
39
|
-
(0, common_1.Injectable)(),
|
|
40
|
-
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
41
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
42
|
-
], AmqpPurchasedInfoService);
|