@yolo-croket-dev/amqp-access 0.0.126 → 0.0.128
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/order-server/services/amqp-data-payment-method.service.d.ts +2 -2
- package/order-server/services/amqp-data-payment-method.service.js +2 -2
- package/package.json +2 -2
- package/payment-service/dto/partial-refund/command/create-partial-refund.dto.d.ts +1 -2
- package/payment-service/dto/partial-refund/command/create-partial-refund.dto.js +0 -5
|
@@ -5,6 +5,6 @@ export declare class AmqpDataPaymentMethodService {
|
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
getPaymentFeePercent(payload: GetPaymentFeePercentPayload, param: AbstractParam): Promise<GetPaymentFeePercentResult>;
|
|
9
|
+
getAllPaymentFeePercent(payload: void, param: AbstractParam): Promise<GetAllPaymentFeePercentResult>;
|
|
10
10
|
}
|
|
@@ -22,11 +22,11 @@ let AmqpDataPaymentMethodService = class AmqpDataPaymentMethodService {
|
|
|
22
22
|
this.client = client;
|
|
23
23
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
24
24
|
}
|
|
25
|
-
async
|
|
25
|
+
async getPaymentFeePercent(payload, param) {
|
|
26
26
|
// eslint-disable-next-line max-len
|
|
27
27
|
return this.amqpManager.call('조건에 맞는 결제수단 수수료 조회', 'data-payment-method.get.paymene-fee-percent', payload, param, { isErrorThrowing: true });
|
|
28
28
|
}
|
|
29
|
-
async
|
|
29
|
+
async getAllPaymentFeePercent(payload, param) {
|
|
30
30
|
// eslint-disable-next-line max-len
|
|
31
31
|
return this.amqpManager.call('전체 결제수단 수수료 조회', 'data-payment-method.get.all-paymene-fee-percent', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.128",
|
|
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/core": "^1.4.52",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.0.156",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.128",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.0.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.0.50",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PartialRefundReasonTypeEnum, PartialRefundTypeEnum
|
|
1
|
+
import { PartialRefundReasonTypeEnum, PartialRefundTypeEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
2
|
export declare class RefundOption {
|
|
3
3
|
optionName: string;
|
|
4
4
|
refundNums: number;
|
|
@@ -16,7 +16,6 @@ export declare class CreatePartialRefundPayload {
|
|
|
16
16
|
refundPrice?: number;
|
|
17
17
|
returnFee?: number;
|
|
18
18
|
negotiated: boolean;
|
|
19
|
-
returnFeeBearer?: ReturnFeeBearerEnum;
|
|
20
19
|
}
|
|
21
20
|
export declare enum CreatePartialRefundErrorTypeEnum {
|
|
22
21
|
/** @description 이미 부분환불 진행중 */
|
|
@@ -77,11 +77,6 @@ __decorate([
|
|
|
77
77
|
(0, class_validator_1.IsBoolean)(),
|
|
78
78
|
__metadata("design:type", Boolean)
|
|
79
79
|
], CreatePartialRefundPayload.prototype, "negotiated", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_validator_1.IsEnum)(entity_v2_1.ReturnFeeBearerEnum),
|
|
82
|
-
(0, class_validator_1.IsOptional)(),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], CreatePartialRefundPayload.prototype, "returnFeeBearer", void 0);
|
|
85
80
|
var CreatePartialRefundErrorTypeEnum;
|
|
86
81
|
(function (CreatePartialRefundErrorTypeEnum) {
|
|
87
82
|
/** @description 이미 부분환불 진행중 */
|