@yolo-croket-dev/amqp-access 0.0.202-jun.9 → 0.0.203
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/atlas/get-item-sale-merge-data-for-sales-team-by-atlas.dto.d.ts +14 -12
- package/order-server/dto/purchasedinfos/query/atlas/get-item-sale-merge-data-for-sales-team-by-atlas.dto.js +4 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +3 -1
- package/order-server/services/amqp.purchased-info.service.js +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchedItemInfoForSaleInfo, SearchedSellerInfoForSaleInfo } from './get-item-sale-infos-for-sales-team-by-atlas.dto';
|
|
1
|
+
import { SearchedItemInfoForSaleInfo, SearchedSellerInfoForSaleInfo, SearchedStoreForSaleInfo } from './get-item-sale-infos-for-sales-team-by-atlas.dto';
|
|
2
2
|
export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
|
|
3
3
|
itemIds: string[];
|
|
4
4
|
selectPInfoProcessList: string[];
|
|
@@ -8,19 +8,21 @@ export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
|
|
|
8
8
|
export declare class GetItemSaleMergeDataForSalesTeamByAtlasResult {
|
|
9
9
|
datas: ItemSaleInfoForSaleTeam[];
|
|
10
10
|
}
|
|
11
|
+
export declare class CustomItemInfoForItemSale {
|
|
12
|
+
_id: string;
|
|
13
|
+
clickNumsBefore1day: number;
|
|
14
|
+
allPNums: number;
|
|
15
|
+
allPaidPrice: number;
|
|
16
|
+
allBasePrice: number;
|
|
17
|
+
allTotalPrice: number;
|
|
18
|
+
allCouponPrice: number;
|
|
19
|
+
allUsedCredit: number;
|
|
20
|
+
allOptionNums: number;
|
|
21
|
+
}
|
|
11
22
|
export declare class ItemSaleInfoForSaleTeam {
|
|
12
23
|
itemId: string;
|
|
13
|
-
customItemInfo:
|
|
14
|
-
_id: string;
|
|
15
|
-
clickNumsBefore1day: number;
|
|
16
|
-
allPNums: number;
|
|
17
|
-
allPaidPrice: number;
|
|
18
|
-
allBasePrice: number;
|
|
19
|
-
allTotalPrice: number;
|
|
20
|
-
allCouponPrice: number;
|
|
21
|
-
allUsedCredit: number;
|
|
22
|
-
allOptionNums: number;
|
|
23
|
-
};
|
|
24
|
+
customItemInfo: CustomItemInfoForItemSale;
|
|
24
25
|
searchedItemInfo: SearchedItemInfoForSaleInfo;
|
|
25
26
|
searchedSellerInfo: SearchedSellerInfoForSaleInfo;
|
|
27
|
+
searchedStoreForSaleInfo: SearchedStoreForSaleInfo;
|
|
26
28
|
}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemSaleInfoForSaleTeam = exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = void 0;
|
|
12
|
+
exports.ItemSaleInfoForSaleTeam = exports.CustomItemInfoForItemSale = exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
|
|
15
15
|
}
|
|
@@ -38,6 +38,9 @@ __decorate([
|
|
|
38
38
|
class GetItemSaleMergeDataForSalesTeamByAtlasResult {
|
|
39
39
|
}
|
|
40
40
|
exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = GetItemSaleMergeDataForSalesTeamByAtlasResult;
|
|
41
|
+
class CustomItemInfoForItemSale {
|
|
42
|
+
}
|
|
43
|
+
exports.CustomItemInfoForItemSale = CustomItemInfoForItemSale;
|
|
41
44
|
class ItemSaleInfoForSaleTeam {
|
|
42
45
|
}
|
|
43
46
|
exports.ItemSaleInfoForSaleTeam = ItemSaleInfoForSaleTeam;
|
|
@@ -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 } 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 } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -20,4 +20,6 @@ export declare class AmqpPurchasedInfoService {
|
|
|
20
20
|
cancelDoneAdCenterCouponInfos(payload: CancelDoneAdCenterCouponInfosPayload, param: AbstractParam): Promise<void>;
|
|
21
21
|
requestCreateAdCenterCouponSettle(payload: RequestCreateAdCenterCouponSettlePayload, param: AbstractParam): Promise<void>;
|
|
22
22
|
patchProcessV2ToCheckingStock(payload: PatchProcessV2ToCheckingStockPayload, param: AbstractParam): Promise<PatchProcessV2ToCheckingStockResult>;
|
|
23
|
+
getItemSaleInfosForSalesTeamByAtlas(payload: GetItemSaleInfosForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleInfosForSalesTeamByAtlasResult>;
|
|
24
|
+
getItemSaleMergeDataForSalesTeamByAtlas(payload: GetItemSaleMergeDataForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleMergeDataForSalesTeamByAtlasResult>;
|
|
23
25
|
}
|
|
@@ -66,6 +66,12 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
66
66
|
async patchProcessV2ToCheckingStock(payload, param) {
|
|
67
67
|
return this.amqpManager.call('셀러의 결제건들 재고확인중으로 변경', 'purchased-info.patch.process-v2-to-checking-stock', payload, param, { isErrorThrowing: true });
|
|
68
68
|
}
|
|
69
|
+
async getItemSaleInfosForSalesTeamByAtlas(payload, param) {
|
|
70
|
+
return this.amqpManager.call('상품 판매 정보 결제 리스트 조회', 'purchased-info.get.item-sale-infos-for-sales-team-by-atlas', payload, param, { isErrorThrowing: true });
|
|
71
|
+
}
|
|
72
|
+
async getItemSaleMergeDataForSalesTeamByAtlas(payload, param) {
|
|
73
|
+
return this.amqpManager.call('상품 판매 정보 결제 종합 데이터 조회', 'purchased-info.get.item-sale-merge-data-for-sales-team-by-atlas', payload, param, { isErrorThrowing: true });
|
|
74
|
+
}
|
|
69
75
|
};
|
|
70
76
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
71
77
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|