@yolo-croket-dev/amqp-access 0.3.26-receipt-coupon-18 → 0.3.26
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/coupon-server/dto/issued-coupon/query/get-my-limit-item-issued-coupons.dto.d.ts +1 -1
- package/coupon-server/dto/issued-coupon/query/index.d.ts +0 -2
- package/coupon-server/dto/issued-coupon/query/index.js +0 -2
- package/coupon-server/services/amqp.issued-coupon.service.d.ts +1 -3
- package/coupon-server/services/amqp.issued-coupon.service.js +0 -6
- package/excel-upload-server/services/amqp.store-item-excel.service.d.ts +1 -2
- package/excel-upload-server/services/amqp.store-item-excel.service.js +2 -2
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/index.d.ts +0 -1
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/index.js +0 -1
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-after.dto.d.ts +2 -0
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-after.dto.js +10 -0
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/get-max-discount-coupons-for-payments.dto.d.ts +2 -2
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/index.d.ts +0 -1
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/index.js +0 -1
- package/order-server/services/amqp.pay-try-log.service.d.ts +1 -3
- package/order-server/services/amqp.pay-try-log.service.js +0 -6
- package/package.json +3 -3
- package/store-item-server/dto/store-item/command/reg-store-item-bulk.dto.d.ts +1 -6
- package/store-item-server/dto/store-item/command/reg-store-item-bulk.dto.js +2 -14
- package/store-item-server/dto/store-item/query/index.d.ts +0 -1
- package/store-item-server/dto/store-item/query/index.js +0 -1
- package/store-item-server/dto/store-item/query/search-store-items-for-seduce-add-cart.dto.d.ts +3 -2
- package/store-item-server/services/amqp.store-item.service.d.ts +1 -2
- package/store-item-server/services/amqp.store-item.service.js +0 -3
- package/user-service/dto/cart/index.d.ts +0 -1
- package/user-service/dto/cart/index.js +0 -1
- package/user-service/dto/cart/query/index.d.ts +0 -1
- package/user-service/dto/cart/query/index.js +0 -1
- package/user-service/services/amqp.cart.service.d.ts +1 -3
- package/user-service/services/amqp.cart.service.js +0 -6
- package/coupon-server/dto/issued-coupon/query/get-bind-issued-coupon-for-payment.dto.d.ts +0 -18
- package/coupon-server/dto/issued-coupon/query/get-bind-issued-coupon-for-payment.dto.js +0 -47
- package/coupon-server/dto/issued-coupon/query/get-item-ids-for-seduce-add-cart.dto.d.ts +0 -3
- package/coupon-server/dto/issued-coupon/query/get-item-ids-for-seduce-add-cart.dto.js +0 -6
- package/excel-upload-server/dto/index.d.ts +0 -0
- package/excel-upload-server/dto/index.js +0 -1
- package/excel-upload-server/dto/store-item-excel/index.d.ts +0 -1
- package/excel-upload-server/dto/store-item-excel/index.js +0 -17
- package/excel-upload-server/dto/store-item-excel/upload-reg-store-item-bulk-by-excel-for-admin.dto.d.ts +0 -16
- package/excel-upload-server/dto/store-item-excel/upload-reg-store-item-bulk-by-excel-for-admin.dto.js +0 -27
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-max-discount-coupons.dto.d.ts +0 -6
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-max-discount-coupons.dto.js +0 -24
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/check-applied-issued-coupon.dto.d.ts +0 -4
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/check-applied-issued-coupon.dto.js +0 -25
- package/store-item-server/dto/store-item/query/get-store-item-bind-issued-coupon-for-payment.dto.d.ts +0 -7
- package/store-item-server/dto/store-item/query/get-store-item-bind-issued-coupon-for-payment.dto.js +0 -23
- package/user-service/dto/cart/command/index.d.ts +0 -1
- package/user-service/dto/cart/command/index.js +0 -17
- package/user-service/dto/cart/command/re-add-cart-by-changed.dto.d.ts +0 -5
- package/user-service/dto/cart/command/re-add-cart-by-changed.dto.js +0 -25
- package/user-service/dto/cart/query/get-my-item-ids-for-seduce-add-cart.dto.d.ts +0 -3
- package/user-service/dto/cart/query/get-my-item-ids-for-seduce-add-cart.dto.js +0 -2
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export * from './check-can-use-coupon-for-payment.dto';
|
|
2
2
|
export * from './get-selected-issued-coupons-by-ids.dto';
|
|
3
3
|
export * from './get-my-limit-item-issued-coupons.dto';
|
|
4
|
-
export * from './get-bind-issued-coupon-for-payment.dto';
|
|
5
|
-
export * from './get-item-ids-for-seduce-add-cart.dto';
|
|
@@ -17,5 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./check-can-use-coupon-for-payment.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-selected-issued-coupons-by-ids.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-my-limit-item-issued-coupons.dto"), exports);
|
|
20
|
-
__exportStar(require("./get-bind-issued-coupon-for-payment.dto"), exports);
|
|
21
|
-
__exportStar(require("./get-item-ids-for-seduce-add-cart.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetUseableIssuedCouponsPayload, GetUseableIssuedCouponsResult } from '@yolo-croket-dev/dto-v2/coupon-server';
|
|
4
|
-
import { CheckCanUseCouponForPaymentPayload, GetSelectedIssuedCouponsByIdsPayload, GetSelectedIssuedCouponsByIdsResult, GetMyLimitItemIssuedCouponsPayload, GetMyLimitItemIssuedCouponsResult
|
|
4
|
+
import { CheckCanUseCouponForPaymentPayload, GetSelectedIssuedCouponsByIdsPayload, GetSelectedIssuedCouponsByIdsResult, GetMyLimitItemIssuedCouponsPayload, GetMyLimitItemIssuedCouponsResult } from '../dto/issued-coupon';
|
|
5
5
|
export declare class AmqpIssuedCouponService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -10,6 +10,4 @@ export declare class AmqpIssuedCouponService {
|
|
|
10
10
|
getSelectedIssuedCouponsByIds(payload: GetSelectedIssuedCouponsByIdsPayload, param: AbstractParam): Promise<GetSelectedIssuedCouponsByIdsResult>;
|
|
11
11
|
getUseableIssuedCoupons(payload: GetUseableIssuedCouponsPayload, param: AbstractParam): Promise<GetUseableIssuedCouponsResult>;
|
|
12
12
|
getMyLimitItemIssuedCoupons(payload: GetMyLimitItemIssuedCouponsPayload, param: AbstractParam): Promise<GetMyLimitItemIssuedCouponsResult>;
|
|
13
|
-
getBindIssuedCouponForPayment(payload: GetBindIssuedCouponForPaymentPayload, param: AbstractParam): Promise<GetBindIssuedCouponForPaymentResult>;
|
|
14
|
-
getItemIdsForSeduceAddCart(payload: void, param: AbstractParam): Promise<GetItemIdsForSeduceAddCartResult>;
|
|
15
13
|
}
|
|
@@ -33,12 +33,6 @@ let AmqpIssuedCouponService = class AmqpIssuedCouponService {
|
|
|
33
33
|
async getMyLimitItemIssuedCoupons(payload, param) {
|
|
34
34
|
return this.amqpManager.call('내 쿠폰 중 상품 제한 쿠폰만 가져오기', 'issued-coupon.get.my-limit-item-issued-coupons', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
|
-
async getBindIssuedCouponForPayment(payload, param) {
|
|
37
|
-
return this.amqpManager.call('결제용 바인딩된 쿠폰 조회용 상품 조회', 'issued-coupon.get.bind-issued-coupon-for-payment', payload, param, { isErrorThrowing: true });
|
|
38
|
-
}
|
|
39
|
-
async getItemIdsForSeduceAddCart(payload, param) {
|
|
40
|
-
return this.amqpManager.call('장바구니 추가 상품 추천을 위한 상품 아이디 조회', 'issued-coupon.get.item-ids-for-seduce-add-cart', payload, param, { isErrorThrowing: true });
|
|
41
|
-
}
|
|
42
36
|
};
|
|
43
37
|
exports.AmqpIssuedCouponService = AmqpIssuedCouponService;
|
|
44
38
|
exports.AmqpIssuedCouponService = AmqpIssuedCouponService = __decorate([
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { UploadRegStoreItemBulkByExcelForAdminPayload, UploadRegStoreItemBulkByExcelForAdminResult } from '../dto/store-item-excel/upload-reg-store-item-bulk-by-excel-for-admin.dto';
|
|
4
3
|
export declare class AmqpStoreItemExcelService {
|
|
5
4
|
private readonly client;
|
|
6
5
|
private readonly amqpManager;
|
|
7
6
|
constructor(client: ClientProxy);
|
|
8
|
-
|
|
7
|
+
uploadRegStoreItemBulkByExcel(file: any, payload: void, param: AbstractParam): Promise<void>;
|
|
9
8
|
}
|
|
@@ -21,10 +21,10 @@ let AmqpStoreItemExcelService = class AmqpStoreItemExcelService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
async
|
|
24
|
+
async uploadRegStoreItemBulkByExcel(
|
|
25
25
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
26
|
file, payload, param) {
|
|
27
|
-
return this.amqpManager.call('상품 대량 등록 엑셀 파일 업로드', 'store-item-excel.upload.reg-store-item-bulk-by-excel
|
|
27
|
+
return this.amqpManager.call('상품 대량 등록 엑셀 파일 업로드', 'store-item-excel.upload.reg-store-item-bulk-by-excel', payload, param, { isErrorThrowing: true }, file);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
exports.AmqpStoreItemExcelService = AmqpStoreItemExcelService;
|
|
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./update-issued-coupon-cart.dto"), exports);
|
|
18
18
|
__exportStar(require("./update-issued-coupon-normal.dto"), exports);
|
|
19
19
|
__exportStar(require("./update-issued-receipt-coupon.dto"), exports);
|
|
20
|
-
__exportStar(require("./update-max-discount-coupons.dto"), exports);
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-after.dto.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class WriteNormalStoreItemPayTryLogAfterPayload {
|
|
|
12
12
|
DType: WriteNormalStoreItemPayTryLogAfterDTypeEnum;
|
|
13
13
|
usedCredit?: number;
|
|
14
14
|
requirement?: string;
|
|
15
|
+
bundlePInfoId?: string;
|
|
15
16
|
isAbroadShipping?: boolean;
|
|
16
17
|
PCCC?: string;
|
|
17
18
|
buyerName: string;
|
|
@@ -19,4 +20,5 @@ export declare class WriteNormalStoreItemPayTryLogAfterPayload {
|
|
|
19
20
|
buyerPostCode?: string;
|
|
20
21
|
buyerAddress1?: string;
|
|
21
22
|
buyerAddress2?: string;
|
|
23
|
+
buyerDirectAddress?: string;
|
|
22
24
|
}
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-after.dto.js
CHANGED
|
@@ -51,6 +51,11 @@ __decorate([
|
|
|
51
51
|
(0, class_validator_1.IsOptional)(),
|
|
52
52
|
__metadata("design:type", String)
|
|
53
53
|
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "requirement", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsMongoId)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "bundlePInfoId", void 0);
|
|
54
59
|
__decorate([
|
|
55
60
|
(0, class_validator_1.IsBoolean)(),
|
|
56
61
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -84,3 +89,8 @@ __decorate([
|
|
|
84
89
|
(0, class_validator_1.IsOptional)(),
|
|
85
90
|
__metadata("design:type", String)
|
|
86
91
|
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerAddress2", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsString)(),
|
|
94
|
+
(0, class_validator_1.IsOptional)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerDirectAddress", void 0);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AppliedIssuedCouponForPayment,
|
|
1
|
+
import { AppliedIssuedCouponForPayment, AppliedIssuedReceiptCouponForPayment } from '@yolo-croket-dev/domain';
|
|
2
2
|
export declare class GetMaxDiscountCouponsForPaymentsPayload {
|
|
3
3
|
payTryLogId: string;
|
|
4
4
|
}
|
|
5
5
|
export declare class GetMaxDiscountCouponsForPaymentsResult {
|
|
6
6
|
/** @description 최대 할인 주문서 쿠폰 */
|
|
7
|
-
maxDiscountReceiptCoupon?:
|
|
7
|
+
maxDiscountReceiptCoupon?: AppliedIssuedReceiptCouponForPayment;
|
|
8
8
|
/** @description 최대 할인 상품 쿠폰 리스트 */
|
|
9
9
|
maxDiscountItemCoupons?: AppliedIssuedCouponForPayment[];
|
|
10
10
|
}
|
|
@@ -2,4 +2,3 @@ export * from './get-applied-issued-coupon.dto';
|
|
|
2
2
|
export * from './get-issued-coupons-for-payment.dto';
|
|
3
3
|
export * from './get-max-discount-coupons-for-payments.dto';
|
|
4
4
|
export * from './get-issued-receipt-coupons-for-payment.dto';
|
|
5
|
-
export * from './check-applied-issued-coupon.dto';
|
|
@@ -18,4 +18,3 @@ __exportStar(require("./get-applied-issued-coupon.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./get-issued-coupons-for-payment.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-max-discount-coupons-for-payments.dto"), exports);
|
|
20
20
|
__exportStar(require("./get-issued-receipt-coupons-for-payment.dto"), exports);
|
|
21
|
-
__exportStar(require("./check-applied-issued-coupon.dto"), exports);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetPayTryLogsForEsPayload, GetPayTryLogsForEsResult, GetPayTryLogsForEsByIdsPayload, GetPayTryLogsForEsByIdsResult } from '@yolo-croket-dev/dto-v2/order-server/pay-try-log';
|
|
4
4
|
import { BindIssuedReceiptCouponForPayment } from '@yolo-croket-dev/domain';
|
|
5
|
-
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload, UpdateIssuedReceiptCouponPayload, GetAppliedIssuedCouponPayload, GetAppliedIssuedCouponResult, GetIssuedCouponsForPaymentPayload, GetIssuedCouponsForPaymentResult, GetMaxDiscountCouponsForPaymentsPayload, GetMaxDiscountCouponsForPaymentsResult, GetIssuedReceiptCouponsForPaymentPayload
|
|
5
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload, UpdateIssuedReceiptCouponPayload, GetAppliedIssuedCouponPayload, GetAppliedIssuedCouponResult, GetIssuedCouponsForPaymentPayload, GetIssuedCouponsForPaymentResult, GetMaxDiscountCouponsForPaymentsPayload, GetMaxDiscountCouponsForPaymentsResult, GetIssuedReceiptCouponsForPaymentPayload } from '../dto/pay-try-log';
|
|
6
6
|
export declare class AmqpPayTryLogService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -21,6 +21,4 @@ export declare class AmqpPayTryLogService {
|
|
|
21
21
|
getIssuedCouponsForPayment(payload: GetIssuedCouponsForPaymentPayload, param: AbstractParam): Promise<GetIssuedCouponsForPaymentResult>;
|
|
22
22
|
getIssuedReceiptCouponsForPayment(payload: GetIssuedReceiptCouponsForPaymentPayload, param: AbstractParam): Promise<BindIssuedReceiptCouponForPayment[]>;
|
|
23
23
|
getMaxDiscountCouponsForPayments(payload: GetMaxDiscountCouponsForPaymentsPayload, param: AbstractParam): Promise<GetMaxDiscountCouponsForPaymentsResult>;
|
|
24
|
-
checkAppliedIssuedCoupon(payload: CheckAppliedIssuedCouponPayload, param: AbstractParam): Promise<void>;
|
|
25
|
-
updateMaxDiscountCoupons(payload: UpdateMaxDiscountCouponsPayload, param: AbstractParam): Promise<UpdateMaxDiscountCouponsResult>;
|
|
26
24
|
}
|
|
@@ -67,12 +67,6 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
67
67
|
async getMaxDiscountCouponsForPayments(payload, param) {
|
|
68
68
|
return this.amqpManager.call('결제페이지 최대 할인 금액 쿠폰 조회', 'pay-try-log.get.max-discount-coupons-for-payments', payload, param, { isErrorThrowing: true });
|
|
69
69
|
}
|
|
70
|
-
async checkAppliedIssuedCoupon(payload, param) {
|
|
71
|
-
return this.amqpManager.call('결제 시도 로그에 적용된 쿠폰 결제 가능 여부 조회', 'pay-try-log.check.applied-issued-coupon', payload, param, { isErrorThrowing: true });
|
|
72
|
-
}
|
|
73
|
-
async updateMaxDiscountCoupons(payload, param) {
|
|
74
|
-
return this.amqpManager.call('결제 시도 로그에 최대 할인 쿠폰 업데이트', 'pay-try-log.update.applied-max-discount-coupons', payload, param, { isErrorThrowing: true });
|
|
75
|
-
}
|
|
76
70
|
};
|
|
77
71
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
78
72
|
exports.AmqpPayTryLogService = AmqpPayTryLogService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.3.26
|
|
3
|
+
"version": "0.3.26",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "1.7.17",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.0.
|
|
23
|
-
"@yolo-croket-dev/dto-v2": "0.0.174
|
|
22
|
+
"@yolo-croket-dev/domain": "^0.0.38",
|
|
23
|
+
"@yolo-croket-dev/dto-v2": "0.0.174",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.155",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "0.0.137",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { RegStoreItemPayload } from './reg-store-item.dto';
|
|
2
|
-
export declare class RegStoreItemBulkData {
|
|
3
|
-
regData: RegStoreItemPayload;
|
|
4
|
-
sellerId: string;
|
|
5
|
-
}
|
|
6
2
|
export declare class RegStoreItemBulkPayload {
|
|
7
|
-
datas:
|
|
3
|
+
datas: RegStoreItemPayload[];
|
|
8
4
|
}
|
|
9
5
|
export declare class RegStoreItemBulkErrorData {
|
|
10
6
|
itemName: string;
|
|
11
7
|
errMessage: string;
|
|
12
|
-
errType: string;
|
|
13
8
|
}
|
|
14
9
|
export declare class RegStoreItemBulkResult {
|
|
15
10
|
totalNums: number;
|
|
@@ -9,29 +9,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.RegStoreItemBulkResult = exports.RegStoreItemBulkErrorData = exports.RegStoreItemBulkPayload =
|
|
12
|
+
exports.RegStoreItemBulkResult = exports.RegStoreItemBulkErrorData = exports.RegStoreItemBulkPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const reg_store_item_dto_1 = require("./reg-store-item.dto");
|
|
16
|
-
class RegStoreItemBulkData {
|
|
17
|
-
}
|
|
18
|
-
exports.RegStoreItemBulkData = RegStoreItemBulkData;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.ValidateNested)(),
|
|
21
|
-
(0, class_transformer_1.Type)(() => reg_store_item_dto_1.RegStoreItemPayload),
|
|
22
|
-
__metadata("design:type", reg_store_item_dto_1.RegStoreItemPayload)
|
|
23
|
-
], RegStoreItemBulkData.prototype, "regData", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsMongoId)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], RegStoreItemBulkData.prototype, "sellerId", void 0);
|
|
28
16
|
class RegStoreItemBulkPayload {
|
|
29
17
|
}
|
|
30
18
|
exports.RegStoreItemBulkPayload = RegStoreItemBulkPayload;
|
|
31
19
|
__decorate([
|
|
32
20
|
(0, class_validator_1.IsArray)(),
|
|
33
21
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
34
|
-
(0, class_transformer_1.Type)(() =>
|
|
22
|
+
(0, class_transformer_1.Type)(() => reg_store_item_dto_1.RegStoreItemPayload),
|
|
35
23
|
__metadata("design:type", Array)
|
|
36
24
|
], RegStoreItemBulkPayload.prototype, "datas", void 0);
|
|
37
25
|
class RegStoreItemBulkErrorData {
|
|
@@ -11,4 +11,3 @@ export * from './get-selling-item-ids-by-catagory.dto';
|
|
|
11
11
|
export * from './get-store-items-for-update-brand.dto';
|
|
12
12
|
export * from './get-store-item-info-by-ids.dto';
|
|
13
13
|
export * from './search-store-items-for-seduce-add-cart.dto';
|
|
14
|
-
export * from './get-store-item-bind-issued-coupon-for-payment.dto';
|
|
@@ -27,4 +27,3 @@ __exportStar(require("./get-selling-item-ids-by-catagory.dto"), exports);
|
|
|
27
27
|
__exportStar(require("./get-store-items-for-update-brand.dto"), exports);
|
|
28
28
|
__exportStar(require("./get-store-item-info-by-ids.dto"), exports);
|
|
29
29
|
__exportStar(require("./search-store-items-for-seduce-add-cart.dto"), exports);
|
|
30
|
-
__exportStar(require("./get-store-item-bind-issued-coupon-for-payment.dto"), exports);
|
package/store-item-server/dto/store-item/query/search-store-items-for-seduce-add-cart.dto.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item';
|
|
2
2
|
export declare class SearchStoreItemsForSeduceAddCartResult {
|
|
3
|
-
|
|
3
|
+
storeItemForSeduceAddCarts: StoreItemLegacyEntity[];
|
|
4
|
+
title?: string;
|
|
4
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartResult
|
|
3
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -32,5 +32,4 @@ export declare class AmqpStoreItemService {
|
|
|
32
32
|
regStoreItemBulk(payload: RegStoreItemBulkPayload, param: AbstractParam): Promise<RegStoreItemBulkResult>;
|
|
33
33
|
getStoreItemInfoIByIds(payload: GetStoreItemInfoByIdsPayload, param: AbstractParam): Promise<GetStoreItemInfoByIdsResult>;
|
|
34
34
|
searchStoreItemsForSeduceAddCart(param: AbstractParam): Promise<SearchStoreItemsForSeduceAddCartResult>;
|
|
35
|
-
getStoreItemBindIssuedCouponForPayment(payload: GetStoreItemBindIssuedCouponForPaymentPayload, param: AbstractParam): Promise<GetStoreItemBindIssuedCouponForPaymentResult>;
|
|
36
35
|
}
|
|
@@ -96,9 +96,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
96
96
|
async searchStoreItemsForSeduceAddCart(param) {
|
|
97
97
|
return this.amqpManager.call('장바구니 추가를 위한 상품 추천 검색', 'store-item.get.store-items-for-seduce-add-cart', {}, param, { isErrorThrowing: true });
|
|
98
98
|
}
|
|
99
|
-
async getStoreItemBindIssuedCouponForPayment(payload, param) {
|
|
100
|
-
return this.amqpManager.call('결제용 바인딩된 쿠폰 조회용 상품 조회', 'store-item.get.store-item-bind-issued-coupon-for-payment', payload, param, { isErrorThrowing: true });
|
|
101
|
-
}
|
|
102
99
|
};
|
|
103
100
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
104
101
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
@@ -19,4 +19,3 @@ var get_carts_for_write_pay_dto_1 = require("./get-carts-for-write-pay.dto");
|
|
|
19
19
|
Object.defineProperty(exports, "GetCartsForWritePayPayload", { enumerable: true, get: function () { return get_carts_for_write_pay_dto_1.GetCartsForWritePayPayload; } });
|
|
20
20
|
Object.defineProperty(exports, "GetCartsForWritePayResult", { enumerable: true, get: function () { return get_carts_for_write_pay_dto_1.GetCartsForWritePayResult; } });
|
|
21
21
|
__exportStar(require("./get-carts-for-seduce-add-cart.dto"), exports);
|
|
22
|
-
__exportStar(require("./get-my-item-ids-for-seduce-add-cart.dto"), exports);
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetCartsForSeduceAddCartResult, GetCartsForWritePayPayload, GetCartsForWritePayResult
|
|
3
|
+
import { GetCartsForSeduceAddCartResult, GetCartsForWritePayPayload, GetCartsForWritePayResult } from '@yolo-croket-dev/amqp-access/user-service/dto/cart';
|
|
4
4
|
export declare class AmqpCartService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getCartsForWritePay(payload: GetCartsForWritePayPayload, param: AbstractParam): Promise<GetCartsForWritePayResult>;
|
|
9
9
|
getCartsForSeduceAddCart(param: AbstractParam): Promise<GetCartsForSeduceAddCartResult>;
|
|
10
|
-
reAddCartByChanged(payload: ReAddCartByChangedPayload, param: AbstractParam): Promise<void>;
|
|
11
|
-
getMyItemIdsForSeduceAddCart(param: AbstractParam): Promise<GetMyItemIdsForSeduceAddCartResult>;
|
|
12
10
|
}
|
|
@@ -27,12 +27,6 @@ let AmqpCartService = class AmqpCartService {
|
|
|
27
27
|
async getCartsForSeduceAddCart(param) {
|
|
28
28
|
return this.amqpManager.call('장바구니 추가 상품 추천을 위한 장바구니 데이터 검색', 'cart.get.carts-for-seduce-add-cart', {}, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
-
async reAddCartByChanged(payload, param) {
|
|
31
|
-
return this.amqpManager.call('장바구니 변경 사항 복구', 'cart.re-add.by-changed', payload, param, { isErrorThrowing: true });
|
|
32
|
-
}
|
|
33
|
-
async getMyItemIdsForSeduceAddCart(param) {
|
|
34
|
-
return this.amqpManager.call('장바구니 추가 상품 추천을 위한 장바구니 데이터 검색', 'cart.get.my-item-ids-for-seduce-add-cart', {}, param, { isErrorThrowing: true });
|
|
35
|
-
}
|
|
36
30
|
};
|
|
37
31
|
exports.AmqpCartService = AmqpCartService;
|
|
38
32
|
exports.AmqpCartService = AmqpCartService = __decorate([
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BindIssuedCouponForPayment } from '@yolo-croket-dev/domain/issued-coupon';
|
|
2
|
-
export declare class GetBindIssuedCouponForPaymentData {
|
|
3
|
-
cartId?: string;
|
|
4
|
-
/** 상품 아이디 */
|
|
5
|
-
itemId: string;
|
|
6
|
-
/** 구매한 수 */
|
|
7
|
-
pNums: number;
|
|
8
|
-
/** 결제 방법 */
|
|
9
|
-
paymentMethod?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class GetBindIssuedCouponForPaymentPayload {
|
|
12
|
-
datas: GetBindIssuedCouponForPaymentData[];
|
|
13
|
-
}
|
|
14
|
-
export declare class GetBindIssuedCouponForPaymentResult {
|
|
15
|
-
bindIssuedCoupons: BindIssuedCouponForPayment[];
|
|
16
|
-
allCouponNums: number;
|
|
17
|
-
canUseCouponNums: number;
|
|
18
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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.GetBindIssuedCouponForPaymentResult = exports.GetBindIssuedCouponForPaymentPayload = exports.GetBindIssuedCouponForPaymentData = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class GetBindIssuedCouponForPaymentData {
|
|
16
|
-
}
|
|
17
|
-
exports.GetBindIssuedCouponForPaymentData = GetBindIssuedCouponForPaymentData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GetBindIssuedCouponForPaymentData.prototype, "cartId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsMongoId)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], GetBindIssuedCouponForPaymentData.prototype, "itemId", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsNumber)(),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], GetBindIssuedCouponForPaymentData.prototype, "pNums", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsString)(),
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], GetBindIssuedCouponForPaymentData.prototype, "paymentMethod", void 0);
|
|
36
|
-
class GetBindIssuedCouponForPaymentPayload {
|
|
37
|
-
}
|
|
38
|
-
exports.GetBindIssuedCouponForPaymentPayload = GetBindIssuedCouponForPaymentPayload;
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsArray)(),
|
|
41
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
42
|
-
(0, class_transformer_1.Type)(() => GetBindIssuedCouponForPaymentData),
|
|
43
|
-
__metadata("design:type", Array)
|
|
44
|
-
], GetBindIssuedCouponForPaymentPayload.prototype, "datas", void 0);
|
|
45
|
-
class GetBindIssuedCouponForPaymentResult {
|
|
46
|
-
}
|
|
47
|
-
exports.GetBindIssuedCouponForPaymentResult = GetBindIssuedCouponForPaymentResult;
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './upload-reg-store-item-bulk-by-excel-for-admin.dto';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./upload-reg-store-item-bulk-by-excel-for-admin.dto"), exports);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RegStoreItemBulkErrorData } from '@yolo-croket-dev/amqp-access/store-item-server/dto/store-item';
|
|
2
|
-
export declare class UploadRegStoreItemBulkByExcelForAdminPayload {
|
|
3
|
-
sellerId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare enum UploadRegStoreItemBulkByExcelStatusEnum {
|
|
6
|
-
'발송 전' = "\uBC1C\uC1A1 \uC804",
|
|
7
|
-
'발송 중 실패' = "\uBC1C\uC1A1 \uC911 \uC2E4\uD328",
|
|
8
|
-
'전체 성공' = "\uC804\uCCB4 \uC131\uACF5"
|
|
9
|
-
}
|
|
10
|
-
export interface UploadRegStoreItemBulkByExcelForAdminResult {
|
|
11
|
-
status: UploadRegStoreItemBulkByExcelStatusEnum;
|
|
12
|
-
totalNums: number;
|
|
13
|
-
successNums: number;
|
|
14
|
-
errorNums: number;
|
|
15
|
-
errorDatas: RegStoreItemBulkErrorData[];
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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.UploadRegStoreItemBulkByExcelStatusEnum = exports.UploadRegStoreItemBulkByExcelForAdminPayload = void 0;
|
|
13
|
-
/* eslint-disable max-len */
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class UploadRegStoreItemBulkByExcelForAdminPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.UploadRegStoreItemBulkByExcelForAdminPayload = UploadRegStoreItemBulkByExcelForAdminPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], UploadRegStoreItemBulkByExcelForAdminPayload.prototype, "sellerId", void 0);
|
|
22
|
-
var UploadRegStoreItemBulkByExcelStatusEnum;
|
|
23
|
-
(function (UploadRegStoreItemBulkByExcelStatusEnum) {
|
|
24
|
-
UploadRegStoreItemBulkByExcelStatusEnum["\uBC1C\uC1A1 \uC804"] = "\uBC1C\uC1A1 \uC804";
|
|
25
|
-
UploadRegStoreItemBulkByExcelStatusEnum["\uBC1C\uC1A1 \uC911 \uC2E4\uD328"] = "\uBC1C\uC1A1 \uC911 \uC2E4\uD328";
|
|
26
|
-
UploadRegStoreItemBulkByExcelStatusEnum["\uC804\uCCB4 \uC131\uACF5"] = "\uC804\uCCB4 \uC131\uACF5";
|
|
27
|
-
})(UploadRegStoreItemBulkByExcelStatusEnum || (exports.UploadRegStoreItemBulkByExcelStatusEnum = UploadRegStoreItemBulkByExcelStatusEnum = {}));
|
|
@@ -1,24 +0,0 @@
|
|
|
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.UpdateMaxDiscountCouponsResult = exports.UpdateMaxDiscountCouponsPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const query_1 = require("../../../query");
|
|
15
|
-
class UpdateMaxDiscountCouponsPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.UpdateMaxDiscountCouponsPayload = UpdateMaxDiscountCouponsPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], UpdateMaxDiscountCouponsPayload.prototype, "payTryLogId", void 0);
|
|
22
|
-
class UpdateMaxDiscountCouponsResult extends query_1.GetMaxDiscountCouponsForPaymentsResult {
|
|
23
|
-
}
|
|
24
|
-
exports.UpdateMaxDiscountCouponsResult = UpdateMaxDiscountCouponsResult;
|
|
@@ -1,25 +0,0 @@
|
|
|
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.CheckAppliedIssuedCouponPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CheckAppliedIssuedCouponPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.CheckAppliedIssuedCouponPayload = CheckAppliedIssuedCouponPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], CheckAppliedIssuedCouponPayload.prototype, "payTryLogId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsOptional)(),
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CheckAppliedIssuedCouponPayload.prototype, "paymentMethod", void 0);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StoreItemBindIssuedCouponForPayment } from '@yolo-croket-dev/domain/store-item';
|
|
2
|
-
export declare class GetStoreItemBindIssuedCouponForPaymentPayload {
|
|
3
|
-
itemIds: string[];
|
|
4
|
-
}
|
|
5
|
-
export declare class GetStoreItemBindIssuedCouponForPaymentResult {
|
|
6
|
-
storeItems: StoreItemBindIssuedCouponForPayment[];
|
|
7
|
-
}
|
package/store-item-server/dto/store-item/query/get-store-item-bind-issued-coupon-for-payment.dto.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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.GetStoreItemBindIssuedCouponForPaymentResult = exports.GetStoreItemBindIssuedCouponForPaymentPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetStoreItemBindIssuedCouponForPaymentPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetStoreItemBindIssuedCouponForPaymentPayload = GetStoreItemBindIssuedCouponForPaymentPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
19
|
-
__metadata("design:type", Array)
|
|
20
|
-
], GetStoreItemBindIssuedCouponForPaymentPayload.prototype, "itemIds", void 0);
|
|
21
|
-
class GetStoreItemBindIssuedCouponForPaymentResult {
|
|
22
|
-
}
|
|
23
|
-
exports.GetStoreItemBindIssuedCouponForPaymentResult = GetStoreItemBindIssuedCouponForPaymentResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './re-add-cart-by-changed.dto';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./re-add-cart-by-changed.dto"), exports);
|
|
@@ -1,25 +0,0 @@
|
|
|
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.ReAddCartByChangedPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class ReAddCartByChangedPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.ReAddCartByChangedPayload = ReAddCartByChangedPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsArray)(),
|
|
19
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], ReAddCartByChangedPayload.prototype, "cartIds", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsBoolean)(),
|
|
24
|
-
__metadata("design:type", Boolean)
|
|
25
|
-
], ReAddCartByChangedPayload.prototype, "isAllUpdate", void 0);
|