@yolo-croket-dev/amqp-access 0.5.158-sj3 → 0.5.158

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.
Files changed (38) hide show
  1. package/package.json +2 -2
  2. package/store-item-server/amqp.store-item-server.module.js +2 -0
  3. package/store-item-server/dto/index.d.ts +1 -0
  4. package/store-item-server/dto/index.js +1 -0
  5. package/store-item-server/dto/item-review.modules/index.d.ts +1 -0
  6. package/store-item-server/dto/item-review.modules/index.js +17 -0
  7. package/store-item-server/dto/item-review.modules/item-review-integration/command/create-item-review-integration.service.d.ts +4 -0
  8. package/store-item-server/dto/{store-item/command/reg-regular-price-bulk-by-admin.dto.js → item-review.modules/item-review-integration/command/create-item-review-integration.service.js} +10 -18
  9. package/store-item-server/dto/item-review.modules/item-review-integration/command/delete-item-review-integration.service.d.ts +3 -0
  10. package/store-item-server/dto/{store-item/command/delete-regular-price-by-admin.dto.js → item-review.modules/item-review-integration/command/delete-item-review-integration.service.js} +4 -4
  11. package/store-item-server/dto/item-review.modules/item-review-integration/command/edit-item-review-integration-memo.service.d.ts +4 -0
  12. package/store-item-server/dto/item-review.modules/item-review-integration/command/edit-item-review-integration-memo.service.js +25 -0
  13. package/store-item-server/dto/item-review.modules/item-review-integration/command/edit-item-review-integration.service.d.ts +4 -0
  14. package/store-item-server/dto/{store-item/command/update-regular-price-by-admin.dto.js → item-review.modules/item-review-integration/command/edit-item-review-integration.service.js} +8 -7
  15. package/store-item-server/dto/item-review.modules/item-review-integration/command/index.d.ts +4 -0
  16. package/store-item-server/dto/item-review.modules/item-review-integration/command/index.js +20 -0
  17. package/store-item-server/dto/item-review.modules/item-review-integration/index.d.ts +2 -0
  18. package/store-item-server/dto/item-review.modules/item-review-integration/index.js +18 -0
  19. package/store-item-server/dto/item-review.modules/item-review-integration/query/get-item-review-integrations-for-admin.dto.d.ts +16 -0
  20. package/store-item-server/dto/{store-item/query/search-regular-price-items-for-admin.dto.js → item-review.modules/item-review-integration/query/get-item-review-integrations-for-admin.dto.js} +20 -20
  21. package/store-item-server/dto/item-review.modules/item-review-integration/query/index.d.ts +1 -0
  22. package/store-item-server/dto/item-review.modules/item-review-integration/query/index.js +17 -0
  23. package/store-item-server/dto/store-item/command/index.d.ts +0 -3
  24. package/store-item-server/dto/store-item/command/index.js +0 -3
  25. package/store-item-server/dto/store-item/query/index.d.ts +0 -1
  26. package/store-item-server/dto/store-item/query/index.js +0 -1
  27. package/store-item-server/services/amqp.store-item.service.d.ts +1 -5
  28. package/store-item-server/services/amqp.store-item.service.js +0 -12
  29. package/store-item-server/services/index.d.ts +1 -0
  30. package/store-item-server/services/index.js +1 -0
  31. package/store-item-server/services/item-review.modules/amqp.item-review-integration.service.d.ts +13 -0
  32. package/store-item-server/services/item-review.modules/amqp.item-review-integration.service.js +45 -0
  33. package/store-item-server/services/item-review.modules/index.d.ts +1 -0
  34. package/store-item-server/services/item-review.modules/index.js +17 -0
  35. package/store-item-server/dto/store-item/command/delete-regular-price-by-admin.dto.d.ts +0 -3
  36. package/store-item-server/dto/store-item/command/reg-regular-price-bulk-by-admin.dto.d.ts +0 -7
  37. package/store-item-server/dto/store-item/command/update-regular-price-by-admin.dto.d.ts +0 -4
  38. package/store-item-server/dto/store-item/query/search-regular-price-items-for-admin.dto.d.ts +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.158-sj3",
