@yolo-croket-dev/amqp-access 0.1.3 → 0.1.4-jun.1
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 -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
- package/store-item-server/dto/store-item-synonyms/command/delete-store-item-synonyms.dto.d.ts +3 -0
- package/store-item-server/dto/store-item-synonyms/command/delete-store-item-synonyms.dto.js +20 -0
- package/store-item-server/dto/store-item-synonyms/command/edit-store-item-synonyms.dto.d.ts +7 -0
- package/store-item-server/dto/store-item-synonyms/command/edit-store-item-synonyms.dto.js +35 -0
- package/store-item-server/dto/store-item-synonyms/command/index.d.ts +3 -0
- package/store-item-server/dto/store-item-synonyms/command/index.js +19 -0
- package/store-item-server/dto/store-item-synonyms/command/reg-store-item-synonyms.dto.d.ts +6 -0
- package/store-item-server/dto/store-item-synonyms/command/reg-store-item-synonyms.dto.js +31 -0
- package/store-item-server/dto/store-item-synonyms/query/get-store-item-synonyms-list.dto.d.ts +11 -0
- package/store-item-server/dto/store-item-synonyms/query/get-store-item-synonyms-list.dto.js +32 -0
- package/store-item-server/dto/store-item-synonyms/query/index.d.ts +1 -0
- package/store-item-server/dto/store-item-synonyms/query/index.js +17 -0
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.d.ts +7 -0
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.js +25 -0
- package/user-service/dto/store/query/index.d.ts +1 -0
- package/user-service/dto/store/query/index.js +1 -0
- package/user-service/services/amqp.store.service.d.ts +2 -1
- package/user-service/services/amqp.store.service.js +3 -0
|
@@ -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,3 +2,4 @@ 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 './check-show-ad-center-inflow-case.dto';
|
|
@@ -18,3 +18,4 @@ __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("./check-show-ad-center-inflow-case.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 } 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 } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -23,4 +23,5 @@ 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
|
+
checkShowAdCenterInflowCase(payload: CheckShowAdCenterInflowCasePayload, param: AbstractParam): Promise<boolean>;
|
|
26
27
|
}
|
|
@@ -75,6 +75,9 @@ 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 checkShowAdCenterInflowCase(payload, param) {
|
|
79
|
+
return this.amqpManager.call('광고센터유입 노출 여부 케이스 (결제정보) 체크', 'purchased-info.check.show-ad-center-inflow-case', payload, param, { isErrorThrowing: true });
|
|
80
|
+
}
|
|
78
81
|
};
|
|
79
82
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
80
83
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
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.DeleteStoreItemSynonymsPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DeleteStoreItemSynonymsPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.DeleteStoreItemSynonymsPayload = DeleteStoreItemSynonymsPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], DeleteStoreItemSynonymsPayload.prototype, "_id", void 0);
|
|
@@ -0,0 +1,35 @@
|
|
|
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.EditStoreItemSynonymsPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const store_item_synonyms_entity_1 = require("@yolo-croket-dev/entity-v2/store-item-synonyms/store-item-synonyms.entity");
|
|
15
|
+
class EditStoreItemSynonymsPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.EditStoreItemSynonymsPayload = EditStoreItemSynonymsPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EditStoreItemSynonymsPayload.prototype, "_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EditStoreItemSynonymsPayload.prototype, "input", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsEnum)(store_item_synonyms_entity_1.MappingTypeEnum),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], EditStoreItemSynonymsPayload.prototype, "mappingType", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsArray)(),
|
|
33
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], EditStoreItemSynonymsPayload.prototype, "synonyms", void 0);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./delete-store-item-synonyms.dto"), exports);
|
|
18
|
+
__exportStar(require("./edit-store-item-synonyms.dto"), exports);
|
|
19
|
+
__exportStar(require("./reg-store-item-synonyms.dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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.RegStoreItemSynonymsPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const store_item_synonyms_entity_1 = require("@yolo-croket-dev/entity-v2/store-item-synonyms/store-item-synonyms.entity");
|
|
15
|
+
class RegStoreItemSynonymsPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.RegStoreItemSynonymsPayload = RegStoreItemSynonymsPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], RegStoreItemSynonymsPayload.prototype, "input", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsEnum)(store_item_synonyms_entity_1.MappingTypeEnum),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], RegStoreItemSynonymsPayload.prototype, "mappingType", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsArray)(),
|
|
29
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
30
|
+
__metadata("design:type", Array)
|
|
31
|
+
], RegStoreItemSynonymsPayload.prototype, "synonyms", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StoreItemSynonymsEntity } from '@yolo-croket-dev/entity-v2/store-item-synonyms/store-item-synonyms.entity';
|
|
2
|
+
export declare class GetStoreItemSynonymsListPayload {
|
|
3
|
+
limit: number;
|
|
4
|
+
page: number;
|
|
5
|
+
text?: string;
|
|
6
|
+
}
|
|
7
|
+
export type SelectedStoreItemSynonyms = Pick<StoreItemSynonymsEntity, '_id' | 'input' | 'synonyms' | 'mappingType' | 'updateDate' | 'regDate'>;
|
|
8
|
+
export declare class GetStoreItemSynonymsListResult {
|
|
9
|
+
totalCount: number;
|
|
10
|
+
datas: SelectedStoreItemSynonyms[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.GetStoreItemSynonymsListResult = exports.GetStoreItemSynonymsListPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetStoreItemSynonymsListPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetStoreItemSynonymsListPayload = GetStoreItemSynonymsListPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], GetStoreItemSynonymsListPayload.prototype, "limit", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], GetStoreItemSynonymsListPayload.prototype, "page", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], GetStoreItemSynonymsListPayload.prototype, "text", void 0);
|
|
30
|
+
class GetStoreItemSynonymsListResult {
|
|
31
|
+
}
|
|
32
|
+
exports.GetStoreItemSynonymsListResult = GetStoreItemSynonymsListResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-store-item-synonyms-list.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-store-item-synonyms-list.dto"), exports);
|
|
@@ -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.CheckShowAdCenterInflowPayload = 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 CheckShowAdCenterInflowPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.CheckShowAdCenterInflowPayload = CheckShowAdCenterInflowPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(CheckCaseEnum),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CheckShowAdCenterInflowPayload.prototype, "checkCase", void 0);
|
|
@@ -20,3 +20,4 @@ __exportStar(require("./get-domestic-account-store-info.dto"), exports);
|
|
|
20
20
|
__exportStar(require("./atlas"), exports);
|
|
21
21
|
__exportStar(require("./get-store-ids-by-store-title.dto"), exports);
|
|
22
22
|
__exportStar(require("./get-store-titles-by-store-ids.dto"), exports);
|
|
23
|
+
__exportStar(require("./check-show-ad-center-inflow.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { DomesticAccountStoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult } from '../dto/store';
|
|
4
|
+
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload } from '../dto/store';
|
|
5
5
|
import { GetStoresForTossPaymentPayload } from '../dto/store/query/get-stores-for-toss-payment.dto';
|
|
6
6
|
export declare class AmqpStoreService {
|
|
7
7
|
private readonly client;
|
|
@@ -16,4 +16,5 @@ export declare class AmqpStoreService {
|
|
|
16
16
|
getStoreIdsByStoreTitle(payload: GetStoreIdsByStoreTitlePayload, param: AbstractParam): Promise<GetStoreIdsByStoreTitleResult>;
|
|
17
17
|
getStoreTitlesByStoreIds(payload: GetStoreTitlesByStoreIdsPayload, param: AbstractParam): Promise<GetStoreTitlesByStoreIdsResult>;
|
|
18
18
|
getStoreIdsByAtlas(payload: GetStoreIdsByAtlasPayload, param: AbstractParam): Promise<GetStoreIdsByAtlasResult>;
|
|
19
|
+
checkShowAdCenterInflow(payload: CheckShowAdCenterInflowPayload, param: AbstractParam): Promise<boolean>;
|
|
19
20
|
}
|
|
@@ -48,6 +48,9 @@ let AmqpStoreService = class AmqpStoreService {
|
|
|
48
48
|
async getStoreIdsByAtlas(payload, param) {
|
|
49
49
|
return this.amqpManager.call('스토어 아이디 조회 (atlas)', 'store.get.store-ids-by-atlas', payload, param, { isErrorThrowing: true });
|
|
50
50
|
}
|
|
51
|
+
async checkShowAdCenterInflow(payload, param) {
|
|
52
|
+
return this.amqpManager.call('광고센터유입 노출 여부 체크', 'store.check.show-ad-center-inflow', payload, param, { isErrorThrowing: true });
|
|
53
|
+
}
|
|
51
54
|
};
|
|
52
55
|
exports.AmqpStoreService = AmqpStoreService;
|
|
53
56
|
exports.AmqpStoreService = AmqpStoreService = __decorate([
|