@yolo-croket-dev/amqp-access 0.5.7-sj1 → 0.5.7-sj11

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-sj1",
3
+ "version": "0.5.7-sj11",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -7,9 +7,7 @@ export declare class GetBookmarkedBrandsForBuyerPayload {
7
7
  limit: number;
8
8
  sortType: BrandSortTypeEnum;
9
9
  }
10
- export interface BrandBuyerInfo extends Pick<BrandForBuyerEntity, '_id' | 'brandName' | 'engBrandName' | 'isBookmarked'> {
11
- }
12
- export interface GetBookmarkedBrandsForBuyerResult {
13
- brands: BrandBuyerInfo[];
10
+ export declare class GetBookmarkedBrandsForBuyerResult {
11
+ brands: BrandForBuyerEntity[];
14
12
  totalCount: number;
15
13
  }
@@ -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.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
12
+ exports.GetBookmarkedBrandsForBuyerResult = exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandSortTypeEnum;
15
15
  (function (BrandSortTypeEnum) {
@@ -31,3 +31,6 @@ __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;
@@ -0,0 +1,20 @@
1
+ declare class BrandInfo {
2
+ brandId: string;
3
+ brandName: string;
4
+ }
5
+ export declare class GetBrandBookmarksByBrandInfosPayload {
6
+ brandInfos: BrandInfo[];
7
+ }
8
+ export declare class BrandBookmarkWithUserData {
9
+ userId: string;
10
+ appPush: boolean;
11
+ brandNewsAppPush: boolean;
12
+ phone: boolean;
13
+ phoneNumber: string;
14
+ brandName: string;
15
+ brandLatestBookmarkDate: string;
16
+ }
17
+ export interface GetBrandBookmarksByBrandInfosResult {
18
+ bookmarks: BrandBookmarkWithUserData[];
19
+ }
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.GetBrandBookmarksByBrandsPayload = void 0;
12
+ exports.BrandBookmarkWithUserData = exports.GetBrandBookmarksByBrandInfosPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class BrandInfo {
15
15
  }
@@ -21,12 +21,13 @@ __decorate([
21
21
  (0, class_validator_1.IsString)(),
22
22
  __metadata("design:type", String)
23
23
  ], BrandInfo.prototype, "brandName", void 0);
24
- class GetBrandBookmarksByBrandsPayload {
24
+ class GetBrandBookmarksByBrandInfosPayload {
25
25
  }
26
- exports.GetBrandBookmarksByBrandsPayload = GetBrandBookmarksByBrandsPayload;
26
+ exports.GetBrandBookmarksByBrandInfosPayload = GetBrandBookmarksByBrandInfosPayload;
27
27
  __decorate([
28
28
  (0, class_validator_1.IsArray)(),
29
29
  __metadata("design:type", Array)
30
- ], GetBrandBookmarksByBrandsPayload.prototype, "brands", void 0);
31
- class BrandBookmarkData {
30
+ ], GetBrandBookmarksByBrandInfosPayload.prototype, "brandInfos", void 0);
31
+ class BrandBookmarkWithUserData {
32
32
  }
33
+ exports.BrandBookmarkWithUserData = BrandBookmarkWithUserData;
@@ -1,2 +1,2 @@
1
1
  export * from './get-bookmarked-brands-for-buyer.dto';
2
- export * from './get-brand-bookmarks-by-brand-ids.dto';
2
+ export * from './get-brand-bookmarks-by-brand-infos.dto';
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-bookmarked-brands-for-buyer.dto"), exports);
18
- __exportStar(require("./get-brand-bookmarks-by-brand-ids.dto"), exports);
18
+ __exportStar(require("./get-brand-bookmarks-by-brand-infos.dto"), exports);
@@ -9,7 +9,7 @@ export declare class GetBrandCohortsForAdminPayload {
9
9
  page: number;
10
10
  limit: number;
11
11
  }
12
- export interface GetBrandCohortsForAdminResult {
12
+ export declare class 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.GetBrandCohortsForAdminPayload = exports.BrandCohortSearchTypeEnum = void 0;
12
+ exports.GetBrandCohortsForAdminResult = exports.GetBrandCohortsForAdminPayload = exports.BrandCohortSearchTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandCohortSearchTypeEnum;
15
15
  (function (BrandCohortSearchTypeEnum) {
@@ -37,3 +37,6 @@ __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: Date;
11
+ brandLatestBookmarkDate: string;
12
12
  }
13
13
  export interface GetUsersByBrandCohortResult {
14
- users: BrandCohortUser[];
14
+ brandCohortUsers: BrandCohortUser[];
15
15
  }
@@ -1,20 +0,0 @@
1
- declare class BrandInfo {
2
- brandId: string;
3
- brandName: string;
4
- }
5
- export declare class GetBrandBookmarksByBrandsPayload {
6
- brands: BrandInfo[];
7
- }
8
- declare class BrandBookmarkData {
9
- userId: string;
10
- appPush: boolean;
11
- brandNewsAppPush: boolean;
12
- phone: boolean;
13
- phoneNumber: string;
14
- brandName: string;
15
- brandLatestBookmarkDate: Date;
16
- }
17
- export interface GetBrandBookmarksByBrandsResult {
18
- bookmarks: BrandBookmarkData[];
19
- }
20
- export {};