@yolo-croket-dev/amqp-access 0.7.292 → 0.7.294

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.
Files changed (21) hide show
  1. package/order-server/dto/customs/command/index.d.ts +3 -0
  2. package/order-server/dto/customs/command/index.js +3 -0
  3. package/order-server/dto/customs/command/post-process-customs-pccc-validation.dto.d.ts +14 -0
  4. package/order-server/dto/customs/command/post-process-customs-pccc-validation.dto.js +65 -0
  5. package/order-server/dto/customs/command/revalidate-customs-pccc.dto.d.ts +15 -0
  6. package/order-server/dto/customs/command/revalidate-customs-pccc.dto.js +57 -0
  7. package/order-server/dto/customs/command/revoke-customs-access-token.dto.d.ts +4 -0
  8. package/order-server/dto/customs/command/revoke-customs-access-token.dto.js +7 -0
  9. package/order-server/dto/customs/query/get-unread-customs-trade-errors.dto.d.ts +5 -0
  10. package/order-server/dto/customs/query/get-unread-customs-trade-errors.dto.js +7 -0
  11. package/order-server/dto/customs/query/index.d.ts +1 -0
  12. package/order-server/dto/customs/query/index.js +1 -0
  13. package/order-server/services/amqp.customs.service.d.ts +5 -1
  14. package/order-server/services/amqp.customs.service.js +12 -0
  15. package/package.json +1 -1
  16. package/payment-service/dto/refund/command/index.d.ts +1 -0
  17. package/payment-service/dto/refund/command/index.js +1 -0
  18. package/payment-service/dto/refund/command/withdraw-refund-waiting-by-seller.dto.d.ts +8 -0
  19. package/payment-service/dto/refund/command/withdraw-refund-waiting-by-seller.dto.js +26 -0
  20. package/payment-service/services/amqp.refund.service.d.ts +3 -1
  21. package/payment-service/services/amqp.refund.service.js +4 -0
@@ -1,3 +1,6 @@
1
1
  export * from './request-customs-pccc-validation.dto';
2
2
  export * from './verify-customs-pccc-otp.dto';
3
3
  export * from './submit-customs-trade-information.dto';
4
+ export * from './revalidate-customs-pccc.dto';
5
+ export * from './post-process-customs-pccc-validation.dto';
6
+ export * from './revoke-customs-access-token.dto';
@@ -17,3 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./request-customs-pccc-validation.dto"), exports);
18
18
  __exportStar(require("./verify-customs-pccc-otp.dto"), exports);
19
19
  __exportStar(require("./submit-customs-trade-information.dto"), exports);
