@yolo-croket-dev/amqp-access 0.7.50 → 0.7.51
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/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/payment-service/dto/refund/index.d.ts +1 -0
- package/payment-service/dto/refund/index.js +1 -0
- package/payment-service/dto/refund/query/get-refund-notice.dto.d.ts +16 -0
- package/payment-service/dto/refund/query/get-refund-notice.dto.js +35 -0
- package/payment-service/dto/refund/query/index.d.ts +1 -0
- package/payment-service/dto/refund/query/index.js +1 -0
- package/payment-service/services/amqp.refund.service.d.ts +2 -1
- package/payment-service/services/amqp.refund.service.js +3 -0
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").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "
|
|
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: {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum RefundNoticeType {
|
|
2
|
+
/** @description 배송 지연 안내 */
|
|
3
|
+
SHIPPING_DELAY = "SHIPPING_DELAY",
|
|
4
|
+
/** @description 주문 확인 지연 안내 */
|
|
5
|
+
ORDER_CONFIRMATION_DELAYED = "ORDER_CONFIRMATION_DELAYED"
|
|
6
|
+
}
|
|
7
|
+
export declare class GetRefundNoticePayload {
|
|
8
|
+
PInfoId: string;
|
|
9
|
+
refundTypeCode: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetRefundNoticeResult {
|
|
12
|
+
isNoticeRequired: boolean;
|
|
13
|
+
noticeType?: RefundNoticeType;
|
|
14
|
+
mainTitle?: string;
|
|
15
|
+
subTitle?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.GetRefundNoticeResult = exports.GetRefundNoticePayload = exports.RefundNoticeType = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var RefundNoticeType;
|
|
15
|
+
(function (RefundNoticeType) {
|
|
16
|
+
/** @description 배송 지연 안내 */
|
|
17
|
+
RefundNoticeType["SHIPPING_DELAY"] = "SHIPPING_DELAY";
|
|
18
|
+
/** @description 주문 확인 지연 안내 */
|
|
19
|
+
RefundNoticeType["ORDER_CONFIRMATION_DELAYED"] = "ORDER_CONFIRMATION_DELAYED";
|
|
20
|
+
})(RefundNoticeType || (exports.RefundNoticeType = RefundNoticeType = {}));
|
|
21
|
+
class GetRefundNoticePayload {
|
|
22
|
+
}
|
|
23
|
+
exports.GetRefundNoticePayload = GetRefundNoticePayload;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsMongoId)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetRefundNoticePayload.prototype, "PInfoId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GetRefundNoticePayload.prototype, "refundTypeCode", void 0);
|
|
33
|
+
class GetRefundNoticeResult {
|
|
34
|
+
}
|
|
35
|
+
exports.GetRefundNoticeResult = GetRefundNoticeResult;
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-refunds-analytics-aggregation-refunding-top3.dto"), exports);
|
|
18
18
|
__exportStar(require("./check-for-immediate-refund-availability-v2.dto"), exports);
|
|
19
|
+
__exportStar(require("./get-refund-notice.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { ReProcessTosspaymentsRefundByRefundErrorPayload, ResolveTosspaymentsRefundByRefundErrorPayload } from '../dto';
|
|
4
|
-
import { CheckForImmediateRefundAvailabilityV2Payload, CheckForImmediateRefundAvailabilityV2Result, GetRefundsAnalyticsAggregationRefundingTop3Payload, GetRefundsAnalyticsAggregationRefundingTop3Result } from '../dto/refund/query';
|
|
4
|
+
import { CheckForImmediateRefundAvailabilityV2Payload, CheckForImmediateRefundAvailabilityV2Result, GetRefundsAnalyticsAggregationRefundingTop3Payload, GetRefundsAnalyticsAggregationRefundingTop3Result, GetRefundNoticePayload, GetRefundNoticeResult } from '../dto/refund/query';
|
|
5
5
|
export declare class AmqpRefundService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -11,4 +11,5 @@ export declare class AmqpRefundService {
|
|
|
11
11
|
reProcessTosspaymentsRefundByRefundError(payload: ReProcessTosspaymentsRefundByRefundErrorPayload, param: AbstractParam): Promise<void>;
|
|
12
12
|
getRefundsAnalyticsAggregationRefundingTop3(payload: GetRefundsAnalyticsAggregationRefundingTop3Payload, param: AbstractParam): Promise<GetRefundsAnalyticsAggregationRefundingTop3Result>;
|
|
13
13
|
checkForImmediateRefundAvailabilityV2(payload: CheckForImmediateRefundAvailabilityV2Payload, param: AbstractParam): Promise<CheckForImmediateRefundAvailabilityV2Result>;
|
|
14
|
+
getRefundNotice(payload: GetRefundNoticePayload, param: AbstractParam): Promise<GetRefundNoticeResult>;
|
|
14
15
|
}
|
|
@@ -37,6 +37,9 @@ let AmqpRefundService = class AmqpRefundService {
|
|
|
37
37
|
async checkForImmediateRefundAvailabilityV2(payload, param) {
|
|
38
38
|
return this.amqpManager.call('환불 가능 여부 조회', 'refund.check-for-immediate-refund-availability-v2', payload, param, { isErrorThrowing: true });
|
|
39
39
|
}
|
|
40
|
+
async getRefundNotice(payload, param) {
|
|
41
|
+
return this.amqpManager.call('환불 안내 조회', 'refund.get.notice', payload, param);
|
|
42
|
+
}
|
|
40
43
|
};
|
|
41
44
|
exports.AmqpRefundService = AmqpRefundService;
|
|
42
45
|
exports.AmqpRefundService = AmqpRefundService = __decorate([
|