@yolo-croket-dev/amqp-access 0.7.222 → 0.7.224

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.
@@ -2,10 +2,13 @@
2
2
  export declare const NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = 500;
3
3
  export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = 100;
4
4
  export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH = 25;
5
+ export declare const NAVER_SEARCH_AD_POWER_LINK_MAX_SUB_PRODUCT_IMAGES = 6;
5
6
  export declare class CreateNaverSearchAdPowerLinkBulkRow {
6
7
  adgroupName: string;
7
- /** 이미지 확장소재 기능이 보류 중이므로 값이 있는 경우에만 URL 형식을 검증한다. */
8
+ /** 값이 있는 경우 대표 상품 이미지 확장소재로 등록한다. */
8
9
  imageUrl?: string;
10
+ /** 값이 있는 경우 최대 6개를 3개 단위 IMAGE_SUB_LINKS 확장소재로 등록한다. */
11
+ subProductImageUrls?: string[];
9
12
  keywords: string[];
10
13
  rowNumber: number;
11
14
  searchKeyword: string;
@@ -9,7 +9,7 @@ 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_KEYWORD_LENGTH = 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_SUB_PRODUCT_IMAGES = 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
14
  * @author sj
15
15
  * @description 관리자 Excel에서 정형화한 네이버 SA 파워링크 일괄 생성 AMQP 계약이다.
@@ -20,6 +20,7 @@ const class_validator_1 = require("class-validator");
20
20
  exports.NAVER_SEARCH_AD_POWER_LINK_BULK_MAX_ROWS = 500;
21
21
  exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORDS_PER_ROW = 100;
22
22
  exports.NAVER_SEARCH_AD_POWER_LINK_MAX_KEYWORD_LENGTH = 25;
23
+ exports.NAVER_SEARCH_AD_POWER_LINK_MAX_SUB_PRODUCT_IMAGES = 6;
23
24
  class CreateNaverSearchAdPowerLinkBulkRow {
24
25
  }
25
26
  exports.CreateNaverSearchAdPowerLinkBulkRow = CreateNaverSearchAdPowerLinkBulkRow;
@@ -33,6 +34,15 @@ __decorate([
33
34
  (0, class_validator_1.IsUrl)({ require_protocol: true }),
34
35
  __metadata("design:type", String)
35
36
  ], CreateNaverSearchAdPowerLinkBulkRow.prototype, "imageUrl", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsOptional)(),
39
+ (0, class_validator_1.IsArray)(),
40
+ (0, class_validator_1.ArrayMaxSize)(exports.NAVER_SEARCH_AD_POWER_LINK_MAX_SUB_PRODUCT_IMAGES),
41
+ (0, class_validator_1.IsString)({ each: true }),
42
+ (0, class_validator_1.IsNotEmpty)({ each: true }),
43
+ (0, class_validator_1.IsUrl)({ require_protocol: true }, { each: true }),
44
+ __metadata("design:type", Array)
45
+ ], CreateNaverSearchAdPowerLinkBulkRow.prototype, "subProductImageUrls", void 0);
36
46
  __decorate([
37
47
  (0, class_validator_1.IsArray)(),
38
48
  (0, class_validator_1.ArrayNotEmpty)(),
@@ -9,6 +9,8 @@ export declare class UpdateCrawlerProxyOrderInfoForAdminPayload {
9
9
  /** 배대지 상태 */
10
10
  forwardingStatus?: CrawlerProxyForwardingStatusEnum;
11
11
  forwardingAgentId?: string;
12
+ /** 배대지 신청 번호. null 또는 빈 문자열이면 기존 값을 초기화한다. */
13
+ forwardingApplicationNumber?: string | null;
12
14
  /** 판매처 사입 주문번호 */
13
15
  purchaseOrderNumber?: string;
14
16
  /** 판매처에서 배대지까지의 사입 택배사 */
@@ -39,6 +39,12 @@ __decorate([
39
39
  (0, class_validator_1.IsOptional)(),
40
40
  __metadata("design:type", String)
41
41
  ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingAgentId", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.MaxLength)(100),
45
+ (0, class_validator_1.IsOptional)(),
46
+ __metadata("design:type", Object)
47
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingApplicationNumber", void 0);
42
48
  __decorate([
43
49
  (0, class_validator_1.IsString)(),
44
50
  (0, class_validator_1.MaxLength)(100),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.222",
3
+ "version": "0.7.224",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,9 +22,9 @@
22
22
  "@yolo-croket-dev/domain": "0.2.38",
23
23
  "@yolo-croket-dev/dto-v2": "0.2.22",
24
24
  "@yolo-croket-dev/entity": "0.2.90",
25
- "@yolo-croket-dev/entity-v2": "0.3.2",
25
+ "@yolo-croket-dev/entity-v2": "0.3.3",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -32,6 +32,24 @@ __decorate([
32
32
  (0, class_transformer_1.Type)(() => UpdateItemKeywordsBulkData),
33
33
  __metadata("design:type", Array)
34
34
  ], UpdateItemKeywordsBulkPayload.prototype, "itemInfos", void 0);
35
+ // export enum ItemKeywordBulkFailureResolution {
36
+ // OVERWRITE_AVAILABLE = 'OVERWRITE_AVAILABLE',
37
+ // NOT_AVAILABLE = 'NOT_AVAILABLE',
38
+ // }
39
+ // export class ItemKeywordBulkFailure {
40
+ // itemId!: string;
41
+ // reasonCode!: string;
42
+ // reasonMessage!: string;
43
+ // resolution!: ItemKeywordBulkFailureResolution;
44
+ // existingItemKeywords!: StoreItemKeyword[];
45
+ // requestedItemKeywords!: StoreItemKeyword[];
46
+ // }
35
47
  class UpdateItemKeywordsBulkResult {
36
48
  }
37
49
  exports.UpdateItemKeywordsBulkResult = UpdateItemKeywordsBulkResult;
50
+ // export class OverwriteItemKeywordsBulkPayload {
51
+ // @IsArray()
52
+ // @ValidateNested({ each: true })
53
+ // @Type(() => UpdateItemKeywordsBulkData)
54
+ // itemInfos!: UpdateItemKeywordsBulkData[];
55
+ // }
@@ -1,11 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Read(//Users/jun/Desktop/code/work/monorepo/**)",
5
- "Bash(npm ls:*)",
6
- "Bash(cd:*)",
7
- "WebFetch(domain:developers.nicepay.co.kr)",
8
- "Bash(npx lerna:*)"
9
- ]
10
- }
11
- }