@yolo-croket-dev/amqp-access 0.0.202-jun.14 → 0.0.202-jun.2

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.
@@ -1,5 +1,4 @@
1
1
  import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
- import { StoreEntity } from '@yolo-croket-dev/entity/src/store';
3
2
  import { StoreItem } from '@yolo-croket-dev/entity/src/store-item';
4
3
  import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
5
4
  export declare class GetItemSaleInfosForSalesTeamByAtlasPayload {
@@ -9,18 +8,14 @@ export declare class GetItemSaleInfosForSalesTeamByAtlasPayload {
9
8
  paymentEDate?: string;
10
9
  searchAfterToken?: string;
11
10
  searchBeforeToken?: string;
12
- limit?: number;
13
11
  }
14
12
  export declare class GetItemSaleInfosForSalesTeamByAtlasResult {
15
13
  allCount: number;
16
14
  datas: SearchedPurchasedInfoForSaleInfo[];
17
15
  }
18
- export type SearchedStoreForSaleInfo = Pick<StoreEntity, '_id' | 'storeTitle' | 'adminId'>;
19
16
  export type SearchedItemInfoForSaleInfo = Pick<StoreItem, '_id' | 'bookNums' | 'itemName'>;
20
17
  export type SearchedSellerInfoForSaleInfo = Pick<UserEntity, '_id' | 'username'>;
21
- export type SearchedPurchasedInfoForSaleInfo = Pick<PurchasedInfoEntity, '_id' | 'process' | 'itemId' | 'sellerId' | 'paidPrice' | 'pastName' | 'totalPrice' | 'paymentDate' | 'couponInfo' | 'usedCredit' | 'pOptionInfo' | 'proceedsInfo'> & {
18
+ export type SearchedPurchasedInfoForSaleInfo = Pick<PurchasedInfoEntity, '_id' | 'process' | 'itemId' | 'sellerId' | 'paidPrice' | 'pastName' | 'totalPrice' | 'paymentDate' | 'couponInfo' | 'usedCredit' | 'proceedsInfo'> & {
22
19
  searchedItemInfo: SearchedItemInfoForSaleInfo;
23
20
  searchedSellerInfo: SearchedSellerInfoForSaleInfo;
24
- searchedStoreInfo: SearchedStoreForSaleInfo;
25
- paginationToken: string;
26
21
  };
@@ -16,7 +16,7 @@ class GetItemSaleInfosForSalesTeamByAtlasPayload {
16
16
  exports.GetItemSaleInfosForSalesTeamByAtlasPayload = GetItemSaleInfosForSalesTeamByAtlasPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)({ each: true }),
19
- (0, class_validator_1.ArrayMinSize)(1),
19
+ (0, class_validator_1.MinLength)(1),
20
20
  (0, class_validator_1.IsArray)(),
21
21
  __metadata("design:type", Array)
22
22
  ], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "itemIds", void 0);
@@ -45,12 +45,6 @@ __decorate([
45
45
  (0, class_validator_1.IsOptional)(),
46
46
  __metadata("design:type", String)
47
47
  ], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "searchBeforeToken", void 0);
48
- __decorate([
49
- (0, class_validator_1.Max)(1000),
50
- (0, class_validator_1.IsNumber)(),
51
- (0, class_validator_1.IsOptional)(),
52
- __metadata("design:type", Number)
53
- ], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "limit", void 0);
54
48
  class GetItemSaleInfosForSalesTeamByAtlasResult {
55
49
  }
56
50
  exports.GetItemSaleInfosForSalesTeamByAtlasResult = GetItemSaleInfosForSalesTeamByAtlasResult;
@@ -1,4 +1,4 @@
1
- import { SearchedItemInfoForSaleInfo, SearchedSellerInfoForSaleInfo, SearchedStoreForSaleInfo } from './get-item-sale-infos-for-sales-team-by-atlas.dto';
1
+ import { SearchedItemInfoForSaleInfo, SearchedSellerInfoForSaleInfo } from './get-item-sale-infos-for-sales-team-by-atlas.dto';
2
2
  export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
3
3
  itemIds: string[];
4
4
  selectPInfoProcessList: string[];
@@ -8,21 +8,17 @@ export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
8
8
  export declare class GetItemSaleMergeDataForSalesTeamByAtlasResult {
9
9
  datas: ItemSaleInfoForSaleTeam[];
10
10
  }
11
- export declare class CustomItemInfoForItemSale {
12
- _id: string;
13
- allBasePrice: number;
14
- allCouponPrice: number;
15
- allOptionNums: number;
16
- allPNums: number;
17
- allPaidPrice: number;
18
- allTotalPrice: number;
19
- allUsedCredit: number;
20
- clickNumsBefore1day: number;
21
- }
22
11
  export declare class ItemSaleInfoForSaleTeam {
23
12
  itemId: string;
24
- customItemInfo: CustomItemInfoForItemSale;
13
+ customItemInfo: {
14
+ _id: string;
15
+ clickNumsBefore1day: number;
16
+ allPNums: number;
17
+ allPaidPrice: number;
18
+ allBasePrice: number;
19
+ allCouponPrice: number;
20
+ allUsedCredit: number;
21
+ };
25
22
  searchedItemInfo: SearchedItemInfoForSaleInfo;
26
23
  searchedSellerInfo: SearchedSellerInfoForSaleInfo;
27
- searchedStoreForSaleInfo: SearchedStoreForSaleInfo;
28
24
  }
@@ -9,14 +9,14 @@ 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.ItemSaleInfoForSaleTeam = exports.CustomItemInfoForItemSale = exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = void 0;
12
+ exports.ItemSaleInfoForSaleTeam = exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
15
15
  }
16
16
  exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = GetItemSaleMergeDataForSalesTeamByAtlasPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)({ each: true }),
19
- (0, class_validator_1.ArrayMinSize)(1),
19
+ (0, class_validator_1.MinLength)(1),
20
20
  (0, class_validator_1.IsArray)(),
21
21
  __metadata("design:type", Array)
22
22
  ], GetItemSaleMergeDataForSalesTeamByAtlasPayload.prototype, "itemIds", void 0);
@@ -38,9 +38,6 @@ __decorate([
38
38
  class GetItemSaleMergeDataForSalesTeamByAtlasResult {
39
39
  }
40
40
  exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = GetItemSaleMergeDataForSalesTeamByAtlasResult;
41
- class CustomItemInfoForItemSale {
42
- }
43
- exports.CustomItemInfoForItemSale = CustomItemInfoForItemSale;
44
41
  class ItemSaleInfoForSaleTeam {
45
42
  }
46
43
  exports.ItemSaleInfoForSaleTeam = ItemSaleInfoForSaleTeam;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.202-jun.14",
3
+ "version": "0.0.202-jun.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",