@yolo-croket-dev/amqp-access 0.5.123-sj9 → 0.5.124
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/manage-service/dto/file/command/create-file-presigned-url.dto.d.ts +3 -1
- package/manage-service/dto/file/command/create-file-presigned-url.dto.js +5 -0
- package/package.json +2 -2
- package/store-item-server/amqp.store-item-server.module.js +0 -2
- package/store-item-server/dto/brand/query/index.d.ts +3 -0
- package/store-item-server/dto/{brand.modules/brand → brand}/query/index.js +0 -3
- package/store-item-server/dto/index.d.ts +3 -4
- package/store-item-server/dto/index.js +3 -4
- package/store-item-server/dto/store-item/command/delete-brand-id-bulk.dto.d.ts +4 -0
- package/store-item-server/dto/{brand.modules/brand-inspection/command/create-brand-inspection.dto.js → store-item/command/delete-brand-id-bulk.dto.js} +6 -6
- package/store-item-server/dto/store-item/command/delete-brand-info-bulk.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/command/delete-brand-info-bulk.dto.js +1 -1
- package/store-item-server/dto/store-item/command/index.d.ts +1 -0
- package/store-item-server/dto/store-item/command/index.js +1 -0
- package/store-item-server/dto/store-item/command/reg-store-item.dto.d.ts +2 -3
- package/store-item-server/dto/store-item/command/reg-store-item.dto.js +6 -14
- package/store-item-server/services/{brand.modules/amqp.brand-bookmark.service.d.ts → amqp.brand-bookmark.service.d.ts} +1 -1
- package/store-item-server/services/{brand.modules/amqp.brand-cohort.service.d.ts → amqp.brand-cohort.service.d.ts} +1 -1
- package/store-item-server/services/{brand.modules/amqp.brand.service.d.ts → amqp.brand.service.d.ts} +1 -3
- package/store-item-server/services/{brand.modules/amqp.brand.service.js → amqp.brand.service.js} +0 -6
- package/store-item-server/services/index.d.ts +3 -1
- package/store-item-server/services/index.js +3 -1
- package/store-item-server/dto/brand.modules/brand/query/autocomplete-brands.dto.d.ts +0 -6
- package/store-item-server/dto/brand.modules/brand/query/autocomplete-brands.dto.js +0 -20
- package/store-item-server/dto/brand.modules/brand/query/get-brand-by-brand-name.dto.d.ts +0 -6
- package/store-item-server/dto/brand.modules/brand/query/get-brand-by-brand-name.dto.js +0 -20
- package/store-item-server/dto/brand.modules/brand/query/get-brand-required-categories.dto.d.ts +0 -3
- package/store-item-server/dto/brand.modules/brand/query/get-brand-required-categories.dto.js +0 -2
- package/store-item-server/dto/brand.modules/brand/query/index.d.ts +0 -6
- package/store-item-server/dto/brand.modules/brand-inspection/command/add-seller-to-brand-inspection.dto.d.ts +0 -3
- package/store-item-server/dto/brand.modules/brand-inspection/command/add-seller-to-brand-inspection.dto.js +0 -21
- package/store-item-server/dto/brand.modules/brand-inspection/command/approve-brand-inspection.dto.d.ts +0 -6
- package/store-item-server/dto/brand.modules/brand-inspection/command/approve-brand-inspection.dto.js +0 -35
- package/store-item-server/dto/brand.modules/brand-inspection/command/create-brand-inspection.dto.d.ts +0 -4
- package/store-item-server/dto/brand.modules/brand-inspection/command/index.d.ts +0 -4
- package/store-item-server/dto/brand.modules/brand-inspection/command/index.js +0 -20
- package/store-item-server/dto/brand.modules/brand-inspection/command/reject-brand-inspection.dto.d.ts +0 -4
- package/store-item-server/dto/brand.modules/brand-inspection/command/reject-brand-inspection.dto.js +0 -25
- package/store-item-server/dto/brand.modules/brand-inspection/index.d.ts +0 -2
- package/store-item-server/dto/brand.modules/brand-inspection/index.js +0 -18
- package/store-item-server/dto/brand.modules/brand-inspection/query/get-brand-inspections-for-admin.dto.d.ts +0 -9
- package/store-item-server/dto/brand.modules/brand-inspection/query/get-brand-inspections-for-admin.dto.js +0 -27
- package/store-item-server/dto/brand.modules/brand-inspection/query/index.d.ts +0 -1
- package/store-item-server/dto/brand.modules/brand-inspection/query/index.js +0 -17
- package/store-item-server/dto/brand.modules/index.d.ts +0 -4
- package/store-item-server/dto/brand.modules/index.js +0 -20
- package/store-item-server/services/brand.modules/amqp.brand-inspection.service.d.ts +0 -13
- package/store-item-server/services/brand.modules/amqp.brand-inspection.service.js +0 -45
- package/store-item-server/services/brand.modules/index.d.ts +0 -4
- package/store-item-server/services/brand.modules/index.js +0 -20
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/auto-create-brand.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/auto-create-brand.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/create-brand.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/create-brand.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/delete-brand.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/delete-brand.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-eng-name.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-eng-name.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-name.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-name.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-brand-names.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-brand-names.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-item-ids.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-item-ids.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-for-admin.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-for-admin.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/create-brand-bookmark.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/create-brand-bookmark.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/delete-brand-bookmark-bulk.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/delete-brand-bookmark-bulk.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/delete-brand-bookmark.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/delete-brand-bookmark.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/get-bookmarked-brands-for-buyer.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/get-bookmarked-brands-for-buyer.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/get-brand-bookmark-users-by-brand-id.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/get-brand-bookmark-users-by-brand-id.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/create-brand-cohort.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/create-brand-cohort.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/delete-brand-cohort.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/delete-brand-cohort.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/update-brand-cohort-brand-ids.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/update-brand-cohort-brand-ids.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/update-brand-cohort.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/update-brand-cohort.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/index.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/get-brand-cohorts-for-admin.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/get-brand-cohorts-for-admin.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/get-brand-infos-by-brand-cohort-id.dto.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/get-brand-infos-by-brand-cohort-id.dto.js +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/index.d.ts +0 -0
- /package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/query/index.js +0 -0
- /package/store-item-server/services/{brand.modules/amqp.brand-bookmark.service.js → amqp.brand-bookmark.service.js} +0 -0
- /package/store-item-server/services/{brand.modules/amqp.brand-cohort.service.js → amqp.brand-cohort.service.js} +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare class CreateFilePresignedUrlPayload {
|
|
2
2
|
/** 파일 이름 */
|
|
3
3
|
fileName: string;
|
|
4
|
-
/** 업로드 타입 */
|
|
4
|
+
/** 업로드 타입 (내부 제어용) */
|
|
5
5
|
uploadType: string;
|
|
6
6
|
/** 버킷명 */
|
|
7
7
|
bucketName: string;
|
|
8
|
+
/** 파일 컨텐츠 타입 */
|
|
9
|
+
contentType: string;
|
|
8
10
|
}
|
|
9
11
|
export interface CreateFilePresignedUrlResult {
|
|
10
12
|
/** 프리사인드 URL */
|
|
@@ -29,3 +29,8 @@ __decorate([
|
|
|
29
29
|
(0, class_validator_1.IsNotEmpty)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], CreateFilePresignedUrlPayload.prototype, "bucketName", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateFilePresignedUrlPayload.prototype, "contentType", void 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.124",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.12",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.10",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.29",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.2.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.2.41",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -46,7 +46,6 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
46
46
|
services_1.AmqpDemandService,
|
|
47
47
|
services_1.AmqpDemandLikeService,
|
|
48
48
|
services_1.AmqpStoreItemStoreByExcelService,
|
|
49
|
-
services_1.AmqpBrandInspectionService
|
|
50
49
|
],
|
|
51
50
|
exports: [
|
|
52
51
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
@@ -79,7 +78,6 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
79
78
|
services_1.AmqpDemandService,
|
|
80
79
|
services_1.AmqpDemandLikeService,
|
|
81
80
|
services_1.AmqpStoreItemStoreByExcelService,
|
|
82
|
-
services_1.AmqpBrandInspectionService
|
|
83
81
|
],
|
|
84
82
|
})
|
|
85
83
|
], AmqpStoreItemServerModule);
|
|
@@ -17,6 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./get-brands-by-brand-names.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-brands-for-admin.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-brands-by-item-ids.dto"), exports);
|
|
20
|
-
__exportStar(require("./get-brand-required-categories.dto"), exports);
|
|
21
|
-
__exportStar(require("./get-brand-by-brand-name.dto"), exports);
|
|
22
|
-
__exportStar(require("./autocomplete-brands.dto"), exports);
|
|
@@ -5,10 +5,9 @@ export * from './time-deal';
|
|
|
5
5
|
export * from './auto-sold-out-store-item-log';
|
|
6
6
|
export * from './store-item-log-v2';
|
|
7
7
|
export * from './selling-info-log';
|
|
8
|
-
export * from './brand
|
|
9
|
-
export * from './brand
|
|
10
|
-
export * from './brand
|
|
8
|
+
export * from './brand';
|
|
9
|
+
export * from './brand-cohort';
|
|
10
|
+
export * from './brand-bookmark';
|
|
11
11
|
export * from './store-item-detail-banner-by-store-item';
|
|
12
12
|
export * from './store-item-banner';
|
|
13
13
|
export * from './store-item-detail-banner';
|
|
14
|
-
export * from './brand.modules/brand-inspection';
|
|
@@ -21,10 +21,9 @@ __exportStar(require("./time-deal"), exports);
|
|
|
21
21
|
__exportStar(require("./auto-sold-out-store-item-log"), exports);
|
|
22
22
|
__exportStar(require("./store-item-log-v2"), exports);
|
|
23
23
|
__exportStar(require("./selling-info-log"), exports);
|
|
24
|
-
__exportStar(require("./brand
|
|
25
|
-
__exportStar(require("./brand
|
|
26
|
-
__exportStar(require("./brand
|
|
24
|
+
__exportStar(require("./brand"), exports);
|
|
25
|
+
__exportStar(require("./brand-cohort"), exports);
|
|
26
|
+
__exportStar(require("./brand-bookmark"), exports);
|
|
27
27
|
__exportStar(require("./store-item-detail-banner-by-store-item"), exports);
|
|
28
28
|
__exportStar(require("./store-item-banner"), exports);
|
|
29
29
|
__exportStar(require("./store-item-detail-banner"), exports);
|
|
30
|
-
__exportStar(require("./brand.modules/brand-inspection"), exports);
|
|
@@ -9,18 +9,18 @@ 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.DeleteBrandIdBulkPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class DeleteBrandIdBulkPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.DeleteBrandIdBulkPayload = DeleteBrandIdBulkPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
19
19
|
(0, class_validator_1.IsNotEmpty)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], DeleteBrandIdBulkPayload.prototype, "brandId", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
|
-
],
|
|
26
|
+
], DeleteBrandIdBulkPayload.prototype, "brandName", void 0);
|
|
@@ -14,4 +14,5 @@ export * from './update-brand-id-bulk.dto';
|
|
|
14
14
|
export * from './copy-store-item.dto';
|
|
15
15
|
export * from './copy-store-item-list.dto';
|
|
16
16
|
export * from './update-store-item-secret.dto';
|
|
17
|
+
export * from './delete-brand-id-bulk.dto';
|
|
17
18
|
export * from './update-contents.dto';
|
|
@@ -30,4 +30,5 @@ __exportStar(require("./update-brand-id-bulk.dto"), exports);
|
|
|
30
30
|
__exportStar(require("./copy-store-item.dto"), exports);
|
|
31
31
|
__exportStar(require("./copy-store-item-list.dto"), exports);
|
|
32
32
|
__exportStar(require("./update-store-item-secret.dto"), exports);
|
|
33
|
+
__exportStar(require("./delete-brand-id-bulk.dto"), exports);
|
|
33
34
|
__exportStar(require("./update-contents.dto"), exports);
|
|
@@ -47,9 +47,8 @@ export declare class RegStoreItemPayload {
|
|
|
47
47
|
htmlContent?: string;
|
|
48
48
|
/** 관리자 등록 정보 */
|
|
49
49
|
adminRegInfo?: RegStoreItemAdminRegInfo;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
GTIN?: string;
|
|
50
|
+
/** 사방넷 상품 등록 여부 */
|
|
51
|
+
isSabang?: boolean;
|
|
53
52
|
}
|
|
54
53
|
export declare class RegStoreItemResult {
|
|
55
54
|
itemId: string;
|
|
@@ -195,20 +195,12 @@ __decorate([
|
|
|
195
195
|
__metadata("design:type", RegStoreItemAdminRegInfo)
|
|
196
196
|
], RegStoreItemPayload.prototype, "adminRegInfo", void 0);
|
|
197
197
|
__decorate([
|
|
198
|
-
(0, class_validator_1.
|
|
199
|
-
(0, class_validator_1.IsOptional)()
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
(0, class_validator_1.IsOptional)(),
|
|
205
|
-
__metadata("design:type", String)
|
|
206
|
-
], RegStoreItemPayload.prototype, "engBrandName", void 0);
|
|
207
|
-
__decorate([
|
|
208
|
-
(0, class_validator_1.IsString)(),
|
|
209
|
-
(0, class_validator_1.IsOptional)(),
|
|
210
|
-
__metadata("design:type", String)
|
|
211
|
-
], RegStoreItemPayload.prototype, "GTIN", void 0);
|
|
198
|
+
(0, class_validator_1.IsBoolean)(),
|
|
199
|
+
(0, class_validator_1.IsOptional)()
|
|
200
|
+
/** 사방넷 상품 등록 여부 */
|
|
201
|
+
,
|
|
202
|
+
__metadata("design:type", Boolean)
|
|
203
|
+
], RegStoreItemPayload.prototype, "isSabang", void 0);
|
|
212
204
|
class RegStoreItemResult {
|
|
213
205
|
}
|
|
214
206
|
exports.RegStoreItemResult = RegStoreItemResult;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateBrandBookmarkPayload, DeleteBrandBookmarkPayload, GetBookmarkedBrandsForBuyerPayload, GetBookmarkedBrandsForBuyerResult, GetBrandBookmarkUsersByBrandIdPayload, GetBrandBookmarkUsersByBrandIdResult } from '
|
|
3
|
+
import { CreateBrandBookmarkPayload, DeleteBrandBookmarkPayload, GetBookmarkedBrandsForBuyerPayload, GetBookmarkedBrandsForBuyerResult, GetBrandBookmarkUsersByBrandIdPayload, GetBrandBookmarkUsersByBrandIdResult } from '../dto/brand-bookmark';
|
|
4
4
|
export declare class AmqpBrandBookmarkService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { BrandCohortForAdminEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { CreateBrandCohortPayload, DeleteBrandCohortPayload, UpdateBrandCohortPayload, GetBrandCohortsForAdminPayload, GetBrandInfosByBrandCohortIdPayload, GetBrandInfosByBrandCohortIdResult } from '
|
|
4
|
+
import { CreateBrandCohortPayload, DeleteBrandCohortPayload, UpdateBrandCohortPayload, GetBrandCohortsForAdminPayload, GetBrandInfosByBrandCohortIdPayload, GetBrandInfosByBrandCohortIdResult } from '../dto/brand-cohort';
|
|
5
5
|
export declare class AmqpBrandCohortService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
package/store-item-server/services/{brand.modules/amqp.brand.service.d.ts → amqp.brand.service.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload
|
|
3
|
+
import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult, GetBrandsByItemIdsResult, GetBrandsByItemIdsPayload } from '../dto/brand';
|
|
4
4
|
export declare class AmqpBrandService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -12,6 +12,4 @@ export declare class AmqpBrandService {
|
|
|
12
12
|
getBrandsByBrandNames(payload: GetBrandsByBrandNamesPayload, param: AbstractParam): Promise<GetBrandsByBrandNamesResult>;
|
|
13
13
|
getBrandsForAdmin(payload: GetBrandsForAdminPayload, param: AbstractParam): Promise<GetBrandsForAdminResult>;
|
|
14
14
|
getBrandsByItemIds(payload: GetBrandsByItemIdsPayload, param: AbstractParam): Promise<GetBrandsByItemIdsResult>;
|
|
15
|
-
getBrandRequiredCategories(payload: void, param: AbstractParam): Promise<GetBrandRequiredCategoriesResult>;
|
|
16
|
-
getBrandByBrandName(payload: GetBrandByBrandNamePayload, param: AbstractParam): Promise<GetBrandByBrandNameResult>;
|
|
17
15
|
}
|
package/store-item-server/services/{brand.modules/amqp.brand.service.js → amqp.brand.service.js}
RENAMED
|
@@ -42,12 +42,6 @@ let AmqpBrandService = class AmqpBrandService {
|
|
|
42
42
|
async getBrandsByItemIds(payload, param) {
|
|
43
43
|
return this.amqpManager.call('브랜드 리스트 조회 -관리자-', 'brand.get.by-item-ids', payload, param);
|
|
44
44
|
}
|
|
45
|
-
async getBrandRequiredCategories(payload, param) {
|
|
46
|
-
return this.amqpManager.call('브랜드 필수 카테고리 조회', 'brand.get.required-categories', payload, param);
|
|
47
|
-
}
|
|
48
|
-
async getBrandByBrandName(payload, param) {
|
|
49
|
-
return this.amqpManager.call('브랜드 이름으로 브랜드 조회', 'brand.get.by-brand-name', payload, param);
|
|
50
|
-
}
|
|
51
45
|
};
|
|
52
46
|
exports.AmqpBrandService = AmqpBrandService;
|
|
53
47
|
exports.AmqpBrandService = AmqpBrandService = __decorate([
|
|
@@ -11,7 +11,9 @@ export * from './amqp.store-item-bookmark.service';
|
|
|
11
11
|
export * from './amqp.store-item-price-fluctuation.service';
|
|
12
12
|
export * from './amqp.review.service';
|
|
13
13
|
export * from './store-item.moduels';
|
|
14
|
-
export * from './brand.
|
|
14
|
+
export * from './amqp.brand.service';
|
|
15
|
+
export * from './amqp.brand-cohort.service';
|
|
16
|
+
export * from './amqp.brand-bookmark.service';
|
|
15
17
|
export * from './summer-black-friday.modules';
|
|
16
18
|
export * from './amqp.store-item-detail-banner-by-store-item.service';
|
|
17
19
|
export * from './amqp.store-item-banner.service';
|
|
@@ -27,7 +27,9 @@ __exportStar(require("./amqp.store-item-bookmark.service"), exports);
|
|
|
27
27
|
__exportStar(require("./amqp.store-item-price-fluctuation.service"), exports);
|
|
28
28
|
__exportStar(require("./amqp.review.service"), exports);
|
|
29
29
|
__exportStar(require("./store-item.moduels"), exports);
|
|
30
|
-
__exportStar(require("./brand.
|
|
30
|
+
__exportStar(require("./amqp.brand.service"), exports);
|
|
31
|
+
__exportStar(require("./amqp.brand-cohort.service"), exports);
|
|
32
|
+
__exportStar(require("./amqp.brand-bookmark.service"), exports);
|
|
31
33
|
__exportStar(require("./summer-black-friday.modules"), exports);
|
|
32
34
|
__exportStar(require("./amqp.store-item-detail-banner-by-store-item.service"), exports);
|
|
33
35
|
__exportStar(require("./amqp.store-item-banner.service"), exports);
|
|
@@ -1,20 +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.AutocompleteBrandsPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class AutocompleteBrandsPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.AutocompleteBrandsPayload = AutocompleteBrandsPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], AutocompleteBrandsPayload.prototype, "brandName", void 0);
|
|
@@ -1,20 +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.GetBrandByBrandNamePayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetBrandByBrandNamePayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetBrandByBrandNamePayload = GetBrandByBrandNamePayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], GetBrandByBrandNamePayload.prototype, "brandName", void 0);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './get-brands-by-brand-names.dto';
|
|
2
|
-
export * from './get-brands-for-admin.dto';
|
|
3
|
-
export * from './get-brands-by-item-ids.dto';
|
|
4
|
-
export * from './get-brand-required-categories.dto';
|
|
5
|
-
export * from './get-brand-by-brand-name.dto';
|
|
6
|
-
export * from './autocomplete-brands.dto';
|
|
@@ -1,21 +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.AddSellerToBrandInspectionPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class AddSellerToBrandInspectionPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.AddSellerToBrandInspectionPayload = AddSellerToBrandInspectionPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], AddSellerToBrandInspectionPayload.prototype, "brandName", void 0);
|
package/store-item-server/dto/brand.modules/brand-inspection/command/approve-brand-inspection.dto.js
DELETED
|
@@ -1,35 +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.ApproveBrandInspectionPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class ApproveBrandInspectionPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.ApproveBrandInspectionPayload = ApproveBrandInspectionPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], ApproveBrandInspectionPayload.prototype, "brandInspectionId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], ApproveBrandInspectionPayload.prototype, "brandName", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ApproveBrandInspectionPayload.prototype, "engBrandName", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsString)(),
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], ApproveBrandInspectionPayload.prototype, "inspectionResultMessage", void 0);
|
|
@@ -1,20 +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("./create-brand-inspection.dto"), exports);
|
|
18
|
-
__exportStar(require("./add-seller-to-brand-inspection.dto"), exports);
|
|
19
|
-
__exportStar(require("./approve-brand-inspection.dto"), exports);
|
|
20
|
-
__exportStar(require("./reject-brand-inspection.dto"), exports);
|
package/store-item-server/dto/brand.modules/brand-inspection/command/reject-brand-inspection.dto.js
DELETED
|
@@ -1,25 +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.RejectBrandInspectionPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class RejectBrandInspectionPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.RejectBrandInspectionPayload = RejectBrandInspectionPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], RejectBrandInspectionPayload.prototype, "brandInspectionId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], RejectBrandInspectionPayload.prototype, "inspectionResultMessage", void 0);
|
|
@@ -1,18 +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("./command"), exports);
|
|
18
|
-
__exportStar(require("./query"), exports);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BrandInspectionEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
-
export declare class GetBrandInspectionsForAdminPayload {
|
|
3
|
-
page: number;
|
|
4
|
-
limit: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class GetBrandInspectionsForAdminResult {
|
|
7
|
-
brandInspections: BrandInspectionEntity[];
|
|
8
|
-
totalCount: number;
|
|
9
|
-
}
|
|
@@ -1,27 +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.GetBrandInspectionsForAdminResult = exports.GetBrandInspectionsForAdminPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetBrandInspectionsForAdminPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetBrandInspectionsForAdminPayload = GetBrandInspectionsForAdminPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsNumber)(),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], GetBrandInspectionsForAdminPayload.prototype, "page", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], GetBrandInspectionsForAdminPayload.prototype, "limit", void 0);
|
|
25
|
-
class GetBrandInspectionsForAdminResult {
|
|
26
|
-
}
|
|
27
|
-
exports.GetBrandInspectionsForAdminResult = GetBrandInspectionsForAdminResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './get-brand-inspections-for-admin.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-brand-inspections-for-admin.dto"), exports);
|
|
@@ -1,20 +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("./brand-inspection"), exports);
|
|
18
|
-
__exportStar(require("./brand"), exports);
|
|
19
|
-
__exportStar(require("./brand-cohort"), exports);
|
|
20
|
-
__exportStar(require("./brand-bookmark"), exports);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { AddSellerToBrandInspectionPayload, ApproveBrandInspectionPayload, CreateBrandInspectionPayload, RejectBrandInspectionPayload, GetBrandInspectionsForAdminResult } from '../../dto';
|
|
4
|
-
export declare class AmqpBrandInspectionService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
createBrandInspection(payload: CreateBrandInspectionPayload, param: AbstractParam): Promise<void>;
|
|
9
|
-
addSellerToBrandInspection(payload: AddSellerToBrandInspectionPayload, param: AbstractParam): Promise<void>;
|
|
10
|
-
approveBrandInspection(payload: ApproveBrandInspectionPayload, param: AbstractParam): Promise<void>;
|
|
11
|
-
rejectBrandInspection(payload: RejectBrandInspectionPayload, param: AbstractParam): Promise<void>;
|
|
12
|
-
getBrandInspectionsForAdmin(payload: void, param: AbstractParam): Promise<GetBrandInspectionsForAdminResult>;
|
|
13
|
-
}
|
|
@@ -1,45 +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.AmqpBrandInspectionService = 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 AmqpBrandInspectionService = class AmqpBrandInspectionService {
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
-
}
|
|
24
|
-
async createBrandInspection(payload, param) {
|
|
25
|
-
return this.amqpManager.call('브랜드 검토 생성', 'brand-inspection.create', payload, param, { isErrorThrowing: true });
|
|
26
|
-
}
|
|
27
|
-
async addSellerToBrandInspection(payload, param) {
|
|
28
|
-
return this.amqpManager.call('브랜드 검토 판매자 추가', 'brand-inspection.add-seller', payload, param, { isErrorThrowing: true });
|
|
29
|
-
}
|
|
30
|
-
async approveBrandInspection(payload, param) {
|
|
31
|
-
return this.amqpManager.call('브랜드 검토 승인', 'brand-inspection.approve', payload, param, { isErrorThrowing: true });
|
|
32
|
-
}
|
|
33
|
-
async rejectBrandInspection(payload, param) {
|
|
34
|
-
return this.amqpManager.call('브랜드 검토 거절', 'brand-inspection.reject', payload, param, { isErrorThrowing: true });
|
|
35
|
-
}
|
|
36
|
-
async getBrandInspectionsForAdmin(payload, param) {
|
|
37
|
-
return this.amqpManager.call('브랜드 검토 관리자 조회', 'brand-inspection.get.for-admin', payload, param, { isErrorThrowing: true });
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
exports.AmqpBrandInspectionService = AmqpBrandInspectionService;
|
|
41
|
-
exports.AmqpBrandInspectionService = AmqpBrandInspectionService = __decorate([
|
|
42
|
-
(0, common_1.Injectable)(),
|
|
43
|
-
__param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
|
|
44
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
45
|
-
], AmqpBrandInspectionService);
|
|
@@ -1,20 +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("./amqp.brand.service"), exports);
|
|
18
|
-
__exportStar(require("./amqp.brand-cohort.service"), exports);
|
|
19
|
-
__exportStar(require("./amqp.brand-bookmark.service"), exports);
|
|
20
|
-
__exportStar(require("./amqp.brand-inspection.service"), exports);
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/auto-create-brand.dto.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/auto-create-brand.dto.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-eng-name.dto.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-eng-name.dto.js
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-name.dto.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/command/update-brand-name.dto.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-brand-names.dto.js
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-item-ids.dto.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-by-item-ids.dto.js
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-for-admin.dto.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand → brand}/query/get-brands-for-admin.dto.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/command/index.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/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
|
/package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/index.d.ts
RENAMED
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand-bookmark → brand-bookmark}/query/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/store-item-server/dto/{brand.modules/brand-cohort → brand-cohort}/command/index.d.ts
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
|
|
File without changes
|