@yolo-croket-dev/entity-v2 0.0.28-jun.10 → 0.0.28-jun.12

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.10",
3
+ "version": "0.0.28-jun.12",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",
@@ -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;
@@ -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
  }
@@ -505,6 +505,20 @@ __decorate([
505
505
  (0, swagger_1.ApiPropertyOptional)({ description: '' }),
506
506
  __metadata("design:type", Number)
507
507
  ], PastVisitInfoSwagger.prototype, "regularlyKeepingDays", void 0);
508
+ class VATInfoSwagger {
509
+ }
510
+ __decorate([
511
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세' }),
512
+ __metadata("design:type", Number)
513
+ ], VATInfoSwagger.prototype, "VAT", void 0);
514
+ __decorate([
515
+ (0, swagger_1.ApiPropertyOptional)({ description: '부가세 퍼센트' }),
516
+ __metadata("design:type", Number)
517
+ ], VATInfoSwagger.prototype, "VATPercent", void 0);
518
+ __decorate([
519
+ (0, swagger_1.ApiPropertyOptional)({ description: '무료 부가세 여부' }),
520
+ __metadata("design:type", Boolean)
521
+ ], VATInfoSwagger.prototype, "isZeroRateVat", void 0);
508
522
  class PastSellingInfoSwagger {
509
523
  }