3
+ "version": "0.5.158",
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.34-sj1",
24
+ "@yolo-croket-dev/entity": "^0.2.29",
25
25
  "@yolo-croket-dev/entity-v2": "^0.2.49",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
@@ -48,6 +48,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
48
48
  services_1.AmqpStoreItemStoreByExcelService,
49
49
  services_1.AmqpBrandInspectionService,
50
50
  services_1.AmqpItemReviewService,
51
+ services_1.AmqpItemReviewIntegrationService,
51
52
  ],
52
53
  exports: [
53
54
  amqp_store_item_server_provider_1.StoreItemServerProvider,
@@ -82,6 +83,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
82
83
  services_1.AmqpStoreItemStoreByExcelService,
83
84
  services_1.AmqpBrandInspectionService,
84
85
  services_1.AmqpItemReviewService,
86
+ services_1.AmqpItemReviewIntegrationService,
85
87
  ],
86
88
  })
87
89
  ], AmqpStoreItemServerModule);
@@ -10,3 +10,4 @@ export * from './store-item-detail-banner-by-store-item';
10
10
  export * from './store-item-banner';
11
11
  export * from './store-item-detail-banner';
12
12
  export * from './item-review';
13
+ export * from './item-review.modules';
@@ -26,3 +26,4 @@ __exportStar(require("./store-item-detail-banner-by-store-item"), exports);
26
26
  __exportStar(require("./store-item-banner"), exports);
27
27
  __exportStar(require("./store-item-detail-banner"), exports);
28
28
  __exportStar(require("./item-review"), exports);
29
+ __exportStar(require("./item-review.modules"), exports);
@@ -0,0 +1 @@
1
+ export * from './item-review-integration';
@@ -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("./item-review-integration"), exports);
@@ -0,0 +1,4 @@
1
+ export declare class CreateItemReviewIntegrationPayload {
2
+ itemIds: string[];
3
+ memo?: string;
4
+ }
@@ -9,26 +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.RegRegularPriceBulkByAdminPayload = exports.RegRegularPriceBulkByAdminData = void 0;
12
+ exports.CreateItemReviewIntegrationPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- class RegRegularPriceBulkByAdminData {
14
+ class CreateItemReviewIntegrationPayload {
16
15
  }
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;
16
+ exports.CreateItemReviewIntegrationPayload = CreateItemReviewIntegrationPayload;
29
17
  __decorate([
30
18
  (0, class_validator_1.IsArray)(),
31
- (0, class_validator_1.ValidateNested)({ each: true }),
32
- (0, class_transformer_1.Type)(() => RegRegularPriceBulkByAdminData),
19
+ (0, class_validator_1.IsMongoId)({ each: true }),
33
20
  __metadata("design:type", Array)
34
- ], RegRegularPriceBulkByAdminPayload.prototype, "datas", void 0);
21
+ ], CreateItemReviewIntegrationPayload.prototype, "itemIds", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], CreateItemReviewIntegrationPayload.prototype, "memo", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class DeleteItemReviewIntegrationPayload {
2
+ itemReviewIntegrationId: string;
3
+ }
@@ -9,12 +9,12 @@ 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.DeleteRegularPriceByAdminPayload = void 0;
12
+ exports.DeleteItemReviewIntegrationPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class DeleteRegularPriceByAdminPayload {
14
+ class DeleteItemReviewIntegrationPayload {
15
15
  }
16
- exports.DeleteRegularPriceByAdminPayload = DeleteRegularPriceByAdminPayload;
16
+ exports.DeleteItemReviewIntegrationPayload = DeleteItemReviewIntegrationPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)(),
19
19
  __metadata("design:type", String)
