@yolo-croket-dev/amqp-access 0.7.54-jun.16 → 0.7.54-jun.17

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.
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetNicepayBillingAuthFormPayload, GetNicepayBillingAuthFormResult, IssueBillingKeyPayload, IssueBillingKeyResult, RegisterBillingCardPayload, RegisterBillingCardResult } from '../dto/nicepay';
3
+ import { GetNicepayBillingAuthFormPayload, GetNicepayBillingAuthFormResult, IssueBillingKeyPayload, IssueBillingKeyResult, RegisterBillingCardPayload, RegisterBillingCardResult, GetCardInterestFreeResult } from '../dto/nicepay';
4
4
  /**
5
5
  * @author jun
6
6
  * @description NicePay 관련 AMQP 서비스
@@ -16,4 +16,6 @@ export declare class AmqpNicepayService {
16
16
  issueBillingKey(payload: IssueBillingKeyPayload, param: AbstractParam): Promise<IssueBillingKeyResult>;
17
17
  /** NicePay 빌링키 발급 + 유저 카드 정보 등록 */
18
18
  registerBillingCard(payload: RegisterBillingCardPayload, param: AbstractParam): Promise<RegisterBillingCardResult>;
19
+ /** NicePay 카드 무이자 할부 정보 조회 */
20
+ getCardInterestFree(param: AbstractParam): Promise<GetCardInterestFreeResult>;
19
21
  }
@@ -38,6 +38,10 @@ let AmqpNicepayService = class AmqpNicepayService {
38
38
  async registerBillingCard(payload, param) {
39
39
  return this.amqpManager.call('NicePay 빌링키 발급 + 유저 카드 등록', 'nicepay.register.billing-card', payload, param, { isErrorThrowing: true });
40
40
  }
41
+ /** NicePay 카드 무이자 할부 정보 조회 */
42
+ async getCardInterestFree(param) {
43
+ return this.amqpManager.call('NicePay 카드 무이자 할부 정보 조회', 'nicepay.get.card-interest-free', {}, param, { isErrorThrowing: true });
44
+ }
41
45
  };
42
46
  exports.AmqpNicepayService = AmqpNicepayService;
43
47
  exports.AmqpNicepayService = AmqpNicepayService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.54-jun.16",
3
+ "version": "0.7.54-jun.17",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",