@yolo-croket-dev/amqp-access 0.0.25-jun.7 → 0.0.25-jun.9

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.
@@ -4,7 +4,7 @@ export declare enum ESStoreItemV2SortTypeEnum {
4
4
  '인기순' = "\uC778\uAE30\uC21C",
5
5
  '만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
6
6
  '거래예정일순' = "\uAC70\uB798\uC608\uC815\uC77C\uC21C",
7
- '최저가순' = "\uCD5C\uC800\uAC00\uC21C",
7
+ '가격낮은순' = "\uAC00\uACA9\uB0AE\uC740\uC21C",
8
8
  '리뷰많은순' = "\uB9AC\uBDF0\uB9CE\uC740\uC21C",
9
9
  '구매많은순' = "\uAD6C\uB9E4\uB9CE\uC740\uC21C",
10
10
  '찜많은순' = "\uCC1C\uB9CE\uC740\uC21C"
@@ -18,7 +18,7 @@ var ESStoreItemV2SortTypeEnum;
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["\uCD5C\uC800\uAC00\uC21C"] = "\uCD5C\uC800\uAC00\uC21C";
21
+ ESStoreItemV2SortTypeEnum["\uAC00\uACA9\uB0AE\uC740\uC21C"] = "\uAC00\uACA9\uB0AE\uC740\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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.25-jun.7",
3
+ "version": "0.0.25-jun.9",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1 @@
1
+ export * from './store-item';
@@ -0,0 +1,17 @@
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);
@@ -0,0 +1 @@
1
+ export * from './query';
@@ -0,0 +1,17 @@
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);
@@ -0,0 +1,61 @@
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
+ }
@@ -0,0 +1,160 @@
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);
@@ -0,0 +1 @@
1
+ export * from './get-store-item-legacies.dto';
@@ -0,0 +1,17 @@
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);