@yolo-croket-dev/amqp-access 0.5.116-sj2 → 0.5.116-sj4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.116-sj2",
3
+ "version": "0.5.116-sj4",
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.43-sj4",
25
+ "@yolo-croket-dev/entity-v2": "^0.2.43-sj5",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -2,5 +2,5 @@ export declare class ApproveBrandInspectionPayload {
2
2
  brandInspectionId: string;
3
3
  brandName: string;
4
4
  engBrandName?: string;
5
- reviewNotification?: string;
5
+ inspectionResultMessage?: string;
6
6
  }
@@ -32,4 +32,4 @@ __decorate([
32
32
  (0, class_validator_1.IsString)(),
33
33
  (0, class_validator_1.IsOptional)(),
34
34
  __metadata("design:type", String)
35
- ], ApproveBrandInspectionPayload.prototype, "reviewNotification", void 0);
35
+ ], ApproveBrandInspectionPayload.prototype, "inspectionResultMessage", void 0);
@@ -2,5 +2,5 @@ export declare class RejectBrandInspectionPayload {
2
2
  brandInspectionId: string;
3
3
  brandName: string;
4
4
  engBrandName?: string;
5
- reviewNotification?: string;
5
+ inspectionResultMessage?: string;
6
6
  }
@@ -32,4 +32,4 @@ __decorate([
32
32
  (0, class_validator_1.IsString)(),
33
33
  (0, class_validator_1.IsOptional)(),
34
34
  __metadata("design:type", String)
35
- ], RejectBrandInspectionPayload.prototype, "reviewNotification", void 0);
35
+ ], RejectBrandInspectionPayload.prototype, "inspectionResultMessage", void 0);
@@ -1,10 +1,4 @@
1
1
  import { BrandInspectionEntity } from '@yolo-croket-dev/entity-v2';
2
- export declare class GetBrandInspectionsForAdminPayload {
3
- brandInspectionId: string;
4
- brandName: string;
5
- engBrandName?: string;
6
- reviewNotification?: string;
7
- }
8
2
  export interface GetBrandInspectionsForAdminResult {
9
3
  brandInspections: BrandInspectionEntity[];
10
4
  }
@@ -1,35 +1,2 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- 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.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], GetBrandInspectionsForAdminPayload.prototype, "brandInspectionId", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsNotEmpty)(),
24
- __metadata("design:type", String)
25
- ], GetBrandInspectionsForAdminPayload.prototype, "brandName", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsString)(),
28
- (0, class_validator_1.IsOptional)(),
29
- __metadata("design:type", String)
30
- ], GetBrandInspectionsForAdminPayload.prototype, "engBrandName", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsString)(),
33
- (0, class_validator_1.IsOptional)(),
34
- __metadata("design:type", String)
35
- ], GetBrandInspectionsForAdminPayload.prototype, "reviewNotification", void 0);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { AddSellerToBrandInspectionPayload, ApproveBrandInspectionPayload, CreateBrandInspectionPayload, RejectBrandInspectionPayload, GetBrandInspectionsForAdminPayload, GetBrandInspectionsForAdminResult } from '../dto/brand-inspection';
3
+ import { AddSellerToBrandInspectionPayload, ApproveBrandInspectionPayload, CreateBrandInspectionPayload, RejectBrandInspectionPayload, GetBrandInspectionsForAdminResult } from '../dto/brand-inspection';
4
4
  export declare class AmqpBrandInspectionService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -9,5 +9,5 @@ export declare class AmqpBrandInspectionService {
9
9
  addSellerToBrandInspection(payload: AddSellerToBrandInspectionPayload, param: AbstractParam): Promise<void>;
10
10
  approveBrandInspection(payload: ApproveBrandInspectionPayload, param: AbstractParam): Promise<void>;
11
11
  rejectBrandInspection(payload: RejectBrandInspectionPayload, param: AbstractParam): Promise<void>;
12
- getBrandInspectionsForAdmin(payload: GetBrandInspectionsForAdminPayload, param: AbstractParam): Promise<GetBrandInspectionsForAdminResult>;
12
+ getBrandInspectionsForAdmin(payload: void, param: AbstractParam): Promise<GetBrandInspectionsForAdminResult>;
13
13
  }