@yolo-croket-dev/amqp-access 0.7.282 → 0.7.284

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 (27) hide show
  1. package/package.json +1 -1
  2. package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
  3. package/user-service/amqp.user-service.module.js +4 -0
  4. package/user-service/dto/index.d.ts +2 -0
  5. package/user-service/dto/index.js +2 -0
  6. package/user-service/dto/inicis-certification/command/complete-inicis-certification.dto.d.ts +11 -0
  7. package/user-service/dto/inicis-certification/command/complete-inicis-certification.dto.js +44 -0
  8. package/user-service/dto/inicis-certification/command/index.d.ts +2 -0
  9. package/user-service/dto/inicis-certification/command/index.js +18 -0
  10. package/user-service/dto/inicis-certification/command/start-inicis-certification.dto.d.ts +4 -0
  11. package/user-service/dto/inicis-certification/command/start-inicis-certification.dto.js +6 -0
  12. package/user-service/dto/inicis-certification/index.d.ts +1 -0
  13. package/user-service/dto/inicis-certification/index.js +17 -0
  14. package/user-service/dto/portone-certification/command/complete-portone-certification.dto.d.ts +18 -0
  15. package/user-service/dto/portone-certification/command/complete-portone-certification.dto.js +39 -0
  16. package/user-service/dto/portone-certification/command/index.d.ts +2 -0
  17. package/user-service/dto/portone-certification/command/index.js +18 -0
  18. package/user-service/dto/portone-certification/command/start-portone-certification.dto.d.ts +8 -0
  19. package/user-service/dto/portone-certification/command/start-portone-certification.dto.js +11 -0
  20. package/user-service/dto/portone-certification/index.d.ts +1 -0
  21. package/user-service/dto/portone-certification/index.js +17 -0
  22. package/user-service/services/amqp.inicis-certification.service.d.ts +10 -0
  23. package/user-service/services/amqp.inicis-certification.service.js +36 -0
  24. package/user-service/services/amqp.portone-certification.service.d.ts +17 -0
  25. package/user-service/services/amqp.portone-certification.service.js +43 -0
  26. package/user-service/services/index.d.ts +2 -0
  27. package/user-service/services/index.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.282",
3
+ "version": "0.7.284",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,6 +1,6 @@
1
1
  import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
2
2
  import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
3
- declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -56,6 +56,8 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
56
56
  services_1.AmqpCartPushService,
57
57
  services_1.AmqpPCCCService,
58
58
  services_1.AmqpMessageTemplateService,
59
+ services_1.AmqpInicisCertificationService,
60
+ services_1.AmqpPortoneCertificationService,
59
61
  ],
60
62
  exports: [
61
63
  amqp_user_service_provider_1.UserServiceProvider,
@@ -97,6 +99,8 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
97
99
  services_1.AmqpCartPushService,
98
100
  services_1.AmqpPCCCService,
99
101
  services_1.AmqpMessageTemplateService,
102
+ services_1.AmqpInicisCertificationService,
103
+ services_1.AmqpPortoneCertificationService,
100
104
  ],
101
105
  })
102
106
  ], AmqpUserServiceModule);
@@ -17,3 +17,5 @@ export * from './store.modules';
17
17
  export * from './daily-random-coupon-noti-user';
18
18
  export * from './store-commission-history';
19
19
  export * from './chat.modules';
20
+ export * from './inicis-certification';
21
+ export * from './portone-certification';
@@ -33,3 +33,5 @@ __exportStar(require("./store.modules"), exports);
33
33
  __exportStar(require("./daily-random-coupon-noti-user"), exports);
34
34
  __exportStar(require("./store-commission-history"), exports);
35
35
  __exportStar(require("./chat.modules"), exports);
