@yolo-croket-dev/amqp-access 0.7.256 → 0.7.257-sj
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/transfer-p-info-seller.dto.d.ts +2 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/transfer-p-info-seller.dto.js +5 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-refund-waiting-purchased-infos-for-admin.dto.d.ts +42 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-refund-waiting-purchased-infos-for-admin.dto.js +58 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +1 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-facet-p-infos-for-manage-buyer-by-atlas.dto.d.ts +2 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-facet-p-infos-for-manage-buyer-by-atlas.dto.js +4 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.d.ts +3 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.js +5 -0
- package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +3 -1
- package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +4 -0
- package/package.json +1 -1
|
@@ -26,3 +26,8 @@ __decorate([
|
|
|
26
26
|
(0, class_validator_1.IsMongoId)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], TransferPInfoSellerPayload.prototype, "newSellerId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsBoolean)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], TransferPInfoSellerPayload.prototype, "isRefundWaitingTransfer", void 0);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { RefundWaitingInfo, RefundWaitingStatusEnum } from '@yolo-croket-dev/entity-v2/purchased-info';
|
|
2
|
+
/**
|
|
3
|
+
* @author sj
|
|
4
|
+
* @description 관리자 환불 대기 결제건 목록 조회 조건
|
|
5
|
+
* @process 활성 환불 대기 상태를 기본 조회하고, 운영 이력 확인이 필요하면 상태 배열로 범위를 확장한다.
|
|
6
|
+
*/
|
|
7
|
+
export declare class GetRefundWaitingPurchasedInfosForAdminPayload {
|
|
8
|
+
/** 기본값은 관리자가 이관 또는 이관 불가를 처리할 수 있는 활성 상태다. */
|
|
9
|
+
statuses?: RefundWaitingStatusEnum[];
|
|
10
|
+
/** 한 번에 조회할 최대 결제건 수. 인덱스 없는 운영 조회의 부하를 제한한다. */
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** 1부터 시작하는 페이지 번호 */
|
|
13
|
+
page?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @author sj
|
|
17
|
+
* @description 관리자 환불 대기 운영 큐의 결제건 한 건
|
|
18
|
+
*/
|
|
19
|
+
export declare class RefundWaitingPurchasedInfoForAdmin {
|
|
20
|
+
PInfoId: string;
|
|
21
|
+
publicId?: string;
|
|
22
|
+
buyerId: string;
|
|
23
|
+
sellerId: string;
|
|
24
|
+
storeId?: string;
|
|
25
|
+
pastName?: string;
|
|
26
|
+
pastImg?: string;
|
|
27
|
+
paymentDate?: Date;
|
|
28
|
+
process: string;
|
|
29
|
+
process_v2?: string;
|
|
30
|
+
refundWaitingInfo: RefundWaitingInfo;
|
|
31
|
+
transferCount: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @author sj
|
|
35
|
+
* @description 관리자 환불 대기 운영 큐 조회 결과
|
|
36
|
+
*/
|
|
37
|
+
export declare class GetRefundWaitingPurchasedInfosForAdminResult {
|
|
38
|
+
allCount: number;
|
|
39
|
+
page: number;
|
|
40
|
+
limit: number;
|
|
41
|
+
pInfos: RefundWaitingPurchasedInfoForAdmin[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.GetRefundWaitingPurchasedInfosForAdminResult = exports.RefundWaitingPurchasedInfoForAdmin = exports.GetRefundWaitingPurchasedInfosForAdminPayload = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const purchased_info_1 = require("@yolo-croket-dev/entity-v2/purchased-info");
|
|
16
|
+
/**
|
|
17
|
+
* @author sj
|
|
18
|
+
* @description 관리자 환불 대기 결제건 목록 조회 조건
|
|
19
|
+
* @process 활성 환불 대기 상태를 기본 조회하고, 운영 이력 확인이 필요하면 상태 배열로 범위를 확장한다.
|
|
20
|
+
*/
|
|
21
|
+
class GetRefundWaitingPurchasedInfosForAdminPayload {
|
|
22
|
+
}
|
|
23
|
+
exports.GetRefundWaitingPurchasedInfosForAdminPayload = GetRefundWaitingPurchasedInfosForAdminPayload;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsArray)(),
|
|
27
|
+
(0, class_validator_1.IsEnum)(purchased_info_1.RefundWaitingStatusEnum, { each: true }),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], GetRefundWaitingPurchasedInfosForAdminPayload.prototype, "statuses", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
32
|
+
(0, class_validator_1.IsInt)(),
|
|
33
|
+
(0, class_validator_1.Min)(1),
|
|
34
|
+
(0, class_validator_1.Max)(100),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], GetRefundWaitingPurchasedInfosForAdminPayload.prototype, "limit", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
40
|
+
(0, class_validator_1.IsInt)(),
|
|
41
|
+
(0, class_validator_1.Min)(1),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], GetRefundWaitingPurchasedInfosForAdminPayload.prototype, "page", void 0);
|
|
45
|
+
/**
|
|
46
|
+
* @author sj
|
|
47
|
+
* @description 관리자 환불 대기 운영 큐의 결제건 한 건
|
|
48
|
+
*/
|
|
49
|
+
class RefundWaitingPurchasedInfoForAdmin {
|
|
50
|
+
}
|
|
51
|
+
exports.RefundWaitingPurchasedInfoForAdmin = RefundWaitingPurchasedInfoForAdmin;
|
|
52
|
+
/**
|
|
53
|
+
* @author sj
|
|
54
|
+
* @description 관리자 환불 대기 운영 큐 조회 결과
|
|
55
|
+
*/
|
|
56
|
+
class GetRefundWaitingPurchasedInfosForAdminResult {
|
|
57
|
+
}
|
|
58
|
+
exports.GetRefundWaitingPurchasedInfosForAdminResult = GetRefundWaitingPurchasedInfosForAdminResult;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './get-purchased-infos-for-admin.dto';
|
|
2
|
+
export * from './get-refund-waiting-purchased-infos-for-admin.dto';
|
|
2
3
|
export * from './get-purchased-info-detail-for-admin-edit.dto';
|
|
3
4
|
export * from './get-purchased-info-logs-for-coupon-info.dto';
|
|
4
5
|
export * from './get-delivery-list-for-admin.dto';
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-purchased-infos-for-admin.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-refund-waiting-purchased-infos-for-admin.dto"), exports);
|
|
18
19
|
__exportStar(require("./get-purchased-info-detail-for-admin-edit.dto"), exports);
|
|
19
20
|
__exportStar(require("./get-purchased-info-logs-for-coupon-info.dto"), exports);
|
|
20
21
|
__exportStar(require("./get-delivery-list-for-admin.dto"), exports);
|
|
@@ -14,10 +14,12 @@ export declare class GetFacetPInfosForManageBuyerByAtlasPayload {
|
|
|
14
14
|
paymentSDate?: Date;
|
|
15
15
|
paymentEDate?: Date;
|
|
16
16
|
searchText?: string;
|
|
17
|
+
isTransferred?: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare class GetFacetPInfosForManageBuyerByAtlasResult {
|
|
19
20
|
allCount: number;
|
|
20
21
|
facets: FacetPInfo[];
|
|
21
22
|
allCount_v2: number;
|
|
22
23
|
facets_v2: FacetPInfoV2[];
|
|
24
|
+
transferPInfoNums?: number;
|
|
23
25
|
}
|
|
@@ -44,6 +44,10 @@ __decorate([
|
|
|
44
44
|
(0, class_validator_1.IsOptional)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], GetFacetPInfosForManageBuyerByAtlasPayload.prototype, "searchText", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], GetFacetPInfosForManageBuyerByAtlasPayload.prototype, "isTransferred", void 0);
|
|
47
51
|
class GetFacetPInfosForManageBuyerByAtlasResult {
|
|
48
52
|
}
|
|
49
53
|
exports.GetFacetPInfosForManageBuyerByAtlasResult = GetFacetPInfosForManageBuyerByAtlasResult;
|
package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare class GetPInfosForManageBuyerByAtlasPayload {
|
|
|
25
25
|
isUsedItem?: boolean;
|
|
26
26
|
/** 개인통관고유부호 등록 예정 모아보기 필터 여부 */
|
|
27
27
|
isPcccDeferred?: boolean;
|
|
28
|
+
/** 이관 완료 거래만 조회한다. */
|
|
29
|
+
isTransferred?: boolean;
|
|
28
30
|
}
|
|
29
31
|
export declare class GetPInfosForManageBuyerByAtlasResult {
|
|
30
32
|
allCount: number;
|
|
@@ -33,4 +35,5 @@ export declare class GetPInfosForManageBuyerByAtlasResult {
|
|
|
33
35
|
splitDeliveryPInfoNums?: number;
|
|
34
36
|
usedPInfoNums?: number;
|
|
35
37
|
pcccDeferredPInfoNums?: number;
|
|
38
|
+
transferPInfoNums?: number;
|
|
36
39
|
}
|
package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.js
CHANGED
|
@@ -87,6 +87,11 @@ __decorate([
|
|
|
87
87
|
(0, class_validator_1.IsOptional)(),
|
|
88
88
|
__metadata("design:type", Boolean)
|
|
89
89
|
], GetPInfosForManageBuyerByAtlasPayload.prototype, "isPcccDeferred", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsBoolean)(),
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], GetPInfosForManageBuyerByAtlasPayload.prototype, "isTransferred", void 0);
|
|
90
95
|
class GetPInfosForManageBuyerByAtlasResult {
|
|
91
96
|
}
|
|
92
97
|
exports.GetPInfosForManageBuyerByAtlasResult = GetPInfosForManageBuyerByAtlasResult;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload, GetShippingForwarderApplicationSnapshotPayload, GetShippingForwarderApplicationSnapshotResult, RegisterShippingForwarderDomesticInvoicePayload, RegisterShippingForwarderDomesticInvoiceResult } from '../../dto/purchased-info.modules/purchased-info-admin';
|
|
3
|
+
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetRefundWaitingPurchasedInfosForAdminPayload, GetRefundWaitingPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload, GetShippingForwarderApplicationSnapshotPayload, GetShippingForwarderApplicationSnapshotResult, RegisterShippingForwarderDomesticInvoicePayload, RegisterShippingForwarderDomesticInvoiceResult } from '../../dto/purchased-info.modules/purchased-info-admin';
|
|
4
4
|
export declare class AmqpPurchasedInfoAdminService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
|
|
9
|
+
/** 관리자 환불 대기 운영 큐를 조회한다. */
|
|
10
|
+
getRefundWaitingPurchasedInfosForAdmin(payload: GetRefundWaitingPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetRefundWaitingPurchasedInfosForAdminResult>;
|
|
9
11
|
getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
|
|
10
12
|
editPInfoEtcData(payload: EditPInfoEtcDataPayload, param: AbstractParam): Promise<void>;
|
|
11
13
|
editPInfoMemo(payload: EditPInfoMemoPayload, param: AbstractParam): Promise<void>;
|
|
@@ -25,6 +25,10 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
|
|
|
25
25
|
async getPurchasedInfosForAdmin(payload, param) {
|
|
26
26
|
return this.amqpManager.call('결제 리스트 조회 (관리자)', 'purchased-info-admin.get.list', payload, param, { isErrorThrowing: true });
|
|
27
27
|
}
|
|
28
|
+
/** 관리자 환불 대기 운영 큐를 조회한다. */
|
|
29
|
+
async getRefundWaitingPurchasedInfosForAdmin(payload, param) {
|
|
30
|
+
return this.amqpManager.call('환불 대기 결제 리스트 조회 (관리자)', 'purchased-info-admin.get.refund-waiting-list', payload, param, { isErrorThrowing: true });
|
|
31
|
+
}
|
|
28
32
|
async getPurchasedInfoDetailForAdminEdit(payload, param) {
|
|
29
33
|
return this.amqpManager.call('결제 상세 조회 (관리자 수정용)', 'purchased-info-admin.get.detail-for-edit', payload, param, { isErrorThrowing: true });
|
|
30
34
|
}
|