@yolo-croket-dev/amqp-access 0.5.181-beta.37 → 0.5.181-beta.38
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/user-service/amqp.user-service.service.d.ts +2 -1
- package/user-service/amqp.user-service.service.js +3 -0
- package/user-service/dto/user/command/index.d.ts +1 -0
- package/user-service/dto/user/command/index.js +1 -0
- package/user-service/dto/user/command/verification-phone-for-sns-user.dto.d.ts +3 -0
- package/user-service/dto/user/command/verification-phone-for-sns-user.dto.js +20 -0
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { GetUsernameByIdPayload, GetUsersForAppPushPayload, GetUsersForAppPushRe
|
|
|
6
6
|
import { Membership } from '@yolo-croket-dev/entity';
|
|
7
7
|
import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberResultDto } from '@yolo-croket-dev/dto/user-service';
|
|
8
8
|
import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
|
|
9
|
-
import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult } from './dto/user';
|
|
9
|
+
import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult, VerificationPhoneForSnsUserPayload } from './dto/user';
|
|
10
10
|
export declare class AmqpUserService {
|
|
11
11
|
private readonly client;
|
|
12
12
|
private readonly amqpManager;
|
|
@@ -29,4 +29,5 @@ export declare class AmqpUserService {
|
|
|
29
29
|
getUserInfoById(payload: GetUserInfoByIdPayload, param: AbstractParam): Promise<GetUserInfoByIdResult>;
|
|
30
30
|
getUsers(payload: GetUsersPayload, param: AbstractParam): Promise<GetUsersResult[]>;
|
|
31
31
|
getSellerEmail(payload: GetSellerEmailPayload, param: AbstractParam): Promise<GetSellerEmailResult>;
|
|
32
|
+
verificationPhoneForSnsUser(payload: VerificationPhoneForSnsUserPayload, param: AbstractParam): Promise<void>;
|
|
32
33
|
}
|
|
@@ -75,6 +75,9 @@ let AmqpUserService = class AmqpUserService {
|
|
|
75
75
|
async getSellerEmail(payload, param) {
|
|
76
76
|
return this.amqpManager.call('셀러 이메일 조회', 'user.get.seller-email', payload, param, { isErrorThrowing: true });
|
|
77
77
|
}
|
|
78
|
+
async verificationPhoneForSnsUser(payload, param) {
|
|
79
|
+
return this.amqpManager.call('유저 - SNS 유저 휴대폰 번호 인증', 'user.put.verification-phone-for-sns-user', payload, param, { isErrorThrowing: true });
|
|
80
|
+
}
|
|
78
81
|
};
|
|
79
82
|
exports.AmqpUserService = AmqpUserService;
|
|
80
83
|
exports.AmqpUserService = AmqpUserService = __decorate([
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./save-system-app-push-accept.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./issue-signup-reward.dto"), exports);
|
|
20
20
|
__exportStar(require("./patch-gender-and-birthday.dto"), exports);
|
|
21
21
|
__exportStar(require("./issue-inflow-signup-reward.dto"), exports);
|
|
22
|
+
__exportStar(require("./verification-phone-for-sns-user.dto"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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.VerificationPhoneForSnsUserPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class VerificationPhoneForSnsUserPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.VerificationPhoneForSnsUserPayload = VerificationPhoneForSnsUserPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], VerificationPhoneForSnsUserPayload.prototype, "phoneNumber", void 0);
|