@yolo-croket-dev/amqp-access 0.5.7-sj12 → 0.5.7-sj2

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.7-sj12",
3
+ "version": "0.5.7-sj2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -7,7 +7,9 @@ export declare class GetBookmarkedBrandsForBuyerPayload {
7
7
  limit: number;
8
8
  sortType: BrandSortTypeEnum;
9
9
  }
10
- export declare class GetBookmarkedBrandsForBuyerResult {
11
- brands: BrandForBuyerEntity[];
10
+ export interface BrandBuyerInfo extends Pick<BrandForBuyerEntity, '_id' | 'brandName' | 'engBrandName' | 'isBookmarked'> {
11
+ }
12
+ export interface GetBookmarkedBrandsForBuyerResult {
13
+ brands: BrandBuyerInfo[];
12
14
  totalCount: number;
13
15
  }
@@ -9,7 +9,7 @@ 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.GetBookmarkedBrandsForBuyerResult = exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
12
+ exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandSortTypeEnum;
15
15
  (function (BrandSortTypeEnum) {
@@ -31,6 +31,3 @@ __decorate([
31
31
  (0, class_validator_1.IsEnum)(BrandSortTypeEnum),
32
32
  __metadata("design:type", String)
33
33
  ], GetBookmarkedBrandsForBuyerPayload.prototype, "sortType", void 0);
34
- class GetBookmarkedBrandsForBuyerResult {
35
- }
36
- exports.GetBookmarkedBrandsForBuyerResult = GetBookmarkedBrandsForBuyerResult;
@@ -3,18 +3,18 @@ declare class BrandInfo {
3
3
  brandName: string;
4
4
  }
5
5
  export declare class GetBrandBookmarksByBrandInfosPayload {
6
- brandInfos: BrandInfo[];
6
+ brands: BrandInfo[];
7
7
  }
8
- export declare class BrandBookmarkWithUserData {
8
+ declare class BrandBookmarkData {
9
9
  userId: string;
10
10
  appPush: boolean;
11
11
  brandNewsAppPush: boolean;
12
12
  phone: boolean;
13
13
  phoneNumber: string;
14
14
  brandName: string;
15
- brandLatestBookmarkDate: string;
15
+ brandLatestBookmarkDate: Date;
16
16
  }
17
17
  export interface GetBrandBookmarksByBrandInfosResult {
18
- bookmarks: BrandBookmarkWithUserData[];
18
+ bookmarks: BrandBookmarkData[];
19
19
  }
20
20
  export {};
@@ -9,7 +9,7 @@ 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.BrandBookmarkWithUserData = exports.GetBrandBookmarksByBrandInfosPayload = void 0;
12
+ exports.GetBrandBookmarksByBrandInfosPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class BrandInfo {
15
15
  }
@@ -27,7 +27,6 @@ exports.GetBrandBookmarksByBrandInfosPayload = GetBrandBookmarksByBrandInfosPayl
27
27
  __decorate([
28
28
  (0, class_validator_1.IsArray)(),
29
29
  __metadata("design:type", Array)
30
- ], GetBrandBookmarksByBrandInfosPayload.prototype, "brandInfos", void 0);
31
- class BrandBookmarkWithUserData {
30
+ ], GetBrandBookmarksByBrandInfosPayload.prototype, "brands", void 0);
31
+ class BrandBookmarkData {
32
32
  }
33
- exports.BrandBookmarkWithUserData = BrandBookmarkWithUserData;
@@ -9,7 +9,7 @@ export declare class GetBrandCohortsForAdminPayload {
9
9
  page: number;
10
10
  limit: number;
11
11
  }
12
- export declare class GetBrandCohortsForAdminResult {
12
+ export interface GetBrandCohortsForAdminResult {
13
13
  brandCohorts: BrandCohortForAdminEntity[];
14
14
  totalCount: number;
15
15
  }
@@ -9,7 +9,7 @@ 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.GetBrandCohortsForAdminResult = exports.GetBrandCohortsForAdminPayload = exports.BrandCohortSearchTypeEnum = void 0;
12
+ exports.GetBrandCohortsForAdminPayload = exports.BrandCohortSearchTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandCohortSearchTypeEnum;
15
15
  (function (BrandCohortSearchTypeEnum) {
@@ -37,6 +37,3 @@ __decorate([
37
37
  (0, class_validator_1.IsNumber)(),
38
38
  __metadata("design:type", Number)
39
39
  ], GetBrandCohortsForAdminPayload.prototype, "limit", void 0);
40
- class GetBrandCohortsForAdminResult {
41
- }
42
- exports.GetBrandCohortsForAdminResult = GetBrandCohortsForAdminResult;
@@ -8,8 +8,8 @@ export declare class BrandCohortUser {
8
8
  phone: boolean;
9
9
  phoneNumber: string;
10
10
  brandName: string;
11
- brandLatestBookmarkDate: string;
11
+ brandLatestBookmarkDate: Date;
12
12
  }
13
- export declare class GetUsersByBrandCohortResult {
14
- brandCohortUsers: BrandCohortUser[];
13
+ export interface GetUsersByBrandCohortResult {
14
+ users: BrandCohortUser[];
15
15
  }
@@ -9,7 +9,7 @@ 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.GetUsersByBrandCohortResult = exports.BrandCohortUser = exports.GetUsersByBrandCohortPayload = void 0;
12
+ exports.BrandCohortUser = exports.GetUsersByBrandCohortPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class GetUsersByBrandCohortPayload {
15
15
  }
@@ -22,6 +22,3 @@ __decorate([
22
22
  class BrandCohortUser {
23
23
  }
24
24
  exports.BrandCohortUser = BrandCohortUser;
25
- class GetUsersByBrandCohortResult {
26
- }
27
- exports.GetUsersByBrandCohortResult = GetUsersByBrandCohortResult;