@yolo-croket-dev/amqp-access 0.7.162 → 0.7.163-sj1

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.
@@ -6,4 +6,5 @@ export * from './patch-process-v2-to-checking-stock.dto';
6
6
  export * from './change-purchased-option.dto';
7
7
  export * from './extend-waiting-receive-by-channel-talk.dto';
8
8
  export * from './update-p-info-attribution-history-id-bulk.dto';
9
+ export * from './update-price-compare-affiliate-settle-status.dto';
9
10
  export * from './send-store-seller-save-invoice-later-abroad-shipping-to-buyer.dto';
@@ -22,4 +22,5 @@ __exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
22
22
  __exportStar(require("./change-purchased-option.dto"), exports);
23
23
  __exportStar(require("./extend-waiting-receive-by-channel-talk.dto"), exports);
24
24
  __exportStar(require("./update-p-info-attribution-history-id-bulk.dto"), exports);
25
+ __exportStar(require("./update-price-compare-affiliate-settle-status.dto"), exports);
25
26
  __exportStar(require("./send-store-seller-save-invoice-later-abroad-shipping-to-buyer.dto"), exports);
@@ -0,0 +1,12 @@
1
+ import { PriceCompareAffiliateSettleStatusEnum } from '@yolo-croket-dev/entity-v2/purchased-info';
2
+ export declare class UpdatePriceCompareAffiliateSettleStatusPayload {
3
+ pInfoIds: string[];
4
+ settleStatus: PriceCompareAffiliateSettleStatusEnum;
5
+ }
6
+ export declare class UpdatePriceCompareAffiliateSettleStatusErrorInfo {
7
+ errorReason: string;
8
+ pInfoIds: string[];
9
+ }
10
+ export declare class UpdatePriceCompareAffiliateSettleStatusResult {
11
+ errorList: UpdatePriceCompareAffiliateSettleStatusErrorInfo[];
12
+ }
@@ -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.UpdatePriceCompareAffiliateSettleStatusResult = exports.UpdatePriceCompareAffiliateSettleStatusErrorInfo = exports.UpdatePriceCompareAffiliateSettleStatusPayload = void 0;
13
+ const purchased_info_1 = require("@yolo-croket-dev/entity-v2/purchased-info");
14
+ const class_validator_1 = require("class-validator");
15
+ class UpdatePriceCompareAffiliateSettleStatusPayload {
16
+ }
17
+ exports.UpdatePriceCompareAffiliateSettleStatusPayload = UpdatePriceCompareAffiliateSettleStatusPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsArray)(),
20
+ (0, class_validator_1.IsMongoId)({ each: true }),
21
+ __metadata("design:type", Array)
22
+ ], UpdatePriceCompareAffiliateSettleStatusPayload.prototype, "pInfoIds", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsEnum)(purchased_info_1.PriceCompareAffiliateSettleStatusEnum),
25
+ __metadata("design:type", String)
26
+ ], UpdatePriceCompareAffiliateSettleStatusPayload.prototype, "settleStatus", void 0);
27
+ class UpdatePriceCompareAffiliateSettleStatusErrorInfo {
28
+ }
29
+ exports.UpdatePriceCompareAffiliateSettleStatusErrorInfo = UpdatePriceCompareAffiliateSettleStatusErrorInfo;
30
+ class UpdatePriceCompareAffiliateSettleStatusResult {
31
+ }
32
+ exports.UpdatePriceCompareAffiliateSettleStatusResult = UpdatePriceCompareAffiliateSettleStatusResult;
@@ -0,0 +1,52 @@
1
+ import { PriceCompareAffiliateSettleStatusEnum, PriceCompareAffiliateTypeEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ export declare enum PriceCompareAffiliateAdminDeviceTypeEnum {
3
+ ALL = "all",
4
+ PC = "pc",
5
+ MOBILE = "mobile"
6
+ }
7
+ export declare enum PriceCompareAffiliateAdminOrderStatusEnum {
8
+ PAID = "paid",
9
+ CANCELLED = "cancelled",
10
+ CONFIRMED = "confirmed"
11
+ }
12
+ export interface PriceCompareAffiliateAttributionHistoryForAdmin {
13
+ _id: string;
14
+ firstExternalTouch?: unknown;
15
+ lastExternalTouch?: unknown;
16
+ }
17
+ export interface PriceCompareAffiliatePInfoForAdmin {
18
+ pInfoId: string;
19
+ attributionHistory?: PriceCompareAffiliateAttributionHistoryForAdmin;
20
+ paymentDate: Date;
21
+ paymentDevice?: string;
22
+ publicId: string;
23
+ process: string;
24
+ itemId: string;
25
+ itemName?: string;
26
+ purchaseNumber: number;
27
+ paidPrice: number;
28
+ }
29
+ export declare class GetPriceCompareAffiliatePInfosForAdminPayload {
30
+ /** 다나와/enuri 타입. 없으면 전체 타입 조회 */
31
+ type?: PriceCompareAffiliateTypeEnum;
32
+ /** 정산 상태. 없으면 전체 상태 조회 */
33
+ settleStatus?: PriceCompareAffiliateSettleStatusEnum;
34
+ /** 결제일 시작 */
35
+ sDate: string;
36
+ /** 결제일 종료 */
37
+ eDate: string;
38
+ /** PC/모바일 필터 */
39
+ deviceType?: PriceCompareAffiliateAdminDeviceTypeEnum;
40
+ /** 결제완료/취소/구매확정 필터 */
41
+ orderStatus?: PriceCompareAffiliateAdminOrderStatusEnum;
42
+ searchAfterToken?: string;
43
+ searchBeforeToken?: string;
44
+ limit?: number;
45
+ }
46
+ export declare class GetPriceCompareAffiliatePInfosForAdminResult {
47
+ allCount: number;
48
+ datas: PriceCompareAffiliatePInfoForAdmin[];
49
+ }
50
+ export declare class GetPriceCompareAffiliatePInfosForAdminExcelResult {
51
+ datas: Omit<PriceCompareAffiliatePInfoForAdmin, 'attributionHistory'>[];
52
+ }
@@ -0,0 +1,79 @@
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.GetPriceCompareAffiliatePInfosForAdminExcelResult = exports.GetPriceCompareAffiliatePInfosForAdminResult = exports.GetPriceCompareAffiliatePInfosForAdminPayload = exports.PriceCompareAffiliateAdminOrderStatusEnum = exports.PriceCompareAffiliateAdminDeviceTypeEnum = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
+ var PriceCompareAffiliateAdminDeviceTypeEnum;
16
+ (function (PriceCompareAffiliateAdminDeviceTypeEnum) {
17
+ PriceCompareAffiliateAdminDeviceTypeEnum["ALL"] = "all";
18
+ PriceCompareAffiliateAdminDeviceTypeEnum["PC"] = "pc";
19
+ PriceCompareAffiliateAdminDeviceTypeEnum["MOBILE"] = "mobile";
20
+ })(PriceCompareAffiliateAdminDeviceTypeEnum || (exports.PriceCompareAffiliateAdminDeviceTypeEnum = PriceCompareAffiliateAdminDeviceTypeEnum = {}));
21
+ var PriceCompareAffiliateAdminOrderStatusEnum;
22
+ (function (PriceCompareAffiliateAdminOrderStatusEnum) {
23
+ PriceCompareAffiliateAdminOrderStatusEnum["PAID"] = "paid";
24
+ PriceCompareAffiliateAdminOrderStatusEnum["CANCELLED"] = "cancelled";
25
+ PriceCompareAffiliateAdminOrderStatusEnum["CONFIRMED"] = "confirmed";
26
+ })(PriceCompareAffiliateAdminOrderStatusEnum || (exports.PriceCompareAffiliateAdminOrderStatusEnum = PriceCompareAffiliateAdminOrderStatusEnum = {}));
27
+ class GetPriceCompareAffiliatePInfosForAdminPayload {
28
+ }
29
+ exports.GetPriceCompareAffiliatePInfosForAdminPayload = GetPriceCompareAffiliatePInfosForAdminPayload;
30
+ __decorate([
31
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PriceCompareAffiliateTypeEnum),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", String)
34
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "type", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PriceCompareAffiliateSettleStatusEnum),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "settleStatus", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsDateString)(),
42
+ __metadata("design:type", String)
43
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "sDate", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsDateString)(),
46
+ __metadata("design:type", String)
47
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "eDate", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsEnum)(PriceCompareAffiliateAdminDeviceTypeEnum),
50
+ (0, class_validator_1.IsOptional)(),
51
+ __metadata("design:type", String)
52
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "deviceType", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsEnum)(PriceCompareAffiliateAdminOrderStatusEnum),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "orderStatus", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "searchAfterToken", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "searchBeforeToken", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.Max)(10000),
70
+ (0, class_validator_1.IsNumber)(),
71
+ (0, class_validator_1.IsOptional)(),
72
+ __metadata("design:type", Number)
73
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "limit", void 0);
74
+ class GetPriceCompareAffiliatePInfosForAdminResult {
75
+ }
76
+ exports.GetPriceCompareAffiliatePInfosForAdminResult = GetPriceCompareAffiliatePInfosForAdminResult;
77
+ class GetPriceCompareAffiliatePInfosForAdminExcelResult {
78
+ }
79
+ exports.GetPriceCompareAffiliatePInfosForAdminExcelResult = GetPriceCompareAffiliatePInfosForAdminExcelResult;
@@ -8,6 +8,7 @@ export * from './get-p-infos-for-manage-buyer-by-atlas.dto';
8
8
  export * from './get-facet-p-infos-for-manage-buyer-by-atlas.dto';
