@yolo-croket-dev/amqp-access 0.0.25-jun.9 → 0.0.25
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/analytics-service/amqp.analytics-service.module.js +0 -2
- package/analytics-service/services/index.d.ts +0 -1
- package/analytics-service/services/index.js +0 -1
- package/elastic-service/amqp.elastic-service.module.js +2 -2
- package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-datas.dto.d.ts +2 -5
- package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-datas.dto.js +2 -7
- package/elastic-service/dto/index.d.ts +1 -1
- package/elastic-service/dto/index.js +1 -1
- package/elastic-service/services/{amqp.es-store-item-v2.service.d.ts → amqp.elastic-search-store-item-v2.service.d.ts} +2 -4
- package/elastic-service/services/{amqp.es-store-item-v2.service.js → amqp.elastic-search-store-item-v2.service.js} +5 -11
- package/elastic-service/services/amqp.es-store-item-dictionary.service.d.ts +1 -1
- package/elastic-service/services/amqp.es-store-item-synonyms.service.d.ts +1 -1
- package/elastic-service/services/index.d.ts +1 -1
- package/elastic-service/services/index.js +1 -1
- package/package.json +1 -1
- package/user-service/dto/index.d.ts +0 -1
- package/user-service/dto/index.js +0 -17
- package/user-service/dto/store-item/index.d.ts +0 -1
- package/user-service/dto/store-item/index.js +0 -17
- package/user-service/dto/store-item/query/get-store-item-legacies.dto.d.ts +0 -61
- package/user-service/dto/store-item/query/get-store-item-legacies.dto.js +0 -160
- package/user-service/dto/store-item/query/index.d.ts +0 -1
- package/user-service/dto/store-item/query/index.js +0 -17
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-bulk-update-by-item-name.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-bulk-update-by-item-name.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-delete-data.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-delete-data.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-update-data.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/es-store-item-v2-update-data.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/index.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/index.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/index.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/index.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/update-dictionary-setting.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/update-dictionary-setting.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/update-synonyms-setting.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/setting-and-mapping/update-synonyms-setting.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/index.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/index.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-count-group.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-count-group.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-data-by-id.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-data-by-id.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-random-datas.dto.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/es-store-item-v2-get-random-datas.dto.js +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/index.d.ts +0 -0
- /package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/index.js +0 -0
|
@@ -17,12 +17,10 @@ exports.AmqpAnalyticsServiceModule = AmqpAnalyticsServiceModule = __decorate([
|
|
|
17
17
|
(0, common_1.Module)({
|
|
18
18
|
providers: [
|
|
19
19
|
amqp_analytics_service_provider_1.AnalyticsServiceProvider,
|
|
20
|
-
services_1.AmqpInflowSessionService,
|
|
21
20
|
services_1.AmqpStoreItemReviewRequestUserService,
|
|
22
21
|
],
|
|
23
22
|
exports: [
|
|
24
23
|
amqp_analytics_service_provider_1.AnalyticsServiceProvider,
|
|
25
|
-
services_1.AmqpInflowSessionService,
|
|
26
24
|
services_1.AmqpStoreItemReviewRequestUserService,
|
|
27
25
|
],
|
|
28
26
|
})
|
|
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./amqp.store-item-review-request-user.service"), exports);
|
|
18
|
-
__exportStar(require("./amqp.inflow-session.service"), exports);
|
|
@@ -19,7 +19,7 @@ exports.AmqpElasticServiceModule = AmqpElasticServiceModule = __decorate([
|
|
|
19
19
|
providers: [
|
|
20
20
|
amqp_elastic_service_provider_1.ElasticServiceProvider,
|
|
21
21
|
amqp_elastic_service_service_1.AmqpElasticService,
|
|
22
|
-
services_1.
|
|
22
|
+
services_1.AmqpElasticSearchStoreItemV2Service,
|
|
23
23
|
services_1.AmqpESPayTryLogService,
|
|
24
24
|
services_1.AmqpEsStoreItemClickService,
|
|
25
25
|
services_1.AmqpEsSelectionFrameDataService,
|
|
@@ -30,7 +30,7 @@ exports.AmqpElasticServiceModule = AmqpElasticServiceModule = __decorate([
|
|
|
30
30
|
exports: [
|
|
31
31
|
amqp_elastic_service_provider_1.ElasticServiceProvider,
|
|
32
32
|
amqp_elastic_service_service_1.AmqpElasticService,
|
|
33
|
-
services_1.
|
|
33
|
+
services_1.AmqpElasticSearchStoreItemV2Service,
|
|
34
34
|
services_1.AmqpESPayTryLogService,
|
|
35
35
|
services_1.AmqpEsStoreItemClickService,
|
|
36
36
|
services_1.AmqpEsSelectionFrameDataService,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare enum ESStoreItemV2SortTypeEnum {
|
|
2
|
-
'
|
|
2
|
+
'기본순' = "\uAE30\uBCF8\uC21C",
|
|
3
3
|
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
4
4
|
'인기순' = "\uC778\uAE30\uC21C",
|
|
5
5
|
'만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
|
|
6
6
|
'거래예정일순' = "\uAC70\uB798\uC608\uC815\uC77C\uC21C",
|
|
7
|
-
'
|
|
7
|
+
'최저가순' = "\uCD5C\uC800\uAC00\uC21C",
|
|
8
8
|
'리뷰많은순' = "\uB9AC\uBDF0\uB9CE\uC740\uC21C",
|
|
9
9
|
'구매많은순' = "\uAD6C\uB9E4\uB9CE\uC740\uC21C",
|
|
10
10
|
'찜많은순' = "\uCC1C\uB9CE\uC740\uC21C"
|
|
@@ -19,10 +19,7 @@ export declare class EsStoreItemV2GetDatasPayload {
|
|
|
19
19
|
isViewSoldOut?: boolean;
|
|
20
20
|
isItemPriceWithShippingFee?: boolean;
|
|
21
21
|
storeId?: string;
|
|
22
|
-
/** 일반 상품명 검색 */
|
|
23
22
|
itemName?: string;
|
|
24
|
-
/** searchKeyword 검색으로 or 처리해야함 */
|
|
25
|
-
itemNames?: string[];
|
|
26
23
|
nations?: string[];
|
|
27
24
|
categoryInfos?: ESStoreItemV2Category[];
|
|
28
25
|
sortType?: ESStoreItemV2SortTypeEnum;
|
|
@@ -13,12 +13,12 @@ exports.EsStoreItemV2GetDatasResult = exports.EsStoreItemV2GetDatasPayload = exp
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
var ESStoreItemV2SortTypeEnum;
|
|
15
15
|
(function (ESStoreItemV2SortTypeEnum) {
|
|
16
|
-
ESStoreItemV2SortTypeEnum["\
|
|
16
|
+
ESStoreItemV2SortTypeEnum["\uAE30\uBCF8\uC21C"] = "\uAE30\uBCF8\uC21C";
|
|
17
17
|
ESStoreItemV2SortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
18
18
|
ESStoreItemV2SortTypeEnum["\uC778\uAE30\uC21C"] = "\uC778\uAE30\uC21C";
|
|
19
19
|
ESStoreItemV2SortTypeEnum["\uB9CC\uB8CC\uC77C\uC21C"] = "\uB9CC\uB8CC\uC77C\uC21C";
|
|
20
20
|
ESStoreItemV2SortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
21
|
-
ESStoreItemV2SortTypeEnum["\
|
|
21
|
+
ESStoreItemV2SortTypeEnum["\uCD5C\uC800\uAC00\uC21C"] = "\uCD5C\uC800\uAC00\uC21C";
|
|
22
22
|
ESStoreItemV2SortTypeEnum["\uB9AC\uBDF0\uB9CE\uC740\uC21C"] = "\uB9AC\uBDF0\uB9CE\uC740\uC21C";
|
|
23
23
|
ESStoreItemV2SortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
24
24
|
ESStoreItemV2SortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
@@ -66,11 +66,6 @@ __decorate([
|
|
|
66
66
|
(0, class_validator_1.IsString)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
68
|
], EsStoreItemV2GetDatasPayload.prototype, "itemName", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, class_validator_1.IsOptional)(),
|
|
71
|
-
(0, class_validator_1.IsString)(),
|
|
72
|
-
__metadata("design:type", Array)
|
|
73
|
-
], EsStoreItemV2GetDatasPayload.prototype, "itemNames", void 0);
|
|
74
69
|
__decorate([
|
|
75
70
|
(0, class_validator_1.IsOptional)(),
|
|
76
71
|
(0, class_validator_1.IsArray)(),
|
|
@@ -14,6 +14,6 @@ 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("./elastic-search-store-item-v2"), exports);
|
|
18
18
|
__exportStar(require("./es-store-item-dictionary"), exports);
|
|
19
19
|
__exportStar(require("./es-store-item-synonyms"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { EsStoreItemV2GetDatasPayload, EsStoreItemV2GetDatasResult, EsStoreItemV2CountGroupPayload, EsStoreItemV2CountGroupResult, EsStoreItemV2UpdateDataPayload, ESStoreItemV2DeleteDataPayload, EsStoreItemV2BulkUpdateByItemNamePayload, EsStoreItemV2GetRandomDatasPayload, EsStoreItemV2GetRandomDatasResult, EsStoreItemV2GetDataByIdPayload, EsStoreItemV2GetDataByIdResult
|
|
4
|
-
export declare class
|
|
3
|
+
import { EsStoreItemV2GetDatasPayload, EsStoreItemV2GetDatasResult, EsStoreItemV2CountGroupPayload, EsStoreItemV2CountGroupResult, EsStoreItemV2UpdateDataPayload, ESStoreItemV2DeleteDataPayload, EsStoreItemV2BulkUpdateByItemNamePayload, EsStoreItemV2GetRandomDatasPayload, EsStoreItemV2GetRandomDatasResult, EsStoreItemV2GetDataByIdPayload, EsStoreItemV2GetDataByIdResult } from '../dto';
|
|
4
|
+
export declare class AmqpElasticSearchStoreItemV2Service {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
@@ -14,6 +14,4 @@ export declare class AmqpEsStoreItemV2Service {
|
|
|
14
14
|
deleteData(payload: ESStoreItemV2DeleteDataPayload, param: AbstractParam): Promise<void>;
|
|
15
15
|
bulkUpdateByItemName(payload: EsStoreItemV2BulkUpdateByItemNamePayload, param: AbstractParam): Promise<void>;
|
|
16
16
|
getRandomDatas(payload: EsStoreItemV2GetRandomDatasPayload, param: AbstractParam): Promise<EsStoreItemV2GetRandomDatasResult>;
|
|
17
|
-
updateDictionarySetting(payload: UpdateDictionarySettingPayload, param: AbstractParam): Promise<void>;
|
|
18
|
-
updateSynonymsSetting(payload: UpdateSynonymsSettingPayload, param: AbstractParam): Promise<void>;
|
|
19
17
|
}
|
|
@@ -12,11 +12,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.AmqpElasticSearchStoreItemV2Service = void 0;
|
|
16
16
|
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
|
-
let
|
|
19
|
+
let AmqpElasticSearchStoreItemV2Service = class AmqpElasticSearchStoreItemV2Service {
|
|
20
20
|
constructor(client) {
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
@@ -48,16 +48,10 @@ let AmqpEsStoreItemV2Service = class AmqpEsStoreItemV2Service {
|
|
|
48
48
|
async getRandomDatas(payload, param) {
|
|
49
49
|
return this.amqpManager.call('ElasticSearchStoreItemV2 랜덤 조회', 'elastic-search-store-item-v2.get.random-datas', payload, param, { isErrorThrowing: true });
|
|
50
50
|
}
|
|
51
|
-
async updateDictionarySetting(payload, param) {
|
|
52
|
-
return this.amqpManager.call('dictionary 설정 업데이트', 'elastic-search-store-item-v2.update.dictionary-setting', payload, param, { isErrorThrowing: true });
|
|
53
|
-
}
|
|
54
|
-
async updateSynonymsSetting(payload, param) {
|
|
55
|
-
return this.amqpManager.call('synonyms 설정 업데이트', 'elastic-search-store-item-v2.update.synonyms-setting', payload, param, { isErrorThrowing: true });
|
|
56
|
-
}
|
|
57
51
|
};
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
52
|
+
exports.AmqpElasticSearchStoreItemV2Service = AmqpElasticSearchStoreItemV2Service;
|
|
53
|
+
exports.AmqpElasticSearchStoreItemV2Service = AmqpElasticSearchStoreItemV2Service = __decorate([
|
|
60
54
|
(0, common_1.Injectable)(),
|
|
61
55
|
__param(0, (0, common_1.Inject)('ELASTIC_SERVICE_PROVIDER')),
|
|
62
56
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
63
|
-
],
|
|
57
|
+
], AmqpElasticSearchStoreItemV2Service);
|
|
@@ -5,6 +5,6 @@ export declare class AmqpEsStoreItemDictionaryService {
|
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
updateEsStoreItemDictionary(payload:
|
|
8
|
+
updateEsStoreItemDictionary(payload: void, param: AbstractParam): Promise<UpdateEsStoreItemDictionaryPayload>;
|
|
9
9
|
getEsStoreItemDictionary(payload: void, param: AbstractParam): Promise<GetEsStoreItemDictionaryResult>;
|
|
10
10
|
}
|
|
@@ -5,6 +5,6 @@ export declare class AmqpEsStoreItemSynonymsService {
|
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
updateEsStoreItemSynonyms(payload:
|
|
8
|
+
updateEsStoreItemSynonyms(payload: void, param: AbstractParam): Promise<UpdateEsStoreItemSynonymsPayload>;
|
|
9
9
|
getEsStoreItemSynonyms(payload: void, param: AbstractParam): Promise<GetEsStoreItemSynonymsResult>;
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './amqp.
|
|
1
|
+
export * from './amqp.elastic-search-store-item-v2.service';
|
|
2
2
|
export * from './amqp.es-pay-try-log.service';
|
|
3
3
|
export * from './amqp.es-selection-frame-data.service';
|
|
4
4
|
export * from './amqp.elastic-search-store-item.service';
|
|
@@ -14,7 +14,7 @@ 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("./amqp.
|
|
17
|
+
__exportStar(require("./amqp.elastic-search-store-item-v2.service"), exports);
|
|
18
18
|
__exportStar(require("./amqp.es-pay-try-log.service"), exports);
|
|
19
19
|
__exportStar(require("./amqp.es-selection-frame-data.service"), exports);
|
|
20
20
|
__exportStar(require("./amqp.elastic-search-store-item.service"), exports);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './store-item';
|
|
@@ -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("./store-item"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './query';
|
|
@@ -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("./query"), exports);
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
-
export declare enum GetStoreItemLegaciesDTypeEnum {
|
|
3
|
-
'직거래' = "\uC9C1\uAC70\uB798",
|
|
4
|
-
'택배' = "\uD0DD\uBC30",
|
|
5
|
-
'전체' = "\uC804\uCCB4"
|
|
6
|
-
}
|
|
7
|
-
export declare enum GetStoreItemLegaciesSortTypeEnum {
|
|
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 StoreItemLegacyCategoty {
|
|
19
|
-
mainCategory: string;
|
|
20
|
-
subCategory?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare class GetStoreItemLegaciesPayload {
|
|
23
|
-
/** 페이지 */
|
|
24
|
-
page: number;
|
|
25
|
-
/** 상품 수 */
|
|
26
|
-
limit: number;
|
|
27
|
-
/** 정렬 방법 */
|
|
28
|
-
sortType: GetStoreItemLegaciesSortTypeEnum;
|
|
29
|
-
/** 솔드아웃도 보여줘? */
|
|
30
|
-
viewSoldOut: boolean;
|
|
31
|
-
/** 스토어 아이디 */
|
|
32
|
-
storeId?: string;
|
|
33
|
-
/** 검색 카테고리 리스트 */
|
|
34
|
-
categoryList?: StoreItemLegacyCategoty[];
|
|
35
|
-
/** 검색 나라 리스트 */
|
|
36
|
-
nationList?: string[];
|
|
37
|
-
/** 배송 방법 */
|
|
38
|
-
DType?: GetStoreItemLegaciesDTypeEnum;
|
|
39
|
-
/** 검색어 */
|
|
40
|
-
inputText?: string;
|
|
41
|
-
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
42
|
-
searchKeywordId?: string;
|
|
43
|
-
/** 최소 가격 */
|
|
44
|
-
minPrice?: number;
|
|
45
|
-
/** 최대 가격 */
|
|
46
|
-
maxPrice?: number;
|
|
47
|
-
/** 상품 가격 배송비 포함하여 검색할것인가 */
|
|
48
|
-
isItemPriceWithShippingFee?: boolean;
|
|
49
|
-
exceptItemIds?: string[];
|
|
50
|
-
/** @description 셀렉션 프레임 아이디 */
|
|
51
|
-
selectionFrameDataId?: string;
|
|
52
|
-
/** @description 픽한 상품 인가 - selectionFrameId 값 필요 */
|
|
53
|
-
isPick?: boolean;
|
|
54
|
-
/** @description 배송비 무료인가 */
|
|
55
|
-
isShippingFeeFree?: boolean;
|
|
56
|
-
}
|
|
57
|
-
export interface GetStoreItemLegaciesResult {
|
|
58
|
-
maxPage: number;
|
|
59
|
-
storeItemNums: number;
|
|
60
|
-
storeItemList: StoreItemLegacyEntity[];
|
|
61
|
-
}
|
|
@@ -1,160 +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.GetStoreItemLegaciesPayload = exports.StoreItemLegacyCategoty = exports.GetStoreItemLegaciesSortTypeEnum = exports.GetStoreItemLegaciesDTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
var GetStoreItemLegaciesDTypeEnum;
|
|
16
|
-
(function (GetStoreItemLegaciesDTypeEnum) {
|
|
17
|
-
GetStoreItemLegaciesDTypeEnum["\uC9C1\uAC70\uB798"] = "\uC9C1\uAC70\uB798";
|
|
18
|
-
GetStoreItemLegaciesDTypeEnum["\uD0DD\uBC30"] = "\uD0DD\uBC30";
|
|
19
|
-
GetStoreItemLegaciesDTypeEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
20
|
-
})(GetStoreItemLegaciesDTypeEnum || (exports.GetStoreItemLegaciesDTypeEnum = GetStoreItemLegaciesDTypeEnum = {}));
|
|
21
|
-
var GetStoreItemLegaciesSortTypeEnum;
|
|
22
|
-
(function (GetStoreItemLegaciesSortTypeEnum) {
|
|
23
|
-
GetStoreItemLegaciesSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
24
|
-
GetStoreItemLegaciesSortTypeEnum["\uC778\uAE30\uC21C"] = "\uC778\uAE30\uC21C";
|
|
25
|
-
GetStoreItemLegaciesSortTypeEnum["\uB9CC\uB8CC\uC77C\uC21C"] = "\uB9CC\uB8CC\uC77C\uC21C";
|
|
26
|
-
GetStoreItemLegaciesSortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
27
|
-
GetStoreItemLegaciesSortTypeEnum["\uAC00\uACA9\uB0AE\uC740\uC21C"] = "\uAC00\uACA9\uB0AE\uC740\uC21C";
|
|
28
|
-
GetStoreItemLegaciesSortTypeEnum["\uB9AC\uBDF0\uB9CE\uC740\uC21C"] = "\uB9AC\uBDF0\uB9CE\uC740\uC21C";
|
|
29
|
-
GetStoreItemLegaciesSortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
30
|
-
GetStoreItemLegaciesSortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
31
|
-
GetStoreItemLegaciesSortTypeEnum["\uAC80\uC0C9\uC5B4\uAE30\uC900"] = "\uAC80\uC0C9\uC5B4\uAE30\uC900";
|
|
32
|
-
})(GetStoreItemLegaciesSortTypeEnum || (exports.GetStoreItemLegaciesSortTypeEnum = GetStoreItemLegaciesSortTypeEnum = {}));
|
|
33
|
-
class StoreItemLegacyCategoty {
|
|
34
|
-
}
|
|
35
|
-
exports.StoreItemLegacyCategoty = StoreItemLegacyCategoty;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsString)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], StoreItemLegacyCategoty.prototype, "mainCategory", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], StoreItemLegacyCategoty.prototype, "subCategory", void 0);
|
|
45
|
-
class GetStoreItemLegaciesPayload {
|
|
46
|
-
}
|
|
47
|
-
exports.GetStoreItemLegaciesPayload = GetStoreItemLegaciesPayload;
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNumber)()
|
|
50
|
-
/** 페이지 */
|
|
51
|
-
,
|
|
52
|
-
__metadata("design:type", Number)
|
|
53
|
-
], GetStoreItemLegaciesPayload.prototype, "page", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, class_validator_1.IsNumber)()
|
|
56
|
-
/** 상품 수 */
|
|
57
|
-
,
|
|
58
|
-
__metadata("design:type", Number)
|
|
59
|
-
], GetStoreItemLegaciesPayload.prototype, "limit", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, class_validator_1.IsString)(),
|
|
62
|
-
(0, class_validator_1.IsEnum)(GetStoreItemLegaciesSortTypeEnum)
|
|
63
|
-
/** 정렬 방법 */
|
|
64
|
-
,
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], GetStoreItemLegaciesPayload.prototype, "sortType", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsBoolean)()
|
|
69
|
-
/** 솔드아웃도 보여줘? */
|
|
70
|
-
,
|
|
71
|
-
__metadata("design:type", Boolean)
|
|
72
|
-
], GetStoreItemLegaciesPayload.prototype, "viewSoldOut", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, class_validator_1.IsMongoId)(),
|
|
75
|
-
(0, class_validator_1.IsOptional)()
|
|
76
|
-
/** 스토어 아이디 */
|
|
77
|
-
,
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], GetStoreItemLegaciesPayload.prototype, "storeId", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_validator_1.IsArray)(),
|
|
82
|
-
(0, class_validator_1.IsOptional)(),
|
|
83
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
84
|
-
(0, class_transformer_1.Type)(() => StoreItemLegacyCategoty)
|
|
85
|
-
/** 검색 카테고리 리스트 */
|
|
86
|
-
,
|
|
87
|
-
__metadata("design:type", Array)
|
|
88
|
-
], GetStoreItemLegaciesPayload.prototype, "categoryList", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_validator_1.IsArray)(),
|
|
92
|
-
(0, class_validator_1.IsString)({ each: true })
|
|
93
|
-
/** 검색 나라 리스트 */
|
|
94
|
-
,
|
|
95
|
-
__metadata("design:type", Array)
|
|
96
|
-
], GetStoreItemLegaciesPayload.prototype, "nationList", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_validator_1.IsString)(),
|
|
99
|
-
(0, class_validator_1.IsOptional)(),
|
|
100
|
-
(0, class_validator_1.IsEnum)(GetStoreItemLegaciesDTypeEnum)
|
|
101
|
-
/** 배송 방법 */
|
|
102
|
-
,
|
|
103
|
-
__metadata("design:type", String)
|
|
104
|
-
], GetStoreItemLegaciesPayload.prototype, "DType", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, class_validator_1.IsString)(),
|
|
107
|
-
(0, class_validator_1.IsOptional)()
|
|
108
|
-
/** 검색어 */
|
|
109
|
-
,
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], GetStoreItemLegaciesPayload.prototype, "inputText", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, class_validator_1.IsString)(),
|
|
114
|
-
(0, class_validator_1.IsOptional)()
|
|
115
|
-
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
116
|
-
,
|
|
117
|
-
__metadata("design:type", String)
|
|
118
|
-
], GetStoreItemLegaciesPayload.prototype, "searchKeywordId", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
(0, class_validator_1.IsNumber)()
|
|
122
|
-
/** 최소 가격 */
|
|
123
|
-
,
|
|
124
|
-
__metadata("design:type", Number)
|
|
125
|
-
], GetStoreItemLegaciesPayload.prototype, "minPrice", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, class_validator_1.IsOptional)(),
|
|
128
|
-
(0, class_validator_1.IsNumber)()
|
|
129
|
-
/** 최대 가격 */
|
|
130
|
-
,
|
|
131
|
-
__metadata("design:type", Number)
|
|
132
|
-
], GetStoreItemLegaciesPayload.prototype, "maxPrice", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, class_validator_1.IsBoolean)(),
|
|
135
|
-
(0, class_validator_1.IsOptional)()
|
|
136
|
-
/** 상품 가격 배송비 포함하여 검색할것인가 */
|
|
137
|
-
,
|
|
138
|
-
__metadata("design:type", Boolean)
|
|
139
|
-
], GetStoreItemLegaciesPayload.prototype, "isItemPriceWithShippingFee", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, class_validator_1.IsArray)(),
|
|
142
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
143
|
-
(0, class_validator_1.IsOptional)(),
|
|
144
|
-
__metadata("design:type", Array)
|
|
145
|
-
], GetStoreItemLegaciesPayload.prototype, "exceptItemIds", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, class_validator_1.IsMongoId)(),
|
|
148
|
-
(0, class_validator_1.IsOptional)(),
|
|
149
|
-
__metadata("design:type", String)
|
|
150
|
-
], GetStoreItemLegaciesPayload.prototype, "selectionFrameDataId", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, class_validator_1.IsBoolean)(),
|
|
153
|
-
(0, class_validator_1.IsOptional)(),
|
|
154
|
-
__metadata("design:type", Boolean)
|
|
155
|
-
], GetStoreItemLegaciesPayload.prototype, "isPick", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, class_validator_1.IsBoolean)(),
|
|
158
|
-
(0, class_validator_1.IsOptional)(),
|
|
159
|
-
__metadata("design:type", Boolean)
|
|
160
|
-
], GetStoreItemLegaciesPayload.prototype, "isShippingFeeFree", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './get-store-item-legacies.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("./get-store-item-legacies.dto"), exports);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/index.d.ts
RENAMED
|
File without changes
|
/package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/command/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/index.d.ts
RENAMED
|
File without changes
|
/package/elastic-service/dto/{es-store-item-v2 → elastic-search-store-item-v2}/query/index.js
RENAMED
|
File without changes
|