@yolo-croket-dev/amqp-access 0.4.104-jun.2 → 0.4.104-jun.3
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/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.d.ts +2 -2
- package/payment-service/dto/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.js +10 -10
- package/payment-service/services/refund.modules/amqp.refund-sabang.service.d.ts +3 -2
- package/payment-service/services/refund.modules/amqp.refund-sabang.service.js +2 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RefundPInfoForSabang } from '@yolo-croket-dev/domain/refund/interface/refund-purchased-info-for-sabang.domain';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class GetRefundPInfosForSabangPayload {
|
|
3
3
|
refundRequestSDate: string;
|
|
4
4
|
refundRequestEDate: string;
|
|
5
5
|
refundProcess?: 'ing' | 'done';
|
|
6
6
|
limit: number;
|
|
7
7
|
page: number;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class GetRefundPInfosForSabangResult {
|
|
10
10
|
pInfos: RefundPInfoForSabang[];
|
|
11
11
|
maxPage?: number;
|
|
12
12
|
currentPage: number;
|
package/payment-service/dto/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.js
CHANGED
|
@@ -9,32 +9,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GetRefundPInfosForSabangResult = exports.GetRefundPInfosForSabangPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetRefundPInfosForSabangPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetRefundPInfosForSabangPayload = GetRefundPInfosForSabangPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
20
|
+
], GetRefundPInfosForSabangPayload.prototype, "refundRequestSDate", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsDateString)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
24
|
+
], GetRefundPInfosForSabangPayload.prototype, "refundRequestEDate", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_validator_1.IsString)(),
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
29
|
+
], GetRefundPInfosForSabangPayload.prototype, "refundProcess", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsNumber)(),
|
|
32
32
|
__metadata("design:type", Number)
|
|
33
|
-
],
|
|
33
|
+
], GetRefundPInfosForSabangPayload.prototype, "limit", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, class_validator_1.IsNumber)(),
|
|
36
36
|
__metadata("design:type", Number)
|
|
37
|
-
],
|
|
38
|
-
class
|
|
37
|
+
], GetRefundPInfosForSabangPayload.prototype, "page", void 0);
|
|
38
|
+
class GetRefundPInfosForSabangResult {
|
|
39
39
|
}
|
|
40
|
-
exports.
|
|
40
|
+
exports.GetRefundPInfosForSabangResult = GetRefundPInfosForSabangResult;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { GetRefundPInfosForSabangPayload, GetRefundPInfosForSabangResult } from '../../dto/refund.modules/refund-sabang';
|
|
4
4
|
export declare class AmqpRefundSabangService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
/**
|
|
9
|
+
* @description 사방넷 환불 결제 리스트 조회
|
|
9
10
|
* @pattern refund-sabang.get.refund-p-infos
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
getRefundPInfosForSabang(payload: GetRefundPInfosForSabangPayload, param: AbstractParam): Promise<GetRefundPInfosForSabangResult>;
|
|
12
13
|
}
|
|
@@ -22,9 +22,10 @@ let AmqpRefundSabangService = class AmqpRefundSabangService {
|
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
+
* @description 사방넷 환불 결제 리스트 조회
|
|
25
26
|
* @pattern refund-sabang.get.refund-p-infos
|
|
26
27
|
*/
|
|
27
|
-
async
|
|
28
|
+
async getRefundPInfosForSabang(payload, param) {
|
|
28
29
|
return this.amqpManager.call('사방넷 환불 결제 리스트 조회', 'refund-sabang.get.refund-p-infos', payload, param, { isErrorThrowing: true });
|
|
29
30
|
}
|
|
30
31
|
};
|