@yolo-croket-dev/amqp-access 0.7.275 → 0.7.277

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.
@@ -5,6 +5,8 @@ export declare enum RefundWaitingAdminStatusEnum {
5
5
  PENDING = "PENDING",
6
6
  /** 구매자가 상품 기다리기를 선택해 관리자 셀러 이관을 기다리는 상태 */
7
7
  WAITING = "WAITING",
8
+ /** 이관 대기 중 환불이 완료되어 이관 처리가 종료된 상태 */
9
+ WAITING_REFUNDING = "WAITING_REFUNDING",
8
10
  /** 다른 셀러 이관이 완료되어 환불 대기 워크플로가 종료된 상태 */
9
11
  TRANSFERRED = "TRANSFERRED",
10
12
  /** 이관 불가가 확정되어 환불 절차로 진행된 상태 */
@@ -20,6 +20,8 @@ var RefundWaitingAdminStatusEnum;
20
20
  RefundWaitingAdminStatusEnum["PENDING"] = "PENDING";
21
21
  /** 구매자가 상품 기다리기를 선택해 관리자 셀러 이관을 기다리는 상태 */
22
22
  RefundWaitingAdminStatusEnum["WAITING"] = "WAITING";
23
+ /** 이관 대기 중 환불이 완료되어 이관 처리가 종료된 상태 */
24
+ RefundWaitingAdminStatusEnum["WAITING_REFUNDING"] = "WAITING_REFUNDING";
23
25
  /** 다른 셀러 이관이 완료되어 환불 대기 워크플로가 종료된 상태 */
24
26
  RefundWaitingAdminStatusEnum["TRANSFERRED"] = "TRANSFERRED";
25
27
  /** 이관 불가가 확정되어 환불 절차로 진행된 상태 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.275",
3
+ "version": "0.7.277",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -23,7 +23,7 @@
23
23
  "@yolo-croket-dev/domain": "0.2.44",
24
24
  "@yolo-croket-dev/dto-v2": "0.2.23",
25
25
  "@yolo-croket-dev/entity": "0.2.101",
26
- "@yolo-croket-dev/entity-v2": "0.3.27",
26
+ "@yolo-croket-dev/entity-v2": "0.3.29",
27
27
  "class-transformer": "^0.5.1",
28
28
  "class-validator": "^0.13.2",
29
29
  "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/interfaces").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: {
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { ReProcessNicepayBillingRefundByRefundErrorPayload, ReProcessTosspaymentsRefundByRefundErrorPayload, ResolveNicepayBillingRefundByRefundErrorPayload, ResolveTosspaymentsRefundByRefundErrorPayload, RefundWaitingBuyerActionPayload, ProcessRefundWaitingUnavailableByAdminPayload } from '../dto';
4
- import { CheckForImmediateRefundAvailabilityV2Payload, CheckForImmediateRefundAvailabilityV2Result, CheckRefundWaitingApplicabilityPayload, CheckRefundWaitingApplicabilityResult, GetRefundErrorsForAdminPayload, GetRefundsForAdminPayload, GetRefundsForAdminResult, GetRefundsAnalyticsAggregationRefundingTop3Payload, GetRefundsAnalyticsAggregationRefundingTop3Result, GetRefundNoticePayload, GetRefundNoticeResult } from '../dto/refund/query';
4
+ import { CheckForImmediateRefundAvailabilityV2Payload, CheckForImmediateRefundAvailabilityV2Result, CheckRefundWaitingApplicabilityPayload, CheckRefundWaitingApplicabilityResult, GetRefundErrorsForAdminPayload, GetRefundsForAdminPayload, GetRefundsForAdminResult, GetRefundsAnalyticsAggregationRefundingTop3Payload, GetRefundsAnalyticsAggregationRefundingTop3Result, GetRefundNoticePayload, GetRefundNoticeResult, GetRefundNoticeV2Result } from '../dto/refund/query';
5
5
  export declare class AmqpRefundService {
6
6
  private readonly client;
7
7
  private readonly amqpManager;
@@ -24,4 +24,5 @@ export declare class AmqpRefundService {
24
24
  /** 관리자의 환불 대기 이관 불가 처리를 실제 환불로 전환한다. */
25
25
  processRefundWaitingUnavailableByAdmin(payload: ProcessRefundWaitingUnavailableByAdminPayload, param: AbstractParam): Promise<void>;
26
26
  getRefundNotice(payload: GetRefundNoticePayload, param: AbstractParam): Promise<GetRefundNoticeResult>;
27
+ getRefundNoticeV2(payload: GetRefundNoticePayload, param: AbstractParam): Promise<GetRefundNoticeV2Result>;
27
28
  }
@@ -68,6 +68,9 @@ let AmqpRefundService = class AmqpRefundService {
68
68
  async getRefundNotice(payload, param) {
69
69
  return this.amqpManager.call('환불 안내 조회', 'refund.get.notice', payload, param, { isErrorThrowing: true });
70
70
  }
71
+ async getRefundNoticeV2(payload, param) {
72
+ return this.amqpManager.call('환불 안내 조회 v2', 'refund.get.notice-v2', payload, param, { isErrorThrowing: true });
73
+ }
71
74
  };
72
75
  exports.AmqpRefundService = AmqpRefundService;
73
76
  exports.AmqpRefundService = AmqpRefundService = __decorate([