20
- ], DeleteRegularPriceByAdminPayload.prototype, "itemId", void 0);
20
+ ], DeleteItemReviewIntegrationPayload.prototype, "itemReviewIntegrationId", void 0);
@@ -0,0 +1,4 @@
1
+ export declare class EditItemReviewIntegrationMemoPayload {
2
+ itemReviewIntegrationId: string;
3
+ memo?: string;
4
+ }
@@ -0,0 +1,25 @@
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.EditItemReviewIntegrationMemoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditItemReviewIntegrationMemoPayload {
15
+ }
16
+ exports.EditItemReviewIntegrationMemoPayload = EditItemReviewIntegrationMemoPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], EditItemReviewIntegrationMemoPayload.prototype, "itemReviewIntegrationId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", String)
25
+ ], EditItemReviewIntegrationMemoPayload.prototype, "memo", void 0);
@@ -0,0 +1,4 @@
1
+ export declare class EditItemReviewIntegrationPayload {
2
+ itemReviewIntegrationId: string;
3
+ itemIds: string[];
4
+ }
@@ -9,16 +9,17 @@ 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.UpdateRegularPriceByAdminPayload = void 0;
12
+ exports.EditItemReviewIntegrationPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class UpdateRegularPriceByAdminPayload {
14
+ class EditItemReviewIntegrationPayload {
15
15
  }
16
- exports.UpdateRegularPriceByAdminPayload = UpdateRegularPriceByAdminPayload;
16
+ exports.EditItemReviewIntegrationPayload = EditItemReviewIntegrationPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)(),
19
19
  __metadata("design:type", String)