9
9
  export * from './get-item-sale-infos-for-sales-team-by-atlas.dto';
10
10
  export * from './get-item-sale-merge-data-for-sales-team-by-atlas.dto';
11
+ export * from './get-price-compare-affiliate-p-infos-for-admin.dto';
11
12
  export * from './store-item';
12
13
  export * from './settle';
13
14
  export * from './get-p-info-for-expect-settle-by-atlas.dto';
@@ -24,6 +24,7 @@ __exportStar(require("./get-p-infos-for-manage-buyer-by-atlas.dto"), exports);
24
24
  __exportStar(require("./get-facet-p-infos-for-manage-buyer-by-atlas.dto"), exports);
25
25
  __exportStar(require("./get-item-sale-infos-for-sales-team-by-atlas.dto"), exports);
26
26
  __exportStar(require("./get-item-sale-merge-data-for-sales-team-by-atlas.dto"), exports);
27
+ __exportStar(require("./get-price-compare-affiliate-p-infos-for-admin.dto"), exports);
27
28
  __exportStar(require("./store-item"), exports);
28
29
  __exportStar(require("./settle"), exports);
29
30
  __exportStar(require("./get-p-info-for-expect-settle-by-atlas.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, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -43,6 +43,9 @@ export declare class AmqpPurchasedInfoService {
43
43
  getRefundRate(payload: GetRefundRatePayload, param: AbstractParam): Promise<GetRefundRateResult>;
44
44
  extendWaitingReceiveByChannelTalk(payload: ExtendWaitingReceiveByChannelTalkPayload, param: AbstractParam): Promise<string>;
45
45
  updatePInfoAttributionHistoryIdBulk(payload: UpdatePInfoAttributionHistoryIdBulkPayload, param: AbstractParam): Promise<void>;
46
+ getPriceCompareAffiliatePInfosForAdmin(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminResult>;
47
+ getPriceCompareAffiliatePInfosForAdminExcel(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminExcelResult>;
48
+ updatePriceCompareAffiliateSettleStatus(payload: UpdatePriceCompareAffiliateSettleStatusPayload, param: AbstractParam): Promise<void>;
46
49
  extendWaitingReceiveByChannelTalkSlackWebhook(payload: any, param: AbstractParam): Promise<string>;
47
50
  getPublicIdsByReceiveInfoChangedInBeforeDelivery(param: AbstractParam): Promise<string>;
48
51
  checkBuyerTotalPaymentHistory(param: AbstractParam): Promise<boolean>;
@@ -136,6 +136,15 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
136
136
  async updatePInfoAttributionHistoryIdBulk(payload, param) {
137
137
  return this.amqpManager.call('결제 내역 어트리뷰션 히스토리 아이디 업데이트 - bulk', 'purchased-info.update.attribution-history-id-bulk', payload, param, { isErrorThrowing: true });
138
138
  }
139
+ async getPriceCompareAffiliatePInfosForAdmin(payload, param) {
140
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin', payload, param, { isErrorThrowing: true });
141
+ }
142
+ async getPriceCompareAffiliatePInfosForAdminExcel(payload, param) {
143
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
144
+ }
145
+ async updatePriceCompareAffiliateSettleStatus(payload, param) {
146
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 정산 상태 변경', 'purchased-info.update.price-compare-affiliate-settle-status', payload, param, { isErrorThrowing: true });
147
+ }
139
148
  async extendWaitingReceiveByChannelTalkSlackWebhook(
140
149
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
141
150
  payload, param) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.162",
3
+ "version": "0.7.163-sj1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,9 +22,9 @@
22
22
  "@yolo-croket-dev/domain": "0.2.38",
23
23
  "@yolo-croket-dev/dto-v2": "^0.2.15",
24
24
  "@yolo-croket-dev/entity": "0.2.83",
25
- "@yolo-croket-dev/entity-v2": "0.2.156",
25
+ "@yolo-croket-dev/entity-v2": "0.2.158-sj",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -28,3 +28,4 @@ export * from './search-regular-price-items-for-admin.dto';
28
28
  export * from './search-secret-items-for-admin.dto';
29
29
  export * from './get-cro-care-store-item-info.dto';
30
30
  export * from './get-meta-product-feed-sync-status-by-item-ids.dto';
31
+ export * from './search-store-items-for-enuri-summary-ep.dto';
@@ -44,3 +44,4 @@ __exportStar(require("./search-regular-price-items-for-admin.dto"), exports);
44
44
  __exportStar(require("./search-secret-items-for-admin.dto"), exports);
45
45
  __exportStar(require("./get-cro-care-store-item-info.dto"), exports);
46
46
  __exportStar(require("./get-meta-product-feed-sync-status-by-item-ids.dto"), exports);
47
+ __exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
@@ -0,0 +1,37 @@
1
+ import { StoreItem } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
2
+ export type EnuriSummaryClass = 'I' | 'U' | 'D';
3
+ export declare class SearchStoreItemsForEnuriSummaryEpPayload {
4
+ /** @description 마지막 전체 EP 생성 시각 */
5
+ from: Date;
6
+ /** @description 요약 EP 생성 시각 */
7
+ to: Date;
8
+ /** @description 한 번에 조회할 상품 수 */
9
+ limit?: number;
10
+ /** @description 다음 페이지 조회를 위한 마지막 상품 ObjectId */
11
+ lastId?: string;
12
+ }
13
+ export interface SearchStoreItemsForEnuriSummaryEpNaverFeed {
14
+ itemId: string;
15
+ isShow: boolean;
16
+ nvMid?: string;
17
+ brand?: string;
18
+ maker?: string;
19
+ shippingOrigin?: string;
20
+ condition?: string;
21
+ naverCategory?: string;
22
+ customItemName?: string;
23
+ editEventWords?: string;
24
+ }
25
+ export interface SearchStoreItemsForEnuriSummaryEpItem extends Pick<StoreItem, '_id' | 'regDate' | 'lastModifyDate' | 'isSelling' | 'isDelete' | 'remainCount' | 'sellingInfo' | 'reservationInfo' | 'sortInfo' | 'itemImg' | 'optionInfo' | 'sellerId' | 'nation' | 'storeId' | 'itemName' | 'itemPrice' | 'itemPriceForBuyer' | 'mainCategory' | 'subCategory' | 'itemNameKeyForNaver' | 'adultItemInfo' | 'contents' | 'selectionInfos' | 'brandInfo' | 'isSecret' | 'isSabang' | 'regularPrice' | 'isNaverEnabled' | 'integrationSortInfo'> {
26
+ store?: {
27
+ _id: string;
28
+ avgRating: number;
29
+ };
30
+ naverFeed: SearchStoreItemsForEnuriSummaryEpNaverFeed;
31
+ enuriSummaryClass: EnuriSummaryClass;
32
+ enuriSummaryUpdatedAt: Date;
33
+ }
34
+ export declare class SearchStoreItemsForEnuriSummaryEpResult {
35
+ storeItems: SearchStoreItemsForEnuriSummaryEpItem[];
36
+ lastId?: string;
37
+ }
@@ -0,0 +1,41 @@
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.SearchStoreItemsForEnuriSummaryEpResult = exports.SearchStoreItemsForEnuriSummaryEpPayload = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class SearchStoreItemsForEnuriSummaryEpPayload {
16
+ }
17
+ exports.SearchStoreItemsForEnuriSummaryEpPayload = SearchStoreItemsForEnuriSummaryEpPayload;
18
+ __decorate([
19
+ (0, class_transformer_1.Type)(() => Date),
20
+ (0, class_validator_1.IsDate)(),
21
+ __metadata("design:type", Date)
22
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "from", void 0);
23
+ __decorate([
24
+ (0, class_transformer_1.Type)(() => Date),
25
+ (0, class_validator_1.IsDate)(),
26
+ __metadata("design:type", Date)
27
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "to", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.Min)(1),
31
+ (0, class_validator_1.Max)(10000),
32
+ __metadata("design:type", Number)
33
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "limit", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsString)(),
37
+ __metadata("design:type", String)
38
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "lastId", void 0);
39
+ class SearchStoreItemsForEnuriSummaryEpResult {
40
+ }
41
+ exports.SearchStoreItemsForEnuriSummaryEpResult = SearchStoreItemsForEnuriSummaryEpResult;
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, 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, 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, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, 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, 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, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -69,6 +69,7 @@ export declare class AmqpStoreItemService {
69
69
  updateNaverEnabledBulk(payload: UpdateNaverEnabledBulkPayload, param: AbstractParam): Promise<void>;
70
70
  getCroCareStoreItemInfo(payload: GetCroCareStoreItemInfoPayload, param: AbstractParam): Promise<GetCroCareStoreItemInfoResult>;
71
71
  getStoreItemsForProductFeed(payload: GetStoreItemsForProductFeedPayload, param: AbstractParam): Promise<GetStoreItemsForProductFeedResult>;
72
+ searchStoreItemsForEnuriSummaryEp(payload: SearchStoreItemsForEnuriSummaryEpPayload, param: AbstractParam): Promise<SearchStoreItemsForEnuriSummaryEpResult>;
72
73
  getMetaLabelStoreItemIds(param: AbstractParam): Promise<string[]>;
73
74
  getMetaProductFeedSyncStatusByItemIds(payload: GetMetaProductFeedSyncStatusByItemIdsPayload, param: AbstractParam): Promise<GetMetaProductFeedSyncStatusByItemIdsResult>;
74
75
  updateItemKeywordsBulk(payload: UpdateItemKeywordsBulkPayload, param: AbstractParam): Promise<UpdateItemKeywordsBulkResult>;
@@ -207,6 +207,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
207
207
  async getStoreItemsForProductFeed(payload, param) {
208
208
  return this.amqpManager.call('광고 플랫폼(메타, 구글) 연동용 상품 목록 조회', 'store-item.get.store-items-for-product-feed', payload, param, { isErrorThrowing: true });
209
209
  }
210
+ async searchStoreItemsForEnuriSummaryEp(payload, param) {
211
+ return this.amqpManager.call('에누리 요약 EP 변경 상품 조회', 'store-item.search.store-items-for-enuri-summary-ep', payload, param, { isErrorThrowing: true });
212
+ }
210
213
  async getMetaLabelStoreItemIds(param) {
211
214
  return this.amqpManager.call('메타 라벨 상품 아이디 조회', 'store-item.get.meta-label-item-ids', {}, param, { isErrorThrowing: true });
212
215
  }
@@ -1,11 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Read(//Users/jun/Desktop/code/work/monorepo/**)",
5
- "Bash(npm ls:*)",
6
- "Bash(cd:*)",
7
- "WebFetch(domain:developers.nicepay.co.kr)",
8
- "Bash(npx lerna:*)"
9
- ]
10
- }
11
- }