@yolo-croket-dev/amqp-access 0.7.281 → 0.7.283

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.
@@ -82,6 +82,8 @@ export declare class RefundWaitingPurchasedInfoForAdmin {
82
82
  buyerUsername?: string;
83
83
  /** 실제 상품명. itemId와 함께 관리자 화면의 상품 상세 랜딩 링크에 사용한다. */
84
84
  itemName?: string;
85
+ /** 결제 당시 선택한 옵션값 목록. pOptionInfo가 없으면 레거시 option에서 추출한다. */
86
+ optionValues?: string[];
85
87
  /** 결제 당시 확정된 상품 단가. 할인·배송비를 포함한 paidPrice와는 구분한다. */
86
88
  itemPrice?: number;
87
89
  /** 결제 당시 확정된 배송비 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.281",
3
+ "version": "0.7.283",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -56,6 +56,7 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
56
56
  services_1.AmqpCartPushService,
57
57
  services_1.AmqpPCCCService,
58
58
  services_1.AmqpMessageTemplateService,
59
+ services_1.AmqpInicisCertificationService,
59
60
  ],
60
61
  exports: [
61
62
  amqp_user_service_provider_1.UserServiceProvider,
@@ -97,6 +98,7 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
97
98
  services_1.AmqpCartPushService,
98
99
  services_1.AmqpPCCCService,
99
100
  services_1.AmqpMessageTemplateService,
101
+ services_1.AmqpInicisCertificationService,
100
102
  ],
101
103
  })
102
104
  ], AmqpUserServiceModule);
@@ -17,3 +17,4 @@ 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';
@@ -33,3 +33,4 @@ __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);
@@ -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,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);
@@ -29,3 +29,4 @@ 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';
@@ -45,3 +45,4 @@ __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);