@yolo-croket-dev/amqp-access 0.4.92 → 0.4.93
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/services/amqp.user-entity.service.d.ts +1 -0
- package/user-service/services/amqp.user-entity.service.js +3 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +0 -3
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +0 -7
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +0 -4
- package/user-service/dto/redis-db/command/push-redis-db.dto.js +0 -26
package/package.json
CHANGED
|
@@ -16,4 +16,5 @@ export declare class AmqpUserEntityService {
|
|
|
16
16
|
saveSystemAppPushAccept(payload: SaveSystemAppPushAcceptPayload, param: AbstractParam): Promise<void>;
|
|
17
17
|
issueSignupReward(payload: IssueSignupRewardPayload, param: AbstractParam): Promise<IssueSignupRewardResult>;
|
|
18
18
|
patchGenderAndBirthday(payload: PatchGenderAndBirthdayPayload, param: AbstractParam): Promise<void>;
|
|
19
|
+
issueInflowSignupReward(param: AbstractParam): Promise<void>;
|
|
19
20
|
}
|
|
@@ -43,6 +43,9 @@ let AmqpUserEntityService = class AmqpUserEntityService {
|
|
|
43
43
|
async patchGenderAndBirthday(payload, param) {
|
|
44
44
|
return this.amqpManager.call('유저 - 성별 및 생년월일 수정', 'user.patch.gender-and-birthday', payload, param, { isErrorThrowing: true });
|
|
45
45
|
}
|
|
46
|
+
async issueInflowSignupReward(param) {
|
|
47
|
+
return this.amqpManager.call('유저 - 유입 가입 리워드 발급', 'user.issue.inflow-signup-reward', undefined, param, { isErrorThrowing: true });
|
|
48
|
+
}
|
|
46
49
|
};
|
|
47
50
|
exports.AmqpUserEntityService = AmqpUserEntityService;
|
|
48
51
|
exports.AmqpUserEntityService = AmqpUserEntityService = __decorate([
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PullRedisDBPayload = void 0;
|
|
4
|
-
const push_redis_db_dto_1 = require("./push-redis-db.dto");
|
|
5
|
-
class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
|
|
6
|
-
}
|
|
7
|
-
exports.PullRedisDBPayload = PullRedisDBPayload;
|
|
@@ -1,26 +0,0 @@
|
|
|
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.PushRedisDBPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class PushRedisDBPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.PushRedisDBPayload = PushRedisDBPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.MinLength)(1),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], PushRedisDBPayload.prototype, "redisDBKey", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.MinLength)(1),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PushRedisDBPayload.prototype, "value", void 0);
|