@yolo-croket-dev/amqp-access 0.4.34-slowquery.2 → 0.4.35
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/notification-service/dto/notification/command/send-template-notification.dto.d.ts +0 -2
- package/notification-service/dto/notification/command/send-template-notification.dto.js +0 -7
- package/notification-service/services/amqp.send-notification.service.d.ts +1 -2
- package/notification-service/services/amqp.send-notification.service.js +0 -3
- package/package.json +1 -1
- package/store-item-server/dto/store-item-price-fluctuation/query/get-store-item-prices-bulk.dto.d.ts +0 -1
- package/user-service/dto/store/query/get-store-id-by-seller-id.dto.d.ts +6 -0
- package/user-service/dto/{redis-db/command/push-redis-db.dto.js → store/query/get-store-id-by-seller-id.dto.js} +8 -11
- package/user-service/dto/store/query/index.d.ts +1 -0
- package/user-service/dto/store/query/index.js +1 -0
- package/user-service/services/amqp.store.service.d.ts +2 -1
- package/user-service/services/amqp.store.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
|
@@ -58,10 +58,3 @@ __decorate([
|
|
|
58
58
|
,
|
|
59
59
|
__metadata("design:type", Boolean)
|
|
60
60
|
], SendTemplateNotificationPayload.prototype, "isNotAcitivtySave", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsOptional)(),
|
|
63
|
-
(0, class_validator_1.IsBoolean)()
|
|
64
|
-
/** 활동내역만 저장하고, 이후 프로세스 하지 않기 */
|
|
65
|
-
,
|
|
66
|
-
__metadata("design:type", Boolean)
|
|
67
|
-
], SendTemplateNotificationPayload.prototype, "isOnlyActivitySave", void 0);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { SendTemplateNotificationPayload
|
|
3
|
+
import { SendTemplateNotificationPayload } from '../dto/notification';
|
|
4
4
|
export declare class AmqpSendNotificationService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
sendTemplateNotification(payload: SendTemplateNotificationPayload, param: AbstractParam): Promise<boolean>;
|
|
9
|
-
sendTemplateNotificationBulk(payload: SendTemplateNotificationBulkPayload, param: AbstractParam): Promise<SendTemplateNotificationBulkResult>;
|
|
10
9
|
}
|
|
@@ -24,9 +24,6 @@ let AmqpSendNotificationService = class AmqpSendNotificationService {
|
|
|
24
24
|
async sendTemplateNotification(payload, param) {
|
|
25
25
|
return this.amqpManager.call('알림 보내기', 'notification.template.send', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
|
-
async sendTemplateNotificationBulk(payload, param) {
|
|
28
|
-
return this.amqpManager.call('알림 보내기 Bulk', 'notification.template.bulk-send', payload, param, { isErrorThrowing: true });
|
|
29
|
-
}
|
|
30
27
|
};
|
|
31
28
|
exports.AmqpSendNotificationService = AmqpSendNotificationService;
|
|
32
29
|
exports.AmqpSendNotificationService = AmqpSendNotificationService = __decorate([
|
package/package.json
CHANGED
|
@@ -9,18 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GetStoreIdBySellerIdResult = exports.GetStoreIdBySellerIdPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetStoreIdBySellerIdPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetStoreIdBySellerIdPayload = GetStoreIdBySellerIdPayload;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
19
|
-
(0, class_validator_1.MinLength)(1),
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PushRedisDBPayload.prototype, "value", void 0);
|
|
20
|
+
], GetStoreIdBySellerIdPayload.prototype, "sellerId", void 0);
|
|
21
|
+
class GetStoreIdBySellerIdResult {
|
|
22
|
+
}
|
|
23
|
+
exports.GetStoreIdBySellerIdResult = GetStoreIdBySellerIdResult;
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./get-store-titles-by-store-ids.dto"), exports);
|
|
|
23
23
|
__exportStar(require("./check-show-ad-center-inflow.dto"), exports);
|
|
24
24
|
__exportStar(require("./get-store-titles-by-seller-ids.dto"), exports);
|
|
25
25
|
__exportStar(require("./get-stores-by-seller-ids.dto"), exports);
|
|
26
|
+
__exportStar(require("./get-store-id-by-seller-id.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { DomesticAccountStoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload, GetStoresBySellerIdsPayload, StoreBySellerId } from '../dto/store';
|
|
4
|
+
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload, GetStoresBySellerIdsPayload, StoreBySellerId, GetStoreIdBySellerIdPayload, GetStoreIdBySellerIdResult } from '../dto/store';
|
|
5
5
|
import { GetStoresForTossPaymentPayload } from '../dto/store/query/get-stores-for-toss-payment.dto';
|
|
6
6
|
export declare class AmqpStoreService {
|
|
7
7
|
private readonly client;
|
|
@@ -20,4 +20,5 @@ export declare class AmqpStoreService {
|
|
|
20
20
|
getStoreTitlesBySellerIds(payload: GetStoreTitlesBySellerIdsPayload, param: AbstractParam): Promise<GetStoreTitlesBySellerIdsResult>;
|
|
21
21
|
updateLastActivityDate(payload: UpdateLastActivityDatePayload, param: AbstractParam): Promise<void>;
|
|
22
22
|
getStoresBySellerIds(payload: GetStoresBySellerIdsPayload, param: AbstractParam): Promise<StoreBySellerId[]>;
|
|
23
|
+
getStoreIdBySellerId(payload: GetStoreIdBySellerIdPayload, param: AbstractParam): Promise<GetStoreIdBySellerIdResult>;
|
|
23
24
|
}
|
|
@@ -60,6 +60,9 @@ let AmqpStoreService = class AmqpStoreService {
|
|
|
60
60
|
async getStoresBySellerIds(payload, param) {
|
|
61
61
|
return this.amqpManager.call('판매자 아이디로 스토어 리스트 출력', 'store.get.by-seller-ids', payload, param, { isErrorThrowing: true });
|
|
62
62
|
}
|
|
63
|
+
async getStoreIdBySellerId(payload, param) {
|
|
64
|
+
return this.amqpManager.call('판매자 아이디로 스토어 아이디 출력', 'store.get.store-id-by-seller-id', payload, param, { isErrorThrowing: true });
|
|
65
|
+
}
|
|
63
66
|
};
|
|
64
67
|
exports.AmqpStoreService = AmqpStoreService;
|
|
65
68
|
exports.AmqpStoreService = AmqpStoreService = __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;
|