20
+ __exportStar(require("./revalidate-customs-pccc.dto"), exports);
21
+ __exportStar(require("./post-process-customs-pccc-validation.dto"), exports);
22
+ __exportStar(require("./revoke-customs-access-token.dto"), exports);
@@ -0,0 +1,14 @@
1
+ import { CustomsConsigneeInfoPayload, CustomsOrdererInfoPayload, RequestCustomsPcccValidationResult } from './request-customs-pccc-validation.dto';
2
+ /** @author 홍준 @description 관세청 PER003 장애 사후처리 DTO @process 관세청 장애 기간에 응답받지 못한 PER001 요청을 주문완료·호출시각과 함께 순차 재검증한다. */
3
+ export declare class PostProcessCustomsPcccValidationPayload {
4
+ reqt_no: string;
5
+ reqt_tp: '01' | '02';
6
+ ordrr_info: CustomsOrdererInfoPayload;
7
+ cnsi_info: CustomsConsigneeInfoPayload;
8
+ cnsi_pers_ecm?: string;
9
+ ord_cmpl_dttm: string;
10
+ call_dttm: string;
11
+ ord_no: string;
12
+ }
13
+ export declare class PostProcessCustomsPcccValidationResult extends RequestCustomsPcccValidationResult {
14
+ }
@@ -0,0 +1,65 @@
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.PostProcessCustomsPcccValidationResult = exports.PostProcessCustomsPcccValidationPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const request_customs_pccc_validation_dto_1 = require("./request-customs-pccc-validation.dto");
16
+ /** @author 홍준 @description 관세청 PER003 장애 사후처리 DTO @process 관세청 장애 기간에 응답받지 못한 PER001 요청을 주문완료·호출시각과 함께 순차 재검증한다. */
17
+ class PostProcessCustomsPcccValidationPayload {
18
+ }
19
+ exports.PostProcessCustomsPcccValidationPayload = PostProcessCustomsPcccValidationPayload;
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ (0, class_validator_1.Matches)(/^\d{18}$/),
23
+ __metadata("design:type", String)
24
+ ], PostProcessCustomsPcccValidationPayload.prototype, "reqt_no", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsIn)([
27
+ '01',
28
+ '02',
29
+ ]),
30
+ __metadata("design:type", String)
31
+ ], PostProcessCustomsPcccValidationPayload.prototype, "reqt_tp", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.ValidateNested)(),
34
+ (0, class_transformer_1.Type)(() => request_customs_pccc_validation_dto_1.CustomsOrdererInfoPayload),
35
+ __metadata("design:type", request_customs_pccc_validation_dto_1.CustomsOrdererInfoPayload)
36
+ ], PostProcessCustomsPcccValidationPayload.prototype, "ordrr_info", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.ValidateNested)(),
39
+ (0, class_transformer_1.Type)(() => request_customs_pccc_validation_dto_1.CustomsConsigneeInfoPayload),
40
+ __metadata("design:type", request_customs_pccc_validation_dto_1.CustomsConsigneeInfoPayload)
41
+ ], PostProcessCustomsPcccValidationPayload.prototype, "cnsi_info", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.ValidateIf)((payload) => payload.reqt_tp === '01'),
44
+ (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.Matches)(/^P\d{12}$/i),
46
+ __metadata("design:type", String)
47
+ ], PostProcessCustomsPcccValidationPayload.prototype, "cnsi_pers_ecm", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsString)(),
50
+ (0, class_validator_1.Matches)(/^\d{14}$/),
51
+ __metadata("design:type", String)
52
+ ], PostProcessCustomsPcccValidationPayload.prototype, "ord_cmpl_dttm", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsString)(),
55
+ (0, class_validator_1.Matches)(/^\d{14}$/),
56
+ __metadata("design:type", String)
57
+ ], PostProcessCustomsPcccValidationPayload.prototype, "call_dttm", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsNotEmpty)(),
61
+ __metadata("design:type", String)
62
+ ], PostProcessCustomsPcccValidationPayload.prototype, "ord_no", void 0);
63
+ class PostProcessCustomsPcccValidationResult extends request_customs_pccc_validation_dto_1.RequestCustomsPcccValidationResult {
64
+ }
65
+ exports.PostProcessCustomsPcccValidationResult = PostProcessCustomsPcccValidationResult;
@@ -0,0 +1,15 @@
1
+ import { CustomsConsigneeInfoPayload, CustomsOrdererInfoPayload } from './request-customs-pccc-validation.dto';
2
+ /** @author 홍준 @description 관세청 PER002 개인통관고유부호 재검증 DTO @process 기존 PER001 요청번호를 기준으로 변경된 연락처·우편번호의 유효성을 확인한다. */
3
+ export declare class RevalidateCustomsPcccPayload {
4
+ reqt_no: string;
5
+ brno?: string;
6
+ reqt_tp: '01' | '02';
7
+ ordrr_info?: CustomsOrdererInfoPayload;
8
+ cnsi_info: CustomsConsigneeInfoPayload;
9
+ cnsi_pers_ecm?: string;
10
+ }
11
+ export declare class RevalidateCustomsPcccResult {
12
+ reqtNo: string;
13
+ validationPeriod: string;
14
+ verified: boolean;
15
+ }
@@ -0,0 +1,57 @@
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.RevalidateCustomsPcccResult = exports.RevalidateCustomsPcccPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const request_customs_pccc_validation_dto_1 = require("./request-customs-pccc-validation.dto");
16
+ /** @author 홍준 @description 관세청 PER002 개인통관고유부호 재검증 DTO @process 기존 PER001 요청번호를 기준으로 변경된 연락처·우편번호의 유효성을 확인한다. */
17
+ class RevalidateCustomsPcccPayload {
18
+ }
19
+ exports.RevalidateCustomsPcccPayload = RevalidateCustomsPcccPayload;
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ (0, class_validator_1.Matches)(/^\d{18}$/),
23
+ __metadata("design:type", String)
24
+ ], RevalidateCustomsPcccPayload.prototype, "reqt_no", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.Matches)(/^\d{10}$/),
29
+ __metadata("design:type", String)
30
+ ], RevalidateCustomsPcccPayload.prototype, "brno", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsIn)([
33
+ '01',
34
+ '02',
35
+ ]),
36
+ __metadata("design:type", String)
37
+ ], RevalidateCustomsPcccPayload.prototype, "reqt_tp", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.ValidateNested)(),
40
+ (0, class_transformer_1.Type)(() => request_customs_pccc_validation_dto_1.CustomsOrdererInfoPayload),
41
+ (0, class_validator_1.IsOptional)(),
42
+ __metadata("design:type", request_customs_pccc_validation_dto_1.CustomsOrdererInfoPayload)
43
+ ], RevalidateCustomsPcccPayload.prototype, "ordrr_info", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.ValidateNested)(),
46
+ (0, class_transformer_1.Type)(() => request_customs_pccc_validation_dto_1.CustomsConsigneeInfoPayload),
47
+ __metadata("design:type", request_customs_pccc_validation_dto_1.CustomsConsigneeInfoPayload)
48
+ ], RevalidateCustomsPcccPayload.prototype, "cnsi_info", void 0);
49
+ __decorate([
50
+ (0, class_validator_1.ValidateIf)((payload) => payload.reqt_tp === '01'),
51
+ (0, class_validator_1.IsString)(),
52
+ (0, class_validator_1.Matches)(/^P\d{12}$/i),
53
+ __metadata("design:type", String)
54
+ ], RevalidateCustomsPcccPayload.prototype, "cnsi_pers_ecm", void 0);
55
+ class RevalidateCustomsPcccResult {
56
+ }
57
+ exports.RevalidateCustomsPcccResult = RevalidateCustomsPcccResult;
@@ -0,0 +1,4 @@
1
+ /** @author 홍준 @description 관세청 AUT002 접근 토큰 폐기 결과 DTO @process 서버가 보관한 현재 토큰을 관세청에 폐기 요청하고 로컬 캐시를 비운다. */
2
+ export declare class RevokeCustomsAccessTokenResult {
3
+ revoked: boolean;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeCustomsAccessTokenResult = void 0;
4
+ /** @author 홍준 @description 관세청 AUT002 접근 토큰 폐기 결과 DTO @process 서버가 보관한 현재 토큰을 관세청에 폐기 요청하고 로컬 캐시를 비운다. */
5
+ class RevokeCustomsAccessTokenResult {
6
+ }
7
+ exports.RevokeCustomsAccessTokenResult = RevokeCustomsAccessTokenResult;
@@ -0,0 +1,5 @@
1
+ /** @author 홍준 @description 관세청 TRA003 미조회 거래정보 오류 조회 DTO @process 최근 7일 이내 미조회 오류를 수신하여 내부 제출 이력에 반영한다. */
2
+ export declare class GetUnreadCustomsTradeErrorsResult {
3
+ unreadCount: number;
4
+ transactionErrors: Array<Record<string, unknown>>;
5
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetUnreadCustomsTradeErrorsResult = void 0;
4
+ /** @author 홍준 @description 관세청 TRA003 미조회 거래정보 오류 조회 DTO @process 최근 7일 이내 미조회 오류를 수신하여 내부 제출 이력에 반영한다. */
5
+ class GetUnreadCustomsTradeErrorsResult {
6
+ }
7
+ exports.GetUnreadCustomsTradeErrorsResult = GetUnreadCustomsTradeErrorsResult;
@@ -1,2 +1,3 @@
1
1
  export * from './get-customs-trade-submission-result.dto';
2
2
  export * from './poll-pending-customs-trade-submissions.dto';
3
+ export * from './get-unread-customs-trade-errors.dto';
@@ -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-customs-trade-submission-result.dto"), exports);
18
18
  __exportStar(require("./poll-pending-customs-trade-submissions.dto"), exports);
19
+ __exportStar(require("./get-unread-customs-trade-errors.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetCustomsTradeSubmissionResult, GetCustomsTradeSubmissionResultPayload, PollPendingCustomsTradeSubmissionsPayload, PollPendingCustomsTradeSubmissionsResult, RequestCustomsPcccValidationPayload, RequestCustomsPcccValidationResult, SubmitCustomsTradeInformationPayload, SubmitCustomsTradeInformationResult, VerifyCustomsPcccOtpPayload, VerifyCustomsPcccOtpResult } from '../dto/customs';
3
+ import { GetUnreadCustomsTradeErrorsResult, GetCustomsTradeSubmissionResult, GetCustomsTradeSubmissionResultPayload, PostProcessCustomsPcccValidationPayload, PostProcessCustomsPcccValidationResult, PollPendingCustomsTradeSubmissionsPayload, PollPendingCustomsTradeSubmissionsResult, RevalidateCustomsPcccPayload, RevalidateCustomsPcccResult, RequestCustomsPcccValidationPayload, RequestCustomsPcccValidationResult, RevokeCustomsAccessTokenResult, SubmitCustomsTradeInformationPayload, SubmitCustomsTradeInformationResult, VerifyCustomsPcccOtpPayload, VerifyCustomsPcccOtpResult } from '../dto/customs';
4
4
  export declare class AmqpCustomsService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -10,4 +10,8 @@ export declare class AmqpCustomsService {
10
10
  submitTradeInformation(payload: SubmitCustomsTradeInformationPayload, param: AbstractParam): Promise<SubmitCustomsTradeInformationResult>;
11
11
  getTradeSubmissionResult(payload: GetCustomsTradeSubmissionResultPayload, param: AbstractParam): Promise<GetCustomsTradeSubmissionResult>;
12
12
  pollPendingTradeSubmissions(payload: PollPendingCustomsTradeSubmissionsPayload, param: AbstractParam): Promise<PollPendingCustomsTradeSubmissionsResult>;
13
+ getUnreadTradeErrors(param: AbstractParam): Promise<GetUnreadCustomsTradeErrorsResult>;
14
+ revalidatePccc(payload: RevalidateCustomsPcccPayload, param: AbstractParam): Promise<RevalidateCustomsPcccResult>;
15
+ postProcessPcccValidation(payload: PostProcessCustomsPcccValidationPayload, param: AbstractParam): Promise<PostProcessCustomsPcccValidationResult>;
16
+ revokeAccessToken(param: AbstractParam): Promise<RevokeCustomsAccessTokenResult>;
13
17
  }
@@ -36,6 +36,18 @@ let AmqpCustomsService = class AmqpCustomsService {
36
36
  async pollPendingTradeSubmissions(payload, param) {
37
37
  return this.amqpManager.call('관세청 미완료 거래정보 결과 조회', 'customs.poll.pending-trade-submissions', payload, param, { isErrorThrowing: true });
38
38
  }
39
+ async getUnreadTradeErrors(param) {
40
+ return this.amqpManager.call('관세청 미조회 거래정보 오류 조회', 'customs.get.unread-trade-errors', undefined, param, { isErrorThrowing: true });
41
+ }
42
+ async revalidatePccc(payload, param) {
43
+ return this.amqpManager.call('관세청 개인통관고유부호 재검증', 'customs.revalidate.pccc', payload, param, { isErrorThrowing: true });
44
+ }
45
+ async postProcessPcccValidation(payload, param) {
46
+ return this.amqpManager.call('관세청 개인통관고유부호 검증 후처리', 'customs.post-process.pccc-validation', payload, param, { isErrorThrowing: true });
47
+ }
48
+ async revokeAccessToken(param) {
49
+ return this.amqpManager.call('관세청 접근 토큰 폐기', 'customs.revoke.access-token', undefined, param, { isErrorThrowing: true });
50
+ }
39
51
  };
40
52
  exports.AmqpCustomsService = AmqpCustomsService;
41
53
  exports.AmqpCustomsService = AmqpCustomsService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.292",
3
+ "version": "0.7.294",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -3,6 +3,7 @@ export * from './re-process-tosspayments-refund-by-refund-error.dto';
3
3
  export * from './resolve-nicepay-billing-refund-by-refund-error.dto';
4
4
  export * from './resolve-tosspayments-refund-by-refund-error.dto';
5
5
  export * from './refund-waiting-buyer-action.dto';
6
+ export * from './withdraw-refund-waiting-by-seller.dto';
6
7
  export * from './process-refund-waiting-unavailable-by-admin.dto';
7
8
  export * from './process-additional-payment-vbank-expiration.dto';
8
9
  export * from './compensate-late-additional-payment.dto';
@@ -19,6 +19,7 @@ __exportStar(require("./re-process-tosspayments-refund-by-refund-error.dto"), ex
19
19
  __exportStar(require("./resolve-nicepay-billing-refund-by-refund-error.dto"), exports);
20
20
  __exportStar(require("./resolve-tosspayments-refund-by-refund-error.dto"), exports);
21
21
  __exportStar(require("./refund-waiting-buyer-action.dto"), exports);
22
+ __exportStar(require("./withdraw-refund-waiting-by-seller.dto"), exports);
22
23
  __exportStar(require("./process-refund-waiting-unavailable-by-admin.dto"), exports);
23
24
  __exportStar(require("./process-additional-payment-vbank-expiration.dto"), exports);
24
25
  __exportStar(require("./compensate-late-additional-payment.dto"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @author sj
3
+ * @description 셀러가 실제 Refund 생성 전 환불 대기 요청을 철회할 때 사용하는 계약이다.
4
+ * @process payment-service가 셀러 소유권·허용 상태·환불 생성 lease를 검증한 뒤 refundWaitingInfo를 제거한다.
5
+ */
6
+ export declare class WithdrawRefundWaitingBySellerPayload {
7
+ PInfoId: string;
8
+ }
@@ -0,0 +1,26 @@
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.WithdrawRefundWaitingBySellerPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author sj
16
+ * @description 셀러가 실제 Refund 생성 전 환불 대기 요청을 철회할 때 사용하는 계약이다.
17
+ * @process payment-service가 셀러 소유권·허용 상태·환불 생성 lease를 검증한 뒤 refundWaitingInfo를 제거한다.
18
+ */
19
+ class WithdrawRefundWaitingBySellerPayload {
20
+ }
21
+ exports.WithdrawRefundWaitingBySellerPayload = WithdrawRefundWaitingBySellerPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], WithdrawRefundWaitingBySellerPayload.prototype, "PInfoId", void 0);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { ReProcessNicepayBillingRefundByRefundErrorPayload, ReProcessTosspaymentsRefundByRefundErrorPayload, ResolveNicepayBillingRefundByRefundErrorPayload, ResolveTosspaymentsRefundByRefundErrorPayload, RefundWaitingBuyerActionPayload, ProcessRefundWaitingUnavailableByAdminPayload, ProcessAdditionalPaymentVBankExpirationPayload, RetryAdditionalPaymentLinkedRefundPayload, RetryAdditionalPaymentLinkedRefundResult } from '../dto';
3
+ import { ReProcessNicepayBillingRefundByRefundErrorPayload, ReProcessTosspaymentsRefundByRefundErrorPayload, ResolveNicepayBillingRefundByRefundErrorPayload, ResolveTosspaymentsRefundByRefundErrorPayload, RefundWaitingBuyerActionPayload, WithdrawRefundWaitingBySellerPayload, ProcessRefundWaitingUnavailableByAdminPayload, ProcessAdditionalPaymentVBankExpirationPayload, RetryAdditionalPaymentLinkedRefundPayload, RetryAdditionalPaymentLinkedRefundResult } from '../dto';
4
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;
@@ -21,6 +21,8 @@ export declare class AmqpRefundService {
21
21
  waitForRefundWaitingItem(payload: RefundWaitingBuyerActionPayload, param: AbstractParam): Promise<void>;
22
22
  /** 구매자의 환불 받기 선택을 기존 일반 환불 프로세스로 전환한다. */
23
23
  requestRefundFromWaiting(payload: RefundWaitingBuyerActionPayload, param: AbstractParam): Promise<void>;
24
+ /** 셀러가 실제 Refund가 없는 환불 대기 요청을 철회한다. */
25
+ withdrawRefundWaitingBySeller(payload: WithdrawRefundWaitingBySellerPayload, param: AbstractParam): Promise<void>;
24
26
  /** 관리자의 환불 대기 이관 불가 처리를 실제 환불로 전환한다. */
25
27
  processRefundWaitingUnavailableByAdmin(payload: ProcessRefundWaitingUnavailableByAdminPayload, param: AbstractParam): Promise<void>;
26
28
  /** Child 무통장 만료 취소가 끝난 뒤 Parent 환불만 기존 환불 흐름으로 전환한다. */
@@ -61,6 +61,10 @@ let AmqpRefundService = class AmqpRefundService {
61
61
  async requestRefundFromWaiting(payload, param) {
62
62
  return this.amqpManager.call('구매자 환불 대기 환불 요청', 'refund.waiting.request-refund', payload, param, { isErrorThrowing: true });
63
63
  }
64
+ /** 셀러가 실제 Refund가 없는 환불 대기 요청을 철회한다. */
65
+ async withdrawRefundWaitingBySeller(payload, param) {
66
+ return this.amqpManager.call('셀러 환불 대기 철회', 'refund.waiting.withdraw-by-seller', payload, param, { isErrorThrowing: true });
67
+ }
64
68
  /** 관리자의 환불 대기 이관 불가 처리를 실제 환불로 전환한다. */
65
69
  async processRefundWaitingUnavailableByAdmin(payload, param) {
66
70
  return this.amqpManager.call('관리자 환불 대기 이관 불가 처리', 'refund.waiting.process-unavailable-by-admin', payload, param, { isErrorThrowing: true });