@yolo-croket-dev/amqp-access 0.6.48 → 0.6.49
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 +2 -2
- 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/user-service/services/amqp.user-entity.service.d.ts +2 -1
- package/user-service/services/amqp.user-entity.service.js +3 -0
- package/.claude/settings.local.json +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.49",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.12",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.2.2",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.47",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.2.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "0.2.69",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -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);
|
|
@@ -3,7 +3,7 @@ import { AbstractParam } from '@yolo-croket-dev/core';
|
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { DecodePhoneNumbersPayload, PhoneDecodedData } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
5
|
import { SaveShippingAddressPayload } from '../dto/user/command/save-shipping-address.dto';
|
|
6
|
-
import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult } from '../dto';
|
|
6
|
+
import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload } from '../dto';
|
|
7
7
|
/** 기존 userService 와 이름이 겹쳐 userEntityService로 임시 사용 */
|
|
8
8
|
export declare class AmqpUserEntityService {
|
|
9
9
|
private readonly client;
|
|
@@ -18,4 +18,5 @@ export declare class AmqpUserEntityService {
|
|
|
18
18
|
patchGenderAndBirthday(payload: PatchGenderAndBirthdayPayload, param: AbstractParam): Promise<void>;
|
|
19
19
|
issueInflowSignupReward(param: AbstractParam): Promise<IssueInflowSignupRewardResult>;
|
|
20
20
|
getDuplicateUsersByPhoneNumber(payload: GetDuplicateUsersByPhoneNumberPayload, param: AbstractParam): Promise<GetDuplicateUsersByPhoneNumberResult>;
|
|
21
|
+
verificationPhoneForSnsUser(payload: VerificationPhoneForSnsUserPayload, param: AbstractParam): Promise<void>;
|
|
21
22
|
}
|
|
@@ -49,6 +49,9 @@ let AmqpUserEntityService = class AmqpUserEntityService {
|
|
|
49
49
|
async getDuplicateUsersByPhoneNumber(payload, param) {
|
|
50
50
|
return this.amqpManager.call('유저 - 휴대폰 번호로 중복 유저 조회', 'user.get.duplicate-users-by-phone-number', payload, param, { isErrorThrowing: true });
|
|
51
51
|
}
|
|
52
|
+
async verificationPhoneForSnsUser(payload, param) {
|
|
53
|
+
return this.amqpManager.call('유저 - SNS 유저 휴대폰 번호 인증', 'user.put.verification-phone-for-sns-user', payload, param, { isErrorThrowing: true });
|
|
54
|
+
}
|
|
52
55
|
};
|
|
53
56
|
exports.AmqpUserEntityService = AmqpUserEntityService;
|
|
54
57
|
exports.AmqpUserEntityService = AmqpUserEntityService = __decorate([
|