@yolo-croket-dev/amqp-access 0.6.66-jun.0 → 0.6.67

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.
@@ -13,4 +13,3 @@ export * from './get-expect-settle-amount.dto';
13
13
  export * from './get-changed-option-public-ids-by-ids.dto';
14
14
  export * from './get-p-infos-by-ids.dto';
15
15
  export * from './get-p-infos-for-luxury-appraisal.dto';
16
- export * from './get-refund-rate.dto';
@@ -29,4 +29,3 @@ __exportStar(require("./get-expect-settle-amount.dto"), exports);
29
29
  __exportStar(require("./get-changed-option-public-ids-by-ids.dto"), exports);
30
30
  __exportStar(require("./get-p-infos-by-ids.dto"), exports);
31
31
  __exportStar(require("./get-p-infos-for-luxury-appraisal.dto"), exports);
32
- __exportStar(require("./get-refund-rate.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 } 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;
@@ -39,5 +39,4 @@ export declare class AmqpPurchasedInfoService {
39
39
  getChangedOptionPublicIdsByIds(payload: GetChangedOptionPublicIdsByIdsPayload, param: AbstractParam): Promise<GetChangedOptionPublicIdsByIdsResult[]>;
40
40
  getPInfosByIds(payload: GetPInfosByIdsPayload, param: AbstractParam): Promise<GetPInfosByIdsResult>;
41
41
  getPInfosForLuxuryAppraisal(payload: GetPInfosForLuxuryAppraisalPayload, param: AbstractParam): Promise<GetPInfosForLuxuryAppraisalResult>;
42
- getRefundRate(payload: GetRefundRatePayload, param: AbstractParam): Promise<GetRefundRateResult>;
43
42
  }
@@ -124,9 +124,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
124
124
  async getPInfosForLuxuryAppraisal(payload, param) {
125
125
  return this.amqpManager.call('명품 라올스 상품 여부 조회', 'purchased-info.get.p-infos-for-luxury-appraisal', payload, param, { isErrorThrowing: true });
126
126
  }
127
- async getRefundRate(payload, param) {
128
- return this.amqpManager.call('환불율 조회', 'purchased-info.get.refund-rate', payload, param, { isErrorThrowing: true });
129
- }
130
127
  };
131
128
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
132
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.66-jun.0",
3
+ "version": "0.6.67",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,7 +22,7 @@
22
22
  "@yolo-croket-dev/domain": "^0.2.25",
23
23
  "@yolo-croket-dev/dto-v2": "0.2.8",
24
24
  "@yolo-croket-dev/entity": "0.2.53",
25
- "@yolo-croket-dev/entity-v2": "^0.2.75",
25
+ "@yolo-croket-dev/entity-v2": "0.2.76",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -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").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "PInfoId" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "transactionInfo" | "bizMemo" | "subtractionSettleAmountInfo" | "settlementManagerInfo" | "googleSheetInfo" | "actualSettleDateString" | "financeMemo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -1,12 +0,0 @@
1
- export declare class GetRefundRatePayload {
2
- storeId?: string;
3
- itemId?: string;
4
- }
5
- export interface GetRefundRateResult {
6
- /** 환불율 (백분율, 0-100) */
7
- refundRate: number;
8
- /** 전체 주문 수 */
9
- totalOrders: number;
10
- /** 환불 건수 */
11
- refundCount: number;
12
- }
@@ -1,26 +0,0 @@
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.GetRefundRatePayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GetRefundRatePayload {
15
- }
16
- exports.GetRefundRatePayload = GetRefundRatePayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- (0, class_validator_1.IsOptional)(),
20
- __metadata("design:type", String)
21
- ], GetRefundRatePayload.prototype, "storeId", void 0);
22
- __decorate([
23
- (0, class_validator_1.IsMongoId)(),
24
- (0, class_validator_1.IsOptional)(),
25
- __metadata("design:type", String)
26
- ], GetRefundRatePayload.prototype, "itemId", void 0);