@yolo-croket-dev/amqp-access 0.7.425 → 0.7.427
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/buyma-order/query/buyma-order.dto.d.ts +6 -0
- package/package.json +5 -4
- package/store-item-server/dto/store-item/command/reg-store-item.dto.d.ts +2 -0
- package/store-item-server/dto/store-item/command/reg-store-item.dto.js +5 -0
- package/store-item-server/dto/store-item/query/check-customs-duty-and-tax-occurrence.dto.d.ts +13 -0
- package/store-item-server/dto/store-item/query/check-customs-duty-and-tax-occurrence.dto.js +30 -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/dto/store-item.moduels/store-item-sabang/query/get-store-item-for-sabang.dto.d.ts +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-md-theme/command/enqueue-due-store-md-theme-item-index-rebuilds.dto.js +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { BuymaExpectedMargin } from '@yolo-croket-dev/function/src/buyma-order/calculate-buyma-expected-margin';
|
|
1
2
|
import { BuymaMoney, BuymaSettlementInputs, BuymaOrderEntity, BuymaOrderEventEntity, BuymaOrderStatus, BuymaPaymentStatus, BuymaProcurementWorkStatus } from '@yolo-croket-dev/entity-v2';
|
|
3
|
+
export type { BuymaExpectedMargin } from '@yolo-croket-dev/function/src/buyma-order/calculate-buyma-expected-margin';
|
|
2
4
|
export type BuymaOrderSortBy = 'FIRST_ORDERED_AT_DESC' | 'FIRST_ORDERED_AT_ASC';
|
|
3
5
|
export declare const BUYMA_ORDER_SEARCH_FIELDS: readonly ["ORDER_NUMBER", "STORE_NAME", "SOURCE_COUNTRY", "CROKET_ITEM_NAME", "CROKET_ITEM_ID", "BUYMA_ITEM_NAME", "BRAND_NAME", "OPTION_NAME", "PROCUREMENT_BUYER_ID", "RECIPIENT_NAME", "RECIPIENT_PHONE"];
|
|
4
6
|
export type BuymaOrderSearchField = (typeof BUYMA_ORDER_SEARCH_FIELDS)[number];
|
|
@@ -47,6 +49,8 @@ export interface BuymaOrderListItem extends Pick<BuymaOrderEntity, '_id' | 'buym
|
|
|
47
49
|
communications: Pick<BuymaOrderEntity['communications'], 'stockSecuredNotified'>;
|
|
48
50
|
/** 조회 시 연결된 Croket 구매 건에서 읽은 process. 주문에 저장하지 않는다. */
|
|
49
51
|
croketPurchaseProcess?: string | null;
|
|
52
|
+
/** 활성 크로켓 연결의 조회 전용 예상 마진. */
|
|
53
|
+
expectedMargin?: BuymaExpectedMargin | null;
|
|
50
54
|
/** 활성 크로켓 연결이 없으면 null. 연결 원천이 없으면 객체의 각 값이 null이다. */
|
|
51
55
|
croketBuyer?: BuymaCroketBuyer | null;
|
|
52
56
|
}
|
|
@@ -79,6 +83,8 @@ export interface GetBuymaOrderResult {
|
|
|
79
83
|
} | null;
|
|
80
84
|
/** 조회 시 연결된 Croket 구매 건에서 읽은 process. 주문에 저장하지 않는다. */
|
|
81
85
|
croketPurchaseProcess?: string | null;
|
|
86
|
+
/** 활성 크로켓 연결의 조회 전용 예상 마진. */
|
|
87
|
+
expectedMargin?: BuymaExpectedMargin | null;
|
|
82
88
|
/** 활성 크로켓 연결이 없으면 null. 연결 원천이 없으면 객체의 각 값이 null이다. */
|
|
83
89
|
croketBuyer?: BuymaCroketBuyer | null;
|
|
84
90
|
sharedProcurementOrders?: BuymaSharedProcurementOrder[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.427",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
"@yolo-croket-dev/core": "1.10.2",
|
|
24
24
|
"@yolo-croket-dev/domain": "0.2.50",
|
|
25
25
|
"@yolo-croket-dev/dto-v2": "0.2.37",
|
|
26
|
-
"@yolo-croket-dev/entity": "0.2.
|
|
27
|
-
"@yolo-croket-dev/entity-v2": "0.3.
|
|
26
|
+
"@yolo-croket-dev/entity": "0.2.112",
|
|
27
|
+
"@yolo-croket-dev/entity-v2": "0.3.73",
|
|
28
28
|
"class-transformer": "^0.5.1",
|
|
29
29
|
"class-validator": "^0.13.2",
|
|
30
|
-
"dotenv": "^16.3.1"
|
|
30
|
+
"dotenv": "^16.3.1",
|
|
31
|
+
"@yolo-croket-dev/function": "0.3.7"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -57,6 +57,8 @@ export declare class RegStoreItemPayload {
|
|
|
57
57
|
sellerMemo?: string;
|
|
58
58
|
/** 관세 및 부가세가 상품 가격에 포함되었는지 여부 */
|
|
59
59
|
isCustomsDutyAndTaxIncluded?: boolean;
|
|
60
|
+
/** 관세 및 부가세 미발생 여부 */
|
|
61
|
+
isCustomsDutyAndTaxNotOccurred?: boolean;
|
|
60
62
|
/** 상품 타입 */
|
|
61
63
|
itemType?: StoreItemTypeEnum.normal | StoreItemTypeEnum.used;
|
|
62
64
|
/** 대표 품번 */
|
|
@@ -195,6 +195,11 @@ __decorate([
|
|
|
195
195
|
(0, class_validator_1.IsOptional)(),
|
|
196
196
|
__metadata("design:type", Boolean)
|
|
197
197
|
], RegStoreItemPayload.prototype, "isCustomsDutyAndTaxIncluded", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, class_validator_1.IsBoolean)(),
|
|
200
|
+
(0, class_validator_1.IsOptional)(),
|
|
201
|
+
__metadata("design:type", Boolean)
|
|
202
|
+
], RegStoreItemPayload.prototype, "isCustomsDutyAndTaxNotOccurred", void 0);
|
|
198
203
|
__decorate([
|
|
199
204
|
(0, class_validator_1.IsIn)([
|
|
200
205
|
store_item_2.StoreItemTypeEnum.normal,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** 관부가세 발생 예상 여부 조회 요청 */
|
|
2
|
+
export declare class CheckCustomsDutyAndTaxOccurrencePayload {
|
|
3
|
+
nationCode: string;
|
|
4
|
+
itemPrice: number;
|
|
5
|
+
}
|
|
6
|
+
/** 관부가세 발생 예상 여부 조회 결과 */
|
|
7
|
+
export declare class CheckCustomsDutyAndTaxOccurrenceResult {
|
|
8
|
+
isCustomsDutyAndTaxOccurred: boolean;
|
|
9
|
+
itemPriceUsd: number;
|
|
10
|
+
thresholdUsd: 150 | 200;
|
|
11
|
+
exchangeRate: number;
|
|
12
|
+
exchangeRateBaseDate: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.CheckCustomsDutyAndTaxOccurrenceResult = exports.CheckCustomsDutyAndTaxOccurrencePayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/** 관부가세 발생 예상 여부 조회 요청 */
|
|
15
|
+
class CheckCustomsDutyAndTaxOccurrencePayload {
|
|
16
|
+
}
|
|
17
|
+
exports.CheckCustomsDutyAndTaxOccurrencePayload = CheckCustomsDutyAndTaxOccurrencePayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CheckCustomsDutyAndTaxOccurrencePayload.prototype, "nationCode", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsInt)(),
|
|
24
|
+
(0, class_validator_1.Min)(0),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], CheckCustomsDutyAndTaxOccurrencePayload.prototype, "itemPrice", void 0);
|
|
27
|
+
/** 관부가세 발생 예상 여부 조회 결과 */
|
|
28
|
+
class CheckCustomsDutyAndTaxOccurrenceResult {
|
|
29
|
+
}
|
|
30
|
+
exports.CheckCustomsDutyAndTaxOccurrenceResult = CheckCustomsDutyAndTaxOccurrenceResult;
|
|
@@ -35,4 +35,5 @@ export * from './search-store-items-for-enuri-summary-ep.dto';
|
|
|
35
35
|
export * from './get-store-item-seller-memo.dto';
|
|
36
36
|
export * from './get-abroad-shipping-store-item-exists.dto';
|
|
37
37
|
export * from './get-used-store-items-by-brand-category.dto';
|
|
38
|
+
export * from './check-customs-duty-and-tax-occurrence.dto';
|
|
38
39
|
export * from './get-selling-store-item-ids.dto';
|
|
@@ -51,4 +51,5 @@ __exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
|
|
|
51
51
|
__exportStar(require("./get-store-item-seller-memo.dto"), exports);
|
|
52
52
|
__exportStar(require("./get-abroad-shipping-store-item-exists.dto"), exports);
|
|
53
53
|
__exportStar(require("./get-used-store-items-by-brand-category.dto"), exports);
|
|
54
|
+
__exportStar(require("./check-customs-duty-and-tax-occurrence.dto"), exports);
|
|
54
55
|
__exportStar(require("./get-selling-store-item-ids.dto"), exports);
|
|
@@ -23,6 +23,7 @@ export declare class GetStoreItemForSabangResult {
|
|
|
23
23
|
isSelling: boolean;
|
|
24
24
|
isDelete: boolean;
|
|
25
25
|
isCustomsDutyAndTaxIncluded?: boolean;
|
|
26
|
+
isCustomsDutyAndTaxNotOccurred?: boolean;
|
|
26
27
|
contents?: string;
|
|
27
28
|
htmlContent?: string;
|
|
28
29
|
contentsDataList?: GetStoreItemForSabangContentsData[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetSellingStoreItemIdsPayload, GetSellingStoreItemIdsResult } from '../dto/store-item/query/get-selling-store-item-ids.dto';
|
|
4
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, 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, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
|
|
4
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, CheckCustomsDutyAndTaxOccurrencePayload, CheckCustomsDutyAndTaxOccurrenceResult, 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, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
|
|
5
5
|
export declare class AmqpStoreItemService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -73,6 +73,7 @@ export declare class AmqpStoreItemService {
|
|
|
73
73
|
copyStoreItem(payload: CopyStoreItemPayload, param: AbstractParam): Promise<RegStoreItemResult>;
|
|
74
74
|
regStoreItem(payload: RegStoreItemPayload, param: AbstractParam): Promise<RegStoreItemResult>;
|
|
75
75
|
editStoreItem(payload: EditStoreItemPayload, param: AbstractParam): Promise<EditItemResult>;
|
|
76
|
+
checkCustomsDutyAndTaxOccurrence(payload: CheckCustomsDutyAndTaxOccurrencePayload, param: AbstractParam): Promise<CheckCustomsDutyAndTaxOccurrenceResult>;
|
|
76
77
|
getStoreItemsForUpdateBrand(payload: GetStoreItemsForUpdateBrandPayload, param: AbstractParam): Promise<GetStoreItemsForUpdateBrandResult>;
|
|
77
78
|
regStoreItemBulk(payload: RegStoreItemBulkPayload, param: AbstractParam): Promise<RegStoreItemBulkResult>;
|
|
78
79
|
getStoreItemInfoIByIds(payload: GetStoreItemInfoByIdsPayload, param: AbstractParam): Promise<GetStoreItemInfoByIdsResult>;
|
|
@@ -162,6 +162,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
162
162
|
async editStoreItem(payload, param) {
|
|
163
163
|
return this.amqpManager.call('상품 수정', 'store-item.edit', payload, param, { isErrorThrowing: true });
|
|
164
164
|
}
|
|
165
|
+
async checkCustomsDutyAndTaxOccurrence(payload, param) {
|
|
166
|
+
return this.amqpManager.call('관부가세 발생 예상 조회', 'store-item.get.customs-duty-and-tax-occurrence', payload, param, { isErrorThrowing: true });
|
|
167
|
+
}
|
|
165
168
|
async getStoreItemsForUpdateBrand(payload, param) {
|
|
166
169
|
return this.amqpManager.call('상품 브랜드 정보 조회', 'store-item.get.store-items-for-update-brand', payload, param, { isErrorThrowing: true });
|
|
167
170
|
}
|
|
@@ -18,7 +18,7 @@ exports.EnqueueDueStoreMDThemeItemIndexRebuildsPayload = EnqueueDueStoreMDThemeI
|
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsInt)(),
|
|
20
20
|
(0, class_validator_1.Min)(1),
|
|
21
|
-
(0, class_validator_1.Max)(
|
|
21
|
+
(0, class_validator_1.Max)(200),
|
|
22
22
|
(0, class_validator_1.IsOptional)(),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], EnqueueDueStoreMDThemeItemIndexRebuildsPayload.prototype, "maxThemesPerRun", void 0);
|