@yolo-croket-dev/entity-v2 0.0.28-jun.5 → 0.0.28-jun.7

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/entity-v2",
3
- "version": "0.0.28-jun.5",
3
+ "version": "0.0.28-jun.7",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",
@@ -1,15 +1,15 @@
1
1
  import { Types } from 'mongoose';
2
2
  import { PurchasedInfoSwagger } from './purchased-info.entity.swagger';
3
3
  import { PInfoBuyerUserInfoForSeller, PInfoRefundInfoForSeller, PInfoSellerUserInfoForSeller, PurchasedInfoForSeller } from './purchased-info-for-seller.entity';
4
- export declare class PurchasedInfoForSellerSwagger implements PurchasedInfoForSeller {
5
- parentPInfoId: Types.ObjectId;
6
- details: PInfoDetailForSellerSwagger[];
7
- searchToken: string;
8
- }
9
4
  declare const PInfoDetailForSellerSwagger_base: import("@nestjs/common").Type<Pick<PurchasedInfoSwagger, "_id" | "paymentDate" | "process" | "proceedsInfo" | "deliveryMethod" | "originPrice" | "pastPrice" | "itemId" | "publicId" | "pOptionInfo" | "deliveryData" | "pastName" | "pastImg" | "cancelInfo" | "buyerInfo" | "refundInfo" | "pastSellingInfo" | "requirement" | "PCCCInfo">>;
10
5
  declare class PInfoDetailForSellerSwagger extends PInfoDetailForSellerSwagger_base {
11
6
  buyerUserInfo: PInfoBuyerUserInfoForSeller;
12
7
  sellerUserInfo: PInfoSellerUserInfoForSeller;
13
8
  pInfoRefundInfo?: PInfoRefundInfoForSeller;
14
9
  }
10
+ export declare class PurchasedInfoForSellerSwagger implements PurchasedInfoForSeller {
11
+ parentPInfoId: Types.ObjectId;
12
+ details: PInfoDetailForSellerSwagger[];
13
+ searchToken: string;
14
+ }
15
15
  export {};
@@ -13,21 +13,6 @@ exports.PurchasedInfoForSellerSwagger = void 0;
13
13
  const mongoose_1 = require("mongoose");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const purchased_info_entity_swagger_1 = require("./purchased-info.entity.swagger");
16
- class PurchasedInfoForSellerSwagger {
17
- }
18
- exports.PurchasedInfoForSellerSwagger = PurchasedInfoForSellerSwagger;
19
- __decorate([
20
- (0, swagger_1.ApiProperty)({ description: '부모 구매 정보 ID' }),
21
- __metadata("design:type", mongoose_1.Types.ObjectId)
22
- ], PurchasedInfoForSellerSwagger.prototype, "parentPInfoId", void 0);
23
- __decorate([
24
- (0, swagger_1.ApiProperty)({ description: '셀러를 위한 결제 상세 정보' }),
25
- __metadata("design:type", Array)
26
- ], PurchasedInfoForSellerSwagger.prototype, "details", void 0);
27
- __decorate([
28
- (0, swagger_1.ApiProperty)({ description: '검색 토큰 (다음, 이전페이지 검색 시 사용)' }),
29
- __metadata("design:type", String)
30
- ], PurchasedInfoForSellerSwagger.prototype, "searchToken", void 0);
31
16
  class PInfoDetailForSellerSwagger extends (0, swagger_1.PickType)(purchased_info_entity_swagger_1.PurchasedInfoSwagger, [
32
17
  '_id',
33
18
  'publicId',
@@ -50,3 +35,21 @@ class PInfoDetailForSellerSwagger extends (0, swagger_1.PickType)(purchased_info
50
35
  'refundInfo',
51
36
  ]) {
52
37
  }
38
+ class PurchasedInfoForSellerSwagger {
39
+ }
40
+ exports.PurchasedInfoForSellerSwagger = PurchasedInfoForSellerSwagger;
41
+ __decorate([
42
+ (0, swagger_1.ApiProperty)({ description: '부모 구매 정보 ID' }),
43
+ __metadata("design:type", mongoose_1.Types.ObjectId)
44
+ ], PurchasedInfoForSellerSwagger.prototype, "parentPInfoId", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiProperty)({
47
+ type: [PInfoDetailForSellerSwagger],
48
+ description: '셀러를 위한 결제 상세 정보',
49
+ }),
50
+ __metadata("design:type", Array)
51
+ ], PurchasedInfoForSellerSwagger.prototype, "details", void 0);
52
+ __decorate([
53
+ (0, swagger_1.ApiProperty)({ description: '검색 토큰 (다음, 이전페이지 검색 시 사용)' }),
54
+ __metadata("design:type", String)
55
+ ], PurchasedInfoForSellerSwagger.prototype, "searchToken", void 0);
@@ -78,18 +78,6 @@ declare class PInfoCreditLogSwagger implements PInfoCreditLog {
78
78
  _author: string | Types.ObjectId;
79
79
  date: Date;
80
80
  }
