@yolo-croket-dev/amqp-access 0.7.47-jun.10 → 0.7.47-jun.11

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.
@@ -36,6 +36,7 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
36
36
  services_1.AmqpPurchasedInfoCouponService,
37
37
  services_1.AmqpNaverSearchAdExcelService,
38
38
  services_1.AmqpNaverSearchAdService,
39
+ services_1.AmqpNicepayService,
39
40
  ],
40
41
  exports: [
41
42
  amqp_order_server_provider_1.OrderServerProvider,
@@ -57,6 +58,7 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
57
58
  services_1.AmqpPurchasedInfoCouponService,
58
59
  services_1.AmqpNaverSearchAdExcelService,
59
60
  services_1.AmqpNaverSearchAdService,
61
+ services_1.AmqpNicepayService,
60
62
  ],
61
63
  })
62
64
  ], AmqpOrderServerModule);
@@ -5,3 +5,4 @@ export * from './data-payment-method';
5
5
  export * from './direct-payment-tosspayments';
6
6
  export * from './changed-purchased-option-log';
7
7
  export * from './purchase-receipt';
8
+ export * from './nicepay';
@@ -21,3 +21,4 @@ __exportStar(require("./data-payment-method"), exports);
21
21
  __exportStar(require("./direct-payment-tosspayments"), exports);
22
22
  __exportStar(require("./changed-purchased-option-log"), exports);
23
23
  __exportStar(require("./purchase-receipt"), exports);
24
+ __exportStar(require("./nicepay"), exports);
@@ -0,0 +1 @@
1
+ export * from './query';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @description NicePay 빌키 발급 인증창 form 데이터 Payload는 빈 객체
3
+ */
4
+ export declare class GetNicepayBillingAuthFormPayload {
5
+ }
6
+ /**
7
+ * @description NicePay 빌키 발급 인증창 form 파라미터 Result
8
+ */
9
+ export declare class GetNicepayBillingAuthFormResult {
10
+ GoodsName: string;
11
+ Amt: string;
12
+ MID: string;
13
+ EdiDate: string;
14
+ Moid: string;
15
+ PayMethod: string;
16
+ BillAuthYN: string;
17
+ SignData: string;
18
+ BuyerEmail?: string;
19
+ BuyerTel?: string;
20
+ BuyerName?: string;
21
+ CharSet?: string;
22
+ ReqReserved?: string;
23
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetNicepayBillingAuthFormResult = exports.GetNicepayBillingAuthFormPayload = void 0;
4
+ /**
5
+ * @description NicePay 빌키 발급 인증창 form 데이터 Payload는 빈 객체
6
+ */
7
+ class GetNicepayBillingAuthFormPayload {
8
+ }
9
+ exports.GetNicepayBillingAuthFormPayload = GetNicepayBillingAuthFormPayload;
10
+ /**
11
+ * @description NicePay 빌키 발급 인증창 form 파라미터 Result
12
+ */
13
+ class GetNicepayBillingAuthFormResult {
14
+ }
15
+ exports.GetNicepayBillingAuthFormResult = GetNicepayBillingAuthFormResult;
@@ -0,0 +1 @@
1
+ export * from './get-nicepay-billing-auth-form.dto';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-nicepay-billing-auth-form.dto"), exports);
@@ -0,0 +1,15 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { GetNicepayBillingAuthFormPayload, GetNicepayBillingAuthFormResult } from '../dto/nicepay';
4
+ /**
5
+ * @author jun
6
+ * @description NicePay 관련 AMQP 서비스
7
+ * @process order-server의 nicepay 컨트롤러와 RabbitMQ를 통해 통신
8
+ */
9
+ export declare class AmqpNicepayService {
10
+ private readonly client;
11
+ private readonly amqpManager;
12
+ constructor(client: ClientProxy);
13
+ /** NicePay 빌키 발급 인증창 form 데이터 조회 */
14
+ getNicepayBillingAuthForm(payload: GetNicepayBillingAuthFormPayload, param: AbstractParam): Promise<GetNicepayBillingAuthFormResult>;
15
+ }
@@ -0,0 +1,39 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AmqpNicepayService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const microservices_1 = require("@nestjs/microservices");
18
+ const functions_1 = require("@yolo-croket-dev/core/functions");
19
+ /**
20
+ * @author jun
21
+ * @description NicePay 관련 AMQP 서비스
22
+ * @process order-server의 nicepay 컨트롤러와 RabbitMQ를 통해 통신
23
+ */
24
+ let AmqpNicepayService = class AmqpNicepayService {
25
+ constructor(client) {
26
+ this.client = client;
27
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
28
+ }
29
+ /** NicePay 빌키 발급 인증창 form 데이터 조회 */
30
+ async getNicepayBillingAuthForm(payload, param) {
31
+ return this.amqpManager.call('NicePay 빌키 발급 인증창 form 데이터 조회', 'nicepay.get.billing-auth-form', payload, param, { isErrorThrowing: true });
32
+ }
33
+ };
34
+ exports.AmqpNicepayService = AmqpNicepayService;
35
+ exports.AmqpNicepayService = AmqpNicepayService = __decorate([
36
+ (0, common_1.Injectable)(),
37
+ __param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
38
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
39
+ ], AmqpNicepayService);
@@ -11,3 +11,4 @@ export * from './purchased-info.modules';
11
11
  export * from './amqp-changed-purchased-option-log.service';
12
12
  export * from './amqp.purchase-receipt-sabang.service';
13
13
  export * from './naver-search-ad.modules';
14
+ export * from './amqp.nicepay.service';
@@ -27,3 +27,4 @@ __exportStar(require("./purchased-info.modules"), exports);
27
27
  __exportStar(require("./amqp-changed-purchased-option-log.service"), exports);
28
28
  __exportStar(require("./amqp.purchase-receipt-sabang.service"), exports);
29
29
  __exportStar(require("./naver-search-ad.modules"), exports);
30
+ __exportStar(require("./amqp.nicepay.service"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.47-jun.10",
3
+ "version": "0.7.47-jun.11",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",