@yolo-croket-dev/amqp-access 0.0.43 → 0.0.44
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/analytics-service/amqp.analytics-service.module.js +2 -2
- package/analytics-service/dto/store-item-review-request-user/command/create-store-item-review-request-user.dto.js +2 -2
- package/analytics-service/services/amqp.inflow-session.service.js +2 -2
- package/analytics-service/services/amqp.store-item-review-request-user.service.js +2 -2
- package/coupon-server/amqp.coupon-server.module.js +2 -2
- package/coupon-server/dto/coupon-template/command/pause-coupon-template.dto.js +1 -1
- package/coupon-server/dto/coupon-template/query/item-max-discount-coupon/get-coupon-templates-for-item-max-discount-coupon.dto.d.ts +1 -1
- package/coupon-server/dto/coupon-template/query/item-max-discount-coupon/get-coupon-templates-for-item-max-discount-coupon.dto.js +2 -2
- package/coupon-server/services/amqp.coupon-template.service.js +2 -2
- package/elastic-service/amqp.elastic-service.module.js +2 -2
- package/elastic-service/amqp.elastic-service.service.js +2 -2
- package/elastic-service/dto/es-store-item-click/query/get-store-item-clicks-group-user-id.dto.js +1 -1
- package/elastic-service/dto/es-store-item-dictionary/command/update-es-store-item-dictionary.dto.js +1 -1
- package/elastic-service/dto/es-store-item-synonyms/command/update-es-store-item-synonyms.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/command/es-store-item-create-and-update-data-bulk.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/command/es-store-item-create-data.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/command/es-store-item-delete-data.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/command/es-store-item-update-data-by-item-name.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/command/es-store-item-update-data.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/query/es-store-item-count-group.dto.js +2 -2
- package/elastic-service/dto/es-store-item-v1/query/es-store-item-random-search-data.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v1/query/es-store-item-search-data.dto.js +2 -2
- package/elastic-service/dto/es-store-item-v2/command/es-store-item-v2-bulk-update-by-item-name.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v2/command/es-store-item-v2-delete-data.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v2/command/es-store-item-v2-update-data.js +1 -1
- package/elastic-service/dto/es-store-item-v2/command/setting-and-mapping/update-dictionary-setting.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v2/command/setting-and-mapping/update-synonyms-setting.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v2/query/es-store-item-v2-count-group.dto.js +3 -3
- package/elastic-service/dto/es-store-item-v2/query/es-store-item-v2-get-data-by-id.dto.js +1 -1
- package/elastic-service/dto/es-store-item-v2/query/es-store-item-v2-get-datas.dto.js +3 -3
- package/elastic-service/dto/es-store-item-v2/query/es-store-item-v2-get-random-datas.dto.js +1 -1
- package/elastic-service/services/amqp.es-pay-try-log.service.js +2 -2
- package/elastic-service/services/amqp.es-selection-frame-data.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item-click.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item-dictionary.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item-synonyms.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item-v1.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item-v2.service.js +2 -2
- package/notification-service/amqp.notification-service.module.js +2 -2
- package/notification-service/amqp.notification-service.service.js +2 -2
- package/notification-service/services/amqp.app-push-subscribe.service.js +2 -2
- package/notification-service/services/amqp.app-push-subscribed-user.service.js +2 -2
- package/order-server/amqp.order-server.module.js +2 -2
- package/order-server/amqp.order-server.service.js +2 -2
- package/order-server/services/amqp.pay-try-log.service.js +2 -2
- package/order-server/services/amqp.port-one.service.js +2 -2
- package/order-server/services/amqp.yolo-deposit-history-by-pg.service.js +2 -2
- package/package.json +1 -1
- package/payment-service/amqp.payment-service.module.js +2 -2
- package/payment-service/amqp.payment-service.service.js +2 -2
- package/selection-server/amqp.selection-server.module.js +2 -2
- package/selection-server/dto/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.js +1 -1
- package/selection-server/services/amqp.selection-frame-connect.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-data.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-first-enterance-guide.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-guide.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-review-request-like.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-review-request.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-vote.service.js +2 -2
- package/selection-server/services/amqp.selection-frame-voted-user.service.js +2 -2
- package/selection-server/services/amqp.selection-frame.service.js +2 -2
- package/store-item-server/amqp.store-item-server.module.js +2 -2
- package/store-item-server/dto/store-item/query/for-es/get-store-item-for-es.dto.js +1 -1
- package/store-item-server/dto/store-item/query/get-selling-item-ids-by-store-id.dto.js +1 -1
- package/store-item-server/dto/store-item/query/get-store-item-legacies.dto.js +4 -4
- package/store-item-server/dto/store-item/query/search-selling-store-items.dto.js +3 -3
- package/store-item-server/dto/store-item-connected-coupon/command/update-item-max-discount-coupon.dto.js +1 -1
- package/store-item-server/dto/store-item-connected-coupon/command/update-reged-store-item-connected-coupon-by-coupon-templates-ids.dto.js +1 -1
- package/store-item-server/services/amqp.store-item-connected-coupon.service.js +2 -2
- package/store-item-server/services/amqp.store-item.service.js +2 -2
- package/user-service/amqp.user-service.module.js +2 -2
- package/user-service/amqp.user-service.service.d.ts +7 -0
- package/user-service/amqp.user-service.service.js +14 -2
- package/user-service/amqp.user-service.types.d.ts +16 -0
- package/user-service/amqp.user-service.types.js +2 -0
- package/user-service/dto/ban-word/query/is-exists-ban-words.dto.js +1 -1
- package/user-service/dto/search-keyword/query/get-search-keyword-info.dto.js +1 -1
- package/user-service/dto/store-item-bookmark/query/get-booked-item-ids-by-user-id.dto.js +1 -1
- package/user-service/services/amqp.ban-word.service.js +2 -2
- package/user-service/services/amqp.search-keyword.service.js +2 -2
- package/user-service/services/amqp.store-item-bookmark.service.js +2 -2
- package/user-service/services/amqp.store-item-for-es.service.js +2 -2
- package/user-service/services/amqp.store-item.service.js +2 -2
- package/user-service/services/amqp.user-entity.service.js +2 -2
|
@@ -13,7 +13,8 @@ const amqp_order_server_service_1 = require("./amqp.order-server.service");
|
|
|
13
13
|
const services_1 = require("./services");
|
|
14
14
|
let AmqpOrderServerModule = class AmqpOrderServerModule {
|
|
15
15
|
};
|
|
16
|
-
AmqpOrderServerModule =
|
|
16
|
+
exports.AmqpOrderServerModule = AmqpOrderServerModule;
|
|
17
|
+
exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
17
18
|
(0, common_1.Module)({
|
|
18
19
|
providers: [
|
|
19
20
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -31,4 +32,3 @@ AmqpOrderServerModule = __decorate([
|
|
|
31
32
|
],
|
|
32
33
|
})
|
|
33
34
|
], AmqpOrderServerModule);
|
|
34
|
-
exports.AmqpOrderServerModule = AmqpOrderServerModule;
|
|
@@ -29,9 +29,9 @@ let AmqpOrderServer = class AmqpOrderServer {
|
|
|
29
29
|
return this.amqpManager.call('결제 아이디로 bulk noti를 위한 결제 정보 리스트를 조회합니다.', 'purchased-info.get.for-bulk-noti', payload, param, { isErrorThrowing: true });
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
AmqpOrderServer =
|
|
32
|
+
exports.AmqpOrderServer = AmqpOrderServer;
|
|
33
|
+
exports.AmqpOrderServer = AmqpOrderServer = __decorate([
|
|
33
34
|
(0, common_1.Injectable)(),
|
|
34
35
|
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
35
36
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
36
37
|
], AmqpOrderServer);
|
|
37
|
-
exports.AmqpOrderServer = AmqpOrderServer;
|
|
@@ -30,9 +30,9 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
30
30
|
return this.amqpManager.call('es를 위한 결제 시도 로그 리스트 조회 by ids', 'pay-try-log.search.for-es-by-ids', payload, param, { isErrorThrowing: true });
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
AmqpPayTryLogService =
|
|
33
|
+
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
34
|
+
exports.AmqpPayTryLogService = AmqpPayTryLogService = __decorate([
|
|
34
35
|
(0, common_1.Injectable)(),
|
|
35
36
|
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
36
37
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
37
38
|
], AmqpPayTryLogService);
|
|
38
|
-
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
@@ -26,9 +26,9 @@ let AmqpPortOneService = class AmqpPortOneService {
|
|
|
26
26
|
return this.amqpManager.call('포트원 결제 리스트 조회', 'port-one.get.payments', payload, param, { isErrorThrowing: true });
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
AmqpPortOneService =
|
|
29
|
+
exports.AmqpPortOneService = AmqpPortOneService;
|
|
30
|
+
exports.AmqpPortOneService = AmqpPortOneService = __decorate([
|
|
30
31
|
(0, common_1.Injectable)(),
|
|
31
32
|
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
32
33
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
34
|
], AmqpPortOneService);
|
|
34
|
-
exports.AmqpPortOneService = AmqpPortOneService;
|
|
@@ -30,9 +30,9 @@ let AmqpYoloDepositHistoryByPgService = class AmqpYoloDepositHistoryByPgService
|
|
|
30
30
|
return this.amqpManager.call('입금 히스토리 삭제', 'yolo-deposit-history-by-pg.delete', payload, param, { isErrorThrowing: true });
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
AmqpYoloDepositHistoryByPgService =
|
|
33
|
+
exports.AmqpYoloDepositHistoryByPgService = AmqpYoloDepositHistoryByPgService;
|
|
34
|
+
exports.AmqpYoloDepositHistoryByPgService = AmqpYoloDepositHistoryByPgService = __decorate([
|
|
34
35
|
(0, common_1.Injectable)(),
|
|
35
36
|
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
36
37
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
37
38
|
], AmqpYoloDepositHistoryByPgService);
|
|
38
|
-
exports.AmqpYoloDepositHistoryByPgService = AmqpYoloDepositHistoryByPgService;
|
package/package.json
CHANGED
|
@@ -12,7 +12,8 @@ const amqp_payment_service_provider_1 = require("./amqp.payment-service.provider
|
|
|
12
12
|
const amqp_payment_service_service_1 = require("./amqp.payment-service.service");
|
|
13
13
|
let AmqpPaymentServiceModule = class AmqpPaymentServiceModule {
|
|
14
14
|
};
|
|
15
|
-
AmqpPaymentServiceModule =
|
|
15
|
+
exports.AmqpPaymentServiceModule = AmqpPaymentServiceModule;
|
|
16
|
+
exports.AmqpPaymentServiceModule = AmqpPaymentServiceModule = __decorate([
|
|
16
17
|
(0, common_1.Module)({
|
|
17
18
|
providers: [
|
|
18
19
|
amqp_payment_service_provider_1.PaymentServiceProvider,
|
|
@@ -24,4 +25,3 @@ AmqpPaymentServiceModule = __decorate([
|
|
|
24
25
|
],
|
|
25
26
|
})
|
|
26
27
|
], AmqpPaymentServiceModule);
|
|
27
|
-
exports.AmqpPaymentServiceModule = AmqpPaymentServiceModule;
|
|
@@ -30,9 +30,9 @@ let AmqpPaymentService = class AmqpPaymentService {
|
|
|
30
30
|
return this.amqpManager.call('지난달 스토어 결제 중 거래종료 상태가 된 결제목록을 유저 아이디 그룹핑하여 가져오기', 'purchasedinfos.get.purchase-count-by-date', payload, param, { isErrorThrowing: true });
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
AmqpPaymentService =
|
|
33
|
+
exports.AmqpPaymentService = AmqpPaymentService;
|
|
34
|
+
exports.AmqpPaymentService = AmqpPaymentService = __decorate([
|
|
34
35
|
(0, common_1.Injectable)(),
|
|
35
36
|
__param(0, (0, common_1.Inject)('PAYMENT_SERVICE_PROVIDER')),
|
|
36
37
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
37
38
|
], AmqpPaymentService);
|
|
38
|
-
exports.AmqpPaymentService = AmqpPaymentService;
|
|
@@ -12,7 +12,8 @@ const amqp_selection_server_provider_1 = require("./amqp.selection-server.provid
|
|
|
12
12
|
const services_1 = require("./services");
|
|
13
13
|
let AmqpSelectionServerModule = class AmqpSelectionServerModule {
|
|
14
14
|
};
|
|
15
|
-
AmqpSelectionServerModule =
|
|
15
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule;
|
|
16
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule = __decorate([
|
|
16
17
|
(0, common_1.Module)({
|
|
17
18
|
providers: [
|
|
18
19
|
amqp_selection_server_provider_1.SelectionServerProvider,
|
|
@@ -40,4 +41,3 @@ AmqpSelectionServerModule = __decorate([
|
|
|
40
41
|
],
|
|
41
42
|
})
|
|
42
43
|
], AmqpSelectionServerModule);
|
|
43
|
-
exports.AmqpSelectionServerModule = AmqpSelectionServerModule;
|
|
@@ -13,12 +13,12 @@ exports.SearchSelectionFrameIdsBySelectionFrameDataIdsResult = exports.SearchSel
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class SearchSelectionFrameIdsBySelectionFrameDataIdsPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.SearchSelectionFrameIdsBySelectionFrameDataIdsPayload = SearchSelectionFrameIdsBySelectionFrameDataIdsPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
18
19
|
(0, class_validator_1.IsArray)(),
|
|
19
20
|
__metadata("design:type", Array)
|
|
20
21
|
], SearchSelectionFrameIdsBySelectionFrameDataIdsPayload.prototype, "selectionFrameDataIds", void 0);
|
|
21
|
-
exports.SearchSelectionFrameIdsBySelectionFrameDataIdsPayload = SearchSelectionFrameIdsBySelectionFrameDataIdsPayload;
|
|
22
22
|
class SearchSelectionFrameIdsBySelectionFrameDataIdsResult {
|
|
23
23
|
}
|
|
24
24
|
exports.SearchSelectionFrameIdsBySelectionFrameDataIdsResult = SearchSelectionFrameIdsBySelectionFrameDataIdsResult;
|
|
@@ -43,9 +43,9 @@ let AmqpSelectionFrameConnectService = class AmqpSelectionFrameConnectService {
|
|
|
43
43
|
return this.amqpManager.call('', 'selection-item-connect.get.by-store-item-ids', payload, param, { isErrorThrowing: true });
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
AmqpSelectionFrameConnectService =
|
|
46
|
+
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService;
|
|
47
|
+
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService = __decorate([
|
|
47
48
|
(0, common_1.Injectable)(),
|
|
48
49
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
49
50
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
50
51
|
], AmqpSelectionFrameConnectService);
|
|
51
|
-
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService;
|
|
@@ -66,9 +66,9 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
|
|
|
66
66
|
return this.amqpManager.call('isPick 연결 상품이 있는 셀렉션 프레임 자식 데이터 리스트 조회', 'selection-frame-data.get', payload, param, { isErrorThrowing: true });
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
AmqpSelectionFrameDataService =
|
|
69
|
+
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
70
|
+
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService = __decorate([
|
|
70
71
|
(0, common_1.Injectable)(),
|
|
71
72
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
72
73
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
73
74
|
], AmqpSelectionFrameDataService);
|
|
74
|
-
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
@@ -31,9 +31,9 @@ let AmqpSelectionFrameFirstEnteranceGuideService = class AmqpSelectionFrameFirst
|
|
|
31
31
|
return this.amqpManager.call('셀렉션 프레임 첫 가이드 삭제', 'selection-frame-first-enterance-guide.delete', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
AmqpSelectionFrameFirstEnteranceGuideService =
|
|
34
|
+
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService;
|
|
35
|
+
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService = __decorate([
|
|
35
36
|
(0, common_1.Injectable)(),
|
|
36
37
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
37
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
38
39
|
], AmqpSelectionFrameFirstEnteranceGuideService);
|
|
39
|
-
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService;
|
|
@@ -37,9 +37,9 @@ let AmqpSelectionFrameGuideService = class AmqpSelectionFrameGuideService {
|
|
|
37
37
|
return this.amqpManager.call('', 'selection-frame-guide.search-list', payload, param, { isErrorThrowing: true });
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
AmqpSelectionFrameGuideService =
|
|
40
|
+
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService;
|
|
41
|
+
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService = __decorate([
|
|
41
42
|
(0, common_1.Injectable)(),
|
|
42
43
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
43
44
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
44
45
|
], AmqpSelectionFrameGuideService);
|
|
45
|
-
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService;
|
|
@@ -28,9 +28,9 @@ let AmqpSelectionFrameReviewRequestLikeService = class AmqpSelectionFrameReviewR
|
|
|
28
28
|
return this.amqpManager.call('셀렉션 프레임 리뷰 요청 좋아요 삭제 처리 -구매자-', 'selection-frame-review-request-like.delete', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
AmqpSelectionFrameReviewRequestLikeService =
|
|
31
|
+
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService;
|
|
32
|
+
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService = __decorate([
|
|
32
33
|
(0, common_1.Injectable)(),
|
|
33
34
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
34
35
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
35
36
|
], AmqpSelectionFrameReviewRequestLikeService);
|
|
36
|
-
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService;
|
|
@@ -31,9 +31,9 @@ let AmqpSelectionFrameReviewRequestService = class AmqpSelectionFrameReviewReque
|
|
|
31
31
|
return this.amqpManager.call('셀렉션 프레임 리뷰 요청 리스트 조회 -구매자-', 'selection-frame-review-request.get.buyer-list', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
AmqpSelectionFrameReviewRequestService =
|
|
34
|
+
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService;
|
|
35
|
+
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService = __decorate([
|
|
35
36
|
(0, common_1.Injectable)(),
|
|
36
37
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
37
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
38
39
|
], AmqpSelectionFrameReviewRequestService);
|
|
39
|
-
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService;
|
|
@@ -43,9 +43,9 @@ let AmqpSelectionFrameVoteService = class AmqpSelectionFrameVoteService {
|
|
|
43
43
|
return this.amqpManager.call('셀렉션 프레임 투표 초기화', 'selection-frame-vote.update-reset-voting-count', payload, param, { isErrorThrowing: true });
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
AmqpSelectionFrameVoteService =
|
|
46
|
+
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService;
|
|
47
|
+
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService = __decorate([
|
|
47
48
|
(0, common_1.Injectable)(),
|
|
48
49
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
49
50
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
50
51
|
], AmqpSelectionFrameVoteService);
|
|
51
|
-
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService;
|
|
@@ -34,9 +34,9 @@ let AmqpSelectionFrameVotedUserService = class AmqpSelectionFrameVotedUserServic
|
|
|
34
34
|
return this.amqpManager.call('셀렉션 프레임 투표한 유저 조회 관리자(엑셀)', 'selection-frame-voted-user.get-for-excel', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
AmqpSelectionFrameVotedUserService =
|
|
37
|
+
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService;
|
|
38
|
+
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService = __decorate([
|
|
38
39
|
(0, common_1.Injectable)(),
|
|
39
40
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
40
41
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
41
42
|
], AmqpSelectionFrameVotedUserService);
|
|
42
|
-
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService;
|
|
@@ -61,9 +61,9 @@ let AmqpSelectionFrameService = class AmqpSelectionFrameService {
|
|
|
61
61
|
return this.amqpManager.call('셀렉션 프레임 등록 - bulk', 'selection-frame.create-bulk', payload, param, { isErrorThrowing: true });
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
AmqpSelectionFrameService =
|
|
64
|
+
exports.AmqpSelectionFrameService = AmqpSelectionFrameService;
|
|
65
|
+
exports.AmqpSelectionFrameService = AmqpSelectionFrameService = __decorate([
|
|
65
66
|
(0, common_1.Injectable)(),
|
|
66
67
|
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
67
68
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
68
69
|
], AmqpSelectionFrameService);
|
|
69
|
-
exports.AmqpSelectionFrameService = AmqpSelectionFrameService;
|
|
@@ -12,7 +12,8 @@ const amqp_store_item_server_provider_1 = require("./amqp.store-item-server.prov
|
|
|
12
12
|
const services_1 = require("./services");
|
|
13
13
|
let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
|
|
14
14
|
};
|
|
15
|
-
AmqpStoreItemServerModule =
|
|
15
|
+
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule;
|
|
16
|
+
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
16
17
|
(0, common_1.Module)({
|
|
17
18
|
providers: [
|
|
18
19
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
@@ -26,4 +27,3 @@ AmqpStoreItemServerModule = __decorate([
|
|
|
26
27
|
],
|
|
27
28
|
})
|
|
28
29
|
], AmqpStoreItemServerModule);
|
|
29
|
-
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule;
|
|
@@ -13,6 +13,7 @@ exports.GetStoreItemsForESResult = exports.GetStoreItemsForESPayload = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class GetStoreItemsForESPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.GetStoreItemsForESPayload = GetStoreItemsForESPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsNumber)(),
|
|
18
19
|
__metadata("design:type", Number)
|
|
@@ -31,7 +32,6 @@ __decorate([
|
|
|
31
32
|
(0, class_validator_1.IsOptional)(),
|
|
32
33
|
__metadata("design:type", Array)
|
|
33
34
|
], GetStoreItemsForESPayload.prototype, "storeItemIds", void 0);
|
|
34
|
-
exports.GetStoreItemsForESPayload = GetStoreItemsForESPayload;
|
|
35
35
|
class GetStoreItemsForESResult {
|
|
36
36
|
}
|
|
37
37
|
exports.GetStoreItemsForESResult = GetStoreItemsForESResult;
|
|
@@ -13,6 +13,7 @@ exports.GetSellingItemIdsByStoreIdResult = exports.GetSellingItemIdsByStoreIdPay
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class GetSellingItemIdsByStoreIdPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.GetSellingItemIdsByStoreIdPayload = GetSellingItemIdsByStoreIdPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsString)(),
|
|
18
19
|
__metadata("design:type", String)
|
|
@@ -25,7 +26,6 @@ __decorate([
|
|
|
25
26
|
(0, class_validator_1.IsNumber)(),
|
|
26
27
|
__metadata("design:type", Number)
|
|
27
28
|
], GetSellingItemIdsByStoreIdPayload.prototype, "page", void 0);
|
|
28
|
-
exports.GetSellingItemIdsByStoreIdPayload = GetSellingItemIdsByStoreIdPayload;
|
|
29
29
|
class GetSellingItemIdsByStoreIdResult {
|
|
30
30
|
}
|
|
31
31
|
exports.GetSellingItemIdsByStoreIdResult = GetSellingItemIdsByStoreIdResult;
|
|
@@ -17,7 +17,7 @@ var GetStoreItemLegaciesDTypeEnum;
|
|
|
17
17
|
GetStoreItemLegaciesDTypeEnum["\uC9C1\uAC70\uB798"] = "\uC9C1\uAC70\uB798";
|
|
18
18
|
GetStoreItemLegaciesDTypeEnum["\uD0DD\uBC30"] = "\uD0DD\uBC30";
|
|
19
19
|
GetStoreItemLegaciesDTypeEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
20
|
-
})(GetStoreItemLegaciesDTypeEnum
|
|
20
|
+
})(GetStoreItemLegaciesDTypeEnum || (exports.GetStoreItemLegaciesDTypeEnum = GetStoreItemLegaciesDTypeEnum = {}));
|
|
21
21
|
var GetStoreItemLegaciesSortTypeEnum;
|
|
22
22
|
(function (GetStoreItemLegaciesSortTypeEnum) {
|
|
23
23
|
GetStoreItemLegaciesSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
@@ -29,9 +29,10 @@ var GetStoreItemLegaciesSortTypeEnum;
|
|
|
29
29
|
GetStoreItemLegaciesSortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
30
30
|
GetStoreItemLegaciesSortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
31
31
|
GetStoreItemLegaciesSortTypeEnum["\uAC80\uC0C9\uC5B4\uAE30\uC900"] = "\uAC80\uC0C9\uC5B4\uAE30\uC900";
|
|
32
|
-
})(GetStoreItemLegaciesSortTypeEnum
|
|
32
|
+
})(GetStoreItemLegaciesSortTypeEnum || (exports.GetStoreItemLegaciesSortTypeEnum = GetStoreItemLegaciesSortTypeEnum = {}));
|
|
33
33
|
class StoreItemLegacyCategoty {
|
|
34
34
|
}
|
|
35
|
+
exports.StoreItemLegacyCategoty = StoreItemLegacyCategoty;
|
|
35
36
|
__decorate([
|
|
36
37
|
(0, class_validator_1.IsString)(),
|
|
37
38
|
__metadata("design:type", String)
|
|
@@ -41,9 +42,9 @@ __decorate([
|
|
|
41
42
|
(0, class_validator_1.IsOptional)(),
|
|
42
43
|
__metadata("design:type", String)
|
|
43
44
|
], StoreItemLegacyCategoty.prototype, "subCategory", void 0);
|
|
44
|
-
exports.StoreItemLegacyCategoty = StoreItemLegacyCategoty;
|
|
45
45
|
class GetStoreItemLegaciesPayload {
|
|
46
46
|
}
|
|
47
|
+
exports.GetStoreItemLegaciesPayload = GetStoreItemLegaciesPayload;
|
|
47
48
|
__decorate([
|
|
48
49
|
(0, class_validator_1.IsNumber)()
|
|
49
50
|
/** 페이지 */
|
|
@@ -167,4 +168,3 @@ __decorate([
|
|
|
167
168
|
(0, class_validator_1.IsOptional)(),
|
|
168
169
|
__metadata("design:type", Boolean)
|
|
169
170
|
], GetStoreItemLegaciesPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
|
|
170
|
-
exports.GetStoreItemLegaciesPayload = GetStoreItemLegaciesPayload;
|
|
@@ -16,15 +16,16 @@ var SearchSellingStoreItemsSortTypeEnum;
|
|
|
16
16
|
SearchSellingStoreItemsSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
17
17
|
SearchSellingStoreItemsSortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
18
18
|
SearchSellingStoreItemsSortTypeEnum["\uC0C1\uD488\uBA85\uC21C"] = "\uC0C1\uD488\uBA85\uC21C";
|
|
19
|
-
})(SearchSellingStoreItemsSortTypeEnum
|
|
19
|
+
})(SearchSellingStoreItemsSortTypeEnum || (exports.SearchSellingStoreItemsSortTypeEnum = SearchSellingStoreItemsSortTypeEnum = {}));
|
|
20
20
|
var SearchSellingStoreItemsSellingTypeEnum;
|
|
21
21
|
(function (SearchSellingStoreItemsSellingTypeEnum) {
|
|
22
22
|
SearchSellingStoreItemsSellingTypeEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
23
23
|
SearchSellingStoreItemsSellingTypeEnum["\uD310\uB9E4\uC911"] = "\uD310\uB9E4\uC911";
|
|
24
24
|
SearchSellingStoreItemsSellingTypeEnum["\uD310\uB9E4\uC911\uC9C0"] = "\uD310\uB9E4\uC911\uC9C0";
|
|
25
|
-
})(SearchSellingStoreItemsSellingTypeEnum
|
|
25
|
+
})(SearchSellingStoreItemsSellingTypeEnum || (exports.SearchSellingStoreItemsSellingTypeEnum = SearchSellingStoreItemsSellingTypeEnum = {}));
|
|
26
26
|
class SearchSellingStoreItemsPayload {
|
|
27
27
|
}
|
|
28
|
+
exports.SearchSellingStoreItemsPayload = SearchSellingStoreItemsPayload;
|
|
28
29
|
__decorate([
|
|
29
30
|
(0, class_validator_1.IsNumber)()
|
|
30
31
|
/** 페이지 */
|
|
@@ -58,4 +59,3 @@ __decorate([
|
|
|
58
59
|
,
|
|
59
60
|
__metadata("design:type", String)
|
|
60
61
|
], SearchSellingStoreItemsPayload.prototype, "searchText", void 0);
|
|
61
|
-
exports.SearchSellingStoreItemsPayload = SearchSellingStoreItemsPayload;
|
|
@@ -13,9 +13,9 @@ exports.UpdateItemMaxDiscountCouponPayload = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class UpdateItemMaxDiscountCouponPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.UpdateItemMaxDiscountCouponPayload = UpdateItemMaxDiscountCouponPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsArray)(),
|
|
18
19
|
(0, class_validator_1.IsString)({ each: true }),
|
|
19
20
|
__metadata("design:type", Array)
|
|
20
21
|
], UpdateItemMaxDiscountCouponPayload.prototype, "itemIds", void 0);
|
|
21
|
-
exports.UpdateItemMaxDiscountCouponPayload = UpdateItemMaxDiscountCouponPayload;
|
|
@@ -13,9 +13,9 @@ exports.UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload = UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsArray)(),
|
|
18
19
|
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
20
|
__metadata("design:type", Array)
|
|
20
21
|
], UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload.prototype, "couponTemplateIds", void 0);
|
|
21
|
-
exports.UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload = UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload;
|
|
@@ -35,9 +35,9 @@ let AmqpStoreItemConnectedCouponService = class AmqpStoreItemConnectedCouponServ
|
|
|
35
35
|
return this.amqpManager.call('쿠폰 테플릿 아이디 기준 저장된 데이터 갱신', 'store-item-connected-coupon.update.reged-by-coupon-templates-ids', payload, param, { isErrorThrowing: true });
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
AmqpStoreItemConnectedCouponService =
|
|
38
|
+
exports.AmqpStoreItemConnectedCouponService = AmqpStoreItemConnectedCouponService;
|
|
39
|
+
exports.AmqpStoreItemConnectedCouponService = AmqpStoreItemConnectedCouponService = __decorate([
|
|
39
40
|
(0, common_1.Injectable)(),
|
|
40
41
|
__param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
|
|
41
42
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
42
43
|
], AmqpStoreItemConnectedCouponService);
|
|
43
|
-
exports.AmqpStoreItemConnectedCouponService = AmqpStoreItemConnectedCouponService;
|
|
@@ -34,9 +34,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
34
34
|
return this.amqpManager.call('es sync 처리를 위해 상품 리스트 조회', 'store-item.get.store-items-for-es', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
AmqpStoreItemService =
|
|
37
|
+
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
38
|
+
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
38
39
|
(0, common_1.Injectable)(),
|
|
39
40
|
__param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
|
|
40
41
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
41
42
|
], AmqpStoreItemService);
|
|
42
|
-
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
@@ -13,7 +13,8 @@ const amqp_user_service_service_1 = require("./amqp.user-service.service");
|
|
|
13
13
|
const services_1 = require("./services");
|
|
14
14
|
let AmqpUserServiceModule = class AmqpUserServiceModule {
|
|
15
15
|
};
|
|
16
|
-
AmqpUserServiceModule =
|
|
16
|
+
exports.AmqpUserServiceModule = AmqpUserServiceModule;
|
|
17
|
+
exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
|
|
17
18
|
(0, common_1.Module)({
|
|
18
19
|
providers: [
|
|
19
20
|
amqp_user_service_provider_1.UserServiceProvider,
|
|
@@ -37,4 +38,3 @@ AmqpUserServiceModule = __decorate([
|
|
|
37
38
|
],
|
|
38
39
|
})
|
|
39
40
|
], AmqpUserServiceModule);
|
|
40
|
-
exports.AmqpUserServiceModule = AmqpUserServiceModule;
|
|
@@ -5,6 +5,7 @@ import { GetMembershipsPayload } from '@yolo-croket-dev/dto-v2/user-service/memb
|
|
|
5
5
|
import { GetUsernameByIdPayload, GetUsersForAppPushPayload, GetUsersForAppPushResult } from '@yolo-croket-dev/dto-v2/user-service/user';
|
|
6
6
|
import { Membership } from '@yolo-croket-dev/entity';
|
|
7
7
|
import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberResultDto } from '@yolo-croket-dev/dto/user-service';
|
|
8
|
+
import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
|
|
8
9
|
export declare class AmqpUserService {
|
|
9
10
|
private readonly client;
|
|
10
11
|
private readonly amqpManager;
|
|
@@ -18,4 +19,10 @@ export declare class AmqpUserService {
|
|
|
18
19
|
getUsersForAppPush(payload: GetUsersForAppPushPayload, param: AbstractParam): Promise<GetUsersForAppPushResult>;
|
|
19
20
|
checkForProhibitedWords(payload: FilterWordPayload, param: AbstractParam): Promise<FilterWordResult>;
|
|
20
21
|
getUsernameById(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<any>;
|
|
22
|
+
/** 유저 알림 정보 포함하여 가져오기 */
|
|
23
|
+
getUserByIdWithNotification(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<NotificationUser | null>;
|
|
24
|
+
/** 유저 정보 수정 */
|
|
25
|
+
updateUserById(payload: UpdateUserByIdPayload, param: AbstractParam): Promise<void>;
|
|
26
|
+
/** 유저 아이디를 통한 휴대폰 번호 가져오기 (use. notification) */
|
|
27
|
+
userPhoneDecodeById(userId: string, param: AbstractParam): Promise<string | null>;
|
|
21
28
|
}
|
|
@@ -51,10 +51,22 @@ let AmqpUserService = class AmqpUserService {
|
|
|
51
51
|
async getUsernameById(payload, param) {
|
|
52
52
|
return this.amqpManager.call('유저 아이디로 이름 조회', 'user.find-one-by-id.username', payload, param, { isErrorThrowing: true });
|
|
53
53
|
}
|
|
54
|
+
/** 유저 알림 정보 포함하여 가져오기 */
|
|
55
|
+
async getUserByIdWithNotification(payload, param) {
|
|
56
|
+
return this.amqpManager.call('getUserByIdWithNotification', 'GET_USER_BY_ID', payload, param, { isErrorThrowing: true });
|
|
57
|
+
}
|
|
58
|
+
/** 유저 정보 수정 */
|
|
59
|
+
async updateUserById(payload, param) {
|
|
60
|
+
return this.amqpManager.call('updateUserById', 'UPDATE_USER_BY_ID', payload, param, { isErrorThrowing: true });
|
|
61
|
+
}
|
|
62
|
+
/** 유저 아이디를 통한 휴대폰 번호 가져오기 (use. notification) */
|
|
63
|
+
async userPhoneDecodeById(userId, param) {
|
|
64
|
+
return this.amqpManager.call('userPhoneDecodeById', 'USER_PHONE_DECODE_BY_ID', { userId }, param);
|
|
65
|
+
}
|
|
54
66
|
};
|
|
55
|
-
AmqpUserService =
|
|
67
|
+
exports.AmqpUserService = AmqpUserService;
|
|
68
|
+
exports.AmqpUserService = AmqpUserService = __decorate([
|
|
56
69
|
(0, common_1.Injectable)(),
|
|
57
70
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
58
71
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
59
72
|
], AmqpUserService);
|
|
60
|
-
exports.AmqpUserService = AmqpUserService;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UserEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
/** 유저 정보 중 알림정보가 포함된 타입 */
|
|
3
|
+
export type NotificationUser = Pick<UserEntity, '_id' | 'username' | 'authId' | 'deviceGroupName' | 'receive' | 'phoneCountry' | 'notification'>;
|
|
4
|
+
/** 유저 정보 수정 Payload With entity */
|
|
5
|
+
export interface UpdateUserByIdPayload extends Partial<UserEntity> {
|
|
6
|
+
/** 유저 아이디 */
|
|
7
|
+
userId: string;
|
|
8
|
+
/** targetArn 리셋 여부 플래그 */
|
|
9
|
+
isTargetArnReset?: boolean;
|
|
10
|
+
/** 알림함 읽지 않은 갯수 증가 여부 */
|
|
11
|
+
isNotificationCountIncrement?: boolean;
|
|
12
|
+
/** Firebase Cloud Messaging 디바이스 토큰 그룹 이름 삭제 여부 */
|
|
13
|
+
isDeviceGroupNameRemove?: boolean;
|
|
14
|
+
/** Firebase Cloud Messaging 디바이스 토큰 삭제 여부 */
|
|
15
|
+
isDeviceTokenRemove?: boolean;
|
|
16
|
+
}
|
|
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const ban_word_1 = require("@yolo-croket-dev/entity/src/ban-word");
|
|
15
15
|
class IsExistsBanWordsPayload {
|
|
16
16
|
}
|
|
17
|
+
exports.IsExistsBanWordsPayload = IsExistsBanWordsPayload;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, class_validator_1.IsEnum)(ban_word_1.BanWordTypeEnum),
|
|
19
20
|
__metadata("design:type", String)
|
|
@@ -26,4 +27,3 @@ __decorate([
|
|
|
26
27
|
(0, class_validator_1.IsBoolean)(),
|
|
27
28
|
__metadata("design:type", Boolean)
|
|
28
29
|
], IsExistsBanWordsPayload.prototype, "isDelete", void 0);
|
|
29
|
-
exports.IsExistsBanWordsPayload = IsExistsBanWordsPayload;
|
|
@@ -13,11 +13,11 @@ exports.GetSearchKeywordInfoResult = exports.GetSearchKeywordInfoPayload = void
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class GetSearchKeywordInfoPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.GetSearchKeywordInfoPayload = GetSearchKeywordInfoPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsMongoId)(),
|
|
18
19
|
__metadata("design:type", String)
|
|
19
20
|
], GetSearchKeywordInfoPayload.prototype, "searchKeywordId", void 0);
|
|
20
|
-
exports.GetSearchKeywordInfoPayload = GetSearchKeywordInfoPayload;
|
|
21
21
|
class GetSearchKeywordInfoResult {
|
|
22
22
|
}
|
|
23
23
|
exports.GetSearchKeywordInfoResult = GetSearchKeywordInfoResult;
|
|
@@ -13,11 +13,11 @@ exports.GetBookedItemIdsByUserIdResult = exports.GetBookedItemIdsByUserIdPayload
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class GetBookedItemIdsByUserIdPayload {
|
|
15
15
|
}
|
|
16
|
+
exports.GetBookedItemIdsByUserIdPayload = GetBookedItemIdsByUserIdPayload;
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsMongoId)(),
|
|
18
19
|
__metadata("design:type", String)
|
|
19
20
|
], GetBookedItemIdsByUserIdPayload.prototype, "userId", void 0);
|
|
20
|
-
exports.GetBookedItemIdsByUserIdPayload = GetBookedItemIdsByUserIdPayload;
|
|
21
21
|
class GetBookedItemIdsByUserIdResult {
|
|
22
22
|
}
|
|
23
23
|
exports.GetBookedItemIdsByUserIdResult = GetBookedItemIdsByUserIdResult;
|
|
@@ -25,9 +25,9 @@ let AmqpBanWordService = class AmqpBanWordService {
|
|
|
25
25
|
return this.amqpManager.call('ban word 존재 여부 확인', 'ban-word.is-exists', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
AmqpBanWordService =
|
|
28
|
+
exports.AmqpBanWordService = AmqpBanWordService;
|
|
29
|
+
exports.AmqpBanWordService = AmqpBanWordService = __decorate([
|
|
29
30
|
(0, common_1.Injectable)(),
|
|
30
31
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
31
32
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
32
33
|
], AmqpBanWordService);
|
|
33
|
-
exports.AmqpBanWordService = AmqpBanWordService;
|
|
@@ -25,9 +25,9 @@ let AmqpSearchKeywordService = class AmqpSearchKeywordService {
|
|
|
25
25
|
return this.amqpManager.call('search keyword 조회', 'search-keyword.get.info', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
AmqpSearchKeywordService =
|
|
28
|
+
exports.AmqpSearchKeywordService = AmqpSearchKeywordService;
|
|
29
|
+
exports.AmqpSearchKeywordService = AmqpSearchKeywordService = __decorate([
|
|
29
30
|
(0, common_1.Injectable)(),
|
|
30
31
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
31
32
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
32
33
|
], AmqpSearchKeywordService);
|
|
33
|
-
exports.AmqpSearchKeywordService = AmqpSearchKeywordService;
|
|
@@ -25,9 +25,9 @@ let AmqpStoreItemBookmarkService = class AmqpStoreItemBookmarkService {
|
|
|
25
25
|
return this.amqpManager.call('북마크한 상품 리스트 받기', 'store-item-bookmark.get.booked-item-ids/by-user-id', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
AmqpStoreItemBookmarkService =
|
|
28
|
+
exports.AmqpStoreItemBookmarkService = AmqpStoreItemBookmarkService;
|
|
29
|
+
exports.AmqpStoreItemBookmarkService = AmqpStoreItemBookmarkService = __decorate([
|
|
29
30
|
(0, common_1.Injectable)(),
|
|
30
31
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
31
32
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
32
33
|
], AmqpStoreItemBookmarkService);
|
|
33
|
-
exports.AmqpStoreItemBookmarkService = AmqpStoreItemBookmarkService;
|
|
@@ -31,9 +31,9 @@ let AmqpStoreItemForESService = class AmqpStoreItemForESService {
|
|
|
31
31
|
return this.amqpManager.call('전체 상품 수 조회', 'COUNT_STORE_ITEM_FOR_ES', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
AmqpStoreItemForESService =
|
|
34
|
+
exports.AmqpStoreItemForESService = AmqpStoreItemForESService;
|
|
35
|
+
exports.AmqpStoreItemForESService = AmqpStoreItemForESService = __decorate([
|
|
35
36
|
(0, common_1.Injectable)(),
|
|
36
37
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
37
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
38
39
|
], AmqpStoreItemForESService);
|
|
39
|
-
exports.AmqpStoreItemForESService = AmqpStoreItemForESService;
|
|
@@ -31,9 +31,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
31
31
|
return this.amqpManager.call('storeItemIds 존재 하는지 확인', 'store-item.get-ids.by-ids', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
AmqpStoreItemService =
|
|
34
|
+
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
35
|
+
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
35
36
|
(0, common_1.Injectable)(),
|
|
36
37
|
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
37
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
38
39
|
], AmqpStoreItemService);
|
|
39
|
-
exports.AmqpStoreItemService = AmqpStoreItemService;
|