@yolo-croket-dev/amqp-access 0.4.68 → 0.4.70
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 +2 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-purchased-infos-for-admin.dto.d.ts +11 -1
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-purchased-infos-for-admin.dto.js +179 -1
- package/order-server/services/amqp.purchased-info-admin.service.d.ts +9 -0
- package/order-server/services/amqp.purchased-info-admin.service.js +33 -0
- package/order-server/services/index.d.ts +1 -0
- package/order-server/services/index.js +1 -0
- package/package.json +2 -2
- package/store-item-server/dto/store-item/query/index.d.ts +1 -0
- package/store-item-server/dto/store-item/query/index.js +1 -0
- package/store-item-server/dto/store-item/query/search-store-items-for-test-api.dto.d.ts +10 -0
- package/store-item-server/dto/store-item/query/search-store-items-for-test-api.dto.js +24 -0
- package/store-item-server/services/amqp.store-item.service.d.ts +2 -1
- package/store-item-server/services/amqp.store-item.service.js +3 -0
|
@@ -28,6 +28,7 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
28
28
|
services_1.AmqpDataPaymentMethodService,
|
|
29
29
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
30
30
|
services_1.AmqpPurchaseReceiptService,
|
|
31
|
+
services_1.AmqpPurchasedInfoAdminService,
|
|
31
32
|
],
|
|
32
33
|
exports: [
|
|
33
34
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -41,6 +42,7 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
41
42
|
services_1.AmqpDataPaymentMethodService,
|
|
42
43
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
43
44
|
services_1.AmqpPurchaseReceiptService,
|
|
45
|
+
services_1.AmqpPurchasedInfoAdminService,
|
|
44
46
|
],
|
|
45
47
|
})
|
|
46
48
|
], AmqpOrderServerModule);
|
|
@@ -8,6 +8,10 @@ export declare enum GetPurchasedInfosForAdminSearchTypeEnum {
|
|
|
8
8
|
'imp_uid 기준' = "imp_uid \uAE30\uC900",
|
|
9
9
|
'결제로그 아이디 기준' = "\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900"
|
|
10
10
|
}
|
|
11
|
+
export declare enum GetPurchasedInfosForAdminSortTypeEnum {
|
|
12
|
+
'최근 결제일순' = "\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C",
|
|
13
|
+
'오래된 결제일순' = "\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C"
|
|
14
|
+
}
|
|
11
15
|
export declare enum SettleStatusEnum {
|
|
12
16
|
'전체' = "\uC804\uCCB4",
|
|
13
17
|
'정산함' = "\uC815\uC0B0\uD568",
|
|
@@ -20,6 +24,7 @@ export declare enum AbroadSettleStatusEnum {
|
|
|
20
24
|
}
|
|
21
25
|
export declare class GetPurchasedInfosForAdminPayload {
|
|
22
26
|
searchType: GetPurchasedInfosForAdminSearchTypeEnum;
|
|
27
|
+
sortType: GetPurchasedInfosForAdminSortTypeEnum;
|
|
23
28
|
paymentSDate?: string | Date;
|
|
24
29
|
paymentEDate?: string | Date;
|
|
25
30
|
receiveSDate?: string | Date;
|
|
@@ -33,13 +38,18 @@ export declare class GetPurchasedInfosForAdminPayload {
|
|
|
33
38
|
itemName?: string;
|
|
34
39
|
storeTitle?: string;
|
|
35
40
|
buyerName?: string;
|
|
36
|
-
|
|
41
|
+
receiverName?: string;
|
|
37
42
|
receiverPhoneNumber?: string;
|
|
38
43
|
imp_uid?: string;
|
|
39
44
|
payTryLogId?: string;
|
|
45
|
+
isExistPaymentMemo?: boolean;
|
|
40
46
|
paymentMemo?: string;
|
|
47
|
+
isExistSettleMemo?: boolean;
|
|
48
|
+
settleMemo?: string;
|
|
41
49
|
shippingInvoice?: string;
|
|
42
50
|
buyerPhoneNumber?: string;
|
|
51
|
+
couponName?: string;
|
|
52
|
+
couponCode?: string;
|
|
43
53
|
limit: number;
|
|
44
54
|
searchAfter?: string;
|
|
45
55
|
searchBefore?: string;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPurchasedInfosForAdminResult = exports.GetPurchasedInfosForAdminPayload = exports.AbroadSettleStatusEnum = exports.SettleStatusEnum = exports.GetPurchasedInfosForAdminSearchTypeEnum = void 0;
|
|
12
|
+
exports.GetPurchasedInfosForAdminResult = exports.GetPurchasedInfosForAdminPayload = exports.AbroadSettleStatusEnum = exports.SettleStatusEnum = exports.GetPurchasedInfosForAdminSortTypeEnum = exports.GetPurchasedInfosForAdminSearchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
4
14
|
var GetPurchasedInfosForAdminSearchTypeEnum;
|
|
5
15
|
(function (GetPurchasedInfosForAdminSearchTypeEnum) {
|
|
6
16
|
// 결제일 기준 (2그룹 하위 노출)
|
|
@@ -18,6 +28,11 @@ var GetPurchasedInfosForAdminSearchTypeEnum;
|
|
|
18
28
|
// payTryLogId (2그룹 노출 X)
|
|
19
29
|
GetPurchasedInfosForAdminSearchTypeEnum["\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900"] = "\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900";
|
|
20
30
|
})(GetPurchasedInfosForAdminSearchTypeEnum || (exports.GetPurchasedInfosForAdminSearchTypeEnum = GetPurchasedInfosForAdminSearchTypeEnum = {}));
|
|
31
|
+
var GetPurchasedInfosForAdminSortTypeEnum;
|
|
32
|
+
(function (GetPurchasedInfosForAdminSortTypeEnum) {
|
|
33
|
+
GetPurchasedInfosForAdminSortTypeEnum["\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C"] = "\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C";
|
|
34
|
+
GetPurchasedInfosForAdminSortTypeEnum["\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C"] = "\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C";
|
|
35
|
+
})(GetPurchasedInfosForAdminSortTypeEnum || (exports.GetPurchasedInfosForAdminSortTypeEnum = GetPurchasedInfosForAdminSortTypeEnum = {}));
|
|
21
36
|
var SettleStatusEnum;
|
|
22
37
|
(function (SettleStatusEnum) {
|
|
23
38
|
SettleStatusEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
@@ -33,6 +48,169 @@ var AbroadSettleStatusEnum;
|
|
|
33
48
|
class GetPurchasedInfosForAdminPayload {
|
|
34
49
|
}
|
|
35
50
|
exports.GetPurchasedInfosForAdminPayload = GetPurchasedInfosForAdminPayload;
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsEnum)(GetPurchasedInfosForAdminSearchTypeEnum),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], GetPurchasedInfosForAdminPayload.prototype, "searchType", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsEnum)(GetPurchasedInfosForAdminSortTypeEnum),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], GetPurchasedInfosForAdminPayload.prototype, "sortType", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsDateString)(),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], GetPurchasedInfosForAdminPayload.prototype, "paymentSDate", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsDateString)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], GetPurchasedInfosForAdminPayload.prototype, "paymentEDate", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsDateString)(),
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], GetPurchasedInfosForAdminPayload.prototype, "receiveSDate", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsDateString)(),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", Object)
|
|
78
|
+
], GetPurchasedInfosForAdminPayload.prototype, "receiveEDate", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], GetPurchasedInfosForAdminPayload.prototype, "publicId", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], GetPurchasedInfosForAdminPayload.prototype, "buyerId", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], GetPurchasedInfosForAdminPayload.prototype, "storeId", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.IsString)(),
|
|
96
|
+
(0, class_validator_1.IsOptional)(),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], GetPurchasedInfosForAdminPayload.prototype, "pInfoId", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.IsString)(),
|
|
101
|
+
(0, class_validator_1.IsOptional)(),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], GetPurchasedInfosForAdminPayload.prototype, "refundId", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.IsString)(),
|
|
106
|
+
(0, class_validator_1.IsOptional)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], GetPurchasedInfosForAdminPayload.prototype, "itemId", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_validator_1.IsString)(),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], GetPurchasedInfosForAdminPayload.prototype, "itemName", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_validator_1.IsString)(),
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], GetPurchasedInfosForAdminPayload.prototype, "storeTitle", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, class_validator_1.IsString)(),
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], GetPurchasedInfosForAdminPayload.prototype, "buyerName", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, class_validator_1.IsString)(),
|
|
126
|
+
(0, class_validator_1.IsOptional)(),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], GetPurchasedInfosForAdminPayload.prototype, "receiverName", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsString)(),
|
|
131
|
+
(0, class_validator_1.IsOptional)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], GetPurchasedInfosForAdminPayload.prototype, "receiverPhoneNumber", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsString)(),
|
|
136
|
+
(0, class_validator_1.IsOptional)(),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], GetPurchasedInfosForAdminPayload.prototype, "imp_uid", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_validator_1.IsString)(),
|
|
141
|
+
(0, class_validator_1.IsOptional)(),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], GetPurchasedInfosForAdminPayload.prototype, "payTryLogId", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, class_validator_1.IsBoolean)(),
|
|
146
|
+
(0, class_validator_1.IsOptional)(),
|
|
147
|
+
__metadata("design:type", Boolean)
|
|
148
|
+
], GetPurchasedInfosForAdminPayload.prototype, "isExistPaymentMemo", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_validator_1.IsString)(),
|
|
151
|
+
(0, class_validator_1.IsOptional)(),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], GetPurchasedInfosForAdminPayload.prototype, "paymentMemo", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, class_validator_1.IsBoolean)(),
|
|
156
|
+
(0, class_validator_1.IsOptional)(),
|
|
157
|
+
__metadata("design:type", Boolean)
|
|
158
|
+
], GetPurchasedInfosForAdminPayload.prototype, "isExistSettleMemo", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, class_validator_1.IsString)(),
|
|
161
|
+
(0, class_validator_1.IsOptional)(),
|
|
162
|
+
__metadata("design:type", String)
|
|
163
|
+
], GetPurchasedInfosForAdminPayload.prototype, "settleMemo", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, class_validator_1.IsString)(),
|
|
166
|
+
(0, class_validator_1.IsOptional)(),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], GetPurchasedInfosForAdminPayload.prototype, "shippingInvoice", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, class_validator_1.IsString)(),
|
|
171
|
+
(0, class_validator_1.IsOptional)(),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], GetPurchasedInfosForAdminPayload.prototype, "buyerPhoneNumber", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, class_validator_1.IsString)(),
|
|
176
|
+
(0, class_validator_1.IsOptional)(),
|
|
177
|
+
__metadata("design:type", String)
|
|
178
|
+
], GetPurchasedInfosForAdminPayload.prototype, "couponName", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, class_validator_1.IsString)(),
|
|
181
|
+
(0, class_validator_1.IsOptional)(),
|
|
182
|
+
__metadata("design:type", String)
|
|
183
|
+
], GetPurchasedInfosForAdminPayload.prototype, "couponCode", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, class_validator_1.IsNumber)(),
|
|
186
|
+
__metadata("design:type", Number)
|
|
187
|
+
], GetPurchasedInfosForAdminPayload.prototype, "limit", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, class_validator_1.IsString)(),
|
|
190
|
+
(0, class_validator_1.IsOptional)(),
|
|
191
|
+
__metadata("design:type", String)
|
|
192
|
+
], GetPurchasedInfosForAdminPayload.prototype, "searchAfter", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, class_validator_1.IsString)(),
|
|
195
|
+
(0, class_validator_1.IsOptional)(),
|
|
196
|
+
__metadata("design:type", String)
|
|
197
|
+
], GetPurchasedInfosForAdminPayload.prototype, "searchBefore", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, class_validator_1.IsArray)(),
|
|
200
|
+
(0, class_validator_1.IsOptional)(),
|
|
201
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
202
|
+
__metadata("design:type", Array)
|
|
203
|
+
], GetPurchasedInfosForAdminPayload.prototype, "pInfoProcessList", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, class_validator_1.IsEnum)(SettleStatusEnum),
|
|
206
|
+
(0, class_validator_1.IsOptional)(),
|
|
207
|
+
__metadata("design:type", String)
|
|
208
|
+
], GetPurchasedInfosForAdminPayload.prototype, "settleStatus", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, class_validator_1.IsEnum)(AbroadSettleStatusEnum),
|
|
211
|
+
(0, class_validator_1.IsOptional)(),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], GetPurchasedInfosForAdminPayload.prototype, "abroadSettleStatus", void 0);
|
|
36
214
|
class GetPurchasedInfosForAdminResult {
|
|
37
215
|
}
|
|
38
216
|
exports.GetPurchasedInfosForAdminResult = GetPurchasedInfosForAdminResult;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult } from '../dto/purchased-info.modules';
|
|
4
|
+
export declare class AmqpPurchasedInfoAdminService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.AmqpPurchasedInfoAdminService = 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 AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async getPurchasedInfosForAdmin(payload, param) {
|
|
25
|
+
return this.amqpManager.call('결제 리스트 조회 (관리자)', 'purchased-info-admin.get.list', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
|
|
29
|
+
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
|
|
30
|
+
(0, common_1.Injectable)(),
|
|
31
|
+
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
32
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
+
], AmqpPurchasedInfoAdminService);
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./amqp.pay-try-test-log.service"), exports);
|
|
|
23
23
|
__exportStar(require("./amqp-data-payment-method.service"), exports);
|
|
24
24
|
__exportStar(require("./amqp.direct-payment-tosspayments.service"), exports);
|
|
25
25
|
__exportStar(require("./amqp.purchase-receipt.service"), exports);
|
|
26
|
+
__exportStar(require("./amqp.purchased-info-admin.service"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.70",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "1.7.17",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.1.
|
|
22
|
+
"@yolo-croket-dev/domain": "0.1.4",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.7",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.1",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.1.24",
|
|
@@ -15,3 +15,4 @@ export * from './get-store-item-bind-issued-coupon-for-payment.dto';
|
|
|
15
15
|
export * from './get-stale-store-items-for-excel.dto';
|
|
16
16
|
export * from './get-store-item-tooltip-for-cart.dto';
|
|
17
17
|
export * from './get-store-items-by-brand-name.dto';
|
|
18
|
+
export * from './search-store-items-for-test-api.dto';
|
|
@@ -31,3 +31,4 @@ __exportStar(require("./get-store-item-bind-issued-coupon-for-payment.dto"), exp
|
|
|
31
31
|
__exportStar(require("./get-stale-store-items-for-excel.dto"), exports);
|
|
32
32
|
__exportStar(require("./get-store-item-tooltip-for-cart.dto"), exports);
|
|
33
33
|
__exportStar(require("./get-store-items-by-brand-name.dto"), exports);
|
|
34
|
+
__exportStar(require("./search-store-items-for-test-api.dto"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
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.SearchStoreItemsForTestApiPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SearchStoreItemsForTestApiPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.SearchStoreItemsForTestApiPayload = SearchStoreItemsForTestApiPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], SearchStoreItemsForTestApiPayload.prototype, "page", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SearchStoreItemsForTestApiPayload.prototype, "limit", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult } from '../dto/store-item';
|
|
3
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -38,4 +38,5 @@ export declare class AmqpStoreItemService {
|
|
|
38
38
|
getStaleStoreItemsForExcel(payload: GetStaleStoreItemsForExcelPayload, param: AbstractParam): Promise<GetStaleStoreItemsForExcelResult>;
|
|
39
39
|
getStoreItemTooltipForCart(payload: GetStoreItemTooltipForCartPayload, param: AbstractParam): Promise<GetStoreItemTooltipForCartResult>;
|
|
40
40
|
getStoreItemsByBrandName(payload: GetStoreItemsByBrandNamePayload, param: AbstractParam): Promise<GetStoreItemsByBrandNameResult>;
|
|
41
|
+
searchStoreItemsForTestApi(payload: SearchStoreItemsForTestApiPayload, param: AbstractParam): Promise<SearchStoreItemsForTestApiResult[]>;
|
|
41
42
|
}
|
|
@@ -114,6 +114,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
114
114
|
async getStoreItemsByBrandName(payload, param) {
|
|
115
115
|
return this.amqpManager.call('브랜드 이름으로 관련 상품 조회', 'store-item.get.by-brand-name', payload, param, { isErrorThrowing: true });
|
|
116
116
|
}
|
|
117
|
+
async searchStoreItemsForTestApi(payload, param) {
|
|
118
|
+
return this.amqpManager.call('과제용 외부 공개 API - 상품 리스트 호출 (페이징)', 'store-item.get.list-for-test-api', payload, param, { isErrorThrowing: true });
|
|
119
|
+
}
|
|
117
120
|
};
|
|
118
121
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
119
122
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|