@yolo-croket-dev/amqp-access 0.0.62-jun.0 → 0.0.62-jun.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.62-jun.0",
3
+ "version": "0.0.62-jun.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,10 +1,10 @@
1
1
  import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
2
- export declare enum GetStoreItemLegaciesDTypeEnum {
2
+ export declare enum GetLegacyStoreItemsDTypeEnum {
3
3
  '직거래' = "\uC9C1\uAC70\uB798",
4
4
  '택배' = "\uD0DD\uBC30",
5
5
  '전체' = "\uC804\uCCB4"
6
6
  }
7
- export declare enum GetStoreItemLegaciesSortTypeEnum {
7
+ export declare enum GetLegacyStoreItemsSortTypeEnum {
8
8
  '최신순' = "\uCD5C\uC2E0\uC21C",
9
9
  '인기순' = "\uC778\uAE30\uC21C",
10
10
  '만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
@@ -15,31 +15,33 @@ export declare enum GetStoreItemLegaciesSortTypeEnum {
15
15
  '찜많은순' = "\uCC1C\uB9CE\uC740\uC21C",
16
16
  '검색어기준' = "\uAC80\uC0C9\uC5B4\uAE30\uC900"
17
17
  }
18
- export declare class StoreItemLegacyCategoty {
18
+ export declare class LegacyStoreItemCategoty {
19
19
  mainCategory: string;
20
20
  subCategory?: string;
21
21
  }
22
- export declare class GetStoreItemLegaciesPayload {
22
+ export declare class GetLegacyStoreItemsPayload {
23
23
  /** 다음 페이징 토큰 */
24
24
  searchAfter?: string;
25
25
  /** 이전 페이징 토큰 */
26
26
  searchBefore?: string;
27
- /** 페이지 */
27
+ /**
28
+ * @deprecated 페이지 (성능 이슈로 페이징 토큰 사용을 권장)
29
+ * */
28
30
  page?: number;
29
31
  /** 상품 수 */
30
32
  limit: number;
31
33
  /** 정렬 방법 */
32
- sortType: GetStoreItemLegaciesSortTypeEnum;
34
+ sortType: GetLegacyStoreItemsSortTypeEnum;
33
35
  /** 솔드아웃도 보여줘? */
34
36
  viewSoldOut: boolean;
35
37
  /** 스토어 아이디 */
36
38
  storeId?: string;
37
39
  /** 검색 카테고리 리스트 */
38
- categoryList?: StoreItemLegacyCategoty[];
40
+ categoryList?: LegacyStoreItemCategoty[];
39
41
  /** 검색 나라 리스트 */
40
42
  nationList?: string[];
41
43
  /** 배송 방법 */
42
- DType?: GetStoreItemLegaciesDTypeEnum;
44
+ DType?: GetLegacyStoreItemsDTypeEnum;
43
45
  /** 검색어 */
44
46
  inputText?: string;
45
47
  /** 검색 키워드로 검색한 상품 리스트인가 */
@@ -61,7 +63,7 @@ export declare class GetStoreItemLegaciesPayload {
61
63
  isAllItemNameInclude?: boolean;
62
64
  isExistsMaxDiscountCoupon?: boolean;
63
65
  }
64
- export interface GetStoreItemLegaciesResult {
66
+ export interface GetLegacyStoreItemsResult {
65
67
  maxPage: number;
66
68
  storeItemNums: number;
67
69
  storeItemList: StoreItemLegacyEntity[];
@@ -9,93 +9,91 @@ 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.GetStoreItemLegaciesPayload = exports.StoreItemLegacyCategoty = exports.GetStoreItemLegaciesSortTypeEnum = exports.GetStoreItemLegaciesDTypeEnum = void 0;
12
+ exports.GetLegacyStoreItemsPayload = exports.LegacyStoreItemCategoty = exports.GetLegacyStoreItemsSortTypeEnum = exports.GetLegacyStoreItemsDTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
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 {
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
34
  }
35
- exports.StoreItemLegacyCategoty = StoreItemLegacyCategoty;
35
+ exports.LegacyStoreItemCategoty = LegacyStoreItemCategoty;
36
36
  __decorate([
37
37
  (0, class_validator_1.IsString)(),
38
38
  __metadata("design:type", String)
39
- ], StoreItemLegacyCategoty.prototype, "mainCategory", void 0);
39
+ ], LegacyStoreItemCategoty.prototype, "mainCategory", void 0);
40
40
  __decorate([
41
41
  (0, class_validator_1.IsString)(),
42
42
  (0, class_validator_1.IsOptional)(),
43
43
  __metadata("design:type", String)
44
- ], StoreItemLegacyCategoty.prototype, "subCategory", void 0);
45
- class GetStoreItemLegaciesPayload {
44
+ ], LegacyStoreItemCategoty.prototype, "subCategory", void 0);
45
+ class GetLegacyStoreItemsPayload {
46
46
  }
47
- exports.GetStoreItemLegaciesPayload = GetStoreItemLegaciesPayload;
47
+ exports.GetLegacyStoreItemsPayload = GetLegacyStoreItemsPayload;
48
48
  __decorate([
49
49
  (0, class_validator_1.IsString)(),
50
50
  (0, class_validator_1.IsOptional)(),
51
51
  __metadata("design:type", String)
52
- ], GetStoreItemLegaciesPayload.prototype, "searchAfter", void 0);
52
+ ], GetLegacyStoreItemsPayload.prototype, "searchAfter", void 0);
53
53
  __decorate([
54
54
  (0, class_validator_1.IsString)(),
55
55
  (0, class_validator_1.IsOptional)(),
56
56
  __metadata("design:type", String)
57
- ], GetStoreItemLegaciesPayload.prototype, "searchBefore", void 0);
57
+ ], GetLegacyStoreItemsPayload.prototype, "searchBefore", void 0);
58
58
  __decorate([
59
- (0, class_validator_1.IsNumber)()
60
- /** 페이지 */
61
- ,
59
+ (0, class_validator_1.IsNumber)(),
62
60
  __metadata("design:type", Number)
63
- ], GetStoreItemLegaciesPayload.prototype, "page", void 0);
61
+ ], GetLegacyStoreItemsPayload.prototype, "page", void 0);
64
62
  __decorate([
65
63
  (0, class_validator_1.IsNumber)()
66
64
  /** 상품 수 */
67
65
  ,
68
66
  __metadata("design:type", Number)
69
- ], GetStoreItemLegaciesPayload.prototype, "limit", void 0);
67
+ ], GetLegacyStoreItemsPayload.prototype, "limit", void 0);
70
68
  __decorate([
71
69
  (0, class_validator_1.IsString)(),
72
- (0, class_validator_1.IsEnum)(GetStoreItemLegaciesSortTypeEnum)
70
+ (0, class_validator_1.IsEnum)(GetLegacyStoreItemsSortTypeEnum)
73
71
  /** 정렬 방법 */
74
72
  ,
75
73
  __metadata("design:type", String)
76
- ], GetStoreItemLegaciesPayload.prototype, "sortType", void 0);
74
+ ], GetLegacyStoreItemsPayload.prototype, "sortType", void 0);
77
75
  __decorate([
78
76
  (0, class_validator_1.IsBoolean)()
79
77
  /** 솔드아웃도 보여줘? */
80
78
  ,
81
79
  __metadata("design:type", Boolean)
82
- ], GetStoreItemLegaciesPayload.prototype, "viewSoldOut", void 0);
80
+ ], GetLegacyStoreItemsPayload.prototype, "viewSoldOut", void 0);
83
81
  __decorate([
84
82
  (0, class_validator_1.IsMongoId)(),
85
83
  (0, class_validator_1.IsOptional)()
86
84
  /** 스토어 아이디 */
87
85
  ,
88
86
  __metadata("design:type", String)
89
- ], GetStoreItemLegaciesPayload.prototype, "storeId", void 0);
87
+ ], GetLegacyStoreItemsPayload.prototype, "storeId", void 0);
90
88
  __decorate([
91
89
  (0, class_validator_1.IsArray)(),
92
90
  (0, class_validator_1.IsOptional)(),
93
91
  (0, class_validator_1.ValidateNested)({ each: true }),
94
- (0, class_transformer_1.Type)(() => StoreItemLegacyCategoty)
92
+ (0, class_transformer_1.Type)(() => LegacyStoreItemCategoty)
95
93
  /** 검색 카테고리 리스트 */
96
94
  ,
97
95
  __metadata("design:type", Array)
98
- ], GetStoreItemLegaciesPayload.prototype, "categoryList", void 0);
96
+ ], GetLegacyStoreItemsPayload.prototype, "categoryList", void 0);
99
97
  __decorate([
100
98
  (0, class_validator_1.IsOptional)(),
101
99
  (0, class_validator_1.IsArray)(),
@@ -103,78 +101,78 @@ __decorate([
103
101
  /** 검색 나라 리스트 */
104
102
  ,
105
103
  __metadata("design:type", Array)
106
- ], GetStoreItemLegaciesPayload.prototype, "nationList", void 0);
104
+ ], GetLegacyStoreItemsPayload.prototype, "nationList", void 0);
107
105
  __decorate([
108
106
  (0, class_validator_1.IsString)(),
109
107
  (0, class_validator_1.IsOptional)(),
110
- (0, class_validator_1.IsEnum)(GetStoreItemLegaciesDTypeEnum)
108
+ (0, class_validator_1.IsEnum)(GetLegacyStoreItemsDTypeEnum)
111
109
  /** 배송 방법 */
112
110
  ,
113
111
  __metadata("design:type", String)
114
- ], GetStoreItemLegaciesPayload.prototype, "DType", void 0);
112
+ ], GetLegacyStoreItemsPayload.prototype, "DType", void 0);
115
113
  __decorate([
116
114
  (0, class_validator_1.IsString)(),
117
115
  (0, class_validator_1.IsOptional)()
118
116
  /** 검색어 */
119
117
  ,
120
118
  __metadata("design:type", String)
121
- ], GetStoreItemLegaciesPayload.prototype, "inputText", void 0);
119
+ ], GetLegacyStoreItemsPayload.prototype, "inputText", void 0);
122
120
  __decorate([
123
121
  (0, class_validator_1.IsString)(),
124
122
  (0, class_validator_1.IsOptional)()
125
123
  /** 검색 키워드로 검색한 상품 리스트인가 */
126
124
  ,
127
125
  __metadata("design:type", String)
128
- ], GetStoreItemLegaciesPayload.prototype, "searchKeywordId", void 0);
126
+ ], GetLegacyStoreItemsPayload.prototype, "searchKeywordId", void 0);
129
127
  __decorate([
130
128
  (0, class_validator_1.IsOptional)(),
131
129
  (0, class_validator_1.IsNumber)()
132
130
  /** 최소 가격 */
133
131
  ,
134
132
  __metadata("design:type", Number)
135
- ], GetStoreItemLegaciesPayload.prototype, "minPrice", void 0);
133
+ ], GetLegacyStoreItemsPayload.prototype, "minPrice", void 0);
136
134
  __decorate([
137
135
  (0, class_validator_1.IsOptional)(),
138
136
  (0, class_validator_1.IsNumber)()
139
137
  /** 최대 가격 */
140
138
  ,
141
139
  __metadata("design:type", Number)
142
- ], GetStoreItemLegaciesPayload.prototype, "maxPrice", void 0);
140
+ ], GetLegacyStoreItemsPayload.prototype, "maxPrice", void 0);
143
141
  __decorate([
144
142
  (0, class_validator_1.IsBoolean)(),
145
143
  (0, class_validator_1.IsOptional)()
146
144
  /** 상품 가격 배송비 포함하여 검색할것인가 */
147
145
  ,
148
146
  __metadata("design:type", Boolean)
149
- ], GetStoreItemLegaciesPayload.prototype, "isItemPriceWithShippingFee", void 0);
147
+ ], GetLegacyStoreItemsPayload.prototype, "isItemPriceWithShippingFee", void 0);
150
148
  __decorate([
151
149
  (0, class_validator_1.IsArray)(),
152
150
  (0, class_validator_1.IsString)({ each: true }),
153
151
  (0, class_validator_1.IsOptional)(),
154
152
  __metadata("design:type", Array)
155
- ], GetStoreItemLegaciesPayload.prototype, "exceptItemIds", void 0);
153
+ ], GetLegacyStoreItemsPayload.prototype, "exceptItemIds", void 0);
156
154
  __decorate([
157
155
  (0, class_validator_1.IsMongoId)(),
158
156
  (0, class_validator_1.IsOptional)(),
159
157
  __metadata("design:type", String)
160
- ], GetStoreItemLegaciesPayload.prototype, "selectionFrameDataId", void 0);
158
+ ], GetLegacyStoreItemsPayload.prototype, "selectionFrameDataId", void 0);
161
159
  __decorate([
162
160
  (0, class_validator_1.IsBoolean)(),
163
161
  (0, class_validator_1.IsOptional)(),
164
162
  __metadata("design:type", Boolean)
165
- ], GetStoreItemLegaciesPayload.prototype, "isPick", void 0);
163
+ ], GetLegacyStoreItemsPayload.prototype, "isPick", void 0);
166
164
  __decorate([
167
165
  (0, class_validator_1.IsBoolean)(),
168
166
  (0, class_validator_1.IsOptional)(),
169
167
  __metadata("design:type", Boolean)
170
- ], GetStoreItemLegaciesPayload.prototype, "isShippingFeeFree", void 0);
168
+ ], GetLegacyStoreItemsPayload.prototype, "isShippingFeeFree", void 0);
171
169
  __decorate([
172
170
  (0, class_validator_1.IsBoolean)(),
173
171
  (0, class_validator_1.IsOptional)(),
174
172
  __metadata("design:type", Boolean)
175
- ], GetStoreItemLegaciesPayload.prototype, "isAllItemNameInclude", void 0);
173
+ ], GetLegacyStoreItemsPayload.prototype, "isAllItemNameInclude", void 0);
176
174
  __decorate([
177
175
  (0, class_validator_1.IsBoolean)(),
178
176
  (0, class_validator_1.IsOptional)(),
179
177
  __metadata("design:type", Boolean)
180
- ], GetStoreItemLegaciesPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
178
+ ], GetLegacyStoreItemsPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
@@ -2,3 +2,4 @@ export * from './get-store-item-legacies.dto';
2
2
  export * from './get-selling-item-ids-by-store-id.dto';
