@yolo-croket-dev/amqp-access 0.7.210-gjleee.0 → 0.7.210

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.
@@ -0,0 +1,11 @@
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.210-gjleee.0",
3
+ "version": "0.7.210",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -20,7 +20,7 @@
20
20
  "@nestjs/common": "^10.3.10",
21
21
  "@yolo-croket-dev/core": "^1.9.3",
22
22
  "@yolo-croket-dev/domain": "0.2.38",
23
- "@yolo-croket-dev/dto-v2": "^0.2.21",
23
+ "@yolo-croket-dev/dto-v2": "0.2.22",
24
24
  "@yolo-croket-dev/entity": "0.2.90",
25
25
  "@yolo-croket-dev/entity-v2": "0.2.183",
26
26
  "class-transformer": "^0.5.1",
@@ -22,3 +22,4 @@ export * from './reg-item-name-eng-bulk-by-admin.dto';
22
22
  export * from './update-naver-enabled-bulk.dto';
23
23
  export * from './update-item-keywords-bulk.dto';
24
24
  export * from './update-is-required-pccc-bulk.dto';
25
+ export * from './update-store-item-seller-memo.dto';
@@ -38,3 +38,4 @@ __exportStar(require("./reg-item-name-eng-bulk-by-admin.dto"), exports);
38
38
  __exportStar(require("./update-naver-enabled-bulk.dto"), exports);
39
39
  __exportStar(require("./update-item-keywords-bulk.dto"), exports);
40
40
  __exportStar(require("./update-is-required-pccc-bulk.dto"), exports);
41
+ __exportStar(require("./update-store-item-seller-memo.dto"), exports);
@@ -34,6 +34,8 @@ export declare class StoreItemKeyword implements StoreItemKeywordEntity {
34
34
  isMainKeyword: boolean;
35
35
  }
36
36
  export declare class RegStoreItemPayload {
37
+ /** 중고 상품 여부 */
38
+ isUsedProduct?: boolean;
37
39
  itemImgUrls: string[];
38
40
  itemName: string;
39
41
  itemNameEng?: string;
@@ -127,6 +127,11 @@ __decorate([
127
127
  class RegStoreItemPayload {
128
128
  }
129
129
  exports.RegStoreItemPayload = RegStoreItemPayload;
130
+ __decorate([
131
+ (0, class_validator_1.IsBoolean)(),
132
+ (0, class_validator_1.IsOptional)(),
133
+ __metadata("design:type", Boolean)
134
+ ], RegStoreItemPayload.prototype, "isUsedProduct", void 0);
130
135
  __decorate([
131
136
  (0, class_validator_1.IsArray)(),
132
137
  __metadata("design:type", Array)
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author jun
3
+ * @description 셀러 상품 관리 메모 수정 요청
4
+ * @process 상품 식별자와 500자 이하 메모를 검증한다.
5
+ */
6
+ export declare class UpdateStoreItemSellerMemoPayload {
7
+ itemId: string;
8
+ sellerMemo: string;
9
+ }
10
+ export interface UpdateStoreItemSellerMemoResult {
11
+ sellerMemo: string;
12
+ }
@@ -0,0 +1,30 @@
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.UpdateStoreItemSellerMemoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author jun
16
+ * @description 셀러 상품 관리 메모 수정 요청
17
+ * @process 상품 식별자와 500자 이하 메모를 검증한다.
18
+ */
19
+ class UpdateStoreItemSellerMemoPayload {
20
+ }
21
+ exports.UpdateStoreItemSellerMemoPayload = UpdateStoreItemSellerMemoPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], UpdateStoreItemSellerMemoPayload.prototype, "itemId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.MaxLength)(500),
29
+ __metadata("design:type", String)
30
+ ], UpdateStoreItemSellerMemoPayload.prototype, "sellerMemo", void 0);
@@ -11,6 +11,7 @@ export declare enum SearchSellingStoreItemsSellingTypeEnum {
11
11
  }
12
12
  export interface StandSellingStoreItem {
13
13
  itemId: string;
14
+ sellerMemo: string;
14
15
  itemImg: string;
15
16
  itemName: string;
16
17
  itemPrice: number;
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -14,6 +14,8 @@ export declare class AmqpStoreItemService {
14
14
  getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
15
15
  getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
16
16
  searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
17
+ /** 셀러 상품 관리 메모를 수정한다. */
18
+ updateStoreItemSellerMemo(payload: UpdateStoreItemSellerMemoPayload, param: AbstractParam): Promise<UpdateStoreItemSellerMemoResult>;
17
19
  getStoreItemsForEs(payload: GetStoreItemsForESPayload, param: AbstractParam): Promise<GetStoreItemsForESResult>;
18
20
  getStoreItemInfoById(payload: GetStoreItemInfoByIdPayload, param: AbstractParam): Promise<GetStoreItemInfoByIdResult>;
19
21
  searchStoreItemNameById(payload: SearchStoreItemNameByIdPayload, param: AbstractParam): Promise<SearchStoreItemNameByIdResult>;
@@ -42,6 +42,10 @@ let AmqpStoreItemService = class AmqpStoreItemService {
42
42
  async searchSellingStoreItems(payload, param) {
43
43
  return this.amqpManager.call('셀러 판매 상품 관리 리스트 호출', 'store-item.get.selling-store-item-list', payload, param, { isErrorThrowing: true });
44
44
  }
45
+ /** 셀러 상품 관리 메모를 수정한다. */
46
+ async updateStoreItemSellerMemo(payload, param) {
47
+ return this.amqpManager.call('셀러 상품 관리 메모 수정', 'store-item.update.seller-memo', payload, param, { isErrorThrowing: true });
48
+ }
45
49
  async getStoreItemsForEs(payload, param) {
46
50
  return this.amqpManager.call('es sync 처리를 위해 상품 리스트 조회', 'store-item.get.store-items-for-es', payload, param, { isErrorThrowing: true });
47
51
  }
@@ -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;