@yolo-croket-dev/amqp-access 0.7.234 → 0.7.236
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/.claude/settings.local.json +11 -0
- package/excel-upload-server/dto/ad-performance-report/command/create-ad-performance-report-excel.dto.d.ts +8 -0
- package/excel-upload-server/services/amqp.ad-performance-report.service.d.ts +3 -4
- package/excel-upload-server/services/amqp.ad-performance-report.service.js +1 -2
- package/package.json +1 -1
- package/store-item-server/dto/store-item/query/atlas-search/facet/get-item-group-nums.dto.d.ts +1 -0
- package/store-item-server/dto/store-item/query/atlas-search/facet/get-item-group-nums.dto.js +5 -0
- package/excel-upload-server/dto/ad-performance-report/command/create-sns-roas-report-excel-result.dto.d.ts +0 -15
- package/excel-upload-server/dto/ad-performance-report/command/create-sns-roas-report-excel-result.dto.js +0 -2
- package/excel-upload-server/dto/ad-performance-report/command/sns-roas-source-row.dto.d.ts +0 -10
- package/excel-upload-server/dto/ad-performance-report/command/sns-roas-source-row.dto.js +0 -38
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-bulk-for-admin.dto.d.ts +0 -34
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-bulk-for-admin.dto.js +0 -56
|
@@ -17,6 +17,14 @@ export interface AdPerformanceReportExcelSheetResult {
|
|
|
17
17
|
name: string;
|
|
18
18
|
rowCount: number;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* @author jun
|
|
22
|
+
* @description 채널별 광고 성과 통합 엑셀 백그라운드 작업 등록 응답 DTO
|
|
23
|
+
* @process Excel Upload Server의 Bull Queue에 등록된 작업 ID를 반환합니다.
|
|
24
|
+
*/
|
|
25
|
+
export interface CreateAdPerformanceReportExcelJobResult {
|
|
26
|
+
jobId: string | number;
|
|
27
|
+
}
|
|
20
28
|
/**
|
|
21
29
|
* @author jun
|
|
22
30
|
* @description 채널별 광고 성과 통합 엑셀 생성 AMQP 응답 DTO
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateAdPerformanceReportExcelPayload,
|
|
3
|
+
import { CreateAdPerformanceReportExcelPayload, CreateAdPerformanceReportExcelJobResult, CreateSnsRoasReportExcelPayload, CreateSnsRoasReportExcelResult } from '../dto';
|
|
4
4
|
/**
|
|
5
|
-
* @author jun
|
|
6
5
|
* @description Excel Upload Server의 광고 성과 리포트 생성 기능을 호출합니다.
|
|
7
|
-
* @process 요청 Payload를 광고 성과 리포트 메시지 패턴으로 전달하고
|
|
6
|
+
* @process 요청 Payload를 광고 성과 리포트 메시지 패턴으로 전달하고 작업 등록 결과를 반환합니다.
|
|
8
7
|
*/
|
|
9
8
|
export declare class AmqpAdPerformanceReportService {
|
|
10
9
|
private readonly client;
|
|
11
10
|
private readonly amqpManager;
|
|
12
11
|
constructor(client: ClientProxy);
|
|
13
|
-
createAdPerformanceReportExcel(payload: CreateAdPerformanceReportExcelPayload, param: AbstractParam): Promise<
|
|
12
|
+
createAdPerformanceReportExcel(payload: CreateAdPerformanceReportExcelPayload, param: AbstractParam): Promise<CreateAdPerformanceReportExcelJobResult>;
|
|
14
13
|
createSnsRoasReportExcel(payload: CreateSnsRoasReportExcelPayload, param: AbstractParam): Promise<CreateSnsRoasReportExcelResult>;
|
|
15
14
|
}
|
|
@@ -17,9 +17,8 @@ const common_1 = require("@nestjs/common");
|
|
|
17
17
|
const microservices_1 = require("@nestjs/microservices");
|
|
18
18
|
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
19
|
/**
|
|
20
|
-
* @author jun
|
|
21
20
|
* @description Excel Upload Server의 광고 성과 리포트 생성 기능을 호출합니다.
|
|
22
|
-
* @process 요청 Payload를 광고 성과 리포트 메시지 패턴으로 전달하고
|
|
21
|
+
* @process 요청 Payload를 광고 성과 리포트 메시지 패턴으로 전달하고 작업 등록 결과를 반환합니다.
|
|
23
22
|
*/
|
|
24
23
|
let AmqpAdPerformanceReportService = class AmqpAdPerformanceReportService {
|
|
25
24
|
constructor(client) {
|
package/package.json
CHANGED
package/store-item-server/dto/store-item/query/atlas-search/facet/get-item-group-nums.dto.js
CHANGED
|
@@ -85,6 +85,11 @@ __decorate([
|
|
|
85
85
|
(0, class_validator_1.IsOptional)(),
|
|
86
86
|
__metadata("design:type", String)
|
|
87
87
|
], GetItemGroupNumsPayload.prototype, "brandName", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_validator_1.IsBoolean)(),
|
|
90
|
+
(0, class_validator_1.IsOptional)(),
|
|
91
|
+
__metadata("design:type", Boolean)
|
|
92
|
+
], GetItemGroupNumsPayload.prototype, "includeUsedItems", void 0);
|
|
88
93
|
class GetItemGroupNumsResult {
|
|
89
94
|
}
|
|
90
95
|
exports.GetItemGroupNumsResult = GetItemGroupNumsResult;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author jun
|
|
3
|
-
* @description SNS ROAS 엑셀 생성 AMQP 응답입니다.
|
|
4
|
-
* @process 생성된 파일과 처리 범위 및 처리 건수를 호출 서버에 반환합니다.
|
|
5
|
-
*/
|
|
6
|
-
export interface CreateSnsRoasReportExcelResult {
|
|
7
|
-
downloadUrl: string;
|
|
8
|
-
endDate: string;
|
|
9
|
-
exchangeRateKrwPerUsd: number;
|
|
10
|
-
fileName: string;
|
|
11
|
-
resultRowCount: number;
|
|
12
|
-
sourceRowCount: number;
|
|
13
|
-
startDate: string;
|
|
14
|
-
transactionCount: number;
|
|
15
|
-
}
|
|
@@ -1,38 +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.SnsRoasSourceRow = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/**
|
|
15
|
-
* @author jun
|
|
16
|
-
* @description SNS ROAS 엑셀 생성에 사용할 광고 소재별 일자 광고비입니다.
|
|
17
|
-
* @process 광고 소재명, 일자, USD 광고비의 형식과 범위를 검증합니다.
|
|
18
|
-
*/
|
|
19
|
-
class SnsRoasSourceRow {
|
|
20
|
-
}
|
|
21
|
-
exports.SnsRoasSourceRow = SnsRoasSourceRow;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], SnsRoasSourceRow.prototype, "adName", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsDateString)({ strict: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], SnsRoasSourceRow.prototype, "date", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNumber)({
|
|
33
|
-
allowInfinity: false,
|
|
34
|
-
allowNaN: false,
|
|
35
|
-
}),
|
|
36
|
-
(0, class_validator_1.Min)(0),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], SnsRoasSourceRow.prototype, "spendUsd", void 0);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/** @description 관리자용 일괄 송장 등록/수정 개별 처리 결과 */
|
|
2
|
-
export interface UpsertInvoiceBulkForAdminResultItem {
|
|
3
|
-
pInfoId: string;
|
|
4
|
-
failType?: string;
|
|
5
|
-
reason?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @author jun
|
|
9
|
-
* @description 관리자용 일괄 송장 등록/수정 payload
|
|
10
|
-
*/
|
|
11
|
-
export declare class UpsertInvoiceBulkForAdminPayload {
|
|
12
|
-
/** 송장을 등록하거나 수정할 결제정보 ID 목록 */
|
|
13
|
-
pInfoIds: string[];
|
|
14
|
-
/** 택배사명 */
|
|
15
|
-
SCompany: string;
|
|
16
|
-
/** 송장번호 */
|
|
17
|
-
invoice: string;
|
|
18
|
-
/** 배송 조회 URL */
|
|
19
|
-
invoiceUrl?: string;
|
|
20
|
-
/** 택배사 직접 입력 여부 */
|
|
21
|
-
isDirectInput: boolean;
|
|
22
|
-
/** 구매자 알림 발송 여부 */
|
|
23
|
-
isNoti: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @author jun
|
|
27
|
-
* @description 관리자용 일괄 송장 등록/수정 결과
|
|
28
|
-
*/
|
|
29
|
-
export declare class UpsertInvoiceBulkForAdminResult {
|
|
30
|
-
allCount: number;
|
|
31
|
-
successCount: number;
|
|
32
|
-
failCount: number;
|
|
33
|
-
results: UpsertInvoiceBulkForAdminResultItem[];
|
|
34
|
-
}
|
|
@@ -1,56 +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.UpsertInvoiceBulkForAdminResult = exports.UpsertInvoiceBulkForAdminPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/**
|
|
15
|
-
* @author jun
|
|
16
|
-
* @description 관리자용 일괄 송장 등록/수정 payload
|
|
17
|
-
*/
|
|
18
|
-
class UpsertInvoiceBulkForAdminPayload {
|
|
19
|
-
}
|
|
20
|
-
exports.UpsertInvoiceBulkForAdminPayload = UpsertInvoiceBulkForAdminPayload;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsArray)(),
|
|
23
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
24
|
-
(0, class_validator_1.ArrayMaxSize)(50),
|
|
25
|
-
(0, class_validator_1.ArrayUnique)(),
|
|
26
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
27
|
-
__metadata("design:type", Array)
|
|
28
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "pInfoIds", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsString)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "SCompany", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "invoice", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "invoiceUrl", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsBoolean)(),
|
|
44
|
-
__metadata("design:type", Boolean)
|
|
45
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "isDirectInput", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.IsBoolean)(),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], UpsertInvoiceBulkForAdminPayload.prototype, "isNoti", void 0);
|
|
50
|
-
/**
|
|
51
|
-
* @author jun
|
|
52
|
-
* @description 관리자용 일괄 송장 등록/수정 결과
|
|
53
|
-
*/
|
|
54
|
-
class UpsertInvoiceBulkForAdminResult {
|
|
55
|
-
}
|
|
56
|
-
exports.UpsertInvoiceBulkForAdminResult = UpsertInvoiceBulkForAdminResult;
|