@yolo-croket-dev/amqp-access 0.0.62-jun.2 → 0.0.62
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/package.json +1 -1
- package/store-item-server/dto/store-item/query/index.d.ts +0 -1
- package/store-item-server/dto/store-item/query/index.js +0 -1
- package/store-item-server/dto/store-item-connected-coupon/command/index.d.ts +1 -1
- package/store-item-server/dto/store-item-connected-coupon/command/index.js +1 -1
- package/store-item-server/dto/store-item-connected-coupon/command/update-item-max-discount-coupon.dto.d.ts +3 -0
- package/store-item-server/dto/store-item-connected-coupon/command/{core/update-store-item-connected-coupon-by-item-ids.dto.js → update-item-max-discount-coupon.dto.js} +4 -4
- package/store-item-server/services/amqp.store-item-connected-coupon.service.d.ts +3 -3
- package/elastic-service/services/amqp.es-store-item.service.d.ts +0 -18
- package/elastic-service/services/amqp.es-store-item.service.js +0 -60
- package/store-item-server/dto/store-item/query/get-legacy-store-items.dto.d.ts +0 -70
- package/store-item-server/dto/store-item/query/get-legacy-store-items.dto.js +0 -178
- package/store-item-server/dto/store-item-connected-coupon/command/core/index.d.ts +0 -1
- package/store-item-server/dto/store-item-connected-coupon/command/core/index.js +0 -17
- package/store-item-server/dto/store-item-connected-coupon/command/core/update-store-item-connected-coupon-by-item-ids.dto.d.ts +0 -3
package/package.json
CHANGED
|
@@ -18,4 +18,3 @@ __exportStar(require("./get-store-item-legacies.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./get-selling-item-ids-by-store-id.dto"), exports);
|
|
19
19
|
__exportStar(require("./search-selling-store-items.dto"), exports);
|
|
20
20
|
__exportStar(require("./for-es"), exports);
|
|
21
|
-
__exportStar(require("./get-legacy-store-items.dto"), exports);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './update-item-max-discount-coupon.dto';
|
|
2
2
|
export * from './update-reged-store-item-connected-coupon-by-coupon-templates-ids.dto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./update-item-max-discount-coupon.dto"), exports);
|
|
18
18
|
__exportStar(require("./update-reged-store-item-connected-coupon-by-coupon-templates-ids.dto"), exports);
|
|
@@ -9,13 +9,13 @@ 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.
|
|
12
|
+
exports.UpdateItemMaxDiscountCouponPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class UpdateItemMaxDiscountCouponPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.UpdateItemMaxDiscountCouponPayload = UpdateItemMaxDiscountCouponPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsArray)(),
|
|
19
19
|
(0, class_validator_1.IsString)({ each: true }),
|
|
20
20
|
__metadata("design:type", Array)
|
|
21
|
-
],
|
|
21
|
+
], UpdateItemMaxDiscountCouponPayload.prototype, "itemIds", void 0);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { UpdateItemMaxDiscountCouponPayload, UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload } from '../dto/store-item-connected-coupon';
|
|
4
4
|
export declare class AmqpStoreItemConnectedCouponService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
updateItemMaxDiscountCoupon(payload:
|
|
8
|
+
updateItemMaxDiscountCoupon(payload: UpdateItemMaxDiscountCouponPayload, param: AbstractParam): Promise<void>;
|
|
9
9
|
/** onlyPublish */
|
|
10
|
-
updateItemMaxDiscountCouponOnlyPublish(payload:
|
|
10
|
+
updateItemMaxDiscountCouponOnlyPublish(payload: UpdateItemMaxDiscountCouponPayload, param: AbstractParam): Promise<boolean>;
|
|
11
11
|
updateAllStoreItemConnectedCoupon(payload: void, param: AbstractParam): Promise<void>;
|
|
12
12
|
updateRegedStoreItemConnectedCouponByCouponTemplatesIds(payload: UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload, param: AbstractParam): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { ESStoreItemSearchDataPayload, ESStoreItemSearchDataResult, ESStoreItemCountGroupPayloadDto, ESStoreItemCountGroupResultDto, ESStoreItemRandomSearchDataPayload, ESStoreItemRandomSearchDataResult, ESStoreItemDeleteDataPayloadDto, ESStoreItemDeleteDataResultDto, ESStoreItemUpdateDataByItemNamePayloadDto, ESStoreItemUpdateDataByItemNameResultDto, ESStoreItemCreateDataPayload, ESStoreItemCreateDataResult, ESStoreItemUpdateDataPayload, ESStoreItemUpdateDataResult, ESStoreItemCreateAndUpdateDataBulkPayload } from '../dto/es-store-item-v1';
|
|
4
|
-
export declare class AmqpEsStoreItemV2Service {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
refreshIndex(payload: void, param: AbstractParam): Promise<void>;
|
|
9
|
-
refreshAllDataOnlyPublish(payload: void, param: AbstractParam): Promise<void>;
|
|
10
|
-
searchData(payload: ESStoreItemSearchDataPayload, param: AbstractParam): Promise<ESStoreItemSearchDataResult>;
|
|
11
|
-
countGroup(payload: ESStoreItemCountGroupPayloadDto, param: AbstractParam): Promise<ESStoreItemCountGroupResultDto>;
|
|
12
|
-
createData(payload: ESStoreItemCreateDataPayload, param: AbstractParam): Promise<ESStoreItemCreateDataResult>;
|
|
13
|
-
createAndUpdateBulk(payload: ESStoreItemCreateAndUpdateDataBulkPayload, param: AbstractParam): Promise<void>;
|
|
14
|
-
deleteData(payload: ESStoreItemDeleteDataPayloadDto, param: AbstractParam): Promise<ESStoreItemDeleteDataResultDto>;
|
|
15
|
-
updateData(payload: ESStoreItemUpdateDataPayload, param: AbstractParam): Promise<ESStoreItemUpdateDataResult>;
|
|
16
|
-
updateDataByItemName(payload: ESStoreItemUpdateDataByItemNamePayloadDto, param: AbstractParam): Promise<ESStoreItemUpdateDataByItemNameResultDto>;
|
|
17
|
-
searchRandomData(payload: ESStoreItemRandomSearchDataPayload, param: AbstractParam): Promise<ESStoreItemRandomSearchDataResult>;
|
|
18
|
-
}
|
|
@@ -1,60 +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
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AmqpEsStoreItemV2Service = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
-
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
-
let AmqpEsStoreItemV2Service = class AmqpEsStoreItemV2Service {
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
-
}
|
|
24
|
-
async refreshIndex(payload, param) {
|
|
25
|
-
return this.amqpManager.call('es store item v1 index 갱신', 'ES_STORE_ITEM_REFRESH_INDEX', payload, param, { isErrorThrowing: true });
|
|
26
|
-
}
|
|
27
|
-
async refreshAllDataOnlyPublish(payload, param) {
|
|
28
|
-
this.amqpManager.onlyPublish('es store item v1 전체 데이터 갱신', 'ES_STORE_ITEM_REFRESH_DATA_SUCCESS', payload, param);
|
|
29
|
-
}
|
|
30
|
-
async searchData(payload, param) {
|
|
31
|
-
return this.amqpManager.call('es store item v1 상품 검색', 'ES_STORE_ITEM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
32
|
-
}
|
|
33
|
-
async countGroup(payload, param) {
|
|
34
|
-
return this.amqpManager.call('es store item v1 상품 개수 group 검색', 'ES_STORE_ITEM_COUNT_GROUP', payload, param, { isErrorThrowing: true });
|
|
35
|
-
}
|
|
36
|
-
async createData(payload, param) {
|
|
37
|
-
return this.amqpManager.call('es store item v1 상품 생성', 'ES_STORE_ITEM_CREATE_DATA', payload, param, { isErrorThrowing: true });
|
|
38
|
-
}
|
|
39
|
-
async createAndUpdateBulk(payload, param) {
|
|
40
|
-
return this.amqpManager.call('es store item v1 데이터 대량 업데이트', 'ES_STORE_ITEM_CREATE_AND_UPDATE_BULK', payload, param, { isErrorThrowing: true });
|
|
41
|
-
}
|
|
42
|
-
async deleteData(payload, param) {
|
|
43
|
-
return this.amqpManager.call('es store item v1 데이터 삭제', 'ES_STORE_ITEM_DELETE_DATA', payload, param, { isErrorThrowing: true });
|
|
44
|
-
}
|
|
45
|
-
async updateData(payload, param) {
|
|
46
|
-
return this.amqpManager.call('es store item v1 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA', payload, param, { isErrorThrowing: true });
|
|
47
|
-
}
|
|
48
|
-
async updateDataByItemName(payload, param) {
|
|
49
|
-
return this.amqpManager.call('es store item v1 상품명으로 부터 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA_BY_ITEM_NAME', payload, param, { isErrorThrowing: true });
|
|
50
|
-
}
|
|
51
|
-
async searchRandomData(payload, param) {
|
|
52
|
-
return this.amqpManager.call('es store item v1 랜덤 검색', 'ES_STORE_ITEM_RANDOM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service;
|
|
56
|
-
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service = __decorate([
|
|
57
|
-
(0, common_1.Injectable)(),
|
|
58
|
-
__param(0, (0, common_1.Inject)('ELASTIC_SERVICE_PROVIDER')),
|
|
59
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
60
|
-
], AmqpEsStoreItemV2Service);
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
-
export declare enum GetLegacyStoreItemsDTypeEnum {
|
|
3
|
-
'직거래' = "\uC9C1\uAC70\uB798",
|
|
4
|
-
'택배' = "\uD0DD\uBC30",
|
|
5
|
-
'전체' = "\uC804\uCCB4"
|
|
6
|
-
}
|
|
7
|
-
export declare enum GetLegacyStoreItemsSortTypeEnum {
|
|
8
|
-
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
9
|
-
'인기순' = "\uC778\uAE30\uC21C",
|
|
10
|
-
'만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
|
|
11
|
-
'거래예정일순' = "\uAC70\uB798\uC608\uC815\uC77C\uC21C",
|
|
12
|
-
'가격낮은순' = "\uAC00\uACA9\uB0AE\uC740\uC21C",
|
|
13
|
-
'리뷰많은순' = "\uB9AC\uBDF0\uB9CE\uC740\uC21C",
|
|
14
|
-
'구매많은순' = "\uAD6C\uB9E4\uB9CE\uC740\uC21C",
|
|
15
|
-
'찜많은순' = "\uCC1C\uB9CE\uC740\uC21C",
|
|
16
|
-
'검색어기준' = "\uAC80\uC0C9\uC5B4\uAE30\uC900"
|
|
17
|
-
}
|
|
18
|
-
export declare class LegacyStoreItemCategoty {
|
|
19
|
-
mainCategory: string;
|
|
20
|
-
subCategory?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare class GetLegacyStoreItemsPayload {
|
|
23
|
-
/** 다음 페이징 토큰 */
|
|
24
|
-
searchAfter?: string;
|
|
25
|
-
/** 이전 페이징 토큰 */
|
|
26
|
-
searchBefore?: string;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated 페이지 (성능 이슈로 페이징 토큰 사용을 권장)
|
|
29
|
-
* */
|
|
30
|
-
page?: number;
|
|
31
|
-
/** 상품 수 */
|
|
32
|
-
limit: number;
|
|
33
|
-
/** 정렬 방법 */
|
|
34
|
-
sortType: GetLegacyStoreItemsSortTypeEnum;
|
|
35
|
-
/** 솔드아웃도 보여줘? */
|
|
36
|
-
viewSoldOut: boolean;
|
|
37
|
-
/** 스토어 아이디 */
|
|
38
|
-
storeId?: string;
|
|
39
|
-
/** 검색 카테고리 리스트 */
|
|
40
|
-
categoryList?: LegacyStoreItemCategoty[];
|
|
41
|
-
/** 검색 나라 리스트 */
|
|
42
|
-
nationList?: string[];
|
|
43
|
-
/** 배송 방법 */
|
|
44
|
-
DType?: GetLegacyStoreItemsDTypeEnum;
|
|
45
|
-
/** 검색어 */
|
|
46
|
-
inputText?: string;
|
|
47
|
-
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
48
|
-
searchKeywordId?: string;
|
|
49
|
-
/** 최소 가격 */
|
|
50
|
-
minPrice?: number;
|
|
51
|
-
/** 최대 가격 */
|
|
52
|
-
maxPrice?: number;
|
|
53
|
-
/** 상품 가격 배송비 포함하여 검색할것인가 */
|
|
54
|
-
isItemPriceWithShippingFee?: boolean;
|
|
55
|
-
exceptItemIds?: string[];
|
|
56
|
-
/** @description 셀렉션 프레임 아이디 */
|
|
57
|
-
selectionFrameDataId?: string;
|
|
58
|
-
/** @description 픽한 상품 인가 - selectionFrameId 값 필요 */
|
|
59
|
-
isPick?: boolean;
|
|
60
|
-
/** @description 배송비 무료인가 */
|
|
61
|
-
isShippingFeeFree?: boolean;
|
|
62
|
-
/** 전체 상품명 검색 포함할지 여부 */
|
|
63
|
-
isAllItemNameInclude?: boolean;
|
|
64
|
-
isExistsMaxDiscountCoupon?: boolean;
|
|
65
|
-
}
|
|
66
|
-
export interface GetLegacyStoreItemsResult {
|
|
67
|
-
maxPage: number;
|
|
68
|
-
storeItemNums: number;
|
|
69
|
-
storeItemList: StoreItemLegacyEntity[];
|
|
70
|
-
}
|
|
@@ -1,178 +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.GetLegacyStoreItemsPayload = exports.LegacyStoreItemCategoty = exports.GetLegacyStoreItemsSortTypeEnum = exports.GetLegacyStoreItemsDTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
var GetLegacyStoreItemsDTypeEnum;
|
|
16
|
-
(function (GetLegacyStoreItemsDTypeEnum) {
|
|
17
|
-
GetLegacyStoreItemsDTypeEnum["\uC9C1\uAC70\uB798"] = "\uC9C1\uAC70\uB798";
|
|
18
|
-
GetLegacyStoreItemsDTypeEnum["\uD0DD\uBC30"] = "\uD0DD\uBC30";
|
|
19
|
-
GetLegacyStoreItemsDTypeEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
20
|
-
})(GetLegacyStoreItemsDTypeEnum || (exports.GetLegacyStoreItemsDTypeEnum = GetLegacyStoreItemsDTypeEnum = {}));
|
|
21
|
-
var GetLegacyStoreItemsSortTypeEnum;
|
|
22
|
-
(function (GetLegacyStoreItemsSortTypeEnum) {
|
|
23
|
-
GetLegacyStoreItemsSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
24
|
-
GetLegacyStoreItemsSortTypeEnum["\uC778\uAE30\uC21C"] = "\uC778\uAE30\uC21C";
|
|
25
|
-
GetLegacyStoreItemsSortTypeEnum["\uB9CC\uB8CC\uC77C\uC21C"] = "\uB9CC\uB8CC\uC77C\uC21C";
|
|
26
|
-
GetLegacyStoreItemsSortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
27
|
-
GetLegacyStoreItemsSortTypeEnum["\uAC00\uACA9\uB0AE\uC740\uC21C"] = "\uAC00\uACA9\uB0AE\uC740\uC21C";
|
|
28
|
-
GetLegacyStoreItemsSortTypeEnum["\uB9AC\uBDF0\uB9CE\uC740\uC21C"] = "\uB9AC\uBDF0\uB9CE\uC740\uC21C";
|
|
29
|
-
GetLegacyStoreItemsSortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
30
|
-
GetLegacyStoreItemsSortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
31
|
-
GetLegacyStoreItemsSortTypeEnum["\uAC80\uC0C9\uC5B4\uAE30\uC900"] = "\uAC80\uC0C9\uC5B4\uAE30\uC900";
|
|
32
|
-
})(GetLegacyStoreItemsSortTypeEnum || (exports.GetLegacyStoreItemsSortTypeEnum = GetLegacyStoreItemsSortTypeEnum = {}));
|
|
33
|
-
class LegacyStoreItemCategoty {
|
|
34
|
-
}
|
|
35
|
-
exports.LegacyStoreItemCategoty = LegacyStoreItemCategoty;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsString)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], LegacyStoreItemCategoty.prototype, "mainCategory", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], LegacyStoreItemCategoty.prototype, "subCategory", void 0);
|
|
45
|
-
class GetLegacyStoreItemsPayload {
|
|
46
|
-
}
|
|
47
|
-
exports.GetLegacyStoreItemsPayload = GetLegacyStoreItemsPayload;
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], GetLegacyStoreItemsPayload.prototype, "searchAfter", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsString)(),
|
|
55
|
-
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], GetLegacyStoreItemsPayload.prototype, "searchBefore", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsNumber)(),
|
|
60
|
-
__metadata("design:type", Number)
|
|
61
|
-
], GetLegacyStoreItemsPayload.prototype, "page", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsNumber)()
|
|
64
|
-
/** 상품 수 */
|
|
65
|
-
,
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], GetLegacyStoreItemsPayload.prototype, "limit", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsString)(),
|
|
70
|
-
(0, class_validator_1.IsEnum)(GetLegacyStoreItemsSortTypeEnum)
|
|
71
|
-
/** 정렬 방법 */
|
|
72
|
-
,
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], GetLegacyStoreItemsPayload.prototype, "sortType", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, class_validator_1.IsBoolean)()
|
|
77
|
-
/** 솔드아웃도 보여줘? */
|
|
78
|
-
,
|
|
79
|
-
__metadata("design:type", Boolean)
|
|
80
|
-
], GetLegacyStoreItemsPayload.prototype, "viewSoldOut", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, class_validator_1.IsMongoId)(),
|
|
83
|
-
(0, class_validator_1.IsOptional)()
|
|
84
|
-
/** 스토어 아이디 */
|
|
85
|
-
,
|
|
86
|
-
__metadata("design:type", String)
|
|
87
|
-
], GetLegacyStoreItemsPayload.prototype, "storeId", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, class_validator_1.IsArray)(),
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
92
|
-
(0, class_transformer_1.Type)(() => LegacyStoreItemCategoty)
|
|
93
|
-
/** 검색 카테고리 리스트 */
|
|
94
|
-
,
|
|
95
|
-
__metadata("design:type", Array)
|
|
96
|
-
], GetLegacyStoreItemsPayload.prototype, "categoryList", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_validator_1.IsOptional)(),
|
|
99
|
-
(0, class_validator_1.IsArray)(),
|
|
100
|
-
(0, class_validator_1.IsString)({ each: true })
|
|
101
|
-
/** 검색 나라 리스트 */
|
|
102
|
-
,
|
|
103
|
-
__metadata("design:type", Array)
|
|
104
|
-
], GetLegacyStoreItemsPayload.prototype, "nationList", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, class_validator_1.IsString)(),
|
|
107
|
-
(0, class_validator_1.IsOptional)(),
|
|
108
|
-
(0, class_validator_1.IsEnum)(GetLegacyStoreItemsDTypeEnum)
|
|
109
|
-
/** 배송 방법 */
|
|
110
|
-
,
|
|
111
|
-
__metadata("design:type", String)
|
|
112
|
-
], GetLegacyStoreItemsPayload.prototype, "DType", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, class_validator_1.IsString)(),
|
|
115
|
-
(0, class_validator_1.IsOptional)()
|
|
116
|
-
/** 검색어 */
|
|
117
|
-
,
|
|
118
|
-
__metadata("design:type", String)
|
|
119
|
-
], GetLegacyStoreItemsPayload.prototype, "inputText", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, class_validator_1.IsString)(),
|
|
122
|
-
(0, class_validator_1.IsOptional)()
|
|
123
|
-
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
124
|
-
,
|
|
125
|
-
__metadata("design:type", String)
|
|
126
|
-
], GetLegacyStoreItemsPayload.prototype, "searchKeywordId", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
(0, class_validator_1.IsOptional)(),
|
|
129
|
-
(0, class_validator_1.IsNumber)()
|
|
130
|
-
/** 최소 가격 */
|
|
131
|
-
,
|
|
132
|
-
__metadata("design:type", Number)
|
|
133
|
-
], GetLegacyStoreItemsPayload.prototype, "minPrice", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, class_validator_1.IsOptional)(),
|
|
136
|
-
(0, class_validator_1.IsNumber)()
|
|
137
|
-
/** 최대 가격 */
|
|
138
|
-
,
|
|
139
|
-
__metadata("design:type", Number)
|
|
140
|
-
], GetLegacyStoreItemsPayload.prototype, "maxPrice", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, class_validator_1.IsBoolean)(),
|
|
143
|
-
(0, class_validator_1.IsOptional)()
|
|
144
|
-
/** 상품 가격 배송비 포함하여 검색할것인가 */
|
|
145
|
-
,
|
|
146
|
-
__metadata("design:type", Boolean)
|
|
147
|
-
], GetLegacyStoreItemsPayload.prototype, "isItemPriceWithShippingFee", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, class_validator_1.IsArray)(),
|
|
150
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
151
|
-
(0, class_validator_1.IsOptional)(),
|
|
152
|
-
__metadata("design:type", Array)
|
|
153
|
-
], GetLegacyStoreItemsPayload.prototype, "exceptItemIds", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, class_validator_1.IsMongoId)(),
|
|
156
|
-
(0, class_validator_1.IsOptional)(),
|
|
157
|
-
__metadata("design:type", String)
|
|
158
|
-
], GetLegacyStoreItemsPayload.prototype, "selectionFrameDataId", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, class_validator_1.IsBoolean)(),
|
|
161
|
-
(0, class_validator_1.IsOptional)(),
|
|
162
|
-
__metadata("design:type", Boolean)
|
|
163
|
-
], GetLegacyStoreItemsPayload.prototype, "isPick", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, class_validator_1.IsBoolean)(),
|
|
166
|
-
(0, class_validator_1.IsOptional)(),
|
|
167
|
-
__metadata("design:type", Boolean)
|
|
168
|
-
], GetLegacyStoreItemsPayload.prototype, "isShippingFeeFree", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, class_validator_1.IsBoolean)(),
|
|
171
|
-
(0, class_validator_1.IsOptional)(),
|
|
172
|
-
__metadata("design:type", Boolean)
|
|
173
|
-
], GetLegacyStoreItemsPayload.prototype, "isAllItemNameInclude", void 0);
|
|
174
|
-
__decorate([
|
|
175
|
-
(0, class_validator_1.IsBoolean)(),
|
|
176
|
-
(0, class_validator_1.IsOptional)(),
|
|
177
|
-
__metadata("design:type", Boolean)
|
|
178
|
-
], GetLegacyStoreItemsPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './update-store-item-connected-coupon-by-item-ids.dto';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./update-store-item-connected-coupon-by-item-ids.dto"), exports);
|