@yolo-croket-dev/amqp-access 0.2.39 → 0.2.40-jun.2
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-nums-for-show-ad-center-inflow.dto.d.ts +5 -0
- package/order-server/dto/purchasedinfos/query/get-p-nums-for-show-ad-center-inflow.dto.js +9 -0
- package/order-server/dto/purchasedinfos/query/index.d.ts +1 -1
- package/order-server/dto/purchasedinfos/query/index.js +1 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -2
- package/order-server/services/amqp.purchased-info.service.js +2 -2
- package/package.json +1 -1
- package/store-item-server/dto/store-item/query/get-selling-item-ids-by-catagory.dto.d.ts +10 -0
- package/store-item-server/dto/store-item/query/get-selling-item-ids-by-catagory.dto.js +37 -0
- 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/services/amqp.store-item.service.d.ts +2 -1
- package/store-item-server/services/amqp.store-item.service.js +3 -0
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.d.ts +3 -1
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.js +4 -15
- package/order-server/dto/purchasedinfos/query/check-show-ad-center-inflow-case.dto.d.ts +0 -7
- package/order-server/dto/purchasedinfos/query/check-show-ad-center-inflow-case.dto.js +0 -25
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPNumsForShowAdCenterInflowResult = exports.GetPNumsForShowAdCenterInflowPayload = void 0;
|
|
4
|
+
class GetPNumsForShowAdCenterInflowPayload {
|
|
5
|
+
}
|
|
6
|
+
exports.GetPNumsForShowAdCenterInflowPayload = GetPNumsForShowAdCenterInflowPayload;
|
|
7
|
+
class GetPNumsForShowAdCenterInflowResult {
|
|
8
|
+
}
|
|
9
|
+
exports.GetPNumsForShowAdCenterInflowResult = GetPNumsForShowAdCenterInflowResult;
|
|
@@ -2,5 +2,5 @@ export * from './search-seller-transaction-history-by-process.dto';
|
|
|
2
2
|
export * from './atlas';
|
|
3
3
|
export * from './get-partial-refund-processes-by-public-ids.dto';
|
|
4
4
|
export * from './reload-p-infos-for-manage-buyer.dto';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './get-p-nums-for-show-ad-center-inflow.dto';
|
|
6
6
|
export * from './get-p-infos-for-before-delivery-excel.dto';
|
|
@@ -18,5 +18,5 @@ __exportStar(require("./search-seller-transaction-history-by-process.dto"), expo
|
|
|
18
18
|
__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
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./get-p-nums-for-show-ad-center-inflow.dto"), exports);
|
|
22
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,
|
|
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, GetPNumsForShowAdCenterInflowPayload, 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;
|
|
@@ -23,7 +23,7 @@ export declare class AmqpPurchasedInfoService {
|
|
|
23
23
|
getItemSaleInfosForSalesTeamByAtlas(payload: GetItemSaleInfosForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleInfosForSalesTeamByAtlasResult>;
|
|
24
24
|
getItemSaleMergeDataForSalesTeamByAtlas(payload: GetItemSaleMergeDataForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleMergeDataForSalesTeamByAtlasResult>;
|
|
25
25
|
autoChangeWaitingReceive(payload: void, param: AbstractParam): Promise<void>;
|
|
26
|
-
|
|
26
|
+
getPNumsForShowAdCenterInflow(payload: GetPNumsForShowAdCenterInflowPayload, param: AbstractParam): Promise<boolean>;
|
|
27
27
|
getPNumsGroupItemId(payload: GetPNumsGroupItemIdPayload, param: AbstractParam): Promise<GetPNumsGroupItemIdResult>;
|
|
28
28
|
getPInfoIdsForPredictSettle(payload: GetPInfoIdsForPredictSettlePayload, param: AbstractParam): Promise<GetPInfoIdsForPredictSettleResult>;
|
|
29
29
|
getPInfosForBeforeDeliveryExcel(payload: GetPInfosForBeforeDeliveryExcelPayload, param: AbstractParam): Promise<GetPInfosForBeforeDeliveryExcelResult[]>;
|
|
@@ -75,8 +75,8 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
75
75
|
async autoChangeWaitingReceive(payload, param) {
|
|
76
76
|
return this.amqpManager.call('자동 변경 대기 수령으로 변경', 'purchased-info.update.auto-change-waiting-receive', payload, param, { isErrorThrowing: true });
|
|
77
77
|
}
|
|
78
|
-
async
|
|
79
|
-
return this.amqpManager.call('광고센터유입 노출
|
|
78
|
+
async getPNumsForShowAdCenterInflow(payload, param) {
|
|
79
|
+
return this.amqpManager.call('광고센터유입 노출 여부를 위한 결제 수 조회', 'purchased-info.get.p-nums-for-show-ad-center-inflow', payload, param, { isErrorThrowing: true });
|
|
80
80
|
}
|
|
81
81
|
async getPNumsGroupItemId(payload, param) {
|
|
82
82
|
return this.amqpManager.call('상품별 결제 수 조회', 'purchased-info.get.p-nums-group-item-id', payload, param, { isErrorThrowing: true });
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class GetSellingItemIdsByCatagoryPayload {
|
|
2
|
+
mainCategory: string;
|
|
3
|
+
subCategory?: string;
|
|
4
|
+
limit: number;
|
|
5
|
+
paginationToken?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class GetSellingItemIdsByCatagoryResult {
|
|
8
|
+
itemIds: string[];
|
|
9
|
+
lastPaginationToken?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.GetSellingItemIdsByCatagoryResult = exports.GetSellingItemIdsByCatagoryPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetSellingItemIdsByCatagoryPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetSellingItemIdsByCatagoryPayload = GetSellingItemIdsByCatagoryPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetSellingItemIdsByCatagoryPayload.prototype, "mainCategory", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], GetSellingItemIdsByCatagoryPayload.prototype, "subCategory", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], GetSellingItemIdsByCatagoryPayload.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], GetSellingItemIdsByCatagoryPayload.prototype, "paginationToken", void 0);
|
|
35
|
+
class GetSellingItemIdsByCatagoryResult {
|
|
36
|
+
}
|
|
37
|
+
exports.GetSellingItemIdsByCatagoryResult = GetSellingItemIdsByCatagoryResult;
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./get-store-item-info-by-id.dto"), exports);
|
|
|
23
23
|
__exportStar(require("./get-selling-item-ids-by-theme-id.dto"), exports);
|
|
24
24
|
__exportStar(require("./search-store-item-name-by-id.dto"), exports);
|
|
25
25
|
__exportStar(require("./atlas-search"), exports);
|
|
26
|
+
__exportStar(require("./get-selling-item-ids-by-catagory.dto"), exports);
|
|
@@ -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 } 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 } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -23,4 +23,5 @@ export declare class AmqpStoreItemService {
|
|
|
23
23
|
getRandomItemIds(payload: GetRandomItemIdsPayload, param: AbstractParam): Promise<GetRandomItemIdsResult>;
|
|
24
24
|
getUsedImgItemIds(payload: GetUsedImgItemIdsPayload, param: AbstractParam): Promise<GetUsedImgItemIdsResult>;
|
|
25
25
|
getUsedImgsItemIds(payload: GetUsedImgsItemIdsPayload, param: AbstractParam): Promise<GetUsedImgsItemIdsResult>;
|
|
26
|
+
getSellingItemIdsByCatagory(payload: GetSellingItemIdsByCatagoryPayload, param: AbstractParam): Promise<GetSellingItemIdsByCatagoryResult>;
|
|
26
27
|
}
|
|
@@ -69,6 +69,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
69
69
|
async getUsedImgsItemIds(payload, param) {
|
|
70
70
|
return this.amqpManager.call('이미지 리스트 사용된 상품 아이디 리스트 조회', 'store-item.get.used-imgs-item-ids', payload, param, { isErrorThrowing: true });
|
|
71
71
|
}
|
|
72
|
+
async getSellingItemIdsByCatagory(payload, param) {
|
|
73
|
+
return this.amqpManager.call('카테고리별 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-catagory', payload, param, { isErrorThrowing: true });
|
|
74
|
+
}
|
|
72
75
|
};
|
|
73
76
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
74
77
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
@@ -1,16 +1,6 @@
|
|
|
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
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CheckShowAdCenterInflowPayload = exports.CheckCaseEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
3
|
+
exports.CheckShowAdCenterInflowResult = exports.CheckShowAdCenterInflowPayload = exports.CheckCaseEnum = void 0;
|
|
14
4
|
var CheckCaseEnum;
|
|
15
5
|
(function (CheckCaseEnum) {
|
|
16
6
|
CheckCaseEnum["case1"] = "case1";
|
|
@@ -19,7 +9,6 @@ var CheckCaseEnum;
|
|
|
19
9
|
class CheckShowAdCenterInflowPayload {
|
|
20
10
|
}
|
|
21
11
|
exports.CheckShowAdCenterInflowPayload = CheckShowAdCenterInflowPayload;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
], CheckShowAdCenterInflowPayload.prototype, "checkCase", void 0);
|
|
12
|
+
class CheckShowAdCenterInflowResult {
|
|
13
|
+
}
|
|
14
|
+
exports.CheckShowAdCenterInflowResult = CheckShowAdCenterInflowResult;
|
|
@@ -1,25 +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.CheckShowAdCenterInflowCasePayload = exports.CheckCaseEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var CheckCaseEnum;
|
|
15
|
-
(function (CheckCaseEnum) {
|
|
16
|
-
CheckCaseEnum["case1"] = "case1";
|
|
17
|
-
CheckCaseEnum["case2"] = "case2";
|
|
18
|
-
})(CheckCaseEnum || (exports.CheckCaseEnum = CheckCaseEnum = {}));
|
|
19
|
-
class CheckShowAdCenterInflowCasePayload {
|
|
20
|
-
}
|
|
21
|
-
exports.CheckShowAdCenterInflowCasePayload = CheckShowAdCenterInflowCasePayload;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsEnum)(CheckCaseEnum),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CheckShowAdCenterInflowCasePayload.prototype, "checkCase", void 0);
|