@yolo-croket-dev/amqp-access 0.2.40-jun.2 → 0.2.40
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/check-show-ad-center-inflow-case.dto.d.ts +7 -0
- package/order-server/dto/purchasedinfos/query/check-show-ad-center-inflow-case.dto.js +25 -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/user-service/dto/store/query/check-show-ad-center-inflow.dto.d.ts +1 -3
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.js +15 -4
- package/order-server/dto/purchasedinfos/query/get-p-nums-for-show-ad-center-inflow.dto.d.ts +0 -5
- package/order-server/dto/purchasedinfos/query/get-p-nums-for-show-ad-center-inflow.dto.js +0 -9
|
@@ -0,0 +1,25 @@
|
|
|
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);
|
|
@@ -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 './check-show-ad-center-inflow-case.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("./check-show-ad-center-inflow-case.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, 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;
|
|
@@ -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
|
+
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
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 checkShowAdCenterInflowCase(payload, param) {
|
|
79
|
+
return this.amqpManager.call('광고센터유입 노출 여부 케이스 (결제정보) 체크', 'purchased-info.check.show-ad-center-inflow-case', 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
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
12
|
+
exports.CheckShowAdCenterInflowPayload = exports.CheckCaseEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
4
14
|
var CheckCaseEnum;
|
|
5
15
|
(function (CheckCaseEnum) {
|
|
6
16
|
CheckCaseEnum["case1"] = "case1";
|
|
@@ -9,6 +19,7 @@ var CheckCaseEnum;
|
|
|
9
19
|
class CheckShowAdCenterInflowPayload {
|
|
10
20
|
}
|
|
11
21
|
exports.CheckShowAdCenterInflowPayload = CheckShowAdCenterInflowPayload;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(CheckCaseEnum),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CheckShowAdCenterInflowPayload.prototype, "checkCase", void 0);
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|