3
3
  export * from './search-selling-store-items.dto';
4
4
  export * from './for-es';
5
+ export * from './get-legacy-store-items.dto';
@@ -18,3 +18,4 @@ __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);
@@ -0,0 +1 @@
1
+ export * from './update-store-item-connected-coupon-by-item-ids.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("./update-store-item-connected-coupon-by-item-ids.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export declare class UpdateStoreItemConnectedCouponByItemIdsPayload {
2
+ itemIds: string[];
3
+ }
@@ -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.UpdateItemMaxDiscountCouponPayload = void 0;
12
+ exports.UpdateStoreItemConnectedCouponByItemIdsPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class UpdateItemMaxDiscountCouponPayload {
14
+ class UpdateStoreItemConnectedCouponByItemIdsPayload {
15
15
  }
16
- exports.UpdateItemMaxDiscountCouponPayload = UpdateItemMaxDiscountCouponPayload;
16
+ exports.UpdateStoreItemConnectedCouponByItemIdsPayload = UpdateStoreItemConnectedCouponByItemIdsPayload;
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
- ], UpdateItemMaxDiscountCouponPayload.prototype, "itemIds", void 0);
21
+ ], UpdateStoreItemConnectedCouponByItemIdsPayload.prototype, "itemIds", void 0);
@@ -1,2 +1,2 @@
1
- export * from './update-item-max-discount-coupon.dto';
1
+ export * from './core';
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("./update-item-max-discount-coupon.dto"), exports);
17
+ __exportStar(require("./core"), exports);
18
18
  __exportStar(require("./update-reged-store-item-connected-coupon-by-coupon-templates-ids.dto"), exports);
@@ -1,13 +1,13 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { UpdateItemMaxDiscountCouponPayload, UpdateRegedStoreItemConnectedCouponByCouponTemplatesIdsPayload } from '../dto/store-item-connected-coupon';
3
+ import { UpdateStoreItemConnectedCouponByItemIdsPayload, 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: UpdateItemMaxDiscountCouponPayload, param: AbstractParam): Promise<void>;
8
+ updateItemMaxDiscountCoupon(payload: UpdateStoreItemConnectedCouponByItemIdsPayload, param: AbstractParam): Promise<void>;
9
9
  /** onlyPublish */
10
- updateItemMaxDiscountCouponOnlyPublish(payload: UpdateItemMaxDiscountCouponPayload, param: AbstractParam): Promise<boolean>;
10
+ updateItemMaxDiscountCouponOnlyPublish(payload: UpdateStoreItemConnectedCouponByItemIdsPayload, 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,3 +0,0 @@
1
- export declare class UpdateItemMaxDiscountCouponPayload {
2
- itemIds: string[];
3
- }