20
- ], UpdateRegularPriceByAdminPayload.prototype, "itemId", void 0);
20
+ ], EditItemReviewIntegrationPayload.prototype, "itemReviewIntegrationId", void 0);
21
21
  __decorate([
22
- (0, class_validator_1.IsNumber)(),
23
- __metadata("design:type", Number)
24
- ], UpdateRegularPriceByAdminPayload.prototype, "regularPrice", void 0);
22
+ (0, class_validator_1.IsArray)(),
23
+ (0, class_validator_1.IsMongoId)({ each: true }),
24
+ __metadata("design:type", Array)
25
+ ], EditItemReviewIntegrationPayload.prototype, "itemIds", void 0);
@@ -0,0 +1,4 @@
1
+ export * from './create-item-review-integration.service';
2
+ export * from './edit-item-review-integration.service';
3
+ export * from './edit-item-review-integration-memo.service';
4
+ export * from './delete-item-review-integration.service';
@@ -0,0 +1,20 @@
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-item-review-integration.service"), exports);
18
+ __exportStar(require("./edit-item-review-integration.service"), exports);
19
+ __exportStar(require("./edit-item-review-integration-memo.service"), exports);
20
+ __exportStar(require("./delete-item-review-integration.service"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './command';
2
+ export * from './query';
@@ -0,0 +1,18 @@
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);
@@ -0,0 +1,16 @@
1
+ import { ItemReviewIntegrationWithItemDomain } from '@yolo-croket-dev/domain/item-review.modules/item-review-integration/interface';
2
+ export declare enum GetItemReviewIntegrationsForAdminSearchTypeEnum {
3
+ '상품아이디' = "\uC0C1\uD488\uC544\uC774\uB514",
4
+ '메모' = "\uBA54\uBAA8"
5
+ }
6
+ export declare class GetItemReviewIntegrationsForAdminPayload {
7
+ searchType: GetItemReviewIntegrationsForAdminSearchTypeEnum;
8
+ limit: number;
9
+ page: number;
10
+ memo?: string;
11
+ itemId?: string;
12
+ }
13
+ export declare class GetItemReviewIntegrationsForAdminResult {
14
+ total: number;
15
+ data: ItemReviewIntegrationWithItemDomain[];
16
+ }
@@ -9,38 +9,38 @@ 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.SearchRegularPriceItemsForAdminResult = exports.SearchRegularPriceItemsForAdminPayload = exports.SearchRegularPriceItemsForAdminSearchTypeEnum = void 0;
12
+ exports.GetItemReviewIntegrationsForAdminResult = exports.GetItemReviewIntegrationsForAdminPayload = exports.GetItemReviewIntegrationsForAdminSearchTypeEnum = void 0;
13
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 {
14
+ var GetItemReviewIntegrationsForAdminSearchTypeEnum;
15
+ (function (GetItemReviewIntegrationsForAdminSearchTypeEnum) {
16
+ GetItemReviewIntegrationsForAdminSearchTypeEnum["\uC0C1\uD488\uC544\uC774\uB514"] = "\uC0C1\uD488\uC544\uC774\uB514";
17
+ GetItemReviewIntegrationsForAdminSearchTypeEnum["\uBA54\uBAA8"] = "\uBA54\uBAA8";
18
+ })(GetItemReviewIntegrationsForAdminSearchTypeEnum || (exports.GetItemReviewIntegrationsForAdminSearchTypeEnum = GetItemReviewIntegrationsForAdminSearchTypeEnum = {}));
19
+ class GetItemReviewIntegrationsForAdminPayload {
20
20
  }
21
- exports.SearchRegularPriceItemsForAdminPayload = SearchRegularPriceItemsForAdminPayload;
21
+ exports.GetItemReviewIntegrationsForAdminPayload = GetItemReviewIntegrationsForAdminPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ __metadata("design:type", String)
25
+ ], GetItemReviewIntegrationsForAdminPayload.prototype, "searchType", void 0);
22
26
  __decorate([
23
27
  (0, class_validator_1.IsNumber)(),
24
28
  __metadata("design:type", Number)
25
- ], SearchRegularPriceItemsForAdminPayload.prototype, "page", void 0);
29
+ ], GetItemReviewIntegrationsForAdminPayload.prototype, "limit", void 0);
26
30
  __decorate([
27
31
  (0, class_validator_1.IsNumber)(),
28
32
  __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);
33
+ ], GetItemReviewIntegrationsForAdminPayload.prototype, "page", void 0);
34
34
  __decorate([
35
- (0, class_validator_1.IsMongoId)(),
35
+ (0, class_validator_1.IsString)(),
36
36
  (0, class_validator_1.IsOptional)(),
37
37
  __metadata("design:type", String)
38
- ], SearchRegularPriceItemsForAdminPayload.prototype, "itemId", void 0);
38
+ ], GetItemReviewIntegrationsForAdminPayload.prototype, "memo", void 0);
39
39
  __decorate([
40
- (0, class_validator_1.IsString)(),
40
+ (0, class_validator_1.IsMongoId)(),
41
41
  (0, class_validator_1.IsOptional)(),
42
42
  __metadata("design:type", String)
43
- ], SearchRegularPriceItemsForAdminPayload.prototype, "itemName", void 0);
44
- class SearchRegularPriceItemsForAdminResult {
43
+ ], GetItemReviewIntegrationsForAdminPayload.prototype, "itemId", void 0);
44
+ class GetItemReviewIntegrationsForAdminResult {
45
45
  }
46
- exports.SearchRegularPriceItemsForAdminResult = SearchRegularPriceItemsForAdminResult;
46
+ exports.GetItemReviewIntegrationsForAdminResult = GetItemReviewIntegrationsForAdminResult;
@@ -0,0 +1 @@
1
+ export * from './get-item-review-integrations-for-admin.dto';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-item-review-integrations-for-admin.dto"), exports);
@@ -15,6 +15,3 @@ 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,6 +31,3 @@ __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);
@@ -24,4 +24,3 @@ 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';
@@ -40,4 +40,3 @@ __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);
@@ -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, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload } 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 } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -59,8 +59,4 @@ 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>;
66
62
  }
@@ -177,18 +177,6 @@ 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
- }
192
180
  };
193
181
  exports.AmqpStoreItemService = AmqpStoreItemService;
194
182
  exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
@@ -20,3 +20,4 @@ export * from './amqp.store-item-detail-banner.service';
20
20
  export * from './amqp.store-item-option-restock-log.service';
21
21
  export * from './demand.modules';
22
22
  export * from './amqp.item-review.service';