36
+ __exportStar(require("./inicis-certification"), exports);
37
+ __exportStar(require("./portone-certification"), exports);
@@ -0,0 +1,11 @@
1
+ export declare class CompleteInicisCertificationPayload {
2
+ resultCode: string;
3
+ resultMsg?: string;
4
+ authRequestUrl?: string;
5
+ txId?: string;
6
+ token?: string;
7
+ }
8
+ export declare class CompleteInicisCertificationResult {
9
+ ciReceived: boolean;
10
+ verifiedAt: Date;
11
+ }
@@ -0,0 +1,44 @@
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.CompleteInicisCertificationResult = exports.CompleteInicisCertificationPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class CompleteInicisCertificationPayload {
15
+ }
16
+ exports.CompleteInicisCertificationPayload = CompleteInicisCertificationPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CompleteInicisCertificationPayload.prototype, "resultCode", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], CompleteInicisCertificationPayload.prototype, "resultMsg", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], CompleteInicisCertificationPayload.prototype, "authRequestUrl", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
36
+ ], CompleteInicisCertificationPayload.prototype, "txId", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", String)
41
+ ], CompleteInicisCertificationPayload.prototype, "token", void 0);
42
+ class CompleteInicisCertificationResult {
43
+ }
44
+ exports.CompleteInicisCertificationResult = CompleteInicisCertificationResult;
@@ -0,0 +1,2 @@
1
+ export * from './start-inicis-certification.dto';
2
+ export * from './complete-inicis-certification.dto';
@@ -0,0 +1,18 @@
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("./start-inicis-certification.dto"), exports);
18
+ __exportStar(require("./complete-inicis-certification.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export declare class StartInicisCertificationResult {
2
+ actionUrl: string;
3
+ fields: Record<string, string>;
4
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartInicisCertificationResult = void 0;
4
+ class StartInicisCertificationResult {
5
+ }
6
+ exports.StartInicisCertificationResult = StartInicisCertificationResult;
@@ -0,0 +1 @@
1
+ export * from './command';
@@ -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("./command"), exports);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @author 홍준
3
+ * @description 포트원 V1 본인확인 완료 검증 요청값
4
+ * @process 클라이언트가 전달한 식별자는 포트원 REST API 응답과 서버 세션 양쪽으로 검증한다.
5
+ */
6
+ export declare class CompletePortoneCertificationPayload {
7
+ impUid: string;
8
+ merchantUid: string;
9
+ }
10
+ /**
11
+ * @author 홍준
12
+ * @description 포트원 본인확인 완료 결과
13
+ * @process CI 원문과 HMAC은 외부 응답으로 반환하지 않는다.
14
+ */
15
+ export declare class CompletePortoneCertificationResult {
16
+ ciReceived: boolean;
17
+ verifiedAt: Date;
18
+ }
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CompletePortoneCertificationResult = exports.CompletePortoneCertificationPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author 홍준
16
+ * @description 포트원 V1 본인확인 완료 검증 요청값
17
+ * @process 클라이언트가 전달한 식별자는 포트원 REST API 응답과 서버 세션 양쪽으로 검증한다.
18
+ */
19
+ class CompletePortoneCertificationPayload {
20
+ }
21
+ exports.CompletePortoneCertificationPayload = CompletePortoneCertificationPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], CompletePortoneCertificationPayload.prototype, "impUid", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], CompletePortoneCertificationPayload.prototype, "merchantUid", void 0);
32
+ /**
33
+ * @author 홍준
34
+ * @description 포트원 본인확인 완료 결과
35
+ * @process CI 원문과 HMAC은 외부 응답으로 반환하지 않는다.
36
+ */
37
+ class CompletePortoneCertificationResult {
38
+ }
39
+ exports.CompletePortoneCertificationResult = CompletePortoneCertificationResult;
@@ -0,0 +1,2 @@
1
+ export * from './start-portone-certification.dto';
2
+ export * from './complete-portone-certification.dto';
@@ -0,0 +1,18 @@
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("./start-portone-certification.dto"), exports);
18
+ __exportStar(require("./complete-portone-certification.dto"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @author 홍준
3
+ * @description 포트원 본인확인 요청에 사용할 단발성 상점 주문번호
4
+ * @process 브라우저는 이 값으로만 포트원 인증창을 열고 CI는 전달받지 않는다.
5
+ */
6
+ export declare class StartPortoneCertificationResult {
7
+ merchantUid: string;
8
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartPortoneCertificationResult = void 0;
4
+ /**
5
+ * @author 홍준
6
+ * @description 포트원 본인확인 요청에 사용할 단발성 상점 주문번호
7
+ * @process 브라우저는 이 값으로만 포트원 인증창을 열고 CI는 전달받지 않는다.
8
+ */
9
+ class StartPortoneCertificationResult {
10
+ }
11
+ exports.StartPortoneCertificationResult = StartPortoneCertificationResult;
@@ -0,0 +1 @@
1
+ export * from './command';
@@ -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("./command"), exports);
@@ -0,0 +1,10 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { CompleteInicisCertificationPayload, CompleteInicisCertificationResult, StartInicisCertificationResult } from '../dto/inicis-certification';
4
+ export declare class AmqpInicisCertificationService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ start(param: AbstractParam): Promise<StartInicisCertificationResult>;
9
+ complete(payload: CompleteInicisCertificationPayload, param: AbstractParam): Promise<CompleteInicisCertificationResult>;
10
+ }
@@ -0,0 +1,36 @@
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.AmqpInicisCertificationService = 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
+ let AmqpInicisCertificationService = class AmqpInicisCertificationService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async start(param) {
25
+ return this.amqpManager.call('이니시스 본인확인 시작', 'inicis-certification.start', undefined, param, { isErrorThrowing: true });
26
+ }
27
+ async complete(payload, param) {
28
+ return this.amqpManager.call('이니시스 본인확인 완료', 'inicis-certification.complete', payload, param, { isErrorThrowing: true });
29
+ }
30
+ };
31
+ exports.AmqpInicisCertificationService = AmqpInicisCertificationService;
32
+ exports.AmqpInicisCertificationService = AmqpInicisCertificationService = __decorate([
33
+ (0, common_1.Injectable)(),
34
+ __param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
35
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
36
+ ], AmqpInicisCertificationService);
@@ -0,0 +1,17 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { CompletePortoneCertificationPayload, CompletePortoneCertificationResult, StartPortoneCertificationResult } from '../dto/portone-certification';
4
+ /**
5
+ * @author 홍준
6
+ * @description 포트원 본인확인 user-service AMQP client
7
+ * @process Gateway는 HTTP 인증과 변환만 수행하고 CI 검증은 user-service에 위임한다.
8
+ */
9
+ export declare class AmqpPortoneCertificationService {
10
+ private readonly client;
11
+ private readonly amqpManager;
12
+ constructor(client: ClientProxy);
13
+ /** @author 홍준 @description 인증 요청용 merchant UID 생성 @process 단발성 세션을 만든다. */
14
+ start(param: AbstractParam): Promise<StartPortoneCertificationResult>;
15
+ /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI HMAC만 보관한다. */
16
+ complete(payload: CompletePortoneCertificationPayload, param: AbstractParam): Promise<CompletePortoneCertificationResult>;
17
+ }
@@ -0,0 +1,43 @@
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.AmqpPortoneCertificationService = 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 홍준
21
+ * @description 포트원 본인확인 user-service AMQP client
22
+ * @process Gateway는 HTTP 인증과 변환만 수행하고 CI 검증은 user-service에 위임한다.
23
+ */
24
+ let AmqpPortoneCertificationService = class AmqpPortoneCertificationService {
25
+ constructor(client) {
26
+ this.client = client;
27
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
28
+ }
29
+ /** @author 홍준 @description 인증 요청용 merchant UID 생성 @process 단발성 세션을 만든다. */
30
+ async start(param) {
31
+ return this.amqpManager.call('포트원 본인확인 시작', 'portone-certification.start', undefined, param, { isErrorThrowing: true });
32
+ }
33
+ /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI HMAC만 보관한다. */
34
+ async complete(payload, param) {
35
+ return this.amqpManager.call('포트원 본인확인 완료', 'portone-certification.complete', payload, param, { isErrorThrowing: true });
36
+ }
37
+ };
38
+ exports.AmqpPortoneCertificationService = AmqpPortoneCertificationService;
39
+ exports.AmqpPortoneCertificationService = AmqpPortoneCertificationService = __decorate([
40
+ (0, common_1.Injectable)(),
41
+ __param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
42
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
43
+ ], AmqpPortoneCertificationService);
@@ -29,3 +29,5 @@ export * from './user.modules';
29
29
  export * from './amqp.store-commission-history.service';
30
30
  export * from './amqp.cart-push.service';
31
31
  export * from './amqp.p-c-c-c.service';
32
+ export * from './amqp.inicis-certification.service';
33
+ export * from './amqp.portone-certification.service';
@@ -45,3 +45,5 @@ __exportStar(require("./user.modules"), exports);
45
45
  __exportStar(require("./amqp.store-commission-history.service"), exports);
46
46
  __exportStar(require("./amqp.cart-push.service"), exports);
47
47
  __exportStar(require("./amqp.p-c-c-c.service"), exports);
48
+ __exportStar(require("./amqp.inicis-certification.service"), exports);
49
+ __exportStar(require("./amqp.portone-certification.service"), exports);