@yolo-croket-dev/amqp-access 0.7.288 → 0.7.290
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-info-additional-payment-info.dto.d.ts +10 -0
- package/order-server/dto/purchasedinfos/query/get-p-info-additional-payment-info.dto.js +23 -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/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/command/edit-store-item.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/query/get-used-store-items-by-brand-category.dto.d.ts +36 -0
- package/store-item-server/dto/store-item/query/get-used-store-items-by-brand-category.dto.js +50 -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 +6 -1
- package/store-item-server/services/amqp.store-item.service.js +7 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class GetPInfoAdditionalPaymentInfoPayload {
|
|
2
|
+
pInfoId: string;
|
|
3
|
+
}
|
|
4
|
+
export declare class GetPInfoAdditionalPaymentInfoResult {
|
|
5
|
+
additionalPaymentCalculationGuide: string;
|
|
6
|
+
originalPInfoItemImg: string;
|
|
7
|
+
originalPInfoItemName: string;
|
|
8
|
+
originalPInfoOptionName: string;
|
|
9
|
+
originalPInfoOptionQuantity: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.GetPInfoAdditionalPaymentInfoResult = exports.GetPInfoAdditionalPaymentInfoPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetPInfoAdditionalPaymentInfoPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPInfoAdditionalPaymentInfoPayload = GetPInfoAdditionalPaymentInfoPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetPInfoAdditionalPaymentInfoPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
class GetPInfoAdditionalPaymentInfoResult {
|
|
22
|
+
}
|
|
23
|
+
exports.GetPInfoAdditionalPaymentInfoResult = GetPInfoAdditionalPaymentInfoResult;
|
|
@@ -16,3 +16,4 @@ export * from './get-p-infos-for-luxury-appraisal.dto';
|
|
|
16
16
|
export * from './get-refund-rate.dto';
|
|
17
17
|
export * from './get-public-ids-by-receive-info-changed-in-before-delivery.dto';
|
|
18
18
|
export * from './check-buyer-store-payment-history.dto';
|
|
19
|
+
export * from './get-p-info-additional-payment-info.dto';
|
|
@@ -32,3 +32,4 @@ __exportStar(require("./get-p-infos-for-luxury-appraisal.dto"), exports);
|
|
|
32
32
|
__exportStar(require("./get-refund-rate.dto"), exports);
|
|
33
33
|
__exportStar(require("./get-public-ids-by-receive-info-changed-in-before-delivery.dto"), exports);
|
|
34
34
|
__exportStar(require("./check-buyer-store-payment-history.dto"), exports);
|
|
35
|
+
__exportStar(require("./get-p-info-additional-payment-info.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, GetPInfosByIdsPayload, GetPInfosByIdsResult, GetPInfosForLuxuryAppraisalPayload, GetPInfosForLuxuryAppraisalResult, GetRefundRatePayload, GetRefundRateResult, ExtendWaitingReceiveByChannelTalkPayload, UpdatePInfoAttributionHistoryIdBulkPayload, CheckBuyerStorePaymentHistoryPayload, SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult } 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, GetRefundRatePayload, GetRefundRateResult, ExtendWaitingReceiveByChannelTalkPayload, UpdatePInfoAttributionHistoryIdBulkPayload, CheckBuyerStorePaymentHistoryPayload, SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult, GetPInfoAdditionalPaymentInfoResult, GetPInfoAdditionalPaymentInfoPayload } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -47,4 +47,5 @@ export declare class AmqpPurchasedInfoService {
|
|
|
47
47
|
getPublicIdsByReceiveInfoChangedInBeforeDelivery(param: AbstractParam): Promise<string>;
|
|
48
48
|
checkBuyerTotalPaymentHistory(param: AbstractParam): Promise<boolean>;
|
|
49
49
|
checkBuyerStorePaymentHistory(payload: CheckBuyerStorePaymentHistoryPayload, param: AbstractParam): Promise<boolean>;
|
|
50
|
+
getPInfoAdditionalPaymentInfo(payload: GetPInfoAdditionalPaymentInfoPayload, param: AbstractParam): Promise<GetPInfoAdditionalPaymentInfoResult>;
|
|
50
51
|
}
|
|
@@ -150,6 +150,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
150
150
|
async checkBuyerStorePaymentHistory(payload, param) {
|
|
151
151
|
return this.amqpManager.call('구매자 - 특정 스토어 상품 구매 이력 조회', 'purchased-info.check.store-payment-history', payload, param, { isErrorThrowing: true });
|
|
152
152
|
}
|
|
153
|
+
async getPInfoAdditionalPaymentInfo(payload, param) {
|
|
154
|
+
return this.amqpManager.call('구매자 - 추가금 결제 정보 조회 -결제창-', 'purchased-info.get.additional-payment-info', payload, param, { isErrorThrowing: true });
|
|
155
|
+
}
|
|
153
156
|
};
|
|
154
157
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
155
158
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
2
|
import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
|
|
3
|
-
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common
|
|
3
|
+
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
4
4
|
/** 구글 시트용 광고센터정산 데이터 */
|
|
5
5
|
export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
|
|
6
6
|
storeInfo: {
|
|
@@ -21,7 +21,7 @@ export declare class EditStoreItemUsedInfo {
|
|
|
21
21
|
conditionGrade?: StoreItemUsedConditionGradeEnum | null;
|
|
22
22
|
releasePriceInfo?: EditStoreItemUsedReleasePriceInfo | null;
|
|
23
23
|
}
|
|
24
|
-
declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "
|
|
24
|
+
declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "usedItemInfo" | "mainSku">>;
|
|
25
25
|
declare class EditStoreItemBasePayload extends EditStoreItemBasePayload_base {
|
|
26
26
|
}
|
|
27
27
|
/**
|
package/store-item-server/dto/store-item/query/get-used-store-items-by-brand-category.dto.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StoreItemLegacyEntity, StoreItemLegacyUsedConditionGrade } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
+
import { StoreItemTypeEnum } from '@yolo-croket-dev/entity/src/store-item';
|
|
3
|
+
export declare const GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_DEFAULT_LIMIT = 10;
|
|
4
|
+
export declare const GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_MAX_LIMIT = 30;
|
|
5
|
+
/**
|
|
6
|
+
* @author jun
|
|
7
|
+
* @description 브랜드와 카테고리가 일치하는 구매 가능한 중고상품 조회 요청 계약
|
|
8
|
+
*/
|
|
9
|
+
export declare class GetUsedStoreItemsByBrandCategoryPayload {
|
|
10
|
+
/** 브랜드명 */
|
|
11
|
+
brandName: string;
|
|
12
|
+
/** 메인 카테고리 */
|
|
13
|
+
mainCategory: string;
|
|
14
|
+
/** 서브 카테고리 */
|
|
15
|
+
subCategory?: string;
|
|
16
|
+
/** 조회 결과에서 제외할 상품 아이디 */
|
|
17
|
+
exceptItemId?: string;
|
|
18
|
+
/** 조회 상품 수 */
|
|
19
|
+
limit?: number;
|
|
20
|
+
}
|
|
21
|
+
export type UsedStoreItemByBrandCategory = Pick<StoreItemLegacyEntity, 'itemId' | 'itemImg' | 'itemName' | 'previewOptionName' | 'itemPriceForBuyer' | 'regularPrice' | 'maxDiscountCouponPriceInfo' | 'selectionInfos'> & {
|
|
22
|
+
itemType: StoreItemTypeEnum.used;
|
|
23
|
+
nation?: StoreItemLegacyEntity['nation'];
|
|
24
|
+
city?: StoreItemLegacyEntity['city'];
|
|
25
|
+
usedItemInfo?: {
|
|
26
|
+
conditionGrade?: StoreItemLegacyUsedConditionGrade;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @author jun
|
|
31
|
+
* @description 브랜드와 카테고리가 일치하는 중고상품 조회 결과 계약
|
|
32
|
+
*/
|
|
33
|
+
export interface GetUsedStoreItemsByBrandCategoryResult {
|
|
34
|
+
title: string;
|
|
35
|
+
relatedStoreItems: UsedStoreItemByBrandCategory[];
|
|
36
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.GetUsedStoreItemsByBrandCategoryPayload = exports.GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_MAX_LIMIT = exports.GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_DEFAULT_LIMIT = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
exports.GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_DEFAULT_LIMIT = 10;
|
|
15
|
+
exports.GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_MAX_LIMIT = 30;
|
|
16
|
+
/**
|
|
17
|
+
* @author jun
|
|
18
|
+
* @description 브랜드와 카테고리가 일치하는 구매 가능한 중고상품 조회 요청 계약
|
|
19
|
+
*/
|
|
20
|
+
class GetUsedStoreItemsByBrandCategoryPayload {
|
|
21
|
+
}
|
|
22
|
+
exports.GetUsedStoreItemsByBrandCategoryPayload = GetUsedStoreItemsByBrandCategoryPayload;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetUsedStoreItemsByBrandCategoryPayload.prototype, "brandName", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GetUsedStoreItemsByBrandCategoryPayload.prototype, "mainCategory", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], GetUsedStoreItemsByBrandCategoryPayload.prototype, "subCategory", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsMongoId)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], GetUsedStoreItemsByBrandCategoryPayload.prototype, "exceptItemId", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsInt)(),
|
|
46
|
+
(0, class_validator_1.Min)(1),
|
|
47
|
+
(0, class_validator_1.Max)(exports.GET_USED_STORE_ITEMS_BY_BRAND_CATEGORY_MAX_LIMIT),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], GetUsedStoreItemsByBrandCategoryPayload.prototype, "limit", void 0);
|
|
@@ -32,3 +32,4 @@ export * from './get-meta-product-feed-sync-status-by-item-ids.dto';
|
|
|
32
32
|
export * from './search-store-items-for-enuri-summary-ep.dto';
|
|
33
33
|
export * from './get-store-item-seller-memo.dto';
|
|
34
34
|
export * from './get-abroad-shipping-store-item-exists.dto';
|
|
35
|
+
export * from './get-used-store-items-by-brand-category.dto';
|
|
@@ -48,3 +48,4 @@ __exportStar(require("./get-meta-product-feed-sync-status-by-item-ids.dto"), exp
|
|
|
48
48
|
__exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
|
|
49
49
|
__exportStar(require("./get-store-item-seller-memo.dto"), exports);
|
|
50
50
|
__exportStar(require("./get-abroad-shipping-store-item-exists.dto"), exports);
|
|
51
|
+
__exportStar(require("./get-used-store-items-by-brand-category.dto"), exports);
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult } from '../dto/store-item';
|
|
3
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
+
/**
|
|
9
|
+
* @author jun
|
|
10
|
+
* @description 브랜드와 카테고리가 정확히 일치하는 구매 가능한 중고상품을 조회한다.
|
|
11
|
+
*/
|
|
12
|
+
getUsedStoreItemsByBrandCategory(payload: GetUsedStoreItemsByBrandCategoryPayload, param: AbstractParam): Promise<GetUsedStoreItemsByBrandCategoryResult>;
|
|
8
13
|
/** 관리자 추가금 결제에 사용할 비공개 상품을 금액 기준으로 조회하거나 생성한다. */
|
|
9
14
|
createAdditionalPaymentStoreItem(payload: CreateAdditionalPaymentStoreItemPayload, param: AbstractParam): Promise<CreateAdditionalPaymentStoreItemResult>;
|
|
10
15
|
/** 이전 버전 */
|
|
@@ -21,6 +21,13 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* @author jun
|
|
26
|
+
* @description 브랜드와 카테고리가 정확히 일치하는 구매 가능한 중고상품을 조회한다.
|
|
27
|
+
*/
|
|
28
|
+
async getUsedStoreItemsByBrandCategory(payload, param) {
|
|
29
|
+
return this.amqpManager.call('브랜드 카테고리 중고상품 조회', 'store-item.get.used-by-brand-category', payload, param, { isErrorThrowing: true });
|
|
30
|
+
}
|
|
24
31
|
/** 관리자 추가금 결제에 사용할 비공개 상품을 금액 기준으로 조회하거나 생성한다. */
|
|
25
32
|
async createAdditionalPaymentStoreItem(payload, param) {
|
|
26
33
|
return this.amqpManager.call('관리자 추가금 결제 상품 생성', 'store-item.create.additional-payment', payload, param, { isErrorThrowing: true });
|