81
- declare class PInfoDeliveryMethodSwagger implements PInfoDeliveryMethod {
82
- DType: string;
83
- isVisit: boolean;
84
- isPrepay?: boolean | undefined;
85
- isBundleParent: boolean;
86
- isBundleShipping: boolean;
87
- bundleShippingFee: number;
88
- bundlePInfoId?: string | Types.ObjectId;
89
- address: string;
90
- isShippingTerms?: boolean;
91
- shippingTermsInfo?: ShippingTermsInfoSwagger;
92
- }
93
81
  declare class ShippingFeeSectionSwagger implements ShippingFeeSection {
94
82
  until: number;
95
83
  untilShippingFee: number;
@@ -102,6 +90,18 @@ declare class ShippingTermsInfoSwagger implements ShippingTermsInfo {
102
90
  shippingTermsType: string;
103
91
  shippingFeeBySection: ShippingFeeBySectionSwagger;
104
92
  }
93
+ declare class PInfoDeliveryMethodSwagger implements PInfoDeliveryMethod {
94
+ DType: string;
95
+ isVisit: boolean;
96
+ isPrepay?: boolean | undefined;
97
+ isBundleParent: boolean;
98
+ isBundleShipping: boolean;
99
+ bundleShippingFee: number;
100
+ bundlePInfoId?: string | Types.ObjectId;
101
+ address: string;
102
+ isShippingTerms?: boolean;
103
+ shippingTermsInfo?: ShippingTermsInfoSwagger;
104
+ }
105
105
  declare class PurchasedInfoOptionSwagger implements PurchasedInfoOption {
106
106
  name: string;
107
107
  purchaseNumber: number;
@@ -253,6 +253,36 @@ __decorate([
253
253
  (0, swagger_1.ApiProperty)({ description: '등록일' }),
254
254
  __metadata("design:type", Date)
255
255
  ], PInfoCreditLogSwagger.prototype, "date", void 0);
256
+ class ShippingFeeSectionSwagger {
257
+ }
258
+ __decorate([
259
+ (0, swagger_1.ApiProperty)({ description: '구간 기준' }),
260
+ __metadata("design:type", Number)
261
+ ], ShippingFeeSectionSwagger.prototype, "until", void 0);
262
+ __decorate([
263
+ (0, swagger_1.ApiProperty)({ description: '해당 구간 배송비' }),
264
+ __metadata("design:type", Number)
265
+ ], ShippingFeeSectionSwagger.prototype, "untilShippingFee", void 0);
266
+ class ShippingFeeBySectionSwagger {
267
+ }
268
+ __decorate([
269
+ (0, swagger_1.ApiProperty)({ description: '구간별 배송비' }),
270
+ __metadata("design:type", Array)
271
+ ], ShippingFeeBySectionSwagger.prototype, "shippingFeeSectionList", void 0);
272
+ __decorate([
273
+ (0, swagger_1.ApiProperty)({ description: '마지막 구간 배송비' }),
274
+ __metadata("design:type", Number)
275
+ ], ShippingFeeBySectionSwagger.prototype, "lastSectionShippingFee", void 0);
276
+ class ShippingTermsInfoSwagger {
277
+ }
278
+ __decorate([
279
+ (0, swagger_1.ApiProperty)({ description: '구간 배송 종류' }),
280
+ __metadata("design:type", String)
281
+ ], ShippingTermsInfoSwagger.prototype, "shippingTermsType", void 0);
282
+ __decorate([
283
+ (0, swagger_1.ApiProperty)({ description: '구간 배송 종류' }),
284
+ __metadata("design:type", ShippingFeeBySectionSwagger)
285
+ ], ShippingTermsInfoSwagger.prototype, "shippingFeeBySection", void 0);
256
286
  class PInfoDeliveryMethodSwagger {
257
287
  }
258
288
  __decorate([
@@ -291,36 +321,6 @@ __decorate([
291
321
  (0, swagger_1.ApiPropertyOptional)({ description: '구간 배송 정보' }),
292
322
  __metadata("design:type", ShippingTermsInfoSwagger)
293
323
  ], PInfoDeliveryMethodSwagger.prototype, "shippingTermsInfo", void 0);
294
- class ShippingFeeSectionSwagger {
295
- }
296
- __decorate([
297
- (0, swagger_1.ApiProperty)({ description: '구간 기준' }),
298
- __metadata("design:type", Number)
299
- ], ShippingFeeSectionSwagger.prototype, "until", void 0);
300
- __decorate([
301
- (0, swagger_1.ApiProperty)({ description: '해당 구간 배송비' }),
302
- __metadata("design:type", Number)
303
- ], ShippingFeeSectionSwagger.prototype, "untilShippingFee", void 0);
304
- class ShippingFeeBySectionSwagger {
305
- }
306
- __decorate([
307
- (0, swagger_1.ApiProperty)({ description: '구간별 배송비' }),
308
- __metadata("design:type", Array)
309
- ], ShippingFeeBySectionSwagger.prototype, "shippingFeeSectionList", void 0);
310
- __decorate([
311
- (0, swagger_1.ApiProperty)({ description: '마지막 구간 배송비' }),
312
- __metadata("design:type", Number)
313
- ], ShippingFeeBySectionSwagger.prototype, "lastSectionShippingFee", void 0);
314
- class ShippingTermsInfoSwagger {
315
- }
316
- __decorate([
317
- (0, swagger_1.ApiProperty)({ description: '구간 배송 종류' }),
318
- __metadata("design:type", String)
319
- ], ShippingTermsInfoSwagger.prototype, "shippingTermsType", void 0);
320
- __decorate([
321
- (0, swagger_1.ApiProperty)({ description: '구간 배송 종류' }),
322
- __metadata("design:type", ShippingFeeBySectionSwagger)
323
- ], ShippingTermsInfoSwagger.prototype, "shippingFeeBySection", void 0);
324
324
  class PurchasedInfoOptionSwagger {
325
325
  }
326
326
  __decorate([