@yolo-croket-dev/amqp-access 0.6.37 → 0.6.39
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/manage-service/dto/event-banner/command/append-luxury-appraisal-item-n8n-trigger.dto.d.ts +4 -0
- package/manage-service/dto/event-banner/command/append-luxury-appraisal-item-n8n-trigger.dto.js +24 -0
- package/manage-service/dto/event-banner/command/index.d.ts +2 -0
- package/manage-service/dto/event-banner/command/index.js +2 -0
- package/manage-service/dto/event-banner/command/update-luxury-appraisal-item-n8n-trigger.dto.d.ts +4 -0
- package/manage-service/dto/event-banner/command/update-luxury-appraisal-item-n8n-trigger.dto.js +24 -0
- package/manage-service/services/event-banner.service.d.ts +3 -1
- package/manage-service/services/event-banner.service.js +6 -0
- package/order-server/dto/purchasedinfos/query/get-p-infos-by-ids.dto.d.ts +12 -0
- package/order-server/dto/purchasedinfos/query/get-p-infos-by-ids.dto.js +34 -0
- package/order-server/dto/purchasedinfos/query/get-p-infos-for-luxury-appraisal.dto.d.ts +9 -0
- package/order-server/dto/purchasedinfos/query/get-p-infos-for-luxury-appraisal.dto.js +24 -0
- package/order-server/dto/purchasedinfos/query/index.d.ts +2 -0
- package/order-server/dto/purchasedinfos/query/index.js +2 -0
- 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 +2 -2
- package/store-item-server/dto/brand.modules/brand/query/get-similar-brands-for-admin.dto.d.ts +6 -0
- package/store-item-server/dto/brand.modules/brand/query/get-similar-brands-for-admin.dto.js +20 -0
- package/store-item-server/dto/brand.modules/brand/query/index.d.ts +1 -0
- package/store-item-server/dto/brand.modules/brand/query/index.js +1 -0
- package/store-item-server/services/brand.modules/amqp.brand.service.d.ts +2 -1
- package/store-item-server/services/brand.modules/amqp.brand.service.js +3 -0
- package/.claude/settings.local.json +0 -8
package/manage-service/dto/event-banner/command/append-luxury-appraisal-item-n8n-trigger.dto.js
ADDED
|
@@ -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.AppendLuxuryAppraisalItemN8nTriggerPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class AppendLuxuryAppraisalItemN8nTriggerPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.AppendLuxuryAppraisalItemN8nTriggerPayload = AppendLuxuryAppraisalItemN8nTriggerPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], AppendLuxuryAppraisalItemN8nTriggerPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsMongoId)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], AppendLuxuryAppraisalItemN8nTriggerPayload.prototype, "storeItemId", void 0);
|
|
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./create-event-banner.dto"), exports);
|
|
18
18
|
__exportStar(require("./delete-event-banner.dto"), exports);
|
|
19
19
|
__exportStar(require("./update-event-banner.dto"), exports);
|
|
20
|
+
__exportStar(require("./append-luxury-appraisal-item-n8n-trigger.dto"), exports);
|
|
21
|
+
__exportStar(require("./update-luxury-appraisal-item-n8n-trigger.dto"), exports);
|
package/manage-service/dto/event-banner/command/update-luxury-appraisal-item-n8n-trigger.dto.js
ADDED
|
@@ -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.UpdateLuxuryAppraisalItemN8nTriggerPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateLuxuryAppraisalItemN8nTriggerPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.UpdateLuxuryAppraisalItemN8nTriggerPayload = UpdateLuxuryAppraisalItemN8nTriggerPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], UpdateLuxuryAppraisalItemN8nTriggerPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsMongoId)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], UpdateLuxuryAppraisalItemN8nTriggerPayload.prototype, "storeItemId", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateEventBannerPayload, DeleteEventBannerPayload, UpdateEventBannerPayload, GetEventBannerForBuyerPayload, GetEventBannerForBuyerResult, GetIsLuxuryAppraisalItemsByStoreItemIdsPayload, GetIsLuxuryAppraisalItemsByStoreItemIdsResult } from '../dto';
|
|
3
|
+
import { CreateEventBannerPayload, DeleteEventBannerPayload, UpdateEventBannerPayload, GetEventBannerForBuyerPayload, GetEventBannerForBuyerResult, GetIsLuxuryAppraisalItemsByStoreItemIdsPayload, GetIsLuxuryAppraisalItemsByStoreItemIdsResult, AppendLuxuryAppraisalItemN8nTriggerPayload, UpdateLuxuryAppraisalItemN8nTriggerPayload } from '../dto';
|
|
4
4
|
export declare class AmqpEventBannerService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -10,4 +10,6 @@ export declare class AmqpEventBannerService {
|
|
|
10
10
|
deleteEventBanner(payload: DeleteEventBannerPayload, param: AbstractParam): Promise<void>;
|
|
11
11
|
getEventBannerForBuyer(payload: GetEventBannerForBuyerPayload, param: AbstractParam): Promise<GetEventBannerForBuyerResult>;
|
|
12
12
|
getIsLuxuryAppraisalItemsByStoreItemIds(payload: GetIsLuxuryAppraisalItemsByStoreItemIdsPayload, param: AbstractParam): Promise<GetIsLuxuryAppraisalItemsByStoreItemIdsResult[]>;
|
|
13
|
+
appendLuxuryAppraisalItemN8nTrigger(payload: AppendLuxuryAppraisalItemN8nTriggerPayload, param: AbstractParam): Promise<void>;
|
|
14
|
+
updateLuxuryAppraisalItemN8nTrigger(payload: UpdateLuxuryAppraisalItemN8nTriggerPayload, param: AbstractParam): Promise<void>;
|
|
13
15
|
}
|
|
@@ -36,6 +36,12 @@ let AmqpEventBannerService = class AmqpEventBannerService {
|
|
|
36
36
|
async getIsLuxuryAppraisalItemsByStoreItemIds(payload, param) {
|
|
37
37
|
return this.amqpManager.call('명품 라올스 상품 여부 조회', 'event-banner.get.is-luxury-appraisal-items-by-store-item-ids', payload, param, { isErrorThrowing: true });
|
|
38
38
|
}
|
|
39
|
+
async appendLuxuryAppraisalItemN8nTrigger(payload, param) {
|
|
40
|
+
return this.amqpManager.call('명품 라올스 상품 저장 n8n', 'event-banner.append.luxury-appraisal-item-n8n-trigger', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
42
|
+
async updateLuxuryAppraisalItemN8nTrigger(payload, param) {
|
|
43
|
+
return this.amqpManager.call('명품 라올스 상품 업데이트 n8n', 'event-banner.update.luxury-appraisal-item-n8n-trigger', payload, param, { isErrorThrowing: true });
|
|
44
|
+
}
|
|
39
45
|
};
|
|
40
46
|
exports.AmqpEventBannerService = AmqpEventBannerService;
|
|
41
47
|
exports.AmqpEventBannerService = AmqpEventBannerService = __decorate([
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class GetPInfosByIdsPayload {
|
|
3
|
+
/** 결제 정보 아이디 */
|
|
4
|
+
pInfoIds: string[];
|
|
5
|
+
/** 검색 포함 필드 */
|
|
6
|
+
includeFields?: string[];
|
|
7
|
+
/** 검색 제외 필드 */
|
|
8
|
+
excludeFields?: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface GetPInfosByIdsResult {
|
|
11
|
+
pInfos: Partial<PurchasedInfoEntity>[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.GetPInfosByIdsPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetPInfosByIdsPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPInfosByIdsPayload = GetPInfosByIdsPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsArray)(),
|
|
19
|
+
(0, class_validator_1.IsMongoId)({ each: true })
|
|
20
|
+
/** 결제 정보 아이디 */
|
|
21
|
+
,
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], GetPInfosByIdsPayload.prototype, "pInfoIds", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsArray)(),
|
|
26
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], GetPInfosByIdsPayload.prototype, "includeFields", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsArray)(),
|
|
32
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
33
|
+
__metadata("design:type", Array)
|
|
34
|
+
], GetPInfosByIdsPayload.prototype, "excludeFields", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class GetPInfosForLuxuryAppraisalPayload {
|
|
3
|
+
buyerId: string;
|
|
4
|
+
paymentDate: string;
|
|
5
|
+
}
|
|
6
|
+
export type PInfoForLuxuryAppraisal = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'buyerId' | 'pastBuyerUsername' | 'itemId' | 'pastName' | 'storeId' | 'process' | 'process_v2' | 'paymentDate' | 'deliveryData'>;
|
|
7
|
+
export interface GetPInfosForLuxuryAppraisalResult {
|
|
8
|
+
pInfos: PInfoForLuxuryAppraisal[];
|
|
9
|
+
}
|
|
@@ -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.GetPInfosForLuxuryAppraisalPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetPInfosForLuxuryAppraisalPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPInfosForLuxuryAppraisalPayload = GetPInfosForLuxuryAppraisalPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetPInfosForLuxuryAppraisalPayload.prototype, "buyerId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsDateString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], GetPInfosForLuxuryAppraisalPayload.prototype, "paymentDate", void 0);
|
|
@@ -11,3 +11,5 @@ export * from './check-can-change-purchased-options-by-pay-try-log-id.dto';
|
|
|
11
11
|
export * from './get-purchased-info-items-for-extraction-by-type.dto';
|
|
12
12
|
export * from './get-expect-settle-amount.dto';
|
|
13
13
|
export * from './get-changed-option-public-ids-by-ids.dto';
|
|
14
|
+
export * from './get-p-infos-by-ids.dto';
|
|
15
|
+
export * from './get-p-infos-for-luxury-appraisal.dto';
|
|
@@ -27,3 +27,5 @@ __exportStar(require("./check-can-change-purchased-options-by-pay-try-log-id.dto
|
|
|
27
27
|
__exportStar(require("./get-purchased-info-items-for-extraction-by-type.dto"), exports);
|
|
28
28
|
__exportStar(require("./get-expect-settle-amount.dto"), exports);
|
|
29
29
|
__exportStar(require("./get-changed-option-public-ids-by-ids.dto"), exports);
|
|
30
|
+
__exportStar(require("./get-p-infos-by-ids.dto"), exports);
|
|
31
|
+
__exportStar(require("./get-p-infos-for-luxury-appraisal.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, 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, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult } from '../dto/purchasedinfos';
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, 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, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult, GetPInfosByIdsPayload, GetPInfosByIdsResult, GetPInfosForLuxuryAppraisalPayload, GetPInfosForLuxuryAppraisalResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -37,4 +37,6 @@ export declare class AmqpPurchasedInfoService {
|
|
|
37
37
|
getPInfoForExpectSettleByAtlas(payload: GetPInfoForExpectSettleByAtlasPayload, param: AbstractParam): Promise<GetPInfoForExpectSettleByAtlasResult[]>;
|
|
38
38
|
getExpectSettleAmount(param: AbstractParam): Promise<GetExpectSettleAmountResult>;
|
|
39
39
|
getChangedOptionPublicIdsByIds(payload: GetChangedOptionPublicIdsByIdsPayload, param: AbstractParam): Promise<GetChangedOptionPublicIdsByIdsResult[]>;
|
|
40
|
+
getPInfosByIds(payload: GetPInfosByIdsPayload, param: AbstractParam): Promise<GetPInfosByIdsResult>;
|
|
41
|
+
getPInfosForLuxuryAppraisal(payload: GetPInfosForLuxuryAppraisalPayload, param: AbstractParam): Promise<GetPInfosForLuxuryAppraisalResult>;
|
|
40
42
|
}
|
|
@@ -118,6 +118,12 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
118
118
|
async getChangedOptionPublicIdsByIds(payload, param) {
|
|
119
119
|
return this.amqpManager.call('결제 아이디 리스트로 변경된 옵션 publicId 리스트 조회', 'purchased-info.get.changed-option-public-ids-by-ids', payload, param, { isErrorThrowing: true });
|
|
120
120
|
}
|
|
121
|
+
async getPInfosByIds(payload, param) {
|
|
122
|
+
return this.amqpManager.call('결제 정보 아이디 리스트로 결제 정보 리스트 조회', 'purchased-info.get.p-infos-by-ids', payload, param, { isErrorThrowing: true });
|
|
123
|
+
}
|
|
124
|
+
async getPInfosForLuxuryAppraisal(payload, param) {
|
|
125
|
+
return this.amqpManager.call('명품 라올스 상품 여부 조회', 'purchased-info.get.p-infos-for-luxury-appraisal', payload, param, { isErrorThrowing: true });
|
|
126
|
+
}
|
|
121
127
|
};
|
|
122
128
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
123
129
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.39",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|
|
@@ -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.GetSimilarBrandsForAdminPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetSimilarBrandsForAdminPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetSimilarBrandsForAdminPayload = GetSimilarBrandsForAdminPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetSimilarBrandsForAdminPayload.prototype, "brandName", void 0);
|
|
@@ -8,3 +8,4 @@ export * from './get-brand-by-name-or-sub-name-for-admin.dto';
|
|
|
8
8
|
export * from './get-brand-hall-for-buyer.dto';
|
|
9
9
|
export * from './get-brand-halls-by-search-keyword.dto';
|
|
10
10
|
export * from './get-brand-halls-for-buyer.dto';
|
|
11
|
+
export * from './get-similar-brands-for-admin.dto';
|
|
@@ -24,3 +24,4 @@ __exportStar(require("./get-brand-by-name-or-sub-name-for-admin.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./get-brand-hall-for-buyer.dto"), exports);
|
|
25
25
|
__exportStar(require("./get-brand-halls-by-search-keyword.dto"), exports);
|
|
26
26
|
__exportStar(require("./get-brand-halls-for-buyer.dto"), exports);
|
|
27
|
+
__exportStar(require("./get-similar-brands-for-admin.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload, GetBrandRequiredCategoriesResult, GetBrandByBrandNamePayload, GetBrandByBrandNameResult, AutocompleteBrandsResult, AutocompleteBrandsPayload, UpdateBrandSubNamesPayload, GetBrandByNameOrSubNameForAdminResult, GetBrandByNameOrSubNameForAdminPayload, UpdateBrandInfoByAdminPayload, UpdateBrandHallByAdminPayload, GetBrandHallForBuyerPayload, GetBrandHallForBuyerResult, GetBrandHallsBySearchKeywordPayload, GetBrandHallsBySearchKeywordResult, GetBrandHallsForBuyerPayload, GetBrandHallsForBuyerResult } from '../../dto/brand.modules/brand';
|
|
3
|
+
import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload, GetBrandRequiredCategoriesResult, GetBrandByBrandNamePayload, GetBrandByBrandNameResult, AutocompleteBrandsResult, AutocompleteBrandsPayload, UpdateBrandSubNamesPayload, GetBrandByNameOrSubNameForAdminResult, GetBrandByNameOrSubNameForAdminPayload, UpdateBrandInfoByAdminPayload, UpdateBrandHallByAdminPayload, GetBrandHallForBuyerPayload, GetBrandHallForBuyerResult, GetBrandHallsBySearchKeywordPayload, GetBrandHallsBySearchKeywordResult, GetBrandHallsForBuyerPayload, GetBrandHallsForBuyerResult, GetSimilarBrandsForAdminPayload, GetSimilarBrandsForAdminResult } from '../../dto/brand.modules/brand';
|
|
4
4
|
export declare class AmqpBrandService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -25,4 +25,5 @@ export declare class AmqpBrandService {
|
|
|
25
25
|
getBrandHallsForBuyer(payload: GetBrandHallsForBuyerPayload, param: AbstractParam): Promise<GetBrandHallsForBuyerResult>;
|
|
26
26
|
updateBrandHallByScheduler(param: AbstractParam): Promise<void>;
|
|
27
27
|
updateBrandSearchKeywordCountByScheduler(param: AbstractParam): Promise<void>;
|
|
28
|
+
getSimilarBrandsForAdmin(payload: GetSimilarBrandsForAdminPayload, param: AbstractParam): Promise<GetSimilarBrandsForAdminResult>;
|
|
28
29
|
}
|
|
@@ -81,6 +81,9 @@ let AmqpBrandService = class AmqpBrandService {
|
|
|
81
81
|
async updateBrandSearchKeywordCountByScheduler(param) {
|
|
82
82
|
return this.amqpManager.call('브랜드 검색어 카운트 자동 업데이트 (1시간마다) -크론-', 'brand.update.search-keyword-count-by-scheduler', {}, param, { isErrorThrowing: true });
|
|
83
83
|
}
|
|
84
|
+
async getSimilarBrandsForAdmin(payload, param) {
|
|
85
|
+
return this.amqpManager.call('브랜드 유사 브랜드 조회 -관리자-', 'brand.get.similar-brands-for-admin', payload, param, { isErrorThrowing: true });
|
|
86
|
+
}
|
|
84
87
|
};
|
|
85
88
|
exports.AmqpBrandService = AmqpBrandService;
|
|
86
89
|
exports.AmqpBrandService = AmqpBrandService = __decorate([
|