@yolo-croket-dev/amqp-access 0.4.101 → 0.4.103-jun.0
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/excel-upload-server/services/amqp.purchased-info-excel.service.d.ts +1 -0
- package/excel-upload-server/services/amqp.purchased-info-excel.service.js +3 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-purchased-info-logs-for-coupon-info.dto.d.ts +7 -3
- package/package.json +1 -1
- package/store-item-server/dto/review/query/get-test-review.dto.d.ts +2 -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
|
@@ -6,4 +6,5 @@ export declare class AmqpPurchasedInfoExcelService {
|
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
generateAndSharePurchasedInfosForAdminExcel(payload: GenerateAndSharePurchasedInfosForAdminExcelPayload, param: AbstractParam): Promise<void>;
|
|
9
|
+
dailyCroketMetricsAggregation(payload: unknown, param: AbstractParam): Promise<boolean>;
|
|
9
10
|
}
|
|
@@ -24,6 +24,9 @@ let AmqpPurchasedInfoExcelService = class AmqpPurchasedInfoExcelService {
|
|
|
24
24
|
async generateAndSharePurchasedInfosForAdminExcel(payload, param) {
|
|
25
25
|
return this.amqpManager.call('JSON 구매 정보 엑셀 파일 생성 및 슬랙 공유', 'purchased-info-excel.generate-and-share-purchased-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
|
+
async dailyCroketMetricsAggregation(payload, param) {
|
|
28
|
+
return this.amqpManager.call('Daily 크로켓 전사 지표 슬랙 공유', 'aggregation.croket-metrics.daily', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
27
30
|
};
|
|
28
31
|
exports.AmqpPurchasedInfoExcelService = AmqpPurchasedInfoExcelService;
|
|
29
32
|
exports.AmqpPurchasedInfoExcelService = AmqpPurchasedInfoExcelService = __decorate([
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PInfoDetailStandAdCenterCouponInfo } from '@yolo-croket-dev/domain/purchased-info/interface/purchased-info-detail-for-admin.domain';
|
|
2
2
|
import { PInfoLogForCouponInfo } from '@yolo-croket-dev/domain/purchased-info-log';
|
|
3
3
|
export declare class GetPurchasedInfoLogsForCouponInfoPayload {
|
|
4
4
|
pInfoId: string;
|
|
5
5
|
}
|
|
6
6
|
export declare class GetPurchasedInfoLogsForCouponInfoResult {
|
|
7
7
|
pInfoLogs: PInfoLogForCouponInfo[];
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/** 상품 쿠폰 초기 할인 금액 */
|
|
9
|
+
firstItemCouponDiscountValue?: number;
|
|
10
|
+
/** 주문서 쿠폰 초기 할인 금액 */
|
|
11
|
+
firstReceiptCouponDiscountValue?: number;
|
|
12
|
+
/** 광고 센터 쿠폰 초기 분담 금액 */
|
|
13
|
+
firstStandAdCenterCouponInfo?: PInfoDetailStandAdCenterCouponInfo;
|
|
10
14
|
}
|
package/package.json
CHANGED
|
@@ -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);
|