@yolo-croket-dev/amqp-access 0.7.218-sj → 0.7.218
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/dto/naver-search-ad.modules/naver-search-ad-bulk-create/command/create-naver-search-ad-power-link-bulk.dto.d.ts +5 -3
- package/excel-upload-server/dto/naver-search-ad.modules/naver-search-ad-bulk-create/command/create-naver-search-ad-power-link-bulk.dto.js +7 -4
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/** AMQP 메시지 크기와 네이버 API 처리 시간을 고려한 운영 상한이다. */
|
|
2
|
-
export declare const NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS =
|
|
3
|
-
export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW =
|
|
2
|
+
export declare const NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = 500;
|
|
3
|
+
export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = 100;
|
|
4
|
+
export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH = 25;
|
|
4
5
|
export declare class CreateNaverSearchAdPowerLinkBulkRow {
|
|
5
6
|
adgroupName: string;
|
|
6
|
-
|
|
7
|
+
/** 이미지 확장소재 기능이 보류 중이므로 값이 있는 경우에만 URL 형식을 검증한다. */
|
|
8
|
+
imageUrl?: string;
|
|
7
9
|
keywords: string[];
|
|
8
10
|
rowNumber: number;
|
|
9
11
|
searchKeyword: string;
|
|
@@ -9,16 +9,17 @@ 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.CreateNaverSearchAdPowerLinkBulkPayload = exports.CreateNaverSearchAdPowerLinkBulkRow = exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = exports.NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = void 0;
|
|
12
|
+
exports.CreateNaverSearchAdPowerLinkBulkPayload = exports.CreateNaverSearchAdPowerLinkBulkRow = exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH = exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = exports.NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = void 0;
|
|
13
13
|
/**
|
|
14
|
-
* @author
|
|
14
|
+
* @author sj
|
|
15
15
|
* @description 관리자 Excel에서 정형화한 네이버 SA 파워링크 일괄 생성 AMQP 계약이다.
|
|
16
16
|
*/
|
|
17
17
|
const class_transformer_1 = require("class-transformer");
|
|
18
18
|
const class_validator_1 = require("class-validator");
|
|
19
19
|
/** AMQP 메시지 크기와 네이버 API 처리 시간을 고려한 운영 상한이다. */
|
|
20
|
-
exports.NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS =
|
|
21
|
-
exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW =
|
|
20
|
+
exports.NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = 500;
|
|
21
|
+
exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = 100;
|
|
22
|
+
exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH = 25;
|
|
22
23
|
class CreateNaverSearchAdPowerLinkBulkRow {
|
|
23
24
|
}
|
|
24
25
|
exports.CreateNaverSearchAdPowerLinkBulkRow = CreateNaverSearchAdPowerLinkBulkRow;
|
|
@@ -28,6 +29,7 @@ __decorate([
|
|
|
28
29
|
__metadata("design:type", String)
|
|
29
30
|
], CreateNaverSearchAdPowerLinkBulkRow.prototype, "adgroupName", void 0);
|
|
30
31
|
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
33
|
(0, class_validator_1.IsUrl)({ require_protocol: true }),
|
|
32
34
|
__metadata("design:type", String)
|
|
33
35
|
], CreateNaverSearchAdPowerLinkBulkRow.prototype, "imageUrl", void 0);
|
|
@@ -37,6 +39,7 @@ __decorate([
|
|
|
37
39
|
(0, class_validator_1.ArrayMaxSize)(exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW),
|
|
38
40
|
(0, class_validator_1.IsString)({ each: true }),
|
|
39
41
|
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
42
|
+
(0, class_validator_1.MaxLength)(exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH, { each: true }),
|
|
40
43
|
__metadata("design:type", Array)
|
|
41
44
|
], CreateNaverSearchAdPowerLinkBulkRow.prototype, "keywords", void 0);
|
|
42
45
|
__decorate([
|