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

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.11",
3
+ "version": "0.0.28-jun.13",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",
@@ -58,10 +58,10 @@ declare class PInfoStoreItemInsuranceInfoSwagger implements PInfoStoreItemInsura
58
58
  declare class PInfoBuyerInfoSwagger implements PInfoBuyerInfo {
59
59
  buyerName: string;
60
60
  buyerPostCode: string;
61
- buyerPhoneNumber?: string | undefined;
62
- buyerAddress1?: string | undefined;
63
- buyerAddress2?: string | undefined;
64
- buyerDirectAddress?: string | undefined;
61
+ buyerPhoneNumber?: string;
62
+ buyerAddress1?: string;
63
+ buyerAddress2?: string;
64
+ buyerDirectAddress?: string;
65
65
  }
66
66
  declare class DeliveryDataSwagger implements DeliveryData {
67
67
  SCompany?: string;
@@ -93,7 +93,7 @@ declare class ShippingTermsInfoSwagger implements ShippingTermsInfo {
93
93
  declare class PInfoDeliveryMethodSwagger implements PInfoDeliveryMethod {
94
94
  DType: string;
95
95
  isVisit: boolean;
96
- isPrepay?: boolean | undefined;
96
+ isPrepay?: boolean;
97
97
  isBundleParent: boolean;
98
98
  isBundleShipping: boolean;
99
99
  bundleShippingFee: number;
@@ -147,6 +147,11 @@ declare class PastVisitInfoSwagger implements PastVisitInfo {
147
147
  isRegularlyKeeping: boolean;
148
148
  regularlyKeepingDays?: number;
149
149
  }
150
+ declare class VATInfoSwagger implements VATInfo {
151
+ VAT?: number;
152
+ VATPercent?: number;
153
+ isZeroRateVat?: boolean;
154
+ }
150
155
  declare class PastSellingInfoSwagger implements PastSellingInfo {
151
156
  sellingInfoLogId?: string | Types.ObjectId;
152
157
  area: string;
@@ -168,12 +173,12 @@ declare class ProceedsLogSwagger implements ProceedsLog {
168
173
  regDate: Date;
169
174
  }
170
175
  declare class PInfoDeviceInfoSwagger implements PInfoDeviceInfo {
171
- device_id?: string | undefined;
172
- userAgent?: string | undefined;
173
- yg_apptype?: string | undefined;
174
- yg_appver?: string | undefined;
175
- yg_model?: string | undefined;
176
- yg_osver?: string | undefined;
176
+ device_id?: string;
177
+ userAgent?: string;
178
+ yg_apptype?: string;
179
+ yg_appver?: string;
180
+ yg_model?: string;
181
+ yg_osver?: string;
177
182
  }
178
183
  declare class PInfoInflowInfoSwagger implements PInfoInflowInfo {
179
184
  device?: PInfoDeviceInfoSwagger;
@@ -191,7 +196,7 @@ declare class PInfoPastReqUserInfoSwagger implements PInfoPastReqUserInfo {
191
196
  }
192
197
  declare class PInfoPastReqInfoSwagger implements PInfoPastReqInfo {
193
198
  __filename?: string;
194
- body?: object | undefined;
199
+ body?: object;
195
200
  device?: PInfoDeviceInfoSwagger;
196
201
  ip?: string;
197
202
  referer?: string;
@@ -217,7 +222,7 @@ declare class PInfoProceedsInfoSwagger implements PInfoProceedsInfo {
217
222
  isProceedingDate?: string | Date;
218
223
  isTaxInvoiceIssue?: boolean;
219
224
  isTaxInvoiceIssueDate?: string | Date;
220
- VATInfo?: VATInfo;
225
+ VATInfo?: VATInfoSwagger;
221
226
  taxInvoiceInfo?: TaxInvoiceInfo;
222
227
  baseAmount: number;
223
228
  }
@@ -129,7 +129,10 @@ __decorate([
129
129
  __metadata("design:type", Boolean)
130
130
  ], BundleInfoSwagger.prototype, "isBundle", void 0);
131
131
  __decorate([
132
- (0, swagger_1.ApiPropertyOptional)({ description: '묶음결제 아이디' }),
132
+ (0, swagger_1.ApiPropertyOptional)({
133
+ type: String,
134
+ description: '묶음결제 아이디',
135
+ }),
133
136
  __metadata("design:type", mongoose_1.Types.ObjectId)
134
137
  ], BundleInfoSwagger.prototype, "bundlePInfoId", void 0);
135
138
  __decorate([
@@ -213,19 +216,19 @@ __decorate([
213
216
  ], PInfoBuyerInfoSwagger.prototype, "buyerPostCode", void 0);
214
217
  __decorate([
215
218
  (0, swagger_1.ApiPropertyOptional)({ description: '수령인 전화번호' }),
216
- __metadata("design:type", Object)
219
+ __metadata("design:type", String)
217
220
  ], PInfoBuyerInfoSwagger.prototype, "buyerPhoneNumber", void 0);
218
221
  __decorate([
219
222
  (0, swagger_1.ApiPropertyOptional)({ description: '수령인 주소1' }),
220
- __metadata("design:type", Object)
223
+ __metadata("design:type", String)
221
224
  ], PInfoBuyerInfoSwagger.prototype, "buyerAddress1", void 0);
222
225
  __decorate([
223
226
  (0, swagger_1.ApiPropertyOptional)({ description: '수령인 주소2' }),
224
- __metadata("design:type", Object)
227
+ __metadata("design:type", String)
225
228
  ], PInfoBuyerInfoSwagger.prototype, "buyerAddress2", void 0);
226
229
  __decorate([
227
230
  (0, swagger_1.ApiPropertyOptional)({ description: '수령인 직거래 주소' }),
228
- __metadata("design:type", Object)
231
+ __metadata("design:type", String)
229
232
  ], PInfoBuyerInfoSwagger.prototype, "buyerDirectAddress", void 0);
230
233
  // ok
231
234
  class DeliveryDataSwagger {
@@ -327,6 +330,10 @@ __decorate([
327
330
  (0, swagger_1.ApiProperty)({ description: '방문수령 여부' }),
328
331
  __metadata("design:type", Boolean)
329
332
  ], PInfoDeliveryMethodSwagger.prototype, "isVisit", void 0);
333
+ __decorate([
334
+ (0, swagger_1.ApiPropertyOptional)({ description: '선불 여부' }),
335
+ __metadata("design:type", Boolean)
336
+ ], PInfoDeliveryMethodSwagger.prototype, "isPrepay", void 0);
330
337
  __decorate([
331
338
  (0, swagger_1.ApiProperty)({ description: '이 결제가 부모 묶음 배송 여부' }),
332
339
  __metadata("design:type", Boolean)
@@ -409,7 +416,10 @@ __decorate([
409
416
  class ManagerInfoSwagger {
410
417
  }
411
418
  __decorate([
412
- (0, swagger_1.ApiProperty)({ description: '관리자 아이디 (manageUserId)' }),
419
+ (0, swagger_1.ApiProperty)({
420
+ type: String,
421
+ description: '관리자 아이디 (manageUserId)',
422
+ }),
413
423
  __metadata("design:type", Object)
414
424
  ], ManagerInfoSwagger.prototype, "managerId", void 0);
415
425
  // ok
@@ -438,7 +448,10 @@ __decorate([
438
448
  __metadata("design:type", String)
439
449
  ], CancelInfoSwagger.prototype, "userType", void 0);
440
450
  __decorate([
441
- (0, swagger_1.ApiPropertyOptional)({ description: 'userId 또는 manageUserId' }),
451
+ (0, swagger_1.ApiPropertyOptional)({
452
+ type: String,
453
+ description: 'userId 또는 manageUserId',
454
+ }),
442
455
  __metadata("design:type", Object)
443
456
  ], CancelInfoSwagger.prototype, "who", void 0);
444
457
  // ok
@@ -505,10 +518,27 @@ __decorate([
505
518
  (0, swagger_1.ApiPropertyOptional)({ description: '' }),
506
519
  __metadata("design:type", Number)
507
520
  ], PastVisitInfoSwagger.prototype, "regularlyKeepingDays", void 0);
521
+ class VATInfoSwagger {
522
+ }
523
+ __decorate([
524
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세' }),
525
+ __metadata("design:type", Number)
526
+ ], VATInfoSwagger.prototype, "VAT", void 0);
527
+ __decorate([
528
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세 퍼센트' }),
529
+ __metadata("design:type", Number)
530
+ ], VATInfoSwagger.prototype, "VATPercent", void 0);
531
+ __decorate([
532
+ (0, swagger_1.ApiPropertyOptional)({ description: '무료 부가세 여부' }),
533
+ __metadata("design:type", Boolean)
534
+ ], VATInfoSwagger.prototype, "isZeroRateVat", void 0);
508
535
  class PastSellingInfoSwagger {
509
536
  }
510
537
  __decorate([
511
- (0, swagger_1.ApiPropertyOptional)({ description: '판매정보로그 아이디' }),
538
+ (0, swagger_1.ApiPropertyOptional)({
539
+ type: String,
540
+ description: '판매정보로그 아이디',
541
+ }),
512
542
  __metadata("design:type", Object)
513
543
  ], PastSellingInfoSwagger.prototype, "sellingInfoLogId", void 0);
514
544
  __decorate([
@@ -588,27 +618,27 @@ class PInfoDeviceInfoSwagger {
588
618
  }
589
619
  __decorate([
590
620
  (0, swagger_1.ApiPropertyOptional)({ description: 'iOS/android의 디바이스 아이디' }),
591
- __metadata("design:type", Object)
621
+ __metadata("design:type", String)
592
622
  ], PInfoDeviceInfoSwagger.prototype, "device_id", void 0);
593
623
  __decorate([
594
624
  (0, swagger_1.ApiPropertyOptional)({ description: 'web' }),
595
- __metadata("design:type", Object)
625
+ __metadata("design:type", String)
596
626
  ], PInfoDeviceInfoSwagger.prototype, "userAgent", void 0);
597
627
  __decorate([
598
628
  (0, swagger_1.ApiPropertyOptional)({ description: 'app (iOS/android)' }),
599
- __metadata("design:type", Object)
629
+ __metadata("design:type", String)
600
630
  ], PInfoDeviceInfoSwagger.prototype, "yg_apptype", void 0);
601
631
  __decorate([
602
632
  (0, swagger_1.ApiPropertyOptional)({ description: 'app version' }),
603
- __metadata("design:type", Object)
633
+ __metadata("design:type", String)
604
634
  ], PInfoDeviceInfoSwagger.prototype, "yg_appver", void 0);
605
635
  __decorate([
606
636
  (0, swagger_1.ApiPropertyOptional)({ description: 'app model' }),
607
- __metadata("design:type", Object)
637
+ __metadata("design:type", String)
608
638
  ], PInfoDeviceInfoSwagger.prototype, "yg_model", void 0);
609
639
  __decorate([
610
640
  (0, swagger_1.ApiPropertyOptional)({ description: 'app os version' }),
611
- __metadata("design:type", Object)
641
+ __metadata("design:type", String)
612
642
  ], PInfoDeviceInfoSwagger.prototype, "yg_osver", void 0);
613
643
  // ok
614
644
  class PInfoInflowInfoSwagger {
@@ -652,7 +682,10 @@ __decorate([
652
682
  __metadata("design:type", String)
653
683
  ], PInfoPastReqUserInfoSwagger.prototype, "authId", void 0);
654
684
  __decorate([
655
- (0, swagger_1.ApiPropertyOptional)({ description: '요청 당시 유저 아이디' }),
685
+ (0, swagger_1.ApiPropertyOptional)({
686
+ type: String,
687
+ description: '요청 당시 유저 아이디',
688
+ }),
656
689
  __metadata("design:type", Object)
657
690
  ], PInfoPastReqUserInfoSwagger.prototype, "userId", void 0);
658
691
  __decorate([
@@ -667,7 +700,10 @@ __decorate([
667
700
  __metadata("design:type", String)
668
701
  ], PInfoPastReqInfoSwagger.prototype, "__filename", void 0);
669
702
  __decorate([
670
- (0, swagger_1.ApiPropertyOptional)({ description: 'body값' }),
703
+ (0, swagger_1.ApiPropertyOptional)({
704
+ type: String,
705
+ description: 'body값',
706
+ }),
671
707
  __metadata("design:type", Object)
672
708
  ], PInfoPastReqInfoSwagger.prototype, "body", void 0);
673
709
  __decorate([
@@ -767,12 +803,15 @@ __decorate([
767
803
  __metadata("design:type", Boolean)
768
804
  ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssue", void 0);
769
805
  __decorate([
770
- (0, swagger_1.ApiPropertyOptional)({ description: '세금계산서발급 일자' }),
806
+ (0, swagger_1.ApiPropertyOptional)({
807
+ type: Date,
808
+ description: '세금계산서발급 일자',
809
+ }),
771
810
  __metadata("design:type", Object)
772
811
  ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssueDate", void 0);
773
812
  __decorate([
774
813
  (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),
775
- __metadata("design:type", Object)
814
+ __metadata("design:type", VATInfoSwagger)
776
815
  ], PInfoProceedsInfoSwagger.prototype, "VATInfo", void 0);
777
816
  __decorate([
778
817
  (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),