23
+ export * from './item-review.modules';
@@ -36,3 +36,4 @@ __exportStar(require("./amqp.store-item-detail-banner.service"), exports);
36
36
  __exportStar(require("./amqp.store-item-option-restock-log.service"), exports);
37
37
  __exportStar(require("./demand.modules"), exports);
38
38
  __exportStar(require("./amqp.item-review.service"), exports);
39
+ __exportStar(require("./item-review.modules"), exports);
@@ -0,0 +1,13 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { CreateItemReviewIntegrationPayload, DeleteItemReviewIntegrationPayload, EditItemReviewIntegrationMemoPayload, EditItemReviewIntegrationPayload, GetItemReviewIntegrationsForAdminPayload, GetItemReviewIntegrationsForAdminResult } from '../../dto/item-review.modules/item-review-integration';
4
+ export declare class AmqpItemReviewIntegrationService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ createItemReviewIntegration(payload: CreateItemReviewIntegrationPayload, param: AbstractParam): Promise<void>;
9
+ editItemReviewIntegration(payload: EditItemReviewIntegrationPayload, param: AbstractParam): Promise<void>;
10
+ editItemReviewIntegrationMemo(payload: EditItemReviewIntegrationMemoPayload, param: AbstractParam): Promise<void>;
11
+ deleteItemReviewIntegration(payload: DeleteItemReviewIntegrationPayload, param: AbstractParam): Promise<void>;
12
+ getItemReviewIntegrationsForAdmin(payload: GetItemReviewIntegrationsForAdminPayload, param: AbstractParam): Promise<GetItemReviewIntegrationsForAdminResult>;
13
+ }
@@ -0,0 +1,45 @@
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.AmqpItemReviewIntegrationService = 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 AmqpItemReviewIntegrationService = class AmqpItemReviewIntegrationService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async createItemReviewIntegration(payload, param) {
25
+ return this.amqpManager.call('상품 리뷰 연동 생성', 'item-review-integration.create', payload, param, { isErrorThrowing: true });
26
+ }
27
+ async editItemReviewIntegration(payload, param) {
28
+ return this.amqpManager.call('상품 리뷰 연동 수정', 'item-review-integration.edit', payload, param, { isErrorThrowing: true });
29
+ }
30
+ async editItemReviewIntegrationMemo(payload, param) {
31
+ return this.amqpManager.call('상품 리뷰 연동 메모 수정', 'item-review-integration.edit.memo', payload, param, { isErrorThrowing: true });
32
+ }
33
+ async deleteItemReviewIntegration(payload, param) {
34
+ return this.amqpManager.call('상품 리뷰 연동 삭제', 'item-review-integration.delete', payload, param, { isErrorThrowing: true });
35
+ }
36
+ async getItemReviewIntegrationsForAdmin(payload, param) {
37
+ return this.amqpManager.call('상품 리뷰 연동 리스트 조회 -관리자-', 'item-review-integration.get.for-admin', payload, param, { isErrorThrowing: true });
38
+ }
39
+ };
40
+ exports.AmqpItemReviewIntegrationService = AmqpItemReviewIntegrationService;
41
+ exports.AmqpItemReviewIntegrationService = AmqpItemReviewIntegrationService = __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
+ ], AmqpItemReviewIntegrationService);
@@ -0,0 +1 @@
1
+ export * from './amqp.item-review-integration.service';
@@ -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("./amqp.item-review-integration.service"), exports);
@@ -1,3 +0,0 @@
1
- export declare class DeleteRegularPriceByAdminPayload {
2
- itemId: string;
3
- }
@@ -1,7 +0,0 @@
1
- export declare class RegRegularPriceBulkByAdminData {
2
- itemId: string;
3
- regularPrice?: number;
4
- }
5
- export declare class RegRegularPriceBulkByAdminPayload {
6
- datas: RegRegularPriceBulkByAdminData[];
7
- }
@@ -1,4 +0,0 @@
1
- export declare class UpdateRegularPriceByAdminPayload {
2
- itemId: string;
3
- regularPrice: number;
4
- }
@@ -1,18 +0,0 @@
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
- }