@yolo-croket-dev/amqp-access 0.4.91-jun.6 → 0.4.91-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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 구매 정보 사용 쿠폰 정보 수정 페이로드
3
+ */
4
+ export declare class DeletePInfoUsedCouponInfoPayload {
5
+ pInfoId: string;
6
+ /** 사용한 일반 쿠폰 삭제 여부 */
7
+ isRemoveCoupon: boolean;
8
+ /** 사용한 주문서 쿠폰 삭제 여부 */
9
+ isRemoveReceiptCoupon: boolean;
10
+ }
@@ -0,0 +1,31 @@
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.DeletePInfoUsedCouponInfoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * 구매 정보 사용 쿠폰 정보 수정 페이로드
16
+ */
17
+ class DeletePInfoUsedCouponInfoPayload {
18
+ }
19
+ exports.DeletePInfoUsedCouponInfoPayload = DeletePInfoUsedCouponInfoPayload;
20
+ __decorate([
21
+ (0, class_validator_1.IsMongoId)({ message: '구매 정보 ID는 유효한 MongoDB ID여야 합니다' }),
22
+ __metadata("design:type", String)
23
+ ], DeletePInfoUsedCouponInfoPayload.prototype, "pInfoId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsBoolean)({ message: '일반 쿠폰 삭제 여부는 boolean 값이어야 합니다' }),
26
+ __metadata("design:type", Boolean)
27
+ ], DeletePInfoUsedCouponInfoPayload.prototype, "isRemoveCoupon", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsBoolean)({ message: '주문서 쿠폰 삭제 여부는 boolean 값이어야 합니다' }),
30
+ __metadata("design:type", Boolean)
31
+ ], DeletePInfoUsedCouponInfoPayload.prototype, "isRemoveReceiptCoupon", void 0);
@@ -25,10 +25,6 @@ export declare class EditPInfoUsedCouponPriceInfo {
25
25
  */
26
26
  export declare class EditPInfoUsedCouponInfoPayload {
27
27
  pInfoId: string;
28
- /** 사용한 일반 쿠폰 삭제 여부 */
29
- isRemoveCoupon: boolean;
30
- /** 사용한 주문서 쿠폰 삭제 여부 */
31
- isRemoveReceiptCoupon: boolean;
32
28
  /** 변경할 일반 쿠폰 금액 */
33
29
  itemCouponPrice?: number;
34
30
  /** 변경할 주문서 쿠폰 금액 */
@@ -58,14 +58,6 @@ __decorate([
58
58
  (0, class_validator_1.IsMongoId)({ message: '구매 정보 ID는 유효한 MongoDB ID여야 합니다' }),
59
59
  __metadata("design:type", String)
60
60
  ], EditPInfoUsedCouponInfoPayload.prototype, "pInfoId", void 0);
61
- __decorate([
62
- (0, class_validator_1.IsBoolean)({ message: '일반 쿠폰 삭제 여부는 boolean 값이어야 합니다' }),
63
- __metadata("design:type", Boolean)
64
- ], EditPInfoUsedCouponInfoPayload.prototype, "isRemoveCoupon", void 0);
65
- __decorate([
66
- (0, class_validator_1.IsBoolean)({ message: '주문서 쿠폰 삭제 여부는 boolean 값이어야 합니다' }),
67
- __metadata("design:type", Boolean)
68
- ], EditPInfoUsedCouponInfoPayload.prototype, "isRemoveReceiptCoupon", void 0);
69
61
  __decorate([
70
62
  (0, class_validator_1.IsNumber)({}, { message: '일반 쿠폰 금액은 숫자여야 합니다' }),
71
63
  (0, class_validator_1.IsOptional)(),
@@ -5,3 +5,4 @@ export * from './edit-p-info-process.dto';
5
5
  export * from './edit-p-info-receiver-info.dto';
6
6
  export * from './edit-p-info-waiting-receive-info.dto';
7
7
  export * from './edit-p-info-used-coupon.dto';
8
+ export * from './delete-p-info-used-coupon.dto';
@@ -21,3 +21,4 @@ __exportStar(require("./edit-p-info-process.dto"), exports);
21
21
  __exportStar(require("./edit-p-info-receiver-info.dto"), exports);
22
22
  __exportStar(require("./edit-p-info-waiting-receive-info.dto"), exports);
23
23
  __exportStar(require("./edit-p-info-used-coupon.dto"), exports);
24
+ __exportStar(require("./delete-p-info-used-coupon.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.91-jun.6",
3
+ "version": "0.4.91-jun.7",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",