@yolo-croket-dev/entity-v2 0.0.28-jun.0 → 0.0.28-jun.11

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,1228 @@
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.PurchasedInfoSwagger = void 0;
13
+ const swagger_1 = require("@yolo-croket-dev/swagger");
14
+ const mongoose_1 = require("mongoose");
15
+ const purchased_info_entity_1 = require("./purchased-info.entity");
16
+ // ok
17
+ class PastSellingInfoShippingFeeBySectionSwagger {
18
+ }
19
+ __decorate([
20
+ (0, swagger_1.ApiProperty)({ description: '마지막 구간 배송비' }),
21
+ __metadata("design:type", Array)
22
+ ], PastSellingInfoShippingFeeBySectionSwagger.prototype, "shippingFeeSectionList", void 0);
23
+ __decorate([
24
+ (0, swagger_1.ApiProperty)({ description: '마지막 구간 배송비' }),
25
+ __metadata("design:type", Number)
26
+ ], PastSellingInfoShippingFeeBySectionSwagger.prototype, "lastSectionShippingFee", void 0);
27
+ // ok
28
+ class PastSellingInfoShippingTermsInfoSwagger {
29
+ }
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)({ description: '구간 배송 타입' }),
32
+ __metadata("design:type", String)
33
+ ], PastSellingInfoShippingTermsInfoSwagger.prototype, "shippingTermsType", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)({
36
+ type: PastSellingInfoShippingFeeBySectionSwagger,
37
+ description: '구간 배송 정보',
38
+ }),
39
+ __metadata("design:type", PastSellingInfoShippingFeeBySectionSwagger)
40
+ ], PastSellingInfoShippingTermsInfoSwagger.prototype, "shippingFeeBySection", void 0);
41
+ // ok
42
+ class PastSellingInfoShippingInfoSwagger {
43
+ }
44
+ __decorate([
45
+ (0, swagger_1.ApiPropertyOptional)({ description: '예상 발송일' }),
46
+ __metadata("design:type", Number)
47
+ ], PastSellingInfoShippingInfoSwagger.prototype, "expectedSendDays", void 0);
48
+ __decorate([
49
+ (0, swagger_1.ApiProperty)({ description: '해외 배송 여부' }),
50
+ __metadata("design:type", Boolean)
51
+ ], PastSellingInfoShippingInfoSwagger.prototype, "isAbroadShipping", void 0);
52
+ __decorate([
53
+ (0, swagger_1.ApiPropertyOptional)({ description: '선불 여부' }),
54
+ __metadata("design:type", Boolean)
55
+ ], PastSellingInfoShippingInfoSwagger.prototype, "isPrepay", void 0);
56
+ __decorate([
57
+ (0, swagger_1.ApiPropertyOptional)({ description: '배송비' }),
58
+ __metadata("design:type", Number)
59
+ ], PastSellingInfoShippingInfoSwagger.prototype, "prepayPrice", void 0);
60
+ __decorate([
61
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶음 배송 여부' }),
62
+ __metadata("design:type", Boolean)
63
+ ], PastSellingInfoShippingInfoSwagger.prototype, "isBundleShipping", void 0);
64
+ __decorate([
65
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶음 배송비' }),
66
+ __metadata("design:type", Number)
67
+ ], PastSellingInfoShippingInfoSwagger.prototype, "bundleShippingFee", void 0);
68
+ __decorate([
69
+ (0, swagger_1.ApiProperty)({ description: '구간 배송 여부' }),
70
+ __metadata("design:type", Boolean)
71
+ ], PastSellingInfoShippingInfoSwagger.prototype, "isShippingTerms", void 0);
72
+ __decorate([
73
+ (0, swagger_1.ApiProperty)({
74
+ type: PastSellingInfoShippingTermsInfoSwagger,
75
+ description: '구간 배송 정보',
76
+ }),
77
+ __metadata("design:type", PastSellingInfoShippingTermsInfoSwagger)
78
+ ], PastSellingInfoShippingInfoSwagger.prototype, "shippingTermsInfo", void 0);
79
+ // ok
80
+ class PInfoIMPRefundErrorSwagger {
81
+ }
82
+ __decorate([
83
+ (0, swagger_1.ApiProperty)({ description: '아임포트 환불 사유' }),
84
+ __metadata("design:type", String)
85
+ ], PInfoIMPRefundErrorSwagger.prototype, "IMPRefundErrorReason", void 0);
86
+ __decorate([
87
+ (0, swagger_1.ApiProperty)({ description: '환불시 아임포트 정보' }),
88
+ __metadata("design:type", Object)
89
+ ], PInfoIMPRefundErrorSwagger.prototype, "pastIMPInfo", void 0);
90
+ __decorate([
91
+ (0, swagger_1.ApiProperty)({ description: '저장일' }),
92
+ __metadata("design:type", Date)
93
+ ], PInfoIMPRefundErrorSwagger.prototype, "regDate", void 0);
94
+ // ok
95
+ class PInfoIMPRefundInfoSwagger {
96
+ }
97
+ __decorate([
98
+ (0, swagger_1.ApiPropertyOptional)({
99
+ type: PInfoIMPRefundErrorSwagger,
100
+ description: '환불 실패 시 아임포트 정보 리스트',
101
+ }),
102
+ __metadata("design:type", Array)
103
+ ], PInfoIMPRefundInfoSwagger.prototype, "IMPRefundErrorList", void 0);
104
+ __decorate([
105
+ (0, swagger_1.ApiPropertyOptional)({ description: '마지막 환불 사유' }),
106
+ __metadata("design:type", String)
107
+ ], PInfoIMPRefundInfoSwagger.prototype, "IMPRefundLastErrorReason", void 0);
108
+ __decorate([
109
+ (0, swagger_1.ApiPropertyOptional)({ description: '환불 성공 시 아임포트 정보' }),
110
+ __metadata("design:type", Object)
111
+ ], PInfoIMPRefundInfoSwagger.prototype, "IMPRefundSuccess", void 0);
112
+ __decorate([
113
+ (0, swagger_1.ApiPropertyOptional)({ description: '환불 가능한 일자' }),
114
+ __metadata("design:type", Date)
115
+ ], PInfoIMPRefundInfoSwagger.prototype, "canRefundDueDate", void 0);
116
+ __decorate([
117
+ (0, swagger_1.ApiPropertyOptional)({ description: '아임포트 환불 여부' }),
118
+ __metadata("design:type", Boolean)
119
+ ], PInfoIMPRefundInfoSwagger.prototype, "isIMPRefund", void 0);
120
+ __decorate([
121
+ (0, swagger_1.ApiPropertyOptional)({ description: '관련 환불 아이디' }),
122
+ __metadata("design:type", String)
123
+ ], PInfoIMPRefundInfoSwagger.prototype, "relateRefundId", void 0);
124
+ // ok
125
+ class BundleInfoSwagger {
126
+ }
127
+ __decorate([
128
+ (0, swagger_1.ApiProperty)({ description: '2개 이상 묶였는지 여부 (합배송 여부)' }),
129
+ __metadata("design:type", Boolean)
130
+ ], BundleInfoSwagger.prototype, "isBundle", void 0);
131
+ __decorate([
132
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶음결제 아이디' }),
133
+ __metadata("design:type", mongoose_1.Types.ObjectId)
134
+ ], BundleInfoSwagger.prototype, "bundlePInfoId", void 0);
135
+ __decorate([
136
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶인 일자' }),
137
+ __metadata("design:type", Date)
138
+ ], BundleInfoSwagger.prototype, "bundleDate", void 0);
139
+ __decorate([
140
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶음 수수료' }),
141
+ __metadata("design:type", Number)
142
+ ], BundleInfoSwagger.prototype, "bundleFee", void 0);
143
+ __decorate([
144
+ (0, swagger_1.ApiPropertyOptional)({ description: '부모 묶음인지 여부' }),
145
+ __metadata("design:type", Boolean)
146
+ ], BundleInfoSwagger.prototype, "isBundleParent", void 0);
147
+ __decorate([
148
+ (0, swagger_1.ApiPropertyOptional)({ description: '구매자 유저 이름' }),
149
+ __metadata("design:type", String)
150
+ ], BundleInfoSwagger.prototype, "buyerUsername", void 0);
151
+ __decorate([
152
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령인 이름' }),
153
+ __metadata("design:type", String)
154
+ ], BundleInfoSwagger.prototype, "receiverName", void 0);
155
+ __decorate([
156
+ (0, swagger_1.ApiPropertyOptional)({ description: '관련 묶음 결제 아이디' }),
157
+ __metadata("design:type", Array)
158
+ ], BundleInfoSwagger.prototype, "relateBundlePInfoList", void 0);
159
+ // ok
160
+ class DiscountInfoSwagger {
161
+ }
162
+ __decorate([
163
+ (0, swagger_1.ApiProperty)({ description: '당시 결제된 가격' }),
164
+ __metadata("design:type", Number)
165
+ ], DiscountInfoSwagger.prototype, "paidPrice", void 0);
166
+ __decorate([
167
+ (0, swagger_1.ApiProperty)({ description: '할인 가격' }),
168
+ __metadata("design:type", Number)
169
+ ], DiscountInfoSwagger.prototype, "discountValue", void 0);
170
+ __decorate([
171
+ (0, swagger_1.ApiProperty)({ description: '할인 결과' }),
172
+ __metadata("design:type", Number)
173
+ ], DiscountInfoSwagger.prototype, "discountResult", void 0);
174
+ // ok
175
+ class CouponInfoSwagger {
176
+ }
177
+ __decorate([
178
+ (0, swagger_1.ApiProperty)({ description: '발급된 쿠폰 아이디' }),
179
+ __metadata("design:type", String)
180
+ ], CouponInfoSwagger.prototype, "ICId", void 0);
181
+ __decorate([
182
+ (0, swagger_1.ApiProperty)({
183
+ type: DiscountInfoSwagger,
184
+ description: '할인 정보',
185
+ }),
186
+ __metadata("design:type", DiscountInfoSwagger)
187
+ ], CouponInfoSwagger.prototype, "discountInfo", void 0);
188
+ // ok
189
+ class PInfoStoreItemInsuranceInfoSwagger {
190
+ }
191
+ __decorate([
192
+ (0, swagger_1.ApiProperty)({ description: '보험 여부' }),
193
+ __metadata("design:type", Boolean)
194
+ ], PInfoStoreItemInsuranceInfoSwagger.prototype, "isInsurance", void 0);
195
+ __decorate([
196
+ (0, swagger_1.ApiProperty)({ description: '보험비' }),
197
+ __metadata("design:type", Number)
198
+ ], PInfoStoreItemInsuranceInfoSwagger.prototype, "unitPrice", void 0);
199
+ __decorate([
200
+ (0, swagger_1.ApiProperty)({ description: '상품 가격 + 보험비' }),
201
+ __metadata("design:type", Number)
202
+ ], PInfoStoreItemInsuranceInfoSwagger.prototype, "itemPriceWithInsurance", void 0);
203
+ // ok
204
+ class PInfoBuyerInfoSwagger {
205
+ }
206
+ __decorate([
207
+ (0, swagger_1.ApiProperty)({ description: '수령인 이름' }),
208
+ __metadata("design:type", String)
209
+ ], PInfoBuyerInfoSwagger.prototype, "buyerName", void 0);
210
+ __decorate([
211
+ (0, swagger_1.ApiProperty)({ description: '수령인 우편번호' }),
212
+ __metadata("design:type", String)
213
+ ], PInfoBuyerInfoSwagger.prototype, "buyerPostCode", void 0);
214
+ __decorate([
215
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령인 전화번호' }),
216
+ __metadata("design:type", Object)
217
+ ], PInfoBuyerInfoSwagger.prototype, "buyerPhoneNumber", void 0);
218
+ __decorate([
219
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령인 주소1' }),
220
+ __metadata("design:type", Object)
221
+ ], PInfoBuyerInfoSwagger.prototype, "buyerAddress1", void 0);
222
+ __decorate([
223
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령인 주소2' }),
224
+ __metadata("design:type", Object)
225
+ ], PInfoBuyerInfoSwagger.prototype, "buyerAddress2", void 0);
226
+ __decorate([
227
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령인 직거래 주소' }),
228
+ __metadata("design:type", Object)
229
+ ], PInfoBuyerInfoSwagger.prototype, "buyerDirectAddress", void 0);
230
+ // ok
231
+ class DeliveryDataSwagger {
232
+ }
233
+ __decorate([
234
+ (0, swagger_1.ApiPropertyOptional)({ description: '배송사' }),
235
+ __metadata("design:type", String)
236
+ ], DeliveryDataSwagger.prototype, "SCompany", void 0);
237
+ __decorate([
238
+ (0, swagger_1.ApiPropertyOptional)({ description: '직거래일' }),
239
+ __metadata("design:type", Date)
240
+ ], DeliveryDataSwagger.prototype, "directDate", void 0);
241
+ __decorate([
242
+ (0, swagger_1.ApiPropertyOptional)({ description: '송장번호' }),
243
+ __metadata("design:type", String)
244
+ ], DeliveryDataSwagger.prototype, "invoice", void 0);
245
+ __decorate([
246
+ (0, swagger_1.ApiPropertyOptional)({ description: '송장 URL' }),
247
+ __metadata("design:type", String)
248
+ ], DeliveryDataSwagger.prototype, "invoiceUrl", void 0);
249
+ __decorate([
250
+ (0, swagger_1.ApiPropertyOptional)({ description: '직거래 여부' }),
251
+ __metadata("design:type", Boolean)
252
+ ], DeliveryDataSwagger.prototype, "isDirectInput", void 0);
253
+ __decorate([
254
+ (0, swagger_1.ApiPropertyOptional)({ description: '배송 정보 저장일' }),
255
+ __metadata("design:type", Date)
256
+ ], DeliveryDataSwagger.prototype, "regDate", void 0);
257
+ // ok
258
+ class PInfoCreditLogSwagger {
259
+ }
260
+ __decorate([
261
+ (0, swagger_1.ApiProperty)({ description: '내용' }),
262
+ __metadata("design:type", String)
263
+ ], PInfoCreditLogSwagger.prototype, "text", void 0);
264
+ __decorate([
265
+ (0, swagger_1.ApiProperty)({ description: '크레딧 양' }),
266
+ __metadata("design:type", Number)
267
+ ], PInfoCreditLogSwagger.prototype, "amount", void 0);
268
+ __decorate([
269
+ (0, swagger_1.ApiProperty)({ description: '취소여부' }),
270
+ __metadata("design:type", Boolean)
271
+ ], PInfoCreditLogSwagger.prototype, "isCancel", void 0);
272
+ __decorate([
273
+ (0, swagger_1.ApiProperty)({ description: '당사자 유저 아이디' }),
274
+ __metadata("design:type", Object)
275
+ ], PInfoCreditLogSwagger.prototype, "_author", void 0);
276
+ __decorate([
277
+ (0, swagger_1.ApiProperty)({ description: '등록일' }),
278
+ __metadata("design:type", Date)
279
+ ], PInfoCreditLogSwagger.prototype, "date", void 0);
280
+ // ok
281
+ class ShippingFeeSectionSwagger {
282
+ }
283
+ __decorate([
284
+ (0, swagger_1.ApiProperty)({ description: '구간 기준' }),
285
+ __metadata("design:type", Number)
286
+ ], ShippingFeeSectionSwagger.prototype, "until", void 0);
287
+ __decorate([
288
+ (0, swagger_1.ApiProperty)({ description: '해당 구간 배송비' }),
289
+ __metadata("design:type", Number)
290
+ ], ShippingFeeSectionSwagger.prototype, "untilShippingFee", void 0);
291
+ // ok
292
+ class ShippingFeeBySectionSwagger {
293
+ }
294
+ __decorate([
295
+ (0, swagger_1.ApiProperty)({
296
+ type: ShippingFeeSectionSwagger,
297
+ description: '구간별 배송비',
298
+ }),
299
+ __metadata("design:type", Array)
300
+ ], ShippingFeeBySectionSwagger.prototype, "shippingFeeSectionList", void 0);
301
+ __decorate([
302
+ (0, swagger_1.ApiProperty)({ description: '마지막 구간 배송비' }),
303
+ __metadata("design:type", Number)
304
+ ], ShippingFeeBySectionSwagger.prototype, "lastSectionShippingFee", void 0);
305
+ // ok
306
+ class ShippingTermsInfoSwagger {
307
+ }
308
+ __decorate([
309
+ (0, swagger_1.ApiProperty)({ description: '구간 배송 종류' }),
310
+ __metadata("design:type", String)
311
+ ], ShippingTermsInfoSwagger.prototype, "shippingTermsType", void 0);
312
+ __decorate([
313
+ (0, swagger_1.ApiProperty)({
314
+ type: ShippingFeeBySectionSwagger,
315
+ description: '구간 배송 종류',
316
+ }),
317
+ __metadata("design:type", ShippingFeeBySectionSwagger)
318
+ ], ShippingTermsInfoSwagger.prototype, "shippingFeeBySection", void 0);
319
+ // ok
320
+ class PInfoDeliveryMethodSwagger {
321
+ }
322
+ __decorate([
323
+ (0, swagger_1.ApiProperty)({ description: '배송 방법' }),
324
+ __metadata("design:type", String)
325
+ ], PInfoDeliveryMethodSwagger.prototype, "DType", void 0);
326
+ __decorate([
327
+ (0, swagger_1.ApiProperty)({ description: '방문수령 여부' }),
328
+ __metadata("design:type", Boolean)
329
+ ], PInfoDeliveryMethodSwagger.prototype, "isVisit", void 0);
330
+ __decorate([
331
+ (0, swagger_1.ApiProperty)({ description: '이 결제가 부모 묶음 배송 여부' }),
332
+ __metadata("design:type", Boolean)
333
+ ], PInfoDeliveryMethodSwagger.prototype, "isBundleParent", void 0);
334
+ __decorate([
335
+ (0, swagger_1.ApiProperty)({ description: '묶음배송 여부' }),
336
+ __metadata("design:type", Boolean)
337
+ ], PInfoDeliveryMethodSwagger.prototype, "isBundleShipping", void 0);
338
+ __decorate([
339
+ (0, swagger_1.ApiProperty)({ description: '묶음배송비' }),
340
+ __metadata("design:type", Number)
341
+ ], PInfoDeliveryMethodSwagger.prototype, "bundleShippingFee", void 0);
342
+ __decorate([
343
+ (0, swagger_1.ApiPropertyOptional)({ description: '묶였을 경우 존재 현 결제의 부모 결제 아이디' }),
344
+ __metadata("design:type", Object)
345
+ ], PInfoDeliveryMethodSwagger.prototype, "bundlePInfoId", void 0);
346
+ __decorate([
347
+ (0, swagger_1.ApiProperty)({ description: '주소' }),
348
+ __metadata("design:type", String)
349
+ ], PInfoDeliveryMethodSwagger.prototype, "address", void 0);
350
+ __decorate([
351
+ (0, swagger_1.ApiPropertyOptional)({ description: '구간 배송 여부' }),
352
+ __metadata("design:type", Boolean)
353
+ ], PInfoDeliveryMethodSwagger.prototype, "isShippingTerms", void 0);
354
+ __decorate([
355
+ (0, swagger_1.ApiPropertyOptional)({ description: '구간 배송 정보' }),
356
+ __metadata("design:type", ShippingTermsInfoSwagger)
357
+ ], PInfoDeliveryMethodSwagger.prototype, "shippingTermsInfo", void 0);
358
+ // ok
359
+ class PurchasedInfoOptionSwagger {
360
+ }
361
+ __decorate([
362
+ (0, swagger_1.ApiProperty)({ description: '옵션명' }),
363
+ __metadata("design:type", String)
364
+ ], PurchasedInfoOptionSwagger.prototype, "name", void 0);
365
+ __decorate([
366
+ (0, swagger_1.ApiProperty)({ description: '구매수' }),
367
+ __metadata("design:type", Number)
368
+ ], PurchasedInfoOptionSwagger.prototype, "purchaseNumber", void 0);
369
+ __decorate([
370
+ (0, swagger_1.ApiPropertyOptional)({
371
+ description: '옵션아이디',
372
+ deprecated: true,
373
+ }),
374
+ __metadata("design:type", Object)
375
+ ], PurchasedInfoOptionSwagger.prototype, "originId", void 0);
376
+ // ok
377
+ class POptionSwagger {
378
+ }
379
+ __decorate([
380
+ (0, swagger_1.ApiProperty)({ description: 'string 처리된 옵션명' }),
381
+ __metadata("design:type", String)
382
+ ], POptionSwagger.prototype, "optionName", void 0);
383
+ __decorate([
384
+ (0, swagger_1.ApiProperty)({ description: '옵션 이름 리스트' }),
385
+ __metadata("design:type", Array)
386
+ ], POptionSwagger.prototype, "optionNameList", void 0);
387
+ __decorate([
388
+ (0, swagger_1.ApiPropertyOptional)({ description: '결제 수' }),
389
+ __metadata("design:type", Number)
390
+ ], POptionSwagger.prototype, "pNums", void 0);
391
+ // ok
392
+ class PInfoPOptionInfoSwagger {
393
+ }
394
+ __decorate([
395
+ (0, swagger_1.ApiPropertyOptional)({
396
+ enum: purchased_info_entity_1.POptionTypeEnum,
397
+ description: '결제 옵션 타입',
398
+ }),
399
+ __metadata("design:type", String)
400
+ ], PInfoPOptionInfoSwagger.prototype, "pOptionType", void 0);
401
+ __decorate([
402
+ (0, swagger_1.ApiProperty)({
403
+ type: POptionSwagger,
404
+ description: '결제된 옵션 리스트',
405
+ }),
406
+ __metadata("design:type", Array)
407
+ ], PInfoPOptionInfoSwagger.prototype, "pOptionList", void 0);
408
+ // ok
409
+ class ManagerInfoSwagger {
410
+ }
411
+ __decorate([
412
+ (0, swagger_1.ApiProperty)({ description: '관리자 아이디 (manageUserId)' }),
413
+ __metadata("design:type", Object)
414
+ ], ManagerInfoSwagger.prototype, "managerId", void 0);
415
+ // ok
416
+ class CancelInfoSwagger {
417
+ }
418
+ __decorate([
419
+ (0, swagger_1.ApiProperty)({ description: '사유' }),
420
+ __metadata("design:type", String)
421
+ ], CancelInfoSwagger.prototype, "reason", void 0);
422
+ __decorate([
423
+ (0, swagger_1.ApiPropertyOptional)({
424
+ type: ManagerInfoSwagger,
425
+ description: '취소 시 관리자 정보',
426
+ }),
427
+ __metadata("design:type", ManagerInfoSwagger)
428
+ ], CancelInfoSwagger.prototype, "managerInfo", void 0);
429
+ __decorate([
430
+ (0, swagger_1.ApiPropertyOptional)({ description: '관리자 정보' }),
431
+ __metadata("design:type", String)
432
+ ], CancelInfoSwagger.prototype, "PInfoLastProcess", void 0);
433
+ __decorate([
434
+ (0, swagger_1.ApiPropertyOptional)({
435
+ enum: purchased_info_entity_1.UserTypeEnum,
436
+ description: '유저 타입',
437
+ }),
438
+ __metadata("design:type", String)
439
+ ], CancelInfoSwagger.prototype, "userType", void 0);
440
+ __decorate([
441
+ (0, swagger_1.ApiPropertyOptional)({ description: 'userId 또는 manageUserId' }),
442
+ __metadata("design:type", Object)
443
+ ], CancelInfoSwagger.prototype, "who", void 0);
444
+ // ok
445
+ class PaymentFeeInfoSwagger {
446
+ }
447
+ __decorate([
448
+ (0, swagger_1.ApiProperty)({ description: '결제 방법' }),
449
+ __metadata("design:type", String)
450
+ ], PaymentFeeInfoSwagger.prototype, "paymentMethod", void 0);
451
+ __decorate([
452
+ (0, swagger_1.ApiProperty)({ description: '결제 수수료 퍼센트' }),
453
+ __metadata("design:type", Number)
454
+ ], PaymentFeeInfoSwagger.prototype, "paymentFeePercent", void 0);
455
+ __decorate([
456
+ (0, swagger_1.ApiProperty)({ description: '결제 수수료' }),
457
+ __metadata("design:type", Number)
458
+ ], PaymentFeeInfoSwagger.prototype, "paymentFeeNumber", void 0);
459
+ __decorate([
460
+ (0, swagger_1.ApiProperty)({ description: '저장일' }),
461
+ __metadata("design:type", Date)
462
+ ], PaymentFeeInfoSwagger.prototype, "regDate", void 0);
463
+ // ok
464
+ class PurchasedRefundInfoSwagger {
465
+ }
466
+ __decorate([
467
+ (0, swagger_1.ApiPropertyOptional)({ description: '환불 당시 결제 프로세스' }),
468
+ __metadata("design:type", String)
469
+ ], PurchasedRefundInfoSwagger.prototype, "PInfoLastProcess", void 0);
470
+ __decorate([
471
+ (0, swagger_1.ApiPropertyOptional)({ description: '환불 아이디' }),
472
+ __metadata("design:type", String)
473
+ ], PurchasedRefundInfoSwagger.prototype, "refundId", void 0);
474
+ __decorate([
475
+ (0, swagger_1.ApiProperty)({ description: '관련 환불 아이디 리스트' }),
476
+ __metadata("design:type", Array)
477
+ ], PurchasedRefundInfoSwagger.prototype, "relateRefundIdList", void 0);
478
+ __decorate([
479
+ (0, swagger_1.ApiPropertyOptional)({ description: '환불 처리 상태 여부' }),
480
+ __metadata("design:type", Boolean)
481
+ ], PurchasedRefundInfoSwagger.prototype, "isRefundProcessRunning", void 0);
482
+ // ok
483
+ class PastDirectInfoSwagger {
484
+ }
485
+ __decorate([
486
+ (0, swagger_1.ApiPropertyOptional)({ description: '예상 발송일' }),
487
+ __metadata("design:type", Number)
488
+ ], PastDirectInfoSwagger.prototype, "expectedDeliveryDays", void 0);
489
+ __decorate([
490
+ (0, swagger_1.ApiProperty)({ description: '지역' }),
491
+ __metadata("design:type", String)
492
+ ], PastDirectInfoSwagger.prototype, "address", void 0);
493
+ // ok
494
+ class PastVisitInfoSwagger {
495
+ }
496
+ __decorate([
497
+ (0, swagger_1.ApiProperty)({ description: '' }),
498
+ __metadata("design:type", Date)
499
+ ], PastVisitInfoSwagger.prototype, "keepingDate", void 0);
500
+ __decorate([
501
+ (0, swagger_1.ApiProperty)({ description: '' }),
502
+ __metadata("design:type", Boolean)
503
+ ], PastVisitInfoSwagger.prototype, "isRegularlyKeeping", void 0);
504
+ __decorate([
505
+ (0, swagger_1.ApiPropertyOptional)({ description: '' }),
506
+ __metadata("design:type", Number)
507
+ ], PastVisitInfoSwagger.prototype, "regularlyKeepingDays", void 0);
508
+ class PastSellingInfoSwagger {
509
+ }
510
+ __decorate([
511
+ (0, swagger_1.ApiPropertyOptional)({ description: '판매정보로그 아이디' }),
512
+ __metadata("design:type", Object)
513
+ ], PastSellingInfoSwagger.prototype, "sellingInfoLogId", void 0);
514
+ __decorate([
515
+ (0, swagger_1.ApiProperty)({ description: '지역' }),
516
+ __metadata("design:type", String)
517
+ ], PastSellingInfoSwagger.prototype, "area", void 0);
518
+ __decorate([
519
+ (0, swagger_1.ApiProperty)({ description: '나라' }),
520
+ __metadata("design:type", String)
521
+ ], PastSellingInfoSwagger.prototype, "nation", void 0);
522
+ __decorate([
523
+ (0, swagger_1.ApiProperty)({ description: '도시' }),
524
+ __metadata("design:type", String)
525
+ ], PastSellingInfoSwagger.prototype, "city", void 0);
526
+ __decorate([
527
+ (0, swagger_1.ApiProperty)({ description: '만료일 존재 여부' }),
528
+ __metadata("design:type", Boolean)
529
+ ], PastSellingInfoSwagger.prototype, "isExistDueDate", void 0);
530
+ __decorate([
531
+ (0, swagger_1.ApiProperty)({ description: '만료일' }),
532
+ __metadata("design:type", Date)
533
+ ], PastSellingInfoSwagger.prototype, "dueDate", void 0);
534
+ __decorate([
535
+ (0, swagger_1.ApiProperty)({ description: '배송일' }),
536
+ __metadata("design:type", Date)
537
+ ], PastSellingInfoSwagger.prototype, "deliveryDate", void 0);
538
+ __decorate([
539
+ (0, swagger_1.ApiProperty)({ description: '택배 가능 여부' }),
540
+ __metadata("design:type", Boolean)
541
+ ], PastSellingInfoSwagger.prototype, "isShipping", void 0);
542
+ __decorate([
543
+ (0, swagger_1.ApiPropertyOptional)({
544
+ type: PastSellingInfoShippingInfoSwagger,
545
+ description: '배송 정보',
546
+ }),
547
+ __metadata("design:type", PastSellingInfoShippingInfoSwagger)
548
+ ], PastSellingInfoSwagger.prototype, "shippingInfo", void 0);
549
+ __decorate([
550
+ (0, swagger_1.ApiProperty)({ description: '직거래 가능 여부' }),
551
+ __metadata("design:type", Boolean)
552
+ ], PastSellingInfoSwagger.prototype, "isDirect", void 0);
553
+ __decorate([
554
+ (0, swagger_1.ApiPropertyOptional)({
555
+ type: PastDirectInfoSwagger,
556
+ description: '직거래 정보',
557
+ }),
558
+ __metadata("design:type", PastDirectInfoSwagger)
559
+ ], PastSellingInfoSwagger.prototype, "directInfo", void 0);
560
+ __decorate([
561
+ (0, swagger_1.ApiProperty)({ description: '방문수령 가능 여부' }),
562
+ __metadata("design:type", Boolean)
563
+ ], PastSellingInfoSwagger.prototype, "isVisit", void 0);
564
+ __decorate([
565
+ (0, swagger_1.ApiPropertyOptional)({
566
+ type: PastVisitInfoSwagger,
567
+ description: '방문수령 정보',
568
+ }),
569
+ __metadata("design:type", PastVisitInfoSwagger)
570
+ ], PastSellingInfoSwagger.prototype, "visitInfo", void 0);
571
+ // ok
572
+ class ProceedsLogSwagger {
573
+ }
574
+ __decorate([
575
+ (0, swagger_1.ApiProperty)({ description: '정산 타입' }),
576
+ __metadata("design:type", String)
577
+ ], ProceedsLogSwagger.prototype, "type", void 0);
578
+ __decorate([
579
+ (0, swagger_1.ApiProperty)({ description: '정산금액' }),
580
+ __metadata("design:type", Number)
581
+ ], ProceedsLogSwagger.prototype, "proceeds", void 0);
582
+ __decorate([
583
+ (0, swagger_1.ApiProperty)({ description: '등록일' }),
584
+ __metadata("design:type", Date)
585
+ ], ProceedsLogSwagger.prototype, "regDate", void 0);
586
+ // ok
587
+ class PInfoDeviceInfoSwagger {
588
+ }
589
+ __decorate([
590
+ (0, swagger_1.ApiPropertyOptional)({ description: 'iOS/android의 디바이스 아이디' }),
591
+ __metadata("design:type", Object)
592
+ ], PInfoDeviceInfoSwagger.prototype, "device_id", void 0);
593
+ __decorate([
594
+ (0, swagger_1.ApiPropertyOptional)({ description: 'web' }),
595
+ __metadata("design:type", Object)
596
+ ], PInfoDeviceInfoSwagger.prototype, "userAgent", void 0);
597
+ __decorate([
598
+ (0, swagger_1.ApiPropertyOptional)({ description: 'app (iOS/android)' }),
599
+ __metadata("design:type", Object)
600
+ ], PInfoDeviceInfoSwagger.prototype, "yg_apptype", void 0);
601
+ __decorate([
602
+ (0, swagger_1.ApiPropertyOptional)({ description: 'app version' }),
603
+ __metadata("design:type", Object)
604
+ ], PInfoDeviceInfoSwagger.prototype, "yg_appver", void 0);
605
+ __decorate([
606
+ (0, swagger_1.ApiPropertyOptional)({ description: 'app model' }),
607
+ __metadata("design:type", Object)
608
+ ], PInfoDeviceInfoSwagger.prototype, "yg_model", void 0);
609
+ __decorate([
610
+ (0, swagger_1.ApiPropertyOptional)({ description: 'app os version' }),
611
+ __metadata("design:type", Object)
612
+ ], PInfoDeviceInfoSwagger.prototype, "yg_osver", void 0);
613
+ // ok
614
+ class PInfoInflowInfoSwagger {
615
+ }
616
+ __decorate([
617
+ (0, swagger_1.ApiPropertyOptional)({
618
+ type: PInfoDeviceInfoSwagger,
619
+ description: '디바이스 정보',
620
+ }),
621
+ __metadata("design:type", PInfoDeviceInfoSwagger)
622
+ ], PInfoInflowInfoSwagger.prototype, "device", void 0);
623
+ __decorate([
624
+ (0, swagger_1.ApiPropertyOptional)({ description: '유입일' }),
625
+ __metadata("design:type", Date)
626
+ ], PInfoInflowInfoSwagger.prototype, "inflowDate", void 0);
627
+ __decorate([
628
+ (0, swagger_1.ApiPropertyOptional)({ description: '아이피' }),
629
+ __metadata("design:type", String)
630
+ ], PInfoInflowInfoSwagger.prototype, "ip", void 0);
631
+ __decorate([
632
+ (0, swagger_1.ApiPropertyOptional)({ description: 'url' }),
633
+ __metadata("design:type", String)
634
+ ], PInfoInflowInfoSwagger.prototype, "url", void 0);
635
+ __decorate([
636
+ (0, swagger_1.ApiPropertyOptional)({ description: '' }),
637
+ __metadata("design:type", String)
638
+ ], PInfoInflowInfoSwagger.prototype, "userAgent", void 0);
639
+ __decorate([
640
+ (0, swagger_1.ApiPropertyOptional)({ description: 'yg_method' }),
641
+ __metadata("design:type", String)
642
+ ], PInfoInflowInfoSwagger.prototype, "yg_method", void 0);
643
+ __decorate([
644
+ (0, swagger_1.ApiPropertyOptional)({ description: 'yg_type' }),
645
+ __metadata("design:type", String)
646
+ ], PInfoInflowInfoSwagger.prototype, "yg_type", void 0);
647
+ // ok
648
+ class PInfoPastReqUserInfoSwagger {
649
+ }
650
+ __decorate([
651
+ (0, swagger_1.ApiPropertyOptional)({ description: '요청 당시 authId' }),
652
+ __metadata("design:type", String)
653
+ ], PInfoPastReqUserInfoSwagger.prototype, "authId", void 0);
654
+ __decorate([
655
+ (0, swagger_1.ApiPropertyOptional)({ description: '요청 당시 유저 아이디' }),
656
+ __metadata("design:type", Object)
657
+ ], PInfoPastReqUserInfoSwagger.prototype, "userId", void 0);
658
+ __decorate([
659
+ (0, swagger_1.ApiPropertyOptional)({ description: '요청 당시 유저 이름' }),
660
+ __metadata("design:type", String)
661
+ ], PInfoPastReqUserInfoSwagger.prototype, "username", void 0);
662
+ // ok
663
+ class PInfoPastReqInfoSwagger {
664
+ }
665
+ __decorate([
666
+ (0, swagger_1.ApiPropertyOptional)({ description: '파일위치' }),
667
+ __metadata("design:type", String)
668
+ ], PInfoPastReqInfoSwagger.prototype, "__filename", void 0);
669
+ __decorate([
670
+ (0, swagger_1.ApiPropertyOptional)({ description: 'body값' }),
671
+ __metadata("design:type", Object)
672
+ ], PInfoPastReqInfoSwagger.prototype, "body", void 0);
673
+ __decorate([
674
+ (0, swagger_1.ApiPropertyOptional)({ description: '디바이스 정보' }),
675
+ __metadata("design:type", PInfoDeviceInfoSwagger)
676
+ ], PInfoPastReqInfoSwagger.prototype, "device", void 0);
677
+ __decorate([
678
+ (0, swagger_1.ApiPropertyOptional)({ description: '아이피' }),
679
+ __metadata("design:type", String)
680
+ ], PInfoPastReqInfoSwagger.prototype, "ip", void 0);
681
+ __decorate([
682
+ (0, swagger_1.ApiPropertyOptional)({ description: '이전 주소' }),
683
+ __metadata("design:type", String)
684
+ ], PInfoPastReqInfoSwagger.prototype, "referer", void 0);
685
+ __decorate([
686
+ (0, swagger_1.ApiPropertyOptional)({ description: '저장일' }),
687
+ __metadata("design:type", Date)
688
+ ], PInfoPastReqInfoSwagger.prototype, "regDate", void 0);
689
+ __decorate([
690
+ (0, swagger_1.ApiPropertyOptional)({ description: '주소' }),
691
+ __metadata("design:type", String)
692
+ ], PInfoPastReqInfoSwagger.prototype, "url", void 0);
693
+ __decorate([
694
+ (0, swagger_1.ApiPropertyOptional)({
695
+ type: PInfoPastReqUserInfoSwagger,
696
+ description: '유저 정보',
697
+ }),
698
+ __metadata("design:type", PInfoPastReqUserInfoSwagger)
699
+ ], PInfoPastReqInfoSwagger.prototype, "userInfo", void 0);
700
+ class PInfoProceedsInfoSwagger {
701
+ }
702
+ __decorate([
703
+ (0, swagger_1.ApiProperty)({ description: '예상 정산금' }),
704
+ __metadata("design:type", Number)
705
+ ], PInfoProceedsInfoSwagger.prototype, "expectedProceeds", void 0);
706
+ __decorate([
707
+ (0, swagger_1.ApiProperty)({ description: '서비스 비용' }),
708
+ __metadata("design:type", Number)
709
+ ], PInfoProceedsInfoSwagger.prototype, "serviceFee", void 0);
710
+ __decorate([
711
+ (0, swagger_1.ApiProperty)({ description: '서비스 비용율' }),
712
+ __metadata("design:type", Number)
713
+ ], PInfoProceedsInfoSwagger.prototype, "serviceFeePercent", void 0);
714
+ __decorate([
715
+ (0, swagger_1.ApiProperty)({ description: '정산 버전' }),
716
+ __metadata("design:type", String)
717
+ ], PInfoProceedsInfoSwagger.prototype, "proceedsVersion", void 0);
718
+ __decorate([
719
+ (0, swagger_1.ApiPropertyOptional)({ description: '반올림 방식' }),
720
+ __metadata("design:type", String)
721
+ ], PInfoProceedsInfoSwagger.prototype, "roundType", void 0);
722
+ __decorate([
723
+ (0, swagger_1.ApiPropertyOptional)({ description: '정산 종류' }),
724
+ __metadata("design:type", String)
725
+ ], PInfoProceedsInfoSwagger.prototype, "type", void 0);
726
+ __decorate([
727
+ (0, swagger_1.ApiProperty)({ description: '정산 여부' }),
728
+ __metadata("design:type", Boolean)
729
+ ], PInfoProceedsInfoSwagger.prototype, "isProceeds", void 0);
730
+ __decorate([
731
+ (0, swagger_1.ApiPropertyOptional)({ description: '정산금' }),
732
+ __metadata("design:type", Number)
733
+ ], PInfoProceedsInfoSwagger.prototype, "proceeds", void 0);
734
+ __decorate([
735
+ (0, swagger_1.ApiPropertyOptional)({ description: '등록일' }),
736
+ __metadata("design:type", Date)
737
+ ], PInfoProceedsInfoSwagger.prototype, "regDate", void 0);
738
+ __decorate([
739
+ (0, swagger_1.ApiPropertyOptional)({ description: '정산 방법 종류 (셀러의)' }),
740
+ __metadata("design:type", String)
741
+ ], PInfoProceedsInfoSwagger.prototype, "proceedsMethodType", void 0);
742
+ __decorate([
743
+ (0, swagger_1.ApiProperty)({ description: '정산 방법 종류 (셀러의)' }),
744
+ __metadata("design:type", String)
745
+ ], PInfoProceedsInfoSwagger.prototype, "proceedsGoal", void 0);
746
+ __decorate([
747
+ (0, swagger_1.ApiPropertyOptional)({ description: '무료 정산 여부' }),
748
+ __metadata("design:type", Boolean)
749
+ ], PInfoProceedsInfoSwagger.prototype, "isFreeFee", void 0);
750
+ __decorate([
751
+ (0, swagger_1.ApiPropertyOptional)({ description: '무료 정산 순서' }),
752
+ __metadata("design:type", Number)
753
+ ], PInfoProceedsInfoSwagger.prototype, "recevieSortNums", void 0);
754
+ __decorate([
755
+ (0, swagger_1.ApiPropertyOptional)({ description: '해외정산 여부' }),
756
+ __metadata("design:type", Boolean)
757
+ ], PInfoProceedsInfoSwagger.prototype, "isProceeding", void 0);
758
+ __decorate([
759
+ (0, swagger_1.ApiPropertyOptional)({
760
+ type: Date,
761
+ description: '해외정산 일자',
762
+ }),
763
+ __metadata("design:type", Object)
764
+ ], PInfoProceedsInfoSwagger.prototype, "isProceedingDate", void 0);
765
+ __decorate([
766
+ (0, swagger_1.ApiPropertyOptional)({ description: '세금계산서발급 여부' }),
767
+ __metadata("design:type", Boolean)
768
+ ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssue", void 0);
769
+ __decorate([
770
+ (0, swagger_1.ApiPropertyOptional)({ description: '세금계산서발급 일자' }),
771
+ __metadata("design:type", Object)
772
+ ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssueDate", void 0);
773
+ __decorate([
774
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),
775
+ __metadata("design:type", Object)
776
+ ], PInfoProceedsInfoSwagger.prototype, "VATInfo", void 0);
777
+ __decorate([
778
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),
779
+ __metadata("design:type", Object)
780
+ ], PInfoProceedsInfoSwagger.prototype, "taxInvoiceInfo", void 0);
781
+ __decorate([
782
+ (0, swagger_1.ApiProperty)({ description: '기준 금액' }),
783
+ __metadata("design:type", Number)
784
+ ], PInfoProceedsInfoSwagger.prototype, "baseAmount", void 0);
785
+ class PInfoPCCCInfoSwagger {
786
+ }
787
+ __decorate([
788
+ (0, swagger_1.ApiProperty)({ description: '개인통관고유번호' }),
789
+ __metadata("design:type", String)
790
+ ], PInfoPCCCInfoSwagger.prototype, "PCCC", void 0);
791
+ class PurchasedInfoSwagger {
792
+ }
793
+ exports.PurchasedInfoSwagger = PurchasedInfoSwagger;
794
+ __decorate([
795
+ (0, swagger_1.ApiProperty)({
796
+ type: String,
797
+ description: 'purchasedInfo Id',
798
+ }),
799
+ __metadata("design:type", Object)
800
+ ], PurchasedInfoSwagger.prototype, "_id", void 0);
801
+ __decorate([
802
+ (0, swagger_1.ApiProperty)({
803
+ type: String,
804
+ description: '셀러 아이디 (userId)',
805
+ }),
806
+ __metadata("design:type", Object)
807
+ ], PurchasedInfoSwagger.prototype, "sellerId", void 0);
808
+ __decorate([
809
+ (0, swagger_1.ApiProperty)({
810
+ type: String,
811
+ description: '구매자 아이디 (userId)',
812
+ }),
813
+ __metadata("design:type", Object)
814
+ ], PurchasedInfoSwagger.prototype, "buyerId", void 0);
815
+ __decorate([
816
+ (0, swagger_1.ApiProperty)({
817
+ type: String,
818
+ description: '셀러의 스토어 아이디 (storeId)',
819
+ }),
820
+ __metadata("design:type", Object)
821
+ ], PurchasedInfoSwagger.prototype, "storeId", void 0);
822
+ __decorate([
823
+ (0, swagger_1.ApiProperty)({
824
+ type: String,
825
+ description: '상품 아이디 (storeItemId)',
826
+ }),
827
+ __metadata("design:type", Object)
828
+ ], PurchasedInfoSwagger.prototype, "itemId", void 0);
829
+ __decorate([
830
+ (0, swagger_1.ApiProperty)({
831
+ description: '결제 상태',
832
+ enum: purchased_info_entity_1.PurchasedProcessEnum,
833
+ }),
834
+ __metadata("design:type", String)
835
+ ], PurchasedInfoSwagger.prototype, "process", void 0);
836
+ __decorate([
837
+ (0, swagger_1.ApiProperty)({
838
+ description: '변경 전 결제 상태',
839
+ enum: purchased_info_entity_1.PurchasedProcessEnum,
840
+ }),
841
+ __metadata("design:type", String)
842
+ ], PurchasedInfoSwagger.prototype, "beforePInfoProcess", void 0);
843
+ __decorate([
844
+ (0, swagger_1.ApiPropertyOptional)({ description: '아임포트 imp_uid' }),
845
+ __metadata("design:type", String)
846
+ ], PurchasedInfoSwagger.prototype, "imp_uid", void 0);
847
+ __decorate([
848
+ (0, swagger_1.ApiPropertyOptional)({ description: '생성날짜' }),
849
+ __metadata("design:type", Date)
850
+ ], PurchasedInfoSwagger.prototype, "date", void 0);
851
+ __decorate([
852
+ (0, swagger_1.ApiPropertyOptional)({ description: '수령시간' }),
853
+ __metadata("design:type", Date)
854
+ ], PurchasedInfoSwagger.prototype, "recTime", void 0);
855
+ __decorate([
856
+ (0, swagger_1.ApiPropertyOptional)({ description: '취소날짜' }),
857
+ __metadata("design:type", Date)
858
+ ], PurchasedInfoSwagger.prototype, "cancelledDate", void 0);
859
+ __decorate([
860
+ (0, swagger_1.ApiPropertyOptional)({
861
+ type: DeliveryDataSwagger,
862
+ description: '배송 데이터',
863
+ }),
864
+ __metadata("design:type", DeliveryDataSwagger)
865
+ ], PurchasedInfoSwagger.prototype, "deliveryData", void 0);
866
+ __decorate([
867
+ (0, swagger_1.ApiPropertyOptional)({
868
+ description: '계좌 정보',
869
+ deprecated: true,
870
+ }),
871
+ __metadata("design:type", Object)
872
+ ], PurchasedInfoSwagger.prototype, "accountInfo", void 0);
873
+ __decorate([
874
+ (0, swagger_1.ApiProperty)({ description: '정산 여부 (옛날 데이터)' }),
875
+ __metadata("design:type", Boolean)
876
+ ], PurchasedInfoSwagger.prototype, "giveMoney", void 0);
877
+ __decorate([
878
+ (0, swagger_1.ApiProperty)({ description: '결제 수' }),
879
+ __metadata("design:type", Number)
880
+ ], PurchasedInfoSwagger.prototype, "purchaseNumber", void 0);
881
+ __decorate([
882
+ (0, swagger_1.ApiProperty)({
883
+ type: PInfoProceedsInfoSwagger,
884
+ description: '정산 정보',
885
+ }),
886
+ __metadata("design:type", PInfoProceedsInfoSwagger)
887
+ ], PurchasedInfoSwagger.prototype, "proceedsInfo", void 0);
888
+ __decorate([
889
+ (0, swagger_1.ApiProperty)({
890
+ type: PInfoDeliveryMethodSwagger,
891
+ description: '배송 방법',
892
+ }),
893
+ __metadata("design:type", PInfoDeliveryMethodSwagger)
894
+ ], PurchasedInfoSwagger.prototype, "deliveryMethod", void 0);
895
+ __decorate([
896
+ (0, swagger_1.ApiProperty)({ description: '배송비' }),
897
+ __metadata("design:type", Number)
898
+ ], PurchasedInfoSwagger.prototype, "shippingFee", void 0);
899
+ __decorate([
900
+ (0, swagger_1.ApiProperty)({ description: '결제일' }),
901
+ __metadata("design:type", Date)
902
+ ], PurchasedInfoSwagger.prototype, "paymentDate", void 0);
903
+ __decorate([
904
+ (0, swagger_1.ApiPropertyOptional)({
905
+ type: String,
906
+ deprecated: true,
907
+ description: '결제 시도 로그 아이디',
908
+ }),
909
+ __metadata("design:type", Object)
910
+ ], PurchasedInfoSwagger.prototype, "payTryLogId", void 0);
911
+ __decorate([
912
+ (0, swagger_1.ApiPropertyOptional)({
913
+ type: String,
914
+ description: '결제 시도 로그 아이디 v2',
915
+ }),
916
+ __metadata("design:type", Object)
917
+ ], PurchasedInfoSwagger.prototype, "payTryLogId_v2", void 0);
918
+ __decorate([
919
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 상품명' }),
920
+ __metadata("design:type", String)
921
+ ], PurchasedInfoSwagger.prototype, "pastName", void 0);
922
+ __decorate([
923
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 상품 이미지' }),
924
+ __metadata("design:type", String)
925
+ ], PurchasedInfoSwagger.prototype, "pastImg", void 0);
926
+ __decorate([
927
+ (0, swagger_1.ApiProperty)({ description: '당시 상품 가격' }),
928
+ __metadata("design:type", Number)
929
+ ], PurchasedInfoSwagger.prototype, "pastPrice", void 0);
930
+ __decorate([
931
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 상품 가격 + 보험비' }),
932
+ __metadata("design:type", Number)
933
+ ], PurchasedInfoSwagger.prototype, "pastPriceForBuyer", void 0);
934
+ __decorate([
935
+ (0, swagger_1.ApiProperty)({
936
+ type: PurchasedInfoOptionSwagger,
937
+ description: '옵션정보',
938
+ }),
939
+ __metadata("design:type", Array)
940
+ ], PurchasedInfoSwagger.prototype, "option", void 0);
941
+ __decorate([
942
+ (0, swagger_1.ApiPropertyOptional)({
943
+ type: PInfoPOptionInfoSwagger,
944
+ description: '옵션정보 v2',
945
+ }),
946
+ __metadata("design:type", PInfoPOptionInfoSwagger)
947
+ ], PurchasedInfoSwagger.prototype, "pOptionInfo", void 0);
948
+ __decorate([
949
+ (0, swagger_1.ApiProperty)({ description: '전체 가격: (상품가 * 구매수) + (배송비)' }),
950
+ __metadata("design:type", Number)
951
+ ], PurchasedInfoSwagger.prototype, "totalPrice", void 0);
952
+ __decorate([
953
+ (0, swagger_1.ApiProperty)({ description: '배송비를 제외한 가격: (상품가 * 구매수)' }),
954
+ __metadata("design:type", Number)
955
+ ], PurchasedInfoSwagger.prototype, "originPrice", void 0);
956
+ __decorate([
957
+ (0, swagger_1.ApiPropertyOptional)({ description: '구매자를 위한 originPrice: (상품가 * 구매수) + 보험비' }),
958
+ __metadata("design:type", Number)
959
+ ], PurchasedInfoSwagger.prototype, "originPriceForBuyer", void 0);
960
+ __decorate([
961
+ (0, swagger_1.ApiProperty)({ description: '실제 결제 가격: (상품가 * 구매수) + 보험비 - 크레딧 - 쿠폰할인' }),
962
+ __metadata("design:type", Number)
963
+ ], PurchasedInfoSwagger.prototype, "paidPrice", void 0);
964
+ __decorate([
965
+ (0, swagger_1.ApiPropertyOptional)({ description: '(상품가 * 구매수) + 보험비 - 크레딧 - 쿠폰할인 - 결제 수수료' }),
966
+ __metadata("design:type", Number)
967
+ ], PurchasedInfoSwagger.prototype, "paidPrice_exceptPaymentFee", void 0);
968
+ __decorate([
969
+ (0, swagger_1.ApiPropertyOptional)({ description: '결제 방법' }),
970
+ __metadata("design:type", String)
971
+ ], PurchasedInfoSwagger.prototype, "paymentMethod", void 0);
972
+ __decorate([
973
+ (0, swagger_1.ApiProperty)({
974
+ type: CancelInfoSwagger,
975
+ description: '취소 정보',
976
+ }),
977
+ __metadata("design:type", CancelInfoSwagger)
978
+ ], PurchasedInfoSwagger.prototype, "cancelInfo", void 0);
979
+ __decorate([
980
+ (0, swagger_1.ApiPropertyOptional)({ description: '장바구니 결제 여부' }),
981
+ __metadata("design:type", Boolean)
982
+ ], PurchasedInfoSwagger.prototype, "isCart", void 0);
983
+ __decorate([
984
+ (0, swagger_1.ApiPropertyOptional)({
985
+ type: String,
986
+ description: '장바구니 아이디',
987
+ }),
988
+ __metadata("design:type", Object)
989
+ ], PurchasedInfoSwagger.prototype, "cartId", void 0);
990
+ __decorate([
991
+ (0, swagger_1.ApiPropertyOptional)({ description: '관리자가 작성한 메모' }),
992
+ __metadata("design:type", String)
993
+ ], PurchasedInfoSwagger.prototype, "memo", void 0);
994
+ __decorate([
995
+ (0, swagger_1.ApiPropertyOptional)({
996
+ type: PInfoBuyerInfoSwagger,
997
+ description: '수령인 정보',
998
+ }),
999
+ __metadata("design:type", PInfoBuyerInfoSwagger)
1000
+ ], PurchasedInfoSwagger.prototype, "buyerInfo", void 0);
1001
+ __decorate([
1002
+ (0, swagger_1.ApiPropertyOptional)({
1003
+ type: PaymentFeeInfoSwagger,
1004
+ description: '결제 수수료 정보',
1005
+ }),
1006
+ __metadata("design:type", PaymentFeeInfoSwagger)
1007
+ ], PurchasedInfoSwagger.prototype, "paymentFeeInfo", void 0);
1008
+ __decorate([
1009
+ (0, swagger_1.ApiPropertyOptional)({
1010
+ type: PurchasedRefundInfoSwagger,
1011
+ description: '환불 정보',
1012
+ }),
1013
+ __metadata("design:type", PurchasedRefundInfoSwagger)
1014
+ ], PurchasedInfoSwagger.prototype, "refundInfo", void 0);
1015
+ __decorate([
1016
+ (0, swagger_1.ApiProperty)({ description: '결제 공개 아이디' }),
1017
+ __metadata("design:type", String)
1018
+ ], PurchasedInfoSwagger.prototype, "publicId", void 0);
1019
+ __decorate([
1020
+ (0, swagger_1.ApiPropertyOptional)({ description: '사용한 크레딧' }),
1021
+ __metadata("design:type", Number)
1022
+ ], PurchasedInfoSwagger.prototype, "usedCredit", void 0);
1023
+ __decorate([
1024
+ (0, swagger_1.ApiPropertyOptional)({
1025
+ type: PInfoStoreItemInsuranceInfoSwagger,
1026
+ description: '당시 보험 정보',
1027
+ }),
1028
+ __metadata("design:type", PInfoStoreItemInsuranceInfoSwagger)
1029
+ ], PurchasedInfoSwagger.prototype, "pastInsuranceInfo", void 0);
1030
+ __decorate([
1031
+ (0, swagger_1.ApiPropertyOptional)({
1032
+ type: CouponInfoSwagger,
1033
+ description: '쿠폰 정보',
1034
+ }),
1035
+ __metadata("design:type", CouponInfoSwagger)
1036
+ ], PurchasedInfoSwagger.prototype, "couponInfo", void 0);
1037
+ __decorate([
1038
+ (0, swagger_1.ApiProperty)({
1039
+ type: BundleInfoSwagger,
1040
+ description: '묶음 결제 정보',
1041
+ }),
1042
+ __metadata("design:type", BundleInfoSwagger)
1043
+ ], PurchasedInfoSwagger.prototype, "bundlePInfo", void 0);
1044
+ __decorate([
1045
+ (0, swagger_1.ApiPropertyOptional)({
1046
+ type: PInfoIMPRefundInfoSwagger,
1047
+ description: '아임포트 환불 정보',
1048
+ }),
1049
+ __metadata("design:type", PInfoIMPRefundInfoSwagger)
1050
+ ], PurchasedInfoSwagger.prototype, "IMPRefundInfo", void 0);
1051
+ __decorate([
1052
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 상품 정보' }),
1053
+ __metadata("design:type", Object)
1054
+ ], PurchasedInfoSwagger.prototype, "pastStoreItemInfo", void 0);
1055
+ __decorate([
1056
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 상품의 판매정보' }),
1057
+ __metadata("design:type", PastSellingInfoSwagger)
1058
+ ], PurchasedInfoSwagger.prototype, "pastSellingInfo", void 0);
1059
+ __decorate([
1060
+ (0, swagger_1.ApiPropertyOptional)({ description: '자동 수령일' }),
1061
+ __metadata("design:type", Date)
1062
+ ], PurchasedInfoSwagger.prototype, "autoReceiveTime", void 0);
1063
+ __decorate([
1064
+ (0, swagger_1.ApiPropertyOptional)({ description: '요구사항' }),
1065
+ __metadata("design:type", String)
1066
+ ], PurchasedInfoSwagger.prototype, "requirement", void 0);
1067
+ __decorate([
1068
+ (0, swagger_1.ApiProperty)({ description: '예상 정산금' }),
1069
+ __metadata("design:type", Number)
1070
+ ], PurchasedInfoSwagger.prototype, "expectedProceeds", void 0);
1071
+ __decorate([
1072
+ (0, swagger_1.ApiPropertyOptional)({
1073
+ type: PInfoCreditLogSwagger,
1074
+ description: '크레딧 관련 로그',
1075
+ }),
1076
+ __metadata("design:type", PInfoCreditLogSwagger)
1077
+ ], PurchasedInfoSwagger.prototype, "creditLog", void 0);
1078
+ __decorate([
1079
+ (0, swagger_1.ApiProperty)({ description: '결제 정보' }),
1080
+ __metadata("design:type", Array)
1081
+ ], PurchasedInfoSwagger.prototype, "payment", void 0);
1082
+ __decorate([
1083
+ (0, swagger_1.ApiProperty)({ description: '당시 구매자 이름' }),
1084
+ __metadata("design:type", String)
1085
+ ], PurchasedInfoSwagger.prototype, "pastBuyerUsername", void 0);
1086
+ __decorate([
1087
+ (0, swagger_1.ApiProperty)({
1088
+ type: ProceedsLogSwagger,
1089
+ description: '정산관련로그',
1090
+ }),
1091
+ __metadata("design:type", Array)
1092
+ ], PurchasedInfoSwagger.prototype, "proceedsLog", void 0);
1093
+ __decorate([
1094
+ (0, swagger_1.ApiPropertyOptional)({
1095
+ type: PInfoInflowInfoSwagger,
1096
+ description: '유입 정보',
1097
+ }),
1098
+ __metadata("design:type", PInfoInflowInfoSwagger)
1099
+ ], PurchasedInfoSwagger.prototype, "inflowInfo", void 0);
1100
+ __decorate([
1101
+ (0, swagger_1.ApiPropertyOptional)({ description: '디바이스 정보' }),
1102
+ __metadata("design:type", PInfoDeviceInfoSwagger)
1103
+ ], PurchasedInfoSwagger.prototype, "deviceInfo", void 0);
1104
+ __decorate([
1105
+ (0, swagger_1.ApiProperty)({ description: '판매 제한 여부' }),
1106
+ __metadata("design:type", Boolean)
1107
+ ], PurchasedInfoSwagger.prototype, "isLimitSale", void 0);
1108
+ __decorate([
1109
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 배송일' }),
1110
+ __metadata("design:type", Date)
1111
+ ], PurchasedInfoSwagger.prototype, "pastDeliveryDate", void 0);
1112
+ __decorate([
1113
+ (0, swagger_1.ApiPropertyOptional)({
1114
+ type: String,
1115
+ description: '리뷰 아이디',
1116
+ }),
1117
+ __metadata("design:type", Object)
1118
+ ], PurchasedInfoSwagger.prototype, "reviewId", void 0);
1119
+ __decorate([
1120
+ (0, swagger_1.ApiPropertyOptional)({
1121
+ type: String,
1122
+ description: '리뷰 아이디 리스트',
1123
+ }),
1124
+ __metadata("design:type", Array)
1125
+ ], PurchasedInfoSwagger.prototype, "reviewIdList", void 0);
1126
+ __decorate([
1127
+ (0, swagger_1.ApiProperty)({ description: '로그 정보' }),
1128
+ __metadata("design:type", Array)
1129
+ ], PurchasedInfoSwagger.prototype, "log", void 0);
1130
+ __decorate([
1131
+ (0, swagger_1.ApiProperty)({
1132
+ type: PInfoPastReqInfoSwagger,
1133
+ description: '당시 http request 정보',
1134
+ }),
1135
+ __metadata("design:type", PInfoPastReqInfoSwagger)
1136
+ ], PurchasedInfoSwagger.prototype, "pastReqInfo", void 0);
1137
+ __decorate([
1138
+ (0, swagger_1.ApiPropertyOptional)({
1139
+ type: PInfoPCCCInfoSwagger,
1140
+ description: '개인통관고유번호 정보',
1141
+ }),
1142
+ __metadata("design:type", PInfoPCCCInfoSwagger)
1143
+ ], PurchasedInfoSwagger.prototype, "PCCCInfo", void 0);
1144
+ __decorate([
1145
+ (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1146
+ __metadata("design:type", Object)
1147
+ ], PurchasedInfoSwagger.prototype, "VBankInfo", void 0);
1148
+ __decorate([
1149
+ (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1150
+ __metadata("design:type", Object)
1151
+ ], PurchasedInfoSwagger.prototype, "waitingOrderInfo", void 0);
1152
+ __decorate([
1153
+ (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1154
+ __metadata("design:type", Object)
1155
+ ], PurchasedInfoSwagger.prototype, "waitingReceiveInfo", void 0);
1156
+ __decorate([
1157
+ (0, swagger_1.ApiPropertyOptional)({ description: '상품 북마크 했었는지 여부' }),
1158
+ __metadata("design:type", Boolean)
1159
+ ], PurchasedInfoSwagger.prototype, "isStoreItemBookmark", void 0);
1160
+ __decorate([
1161
+ (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1162
+ __metadata("design:type", Object)
1163
+ ], PurchasedInfoSwagger.prototype, "storeItemBookmarkInfo", void 0);
1164
+ __decorate([
1165
+ (0, swagger_1.ApiPropertyOptional)({ description: '스토어 구독 여부' }),
1166
+ __metadata("design:type", Boolean)
1167
+ ], PurchasedInfoSwagger.prototype, "isStoreSubscribe", void 0);
1168
+ __decorate([
1169
+ (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1170
+ __metadata("design:type", Object)
1171
+ ], PurchasedInfoSwagger.prototype, "storeSubscribeInfo", void 0);
1172
+ __decorate([
1173
+ (0, swagger_1.ApiProperty)({ description: '미작성' }),
1174
+ __metadata("design:type", Object)
1175
+ ], PurchasedInfoSwagger.prototype, "sortInfo", void 0);
1176
+ __decorate([
1177
+ (0, swagger_1.ApiPropertyOptional)({
1178
+ type: String,
1179
+ description: '미작성',
1180
+ }),
1181
+ __metadata("design:type", Object)
1182
+ ], PurchasedInfoSwagger.prototype, "itemReviewId", void 0);
1183
+ __decorate([
1184
+ (0, swagger_1.ApiPropertyOptional)({
1185
+ type: String,
1186
+ description: '미작성',
1187
+ }),
1188
+ __metadata("design:type", Object)
1189
+ ], PurchasedInfoSwagger.prototype, "sellerReviewId", void 0);
1190
+ __decorate([
1191
+ (0, swagger_1.ApiPropertyOptional)({
1192
+ type: String,
1193
+ description: '미작성',
1194
+ }),
1195
+ __metadata("design:type", Object)
1196
+ ], PurchasedInfoSwagger.prototype, "ItemReviewSawLogId", void 0);
1197
+ __decorate([
1198
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 메인 카테고리' }),
1199
+ __metadata("design:type", String)
1200
+ ], PurchasedInfoSwagger.prototype, "pastMainCategory", void 0);
1201
+ __decorate([
1202
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 서브 카테고리' }),
1203
+ __metadata("design:type", String)
1204
+ ], PurchasedInfoSwagger.prototype, "pastSubCategory", void 0);
1205
+ __decorate([
1206
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 서브 카테고리' }),
1207
+ __metadata("design:type", String)
1208
+ ], PurchasedInfoSwagger.prototype, "pastCategoryVersion", void 0);
1209
+ __decorate([
1210
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 카테고리 버전' }),
1211
+ __metadata("design:type", String)
1212
+ ], PurchasedInfoSwagger.prototype, "pastCategoryMajorVersion", void 0);
1213
+ __decorate([
1214
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 셀렉션 연결 정보' }),
1215
+ __metadata("design:type", Array)
1216
+ ], PurchasedInfoSwagger.prototype, "pastSelectionConnectInfos", void 0);
1217
+ __decorate([
1218
+ (0, swagger_1.ApiPropertyOptional)({ description: '당시 셀렉션 프레임 정보' }),
1219
+ __metadata("design:type", Array)
1220
+ ], PurchasedInfoSwagger.prototype, "pastSelectionFrames", void 0);
1221
+ __decorate([
1222
+ (0, swagger_1.ApiPropertyOptional)({ description: '정산 정보' }),
1223
+ __metadata("design:type", Object)
1224
+ ], PurchasedInfoSwagger.prototype, "settleInfo", void 0);
1225
+ __decorate([
1226
+ (0, swagger_1.ApiPropertyOptional)({ description: '보험 상태' }),
1227
+ __metadata("design:type", Object)
1228
+ ], PurchasedInfoSwagger.prototype, "insuranceStatus", void 0);