@yolo-croket-dev/amqp-access 0.2.8-jun.1 → 0.2.9-jun.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/dto/purchasedinfos/query/get-p-infos-for-before-delivery-excel.dto.d.ts +19 -0
- package/order-server/dto/purchasedinfos/query/get-p-infos-for-before-delivery-excel.dto.js +24 -0
- package/order-server/dto/purchasedinfos/query/index.d.ts +1 -0
- package/order-server/dto/purchasedinfos/query/index.js +1 -0
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -1
- package/order-server/services/amqp.purchased-info.service.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity';
|
|
2
|
+
export declare class GetPInfosForBeforeDeliveryExcelPayload {
|
|
3
|
+
lastId?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PInfoForBeforeDeliveryExcel extends Pick<PurchasedInfoEntity, 'buyerId' | 'sellerId' | 'storeId' | 'pastName' | 'itemId' | 'publicId' | 'paymentDate'> {
|
|
6
|
+
pastSellingInfo?: {
|
|
7
|
+
shippingInfo?: {
|
|
8
|
+
expectedSendDays?: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare class GetPInfosForBeforeDeliveryExcelResult {
|
|
13
|
+
purchasedInfo: PInfoForBeforeDeliveryExcel;
|
|
14
|
+
sendDateString: string;
|
|
15
|
+
sendDateDiffDaysText: string;
|
|
16
|
+
paymentDateKST: Date;
|
|
17
|
+
storeTitle: string;
|
|
18
|
+
buyerName: string;
|
|
19
|
+
}
|
|
@@ -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.GetPInfosForBeforeDeliveryExcelResult = exports.GetPInfosForBeforeDeliveryExcelPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetPInfosForBeforeDeliveryExcelPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPInfosForBeforeDeliveryExcelPayload = GetPInfosForBeforeDeliveryExcelPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetPInfosForBeforeDeliveryExcelPayload.prototype, "lastId", void 0);
|
|
22
|
+
class GetPInfosForBeforeDeliveryExcelResult {
|
|
23
|
+
}
|
|
24
|
+
exports.GetPInfosForBeforeDeliveryExcelResult = GetPInfosForBeforeDeliveryExcelResult;
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./atlas"), exports);
|
|
|
19
19
|
__exportStar(require("./get-partial-refund-processes-by-public-ids.dto"), exports);
|
|
20
20
|
__exportStar(require("./reload-p-infos-for-manage-buyer.dto"), exports);
|
|
21
21
|
__exportStar(require("./check-show-ad-center-inflow-case.dto"), exports);
|
|
22
|
+
__exportStar(require("./get-p-infos-for-before-delivery-excel.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, CheckShowAdCenterInflowCasePayload, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult } from '../dto/purchasedinfos';
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, CheckShowAdCenterInflowCasePayload, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -26,4 +26,5 @@ export declare class AmqpPurchasedInfoService {
|
|
|
26
26
|
checkShowAdCenterInflowCase(payload: CheckShowAdCenterInflowCasePayload, param: AbstractParam): Promise<boolean>;
|
|
27
27
|
getPNumsGroupItemId(payload: GetPNumsGroupItemIdPayload, param: AbstractParam): Promise<GetPNumsGroupItemIdResult>;
|
|
28
28
|
getPInfoIdsForPredictSettle(payload: GetPInfoIdsForPredictSettlePayload, param: AbstractParam): Promise<GetPInfoIdsForPredictSettleResult>;
|
|
29
|
+
getPInfosForBeforeDeliveryExcel(payload: GetPInfosForBeforeDeliveryExcelPayload, param: AbstractParam): Promise<GetPInfosForBeforeDeliveryExcelResult[]>;
|
|
29
30
|
}
|
|
@@ -84,6 +84,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
84
84
|
async getPInfoIdsForPredictSettle(payload, param) {
|
|
85
85
|
return this.amqpManager.call('정산 예측을 위한 p-info ids 조회', 'purchased-info.get.p-info-ids-for-predict-settle', payload, param, { isErrorThrowing: true });
|
|
86
86
|
}
|
|
87
|
+
async getPInfosForBeforeDeliveryExcel(payload, param) {
|
|
88
|
+
return this.amqpManager.call('발송준비중 결제건 리스트 엑셀 추출', 'purchased-info.get.p-infos-for-before-delivery-excel', payload, param, { isErrorThrowing: true });
|
|
89
|
+
}
|
|
87
90
|
};
|
|
88
91
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
89
92
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|