@yolo-croket-dev/amqp-access 0.5.158 → 0.5.160-sj
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 +2 -2
- package/store-item-server/dto/store-item/command/delete-regular-price-by-admin.dto.d.ts +3 -0
- package/store-item-server/dto/store-item/command/delete-regular-price-by-admin.dto.js +20 -0
- package/store-item-server/dto/store-item/command/index.d.ts +3 -0
- package/store-item-server/dto/store-item/command/index.js +3 -0
- package/store-item-server/dto/store-item/command/reg-regular-price-bulk-by-admin.dto.d.ts +7 -0
- package/store-item-server/dto/store-item/command/reg-regular-price-bulk-by-admin.dto.js +34 -0
- package/store-item-server/dto/store-item/command/update-regular-price-by-admin.dto.d.ts +4 -0
- package/store-item-server/dto/store-item/command/update-regular-price-by-admin.dto.js +24 -0
- package/store-item-server/dto/store-item/query/index.d.ts +2 -0
- package/store-item-server/dto/store-item/query/index.js +2 -0
- package/store-item-server/dto/store-item/query/search-regular-price-items-for-admin.dto.d.ts +18 -0
- package/store-item-server/dto/store-item/query/search-regular-price-items-for-admin.dto.js +46 -0
- package/store-item-server/dto/store-item/query/search-secret-items-for-admin.dto.d.ts +18 -0
- package/store-item-server/dto/store-item/query/search-secret-items-for-admin.dto.js +46 -0
- package/store-item-server/services/amqp.store-item.service.d.ts +5 -1
- package/store-item-server/services/amqp.store-item.service.js +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.160-sj",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@yolo-croket-dev/core": "1.7.17",
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.12",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.10",
|
|
24
|
-
"@yolo-croket-dev/entity": "^0.2.
|
|
24
|
+
"@yolo-croket-dev/entity": "^0.2.34",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.2.49",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
@@ -0,0 +1,20 @@
|
|
|
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.DeleteRegularPriceByAdminPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DeleteRegularPriceByAdminPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.DeleteRegularPriceByAdminPayload = DeleteRegularPriceByAdminPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], DeleteRegularPriceByAdminPayload.prototype, "itemId", void 0);
|
|
@@ -15,3 +15,6 @@ export * from './copy-store-item-list.dto';
|
|
|
15
15
|
export * from './update-store-item-secret.dto';
|
|
16
16
|
export * from './update-contents.dto';
|
|
17
17
|
export * from './update-brand-infos.dto';
|
|
18
|
+
export * from './reg-regular-price-bulk-by-admin.dto';
|
|
19
|
+
export * from './update-regular-price-by-admin.dto';
|
|
20
|
+
export * from './delete-regular-price-by-admin.dto';
|
|
@@ -31,3 +31,6 @@ __exportStar(require("./copy-store-item-list.dto"), exports);
|
|
|
31
31
|
__exportStar(require("./update-store-item-secret.dto"), exports);
|
|
32
32
|
__exportStar(require("./update-contents.dto"), exports);
|
|
33
33
|
__exportStar(require("./update-brand-infos.dto"), exports);
|
|
34
|
+
__exportStar(require("./reg-regular-price-bulk-by-admin.dto"), exports);
|
|
35
|
+
__exportStar(require("./update-regular-price-by-admin.dto"), exports);
|
|
36
|
+
__exportStar(require("./delete-regular-price-by-admin.dto"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
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.RegRegularPriceBulkByAdminPayload = exports.RegRegularPriceBulkByAdminData = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class RegRegularPriceBulkByAdminData {
|
|
16
|
+
}
|
|
17
|
+
exports.RegRegularPriceBulkByAdminData = RegRegularPriceBulkByAdminData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], RegRegularPriceBulkByAdminData.prototype, "itemId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], RegRegularPriceBulkByAdminData.prototype, "regularPrice", void 0);
|
|
26
|
+
class RegRegularPriceBulkByAdminPayload {
|
|
27
|
+
}
|
|
28
|
+
exports.RegRegularPriceBulkByAdminPayload = RegRegularPriceBulkByAdminPayload;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
32
|
+
(0, class_transformer_1.Type)(() => RegRegularPriceBulkByAdminData),
|
|
33
|
+
__metadata("design:type", Array)
|
|
34
|
+
], RegRegularPriceBulkByAdminPayload.prototype, "datas", void 0);
|
|
@@ -0,0 +1,24 @@
|
|
|
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.UpdateRegularPriceByAdminPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateRegularPriceByAdminPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.UpdateRegularPriceByAdminPayload = UpdateRegularPriceByAdminPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], UpdateRegularPriceByAdminPayload.prototype, "itemId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], UpdateRegularPriceByAdminPayload.prototype, "regularPrice", void 0);
|
|
@@ -24,3 +24,5 @@ export * from './get-store-infos-by-item-ids.dto';
|
|
|
24
24
|
export * from './get-coupon-codes-by-selling-item.dto';
|
|
25
25
|
export * from './get-selling-store-items-for-chat.dto';
|
|
26
26
|
export * from './get-store-items-by-pre-black-friday-title.dto';
|
|
27
|
+
export * from './search-regular-price-items-for-admin.dto';
|
|
28
|
+
export * from './search-secret-items-for-admin.dto';
|
|
@@ -40,3 +40,5 @@ __exportStar(require("./get-store-infos-by-item-ids.dto"), exports);
|
|
|
40
40
|
__exportStar(require("./get-coupon-codes-by-selling-item.dto"), exports);
|
|
41
41
|
__exportStar(require("./get-selling-store-items-for-chat.dto"), exports);
|
|
42
42
|
__exportStar(require("./get-store-items-by-pre-black-friday-title.dto"), exports);
|
|
43
|
+
__exportStar(require("./search-regular-price-items-for-admin.dto"), exports);
|
|
44
|
+
__exportStar(require("./search-secret-items-for-admin.dto"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoreItem as StoreItemEntity } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
|
|
2
|
+
export declare enum SearchRegularPriceItemsForAdminSearchTypeEnum {
|
|
3
|
+
'ITEM_ID' = "ITEM_ID",
|
|
4
|
+
'ITEM_NAME' = "ITEM_NAME"
|
|
5
|
+
}
|
|
6
|
+
export declare class SearchRegularPriceItemsForAdminPayload {
|
|
7
|
+
page: number;
|
|
8
|
+
limit: number;
|
|
9
|
+
searchType: SearchRegularPriceItemsForAdminSearchTypeEnum;
|
|
10
|
+
itemId?: string;
|
|
11
|
+
itemName?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface SearchRegularPriceItemsForAdminItem extends Pick<StoreItemEntity, '_id' | 'itemName' | 'itemPriceForBuyer' | 'regularPrice' | 'regDate' | 'lastModifyDate'> {
|
|
14
|
+
}
|
|
15
|
+
export declare class SearchRegularPriceItemsForAdminResult {
|
|
16
|
+
storeItems: SearchRegularPriceItemsForAdminItem[];
|
|
17
|
+
totalCount: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.SearchRegularPriceItemsForAdminResult = exports.SearchRegularPriceItemsForAdminPayload = exports.SearchRegularPriceItemsForAdminSearchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var SearchRegularPriceItemsForAdminSearchTypeEnum;
|
|
15
|
+
(function (SearchRegularPriceItemsForAdminSearchTypeEnum) {
|
|
16
|
+
SearchRegularPriceItemsForAdminSearchTypeEnum["ITEM_ID"] = "ITEM_ID";
|
|
17
|
+
SearchRegularPriceItemsForAdminSearchTypeEnum["ITEM_NAME"] = "ITEM_NAME";
|
|
18
|
+
})(SearchRegularPriceItemsForAdminSearchTypeEnum || (exports.SearchRegularPriceItemsForAdminSearchTypeEnum = SearchRegularPriceItemsForAdminSearchTypeEnum = {}));
|
|
19
|
+
class SearchRegularPriceItemsForAdminPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.SearchRegularPriceItemsForAdminPayload = SearchRegularPriceItemsForAdminPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SearchRegularPriceItemsForAdminPayload.prototype, "page", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], SearchRegularPriceItemsForAdminPayload.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(SearchRegularPriceItemsForAdminSearchTypeEnum),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SearchRegularPriceItemsForAdminPayload.prototype, "searchType", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsMongoId)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SearchRegularPriceItemsForAdminPayload.prototype, "itemId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], SearchRegularPriceItemsForAdminPayload.prototype, "itemName", void 0);
|
|
44
|
+
class SearchRegularPriceItemsForAdminResult {
|
|
45
|
+
}
|
|
46
|
+
exports.SearchRegularPriceItemsForAdminResult = SearchRegularPriceItemsForAdminResult;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoreItem as StoreItemEntity } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
|
|
2
|
+
export declare enum SearchSecretItemsForAdminSearchTypeEnum {
|
|
3
|
+
'ITEM_ID' = "ITEM_ID",
|
|
4
|
+
'ITEM_NAME' = "ITEM_NAME"
|
|
5
|
+
}
|
|
6
|
+
export declare class SearchSecretItemsForAdminPayload {
|
|
7
|
+
page: number;
|
|
8
|
+
limit: number;
|
|
9
|
+
searchType: SearchSecretItemsForAdminSearchTypeEnum;
|
|
10
|
+
itemId?: string;
|
|
11
|
+
itemName?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface SearchSecretItemsForAdminItem extends Pick<StoreItemEntity, '_id' | 'itemName' | 'isSecret' | 'regDate'> {
|
|
14
|
+
}
|
|
15
|
+
export declare class SearchSecretItemsForAdminResult {
|
|
16
|
+
storeItems: SearchSecretItemsForAdminItem[];
|
|
17
|
+
totalCount: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.SearchSecretItemsForAdminResult = exports.SearchSecretItemsForAdminPayload = exports.SearchSecretItemsForAdminSearchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var SearchSecretItemsForAdminSearchTypeEnum;
|
|
15
|
+
(function (SearchSecretItemsForAdminSearchTypeEnum) {
|
|
16
|
+
SearchSecretItemsForAdminSearchTypeEnum["ITEM_ID"] = "ITEM_ID";
|
|
17
|
+
SearchSecretItemsForAdminSearchTypeEnum["ITEM_NAME"] = "ITEM_NAME";
|
|
18
|
+
})(SearchSecretItemsForAdminSearchTypeEnum || (exports.SearchSecretItemsForAdminSearchTypeEnum = SearchSecretItemsForAdminSearchTypeEnum = {}));
|
|
19
|
+
class SearchSecretItemsForAdminPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.SearchSecretItemsForAdminPayload = SearchSecretItemsForAdminPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SearchSecretItemsForAdminPayload.prototype, "page", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], SearchSecretItemsForAdminPayload.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(SearchSecretItemsForAdminSearchTypeEnum),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SearchSecretItemsForAdminPayload.prototype, "searchType", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsMongoId)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SearchSecretItemsForAdminPayload.prototype, "itemId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], SearchSecretItemsForAdminPayload.prototype, "itemName", void 0);
|
|
44
|
+
class SearchSecretItemsForAdminResult {
|
|
45
|
+
}
|
|
46
|
+
exports.SearchSecretItemsForAdminResult = SearchSecretItemsForAdminResult;
|
|
@@ -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 } 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 } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -59,4 +59,8 @@ export declare class AmqpStoreItemService {
|
|
|
59
59
|
getSellingStoreItemsForChat(payload: GetSellingStoreItemsForChatPayload, param: AbstractParam): Promise<GetSellingStoreItemsForChatResult[]>;
|
|
60
60
|
getStoreItemsByPreBlackFridayId(payload: GetStoreItemsByPreBlackFridayIdPayload, param: AbstractParam): Promise<GetStoreItemsByPreBlackFridayIdResult>;
|
|
61
61
|
updateBrandInfos(payload: UpdateBrandInfosPayload, param: AbstractParam): Promise<UpdateBrandInfosResult>;
|
|
62
|
+
searchRegularPriceItemsForAdmin(payload: SearchRegularPriceItemsForAdminPayload, param: AbstractParam): Promise<SearchRegularPriceItemsForAdminResult>;
|
|
63
|
+
updateRegularPriceByAdmin(payload: UpdateRegularPriceByAdminPayload, param: AbstractParam): Promise<void>;
|
|
64
|
+
regRegularPriceBulkByAdmin(payload: RegRegularPriceBulkByAdminPayload, param: AbstractParam): Promise<void>;
|
|
65
|
+
deleteRegularPriceByAdmin(payload: DeleteRegularPriceByAdminPayload, param: AbstractParam): Promise<void>;
|
|
62
66
|
}
|
|
@@ -177,6 +177,18 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
177
177
|
async updateBrandInfos(payload, param) {
|
|
178
178
|
return this.amqpManager.call('달파 데이터 기반 상품 정보에 브랜드 값 저장', 'store-item.update.brand-infos', payload, param, { isErrorThrowing: true });
|
|
179
179
|
}
|
|
180
|
+
async searchRegularPriceItemsForAdmin(payload, param) {
|
|
181
|
+
return this.amqpManager.call('상품 정가 검색 -관리자-', 'store-item.get.regular-price-items-for-admin', payload, param, { isErrorThrowing: true });
|
|
182
|
+
}
|
|
183
|
+
async updateRegularPriceByAdmin(payload, param) {
|
|
184
|
+
return this.amqpManager.call('상품 정가 업데이트 -관리자-', 'store-item.update.regular-price-by-admin', payload, param, { isErrorThrowing: true });
|
|
185
|
+
}
|
|
186
|
+
async regRegularPriceBulkByAdmin(payload, param) {
|
|
187
|
+
return this.amqpManager.call('상품 정가 대량 -관리자- 등록', 'store-item.reg.regular-price-bulk-by-admin', payload, param, { isErrorThrowing: true });
|
|
188
|
+
}
|
|
189
|
+
async deleteRegularPriceByAdmin(payload, param) {
|
|
190
|
+
return this.amqpManager.call('상품 정가 삭제 -관리자-', 'store-item.delete.regular-price-by-admin', payload, param, { isErrorThrowing: true });
|
|
191
|
+
}
|
|
180
192
|
};
|
|
181
193
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
182
194
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|