@yolo-croket-dev/amqp-access 0.4.65-jun.3 → 0.4.65-slowquery.0
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/payment-service/amqp.payment-service.service.d.ts +3 -1
- package/payment-service/amqp.payment-service.service.js +4 -0
- package/payment-service/dto/purchased-info/query/get-purchased-infos.dto.d.ts +7 -0
- package/payment-service/dto/purchased-info/query/get-purchased-infos.dto.js +29 -0
- package/payment-service/dto/purchased-info/query/index.d.ts +1 -0
- package/payment-service/dto/purchased-info/query/index.js +1 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +3 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +7 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +4 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.js +26 -0
- package/order-server/dto/purchased-info.modules/index.d.ts +0 -1
- package/order-server/dto/purchased-info.modules/index.js +0 -17
- package/order-server/dto/purchased-info.modules/purchased-info-admin/index.d.ts +0 -1
- package/order-server/dto/purchased-info.modules/purchased-info-admin/index.js +0 -17
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-purchased-infos-for-admin.dto.d.ts +0 -65
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-purchased-infos-for-admin.dto.js +0 -216
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +0 -1
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +0 -17
- package/order-server/services/amqp.purchased-info-admin.service.d.ts +0 -9
- package/order-server/services/amqp.purchased-info-admin.service.js +0 -33
|
@@ -28,7 +28,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
28
28
|
services_1.AmqpDataPaymentMethodService,
|
|
29
29
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
30
30
|
services_1.AmqpPurchaseReceiptService,
|
|
31
|
-
services_1.AmqpPurchasedInfoAdminService,
|
|
32
31
|
],
|
|
33
32
|
exports: [
|
|
34
33
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -42,7 +41,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
42
41
|
services_1.AmqpDataPaymentMethodService,
|
|
43
42
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
44
43
|
services_1.AmqpPurchaseReceiptService,
|
|
45
|
-
services_1.AmqpPurchasedInfoAdminService,
|
|
46
44
|
],
|
|
47
45
|
})
|
|
48
46
|
], AmqpOrderServerModule);
|
|
@@ -23,4 +23,3 @@ __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
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
|
|
3
3
|
import { GetAskUserAndCountByDatePayload, GetAskUserAndCountByDateResult } from '@yolo-croket-dev/dto-v2/payment-service/ask/query';
|
|
4
4
|
import { GetPurchasedInfoUserAndCountByDatePayload, GetPurchasedInfoUserAndCountByDateResult } from '@yolo-croket-dev/dto-v2/payment-service/purchased-info/query';
|
|
5
|
-
import { DeleteSettlesPayload, DeleteSettlesResult, GetLastSteadyStateTransactionPayload, GetLastSteadyStateTransactionResult } from './dto';
|
|
5
|
+
import { DeleteSettlesPayload, DeleteSettlesResult, GetLastSteadyStateTransactionPayload, GetLastSteadyStateTransactionResult, GetPurchasedInfosPayload, GetPurchasedInfoResult } from './dto';
|
|
6
6
|
export declare class AmqpPaymentService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -15,4 +15,6 @@ export declare class AmqpPaymentService {
|
|
|
15
15
|
deleteSettles(payload: DeleteSettlesPayload, param: AbstractParam): Promise<DeleteSettlesResult>;
|
|
16
16
|
/** 유저의 가장 마지막 정상 상태의 거래건 조회 */
|
|
17
17
|
getLastSteadyStateTransaction(payload: GetLastSteadyStateTransactionPayload, param: AbstractParam): Promise<GetLastSteadyStateTransactionResult | null>;
|
|
18
|
+
/** PurchasedInfo 필터에 맞게 목록 조회 */
|
|
19
|
+
getPurchasedInfos<PurchasedInfoEntityGenericType>(payload: GetPurchasedInfosPayload, param: AbstractParam): Promise<GetPurchasedInfoResult<PurchasedInfoEntityGenericType>>;
|
|
18
20
|
}
|
|
@@ -37,6 +37,10 @@ let AmqpPaymentService = class AmqpPaymentService {
|
|
|
37
37
|
async getLastSteadyStateTransaction(payload, param) {
|
|
38
38
|
return this.amqpManager.call('유저의 가장 마지막 정상 상태의 거래건 조회', 'purchasedinfos.get.last-steady-state-transaction', payload, param, { isErrorThrowing: true });
|
|
39
39
|
}
|
|
40
|
+
/** PurchasedInfo 필터에 맞게 목록 조회 */
|
|
41
|
+
async getPurchasedInfos(payload, param) {
|
|
42
|
+
return this.amqpManager.call('PurchasedInfo 필터에 맞게 목록 조회', 'purchasedinfos.get', payload, param, { isErrorThrowing: true });
|
|
43
|
+
}
|
|
40
44
|
};
|
|
41
45
|
exports.AmqpPaymentService = AmqpPaymentService;
|
|
42
46
|
exports.AmqpPaymentService = AmqpPaymentService = __decorate([
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2/purchased-info';
|
|
2
|
+
import { FilterQuery } from '../../../../user-service/dto';
|
|
3
|
+
export declare class GetPurchasedInfosPayload {
|
|
4
|
+
query?: FilterQuery[];
|
|
5
|
+
projection?: string[];
|
|
6
|
+
}
|
|
7
|
+
export type GetPurchasedInfoResult<T> = Partial<PurchasedInfoEntity[]> | T[];
|
|
@@ -0,0 +1,29 @@
|
|
|
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.GetPurchasedInfosPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const dto_1 = require("../../../../user-service/dto");
|
|
16
|
+
class GetPurchasedInfosPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.GetPurchasedInfosPayload = GetPurchasedInfosPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
22
|
+
(0, class_transformer_1.Type)(() => dto_1.FilterQuery),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], GetPurchasedInfosPayload.prototype, "query", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], GetPurchasedInfosPayload.prototype, "projection", void 0);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-purchased-info-for-partial-refund.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-purchased-infos.dto"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PullRedisDBPayload = void 0;
|
|
4
|
+
const push_redis_db_dto_1 = require("./push-redis-db.dto");
|
|
5
|
+
class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
|
|
6
|
+
}
|
|
7
|
+
exports.PullRedisDBPayload = PullRedisDBPayload;
|
|
@@ -0,0 +1,26 @@
|
|
|
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.PushRedisDBPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class PushRedisDBPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.PushRedisDBPayload = PushRedisDBPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.MinLength)(1),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], PushRedisDBPayload.prototype, "redisDBKey", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.MinLength)(1),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PushRedisDBPayload.prototype, "value", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './purchased-info-admin';
|
|
@@ -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("./purchased-info-admin"), 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,65 +0,0 @@
|
|
|
1
|
-
import { PurchasedInfoForAdminDomain } from '@yolo-croket-dev/domain/purchased-info/interface/purchased-info-for-admin.domain';
|
|
2
|
-
export declare enum GetPurchasedInfosForAdminSearchTypeEnum {
|
|
3
|
-
'결제일 기준' = "\uACB0\uC81C\uC77C \uAE30\uC900",
|
|
4
|
-
'수령날짜 기준' = "\uC218\uB839\uB0A0\uC9DC \uAE30\uC900",
|
|
5
|
-
'주문번호 기준' = "\uC8FC\uBB38\uBC88\uD638 \uAE30\uC900",
|
|
6
|
-
'결제 아이디 기준' = "\uACB0\uC81C \uC544\uC774\uB514 \uAE30\uC900",
|
|
7
|
-
'환불 아이디 기준' = "\uD658\uBD88 \uC544\uC774\uB514 \uAE30\uC900",
|
|
8
|
-
'imp_uid 기준' = "imp_uid \uAE30\uC900",
|
|
9
|
-
'결제로그 아이디 기준' = "\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900"
|
|
10
|
-
}
|
|
11
|
-
export declare enum GetPurchasedInfosForAdminSortTypeEnum {
|
|
12
|
-
'최근 결제일순' = "\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C",
|
|
13
|
-
'오래된 결제일순' = "\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C"
|
|
14
|
-
}
|
|
15
|
-
export declare enum SettleStatusEnum {
|
|
16
|
-
'전체' = "\uC804\uCCB4",
|
|
17
|
-
'정산함' = "\uC815\uC0B0\uD568",
|
|
18
|
-
'안함' = "\uC548\uD568"
|
|
19
|
-
}
|
|
20
|
-
export declare enum AbroadSettleStatusEnum {
|
|
21
|
-
'전체' = "\uC804\uCCB4",
|
|
22
|
-
'미처리' = "\uBBF8\uCC98\uB9AC",
|
|
23
|
-
'송금시작' = "\uC1A1\uAE08\uC2DC\uC791"
|
|
24
|
-
}
|
|
25
|
-
export declare class GetPurchasedInfosForAdminPayload {
|
|
26
|
-
searchType: GetPurchasedInfosForAdminSearchTypeEnum;
|
|
27
|
-
sortType: GetPurchasedInfosForAdminSortTypeEnum;
|
|
28
|
-
paymentSDate?: string | Date;
|
|
29
|
-
paymentEDate?: string | Date;
|
|
30
|
-
receiveSDate?: string | Date;
|
|
31
|
-
receiveEDate?: string | Date;
|
|
32
|
-
publicId?: string;
|
|
33
|
-
buyerId?: string;
|
|
34
|
-
storeId?: string;
|
|
35
|
-
pInfoId?: string;
|
|
36
|
-
refundId?: string;
|
|
37
|
-
itemId?: string;
|
|
38
|
-
itemName?: string;
|
|
39
|
-
storeTitle?: string;
|
|
40
|
-
buyerName?: string;
|
|
41
|
-
receivcerName?: string;
|
|
42
|
-
receiverPhoneNumber?: string;
|
|
43
|
-
imp_uid?: string;
|
|
44
|
-
payTryLogId?: string;
|
|
45
|
-
isExistPaymentMemo?: boolean;
|
|
46
|
-
paymentMemo?: string;
|
|
47
|
-
isExistSettleMemo?: boolean;
|
|
48
|
-
settleMemo?: string;
|
|
49
|
-
shippingInvoice?: string;
|
|
50
|
-
buyerPhoneNumber?: string;
|
|
51
|
-
couponName?: string;
|
|
52
|
-
couponCode?: string;
|
|
53
|
-
limit: number;
|
|
54
|
-
searchAfter?: string;
|
|
55
|
-
searchBefore?: string;
|
|
56
|
-
pInfoProcessList?: string[];
|
|
57
|
-
settleStatus?: SettleStatusEnum;
|
|
58
|
-
abroadSettleStatus?: AbroadSettleStatusEnum;
|
|
59
|
-
}
|
|
60
|
-
export declare class GetPurchasedInfosForAdminResult {
|
|
61
|
-
allCount: number;
|
|
62
|
-
pInfos: PurchasedInfoForAdminDomain[];
|
|
63
|
-
firstPaginationToken?: string;
|
|
64
|
-
lastPaginationToken?: string;
|
|
65
|
-
}
|
|
@@ -1,216 +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.GetPurchasedInfosForAdminResult = exports.GetPurchasedInfosForAdminPayload = exports.AbroadSettleStatusEnum = exports.SettleStatusEnum = exports.GetPurchasedInfosForAdminSortTypeEnum = exports.GetPurchasedInfosForAdminSearchTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var GetPurchasedInfosForAdminSearchTypeEnum;
|
|
15
|
-
(function (GetPurchasedInfosForAdminSearchTypeEnum) {
|
|
16
|
-
// 결제일 기준 (2그룹 하위 노출)
|
|
17
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uACB0\uC81C\uC77C \uAE30\uC900"] = "\uACB0\uC81C\uC77C \uAE30\uC900";
|
|
18
|
-
// 수령날짜 기준 (2그룹 하위 노출하되, 거래상태 필터 삭제)
|
|
19
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uC218\uB839\uB0A0\uC9DC \uAE30\uC900"] = "\uC218\uB839\uB0A0\uC9DC \uAE30\uC900";
|
|
20
|
-
// 주문번호 (2그룹 노출 X)
|
|
21
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uC8FC\uBB38\uBC88\uD638 \uAE30\uC900"] = "\uC8FC\uBB38\uBC88\uD638 \uAE30\uC900";
|
|
22
|
-
// 결제 id (2그룹 노출 X)
|
|
23
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uACB0\uC81C \uC544\uC774\uB514 \uAE30\uC900"] = "\uACB0\uC81C \uC544\uC774\uB514 \uAE30\uC900";
|
|
24
|
-
// 환불 Id (2그룹 노출 X)
|
|
25
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uD658\uBD88 \uC544\uC774\uB514 \uAE30\uC900"] = "\uD658\uBD88 \uC544\uC774\uB514 \uAE30\uC900";
|
|
26
|
-
// imp_uid (2그룹 노출 X)
|
|
27
|
-
GetPurchasedInfosForAdminSearchTypeEnum["imp_uid \uAE30\uC900"] = "imp_uid \uAE30\uC900";
|
|
28
|
-
// payTryLogId (2그룹 노출 X)
|
|
29
|
-
GetPurchasedInfosForAdminSearchTypeEnum["\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900"] = "\uACB0\uC81C\uB85C\uADF8 \uC544\uC774\uB514 \uAE30\uC900";
|
|
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 = {}));
|
|
36
|
-
var SettleStatusEnum;
|
|
37
|
-
(function (SettleStatusEnum) {
|
|
38
|
-
SettleStatusEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
39
|
-
SettleStatusEnum["\uC815\uC0B0\uD568"] = "\uC815\uC0B0\uD568";
|
|
40
|
-
SettleStatusEnum["\uC548\uD568"] = "\uC548\uD568";
|
|
41
|
-
})(SettleStatusEnum || (exports.SettleStatusEnum = SettleStatusEnum = {}));
|
|
42
|
-
var AbroadSettleStatusEnum;
|
|
43
|
-
(function (AbroadSettleStatusEnum) {
|
|
44
|
-
AbroadSettleStatusEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
45
|
-
AbroadSettleStatusEnum["\uBBF8\uCC98\uB9AC"] = "\uBBF8\uCC98\uB9AC";
|
|
46
|
-
AbroadSettleStatusEnum["\uC1A1\uAE08\uC2DC\uC791"] = "\uC1A1\uAE08\uC2DC\uC791";
|
|
47
|
-
})(AbroadSettleStatusEnum || (exports.AbroadSettleStatusEnum = AbroadSettleStatusEnum = {}));
|
|
48
|
-
class GetPurchasedInfosForAdminPayload {
|
|
49
|
-
}
|
|
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, "receivcerName", 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);
|
|
214
|
-
class GetPurchasedInfosForAdminResult {
|
|
215
|
-
}
|
|
216
|
-
exports.GetPurchasedInfosForAdminResult = GetPurchasedInfosForAdminResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './get-purchased-infos-for-admin.dto';
|
|
@@ -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("./get-purchased-infos-for-admin.dto"), exports);
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,33 +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.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);
|