@yolo-croket-dev/amqp-access 0.4.66 → 0.4.68
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.68",
|
|
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.1.0",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.7",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.1",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.1.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.1.24",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -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 { GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload } from '../dto';
|
|
6
|
+
import { GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload } from '../dto';
|
|
7
7
|
/** 기존 userService 와 이름이 겹쳐 userEntityService로 임시 사용 */
|
|
8
8
|
export declare class AmqpUserEntityService {
|
|
9
9
|
private readonly client;
|
|
@@ -14,6 +14,6 @@ export declare class AmqpUserEntityService {
|
|
|
14
14
|
getUserIdsByUsername(payload: GetUserIdsByUsernamePayload, param: AbstractParam): Promise<GetUserIdsByUsernameResult>;
|
|
15
15
|
getUserInfosForPartialRefund(payload: GetUserInfosForPartialRefundPayload, param: AbstractParam): Promise<GetUserInfosForPartialRefundResult>;
|
|
16
16
|
saveSystemAppPushAccept(payload: SaveSystemAppPushAcceptPayload, param: AbstractParam): Promise<void>;
|
|
17
|
-
issueSignupReward(param: AbstractParam): Promise<IssueSignupRewardResult>;
|
|
17
|
+
issueSignupReward(payload: IssueSignupRewardPayload, param: AbstractParam): Promise<IssueSignupRewardResult>;
|
|
18
18
|
patchGenderAndBirthday(payload: PatchGenderAndBirthdayPayload, param: AbstractParam): Promise<void>;
|
|
19
19
|
}
|
|
@@ -37,8 +37,8 @@ let AmqpUserEntityService = class AmqpUserEntityService {
|
|
|
37
37
|
async saveSystemAppPushAccept(payload, param) {
|
|
38
38
|
return this.amqpManager.call('유저 - 시스템 앱 푸시 수신 동의', 'user.put.system-app-push-accept', payload, param, { isErrorThrowing: true });
|
|
39
39
|
}
|
|
40
|
-
async issueSignupReward(param) {
|
|
41
|
-
return this.amqpManager.call('유저 - 조건에 맞는 유저 가입 리워드 발급', 'user.issue.signup-reward',
|
|
40
|
+
async issueSignupReward(payload, param) {
|
|
41
|
+
return this.amqpManager.call('유저 - 조건에 맞는 유저 가입 리워드 발급', 'user.issue.signup-reward', payload, param, { isErrorThrowing: true });
|
|
42
42
|
}
|
|
43
43
|
async patchGenderAndBirthday(payload, param) {
|
|
44
44
|
return this.amqpManager.call('유저 - 성별 및 생년월일 수정', 'user.patch.gender-and-birthday', payload, param, { isErrorThrowing: true });
|