@yolo-croket-dev/amqp-access 0.7.282 → 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.
- package/package.json +1 -1
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/user-service/amqp.user-service.module.js +2 -0
- package/user-service/dto/index.d.ts +1 -0
- package/user-service/dto/index.js +1 -0
- package/user-service/dto/inicis-certification/command/complete-inicis-certification.dto.d.ts +11 -0
- package/user-service/dto/inicis-certification/command/complete-inicis-certification.dto.js +44 -0
- package/user-service/dto/inicis-certification/command/index.d.ts +2 -0
- package/user-service/dto/inicis-certification/command/index.js +18 -0
- package/user-service/dto/inicis-certification/command/start-inicis-certification.dto.d.ts +4 -0
- package/user-service/dto/inicis-certification/command/start-inicis-certification.dto.js +6 -0
- package/user-service/dto/inicis-certification/index.d.ts +1 -0
- package/user-service/dto/inicis-certification/index.js +17 -0
- package/user-service/services/amqp.inicis-certification.service.d.ts +10 -0
- package/user-service/services/amqp.inicis-certification.service.js +36 -0
- package/user-service/services/index.d.ts +1 -0
- package/user-service/services/index.js +1 -0
package/package.json
CHANGED
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -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
|
|
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,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);
|
|
@@ -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,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 @@
|
|
|
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);
|
|
@@ -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);
|