@yolo-croket-dev/amqp-access 0.0.203 → 0.0.205

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.
@@ -0,0 +1,8 @@
1
+ export declare class GetStoreItemViewerCountPayload {
2
+ storeItemId: string;
3
+ beforeSeconds?: number;
4
+ }
5
+ export interface GetStoreItemViewerCountResult {
6
+ viewerCount: number;
7
+ originViewerCount: number;
8
+ }
@@ -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.GetStoreItemViewerCountPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetStoreItemViewerCountPayload {
15
+ }
16
+ exports.GetStoreItemViewerCountPayload = GetStoreItemViewerCountPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetStoreItemViewerCountPayload.prototype, "storeItemId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", Number)
25
+ ], GetStoreItemViewerCountPayload.prototype, "beforeSeconds", void 0);
@@ -1 +1,2 @@
1
1
  export * from './get-store-item-clicks-group-user-id.dto';
2
+ export * from './get-store-item-viewer-count.dto';
@@ -15,3 +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-store-item-clicks-group-user-id.dto"), exports);
18
+ __exportStar(require("./get-store-item-viewer-count.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemViewerCountPayload, GetStoreItemViewerCountResult } from '@yolo-croket-dev/dto-v2/elastic-search-service/es-store-item-click';
3
+ import { GetStoreItemViewerCountPayload, GetStoreItemViewerCountResult } from '../dto/es-store-item-click/query/get-store-item-viewer-count.dto';
4
4
  export declare class AmqpEsStoreItemClickService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -8,6 +8,10 @@ export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
8
8
  export declare class GetItemSaleMergeDataForSalesTeamByAtlasResult {
9
9
  datas: ItemSaleInfoForSaleTeam[];
10
10
  }
11
+ declare class AllPOption {
12
+ name: string;
13
+ pNums: number;
14
+ }
11
15
  export declare class CustomItemInfoForItemSale {
12
16
  _id: string;
13
17
  clickNumsBefore1day: number;
@@ -18,6 +22,7 @@ export declare class CustomItemInfoForItemSale {
18
22
  allCouponPrice: number;
19
23
  allUsedCredit: number;
20
24
  allOptionNums: number;
25
+ allPOption: AllPOption[];
21
26
  }
22
27
  export declare class ItemSaleInfoForSaleTeam {
23
28
  itemId: string;
@@ -26,3 +31,4 @@ export declare class ItemSaleInfoForSaleTeam {
26
31
  searchedSellerInfo: SearchedSellerInfoForSaleInfo;
27
32
  searchedStoreForSaleInfo: SearchedStoreForSaleInfo;
28
33
  }
34
+ export {};
@@ -38,6 +38,8 @@ __decorate([
38
38
  class GetItemSaleMergeDataForSalesTeamByAtlasResult {
39
39
  }
40
40
  exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = GetItemSaleMergeDataForSalesTeamByAtlasResult;
41
+ class AllPOption {
42
+ }
41
43
  class CustomItemInfoForItemSale {
42
44
  }
43
45
  exports.CustomItemInfoForItemSale = CustomItemInfoForItemSale;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.203",
3
+ "version": "0.0.205",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",