510
524
  __decorate([
@@ -767,12 +781,15 @@ __decorate([
767
781
  __metadata("design:type", Boolean)
768
782
  ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssue", void 0);
769
783
  __decorate([
770
- (0, swagger_1.ApiPropertyOptional)({ description: '세금계산서발급 일자' }),
784
+ (0, swagger_1.ApiPropertyOptional)({
785
+ type: Date,
786
+ description: '세금계산서발급 일자',
787
+ }),
771
788
  __metadata("design:type", Object)
772
789
  ], PInfoProceedsInfoSwagger.prototype, "isTaxInvoiceIssueDate", void 0);
773
790
  __decorate([
774
791
  (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),
775
- __metadata("design:type", Object)
792
+ __metadata("design:type", VATInfoSwagger)
776
793
  ], PInfoProceedsInfoSwagger.prototype, "VATInfo", void 0);
777
794
  __decorate([
778
795
  (0, swagger_1.ApiPropertyOptional)({ description: '부가세 정보' }),
@@ -792,23 +809,38 @@ class PurchasedInfoSwagger {
792
809
  }
793
810
  exports.PurchasedInfoSwagger = PurchasedInfoSwagger;
794
811
  __decorate([
795
- (0, swagger_1.ApiProperty)({ description: 'purchasedInfo Id' }),
812
+ (0, swagger_1.ApiProperty)({
813
+ type: String,
814
+ description: 'purchasedInfo Id',
815
+ }),
796
816
  __metadata("design:type", Object)
797
817
  ], PurchasedInfoSwagger.prototype, "_id", void 0);
798
818
  __decorate([
799
- (0, swagger_1.ApiProperty)({ description: '셀러 아이디 (userId)' }),
819
+ (0, swagger_1.ApiProperty)({
820
+ type: String,
821
+ description: '셀러 아이디 (userId)',
822
+ }),
800
823
  __metadata("design:type", Object)
801
824
  ], PurchasedInfoSwagger.prototype, "sellerId", void 0);
802
825
  __decorate([
803
- (0, swagger_1.ApiProperty)({ description: '구매자 아이디 (userId)' }),
826
+ (0, swagger_1.ApiProperty)({
827
+ type: String,
828
+ description: '구매자 아이디 (userId)',
829
+ }),
804
830
  __metadata("design:type", Object)
805
831
  ], PurchasedInfoSwagger.prototype, "buyerId", void 0);
806
832
  __decorate([
807
- (0, swagger_1.ApiProperty)({ description: '셀러의 스토어 아이디 (storeId)' }),
833
+ (0, swagger_1.ApiProperty)({
834
+ type: String,
835
+ description: '셀러의 스토어 아이디 (storeId)',
836
+ }),
808
837
  __metadata("design:type", Object)
809
838
  ], PurchasedInfoSwagger.prototype, "storeId", void 0);
810
839
  __decorate([
811
- (0, swagger_1.ApiProperty)({ description: '상품 아이디 (storeItemId)' }),
840
+ (0, swagger_1.ApiProperty)({
841
+ type: String,
842
+ description: '상품 아이디 (storeItemId)',
843
+ }),
812
844
  __metadata("design:type", Object)
813
845
  ], PurchasedInfoSwagger.prototype, "itemId", void 0);
814
846
  __decorate([
@@ -887,13 +919,17 @@ __decorate([
887
919
  ], PurchasedInfoSwagger.prototype, "paymentDate", void 0);
888
920
  __decorate([
889
921
  (0, swagger_1.ApiPropertyOptional)({
922
+ type: String,
890
923
  deprecated: true,
891
924
  description: '결제 시도 로그 아이디',
892
925
  }),
893
926
  __metadata("design:type", Object)
894
927
  ], PurchasedInfoSwagger.prototype, "payTryLogId", void 0);
895
928
  __decorate([
896
- (0, swagger_1.ApiPropertyOptional)({ description: '결제 시도 로그 아이디 v2' }),
929
+ (0, swagger_1.ApiPropertyOptional)({
930
+ type: String,
931
+ description: '결제 시도 로그 아이디 v2',
932
+ }),
897
933
  __metadata("design:type", Object)
898
934
  ], PurchasedInfoSwagger.prototype, "payTryLogId_v2", void 0);
899
935
  __decorate([
@@ -962,7 +998,10 @@ __decorate([
962
998
  __metadata("design:type", Boolean)
963
999
  ], PurchasedInfoSwagger.prototype, "isCart", void 0);
964
1000
  __decorate([
965
- (0, swagger_1.ApiPropertyOptional)({ description: '장바구니 아이디' }),
1001
+ (0, swagger_1.ApiPropertyOptional)({
1002
+ type: String,
1003
+ description: '장바구니 아이디',
1004
+ }),
966
1005
  __metadata("design:type", Object)
967
1006
  ], PurchasedInfoSwagger.prototype, "cartId", void 0);
968
1007
  __decorate([
@@ -1088,11 +1127,17 @@ __decorate([
1088
1127
  __metadata("design:type", Date)
1089
1128
  ], PurchasedInfoSwagger.prototype, "pastDeliveryDate", void 0);
1090
1129
  __decorate([
1091
- (0, swagger_1.ApiPropertyOptional)({ description: '리뷰 아이디' }),
1130
+ (0, swagger_1.ApiPropertyOptional)({
1131
+ type: String,
1132
+ description: '리뷰 아이디',
1133
+ }),
1092
1134
  __metadata("design:type", Object)
1093
1135
  ], PurchasedInfoSwagger.prototype, "reviewId", void 0);
1094
1136
  __decorate([
1095
- (0, swagger_1.ApiPropertyOptional)({ description: '리뷰 아이디 리스트' }),
1137
+ (0, swagger_1.ApiPropertyOptional)({
1138
+ type: String,
1139
+ description: '리뷰 아이디 리스트',
1140
+ }),
1096
1141
  __metadata("design:type", Array)
1097
1142
  ], PurchasedInfoSwagger.prototype, "reviewIdList", void 0);
1098
1143
  __decorate([
@@ -1146,15 +1191,24 @@ __decorate([
1146
1191
  __metadata("design:type", Object)
1147
1192
  ], PurchasedInfoSwagger.prototype, "sortInfo", void 0);
1148
1193
  __decorate([
1149
- (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1194
+ (0, swagger_1.ApiPropertyOptional)({
1195
+ type: String,
1196
+ description: '미작성',
1197
+ }),
1150
1198
  __metadata("design:type", Object)
1151
1199
  ], PurchasedInfoSwagger.prototype, "itemReviewId", void 0);
1152
1200
  __decorate([
1153
- (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1201
+ (0, swagger_1.ApiPropertyOptional)({
1202
+ type: String,
1203
+ description: '미작성',
1204
+ }),
1154
1205
  __metadata("design:type", Object)
1155
1206
  ], PurchasedInfoSwagger.prototype, "sellerReviewId", void 0);
1156
1207
  __decorate([
1157
- (0, swagger_1.ApiPropertyOptional)({ description: '미작성' }),
1208
+ (0, swagger_1.ApiPropertyOptional)({
1209
+ type: String,
1210
+ description: '미작성',
1211
+ }),
1158
1212
  __metadata("design:type", Object)
1159
1213
  ], PurchasedInfoSwagger.prototype, "ItemReviewSawLogId", void 0);
1160
1214
  __decorate([