@yolo-croket-dev/amqp-access 0.3.18-receipt-coupon-17 → 0.3.18
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/amqp.coupon-server.module.js +0 -8
- package/coupon-server/dto/coupon-template/query/index.d.ts +0 -1
- package/coupon-server/dto/coupon-template/query/index.js +0 -1
- package/coupon-server/dto/index.d.ts +0 -4
- package/coupon-server/dto/index.js +0 -4
- package/coupon-server/services/amqp.coupon-template.service.d.ts +1 -2
- package/coupon-server/services/amqp.coupon-template.service.js +0 -3
- package/coupon-server/services/amqp.issued-coupon.service.d.ts +0 -2
- package/coupon-server/services/amqp.issued-coupon.service.js +0 -3
- package/coupon-server/services/index.d.ts +0 -4
- package/coupon-server/services/index.js +0 -4
- 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/query/index.d.ts +0 -2
- package/order-server/dto/pay-try-log/query/index.js +0 -2
- package/order-server/services/amqp.pay-try-log.service.d.ts +1 -5
- package/order-server/services/amqp.pay-try-log.service.js +0 -12
- package/package.json +4 -4
- package/user-service/dto/seller-portal-channel-link-request/query/get-seller-portal-channel-link-request-datas-for-admin.dto.d.ts +3 -3
- package/coupon-server/dto/coupon-template/query/get-coupon-template-by-code.dto.d.ts +0 -6
- package/coupon-server/dto/coupon-template/query/get-coupon-template-by-code.dto.js +0 -23
- package/coupon-server/dto/issued-receipt-coupon/command/create-issued-receipt-coupon.dto.d.ts +0 -6
- package/coupon-server/dto/issued-receipt-coupon/command/create-issued-receipt-coupon.dto.js +0 -34
- package/coupon-server/dto/issued-receipt-coupon/command/index.d.ts +0 -2
- package/coupon-server/dto/issued-receipt-coupon/command/index.js +0 -18
- package/coupon-server/dto/issued-receipt-coupon/command/recover-issued-receipt-coupon.dto.d.ts +0 -3
- package/coupon-server/dto/issued-receipt-coupon/command/recover-issued-receipt-coupon.dto.js +0 -20
- package/coupon-server/dto/issued-receipt-coupon/index.d.ts +0 -2
- package/coupon-server/dto/issued-receipt-coupon/index.js +0 -18
- package/coupon-server/dto/issued-receipt-coupon/query/check-can-pay-able-and-get-discount-info.dto.d.ts +0 -16
- package/coupon-server/dto/issued-receipt-coupon/query/check-can-pay-able-and-get-discount-info.dto.js +0 -53
- package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-buyer.dto.d.ts +0 -12
- package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-buyer.dto.js +0 -39
- package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-payments.dto.d.ts +0 -3
- package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-payments.dto.js +0 -20
- package/coupon-server/dto/issued-receipt-coupon/query/index.d.ts +0 -3
- package/coupon-server/dto/issued-receipt-coupon/query/index.js +0 -19
- package/coupon-server/dto/issued-receipt-coupon-log/command/create-issued-receipt-coupon-log.dto.d.ts +0 -6
- package/coupon-server/dto/issued-receipt-coupon-log/command/create-issued-receipt-coupon-log.dto.js +0 -29
- package/coupon-server/dto/issued-receipt-coupon-log/command/index.d.ts +0 -1
- package/coupon-server/dto/issued-receipt-coupon-log/command/index.js +0 -17
- package/coupon-server/dto/issued-receipt-coupon-log/index.d.ts +0 -1
- package/coupon-server/dto/issued-receipt-coupon-log/index.js +0 -17
- package/coupon-server/dto/receipt-coupon-template/command/create-receipt-coupon-template.dto.d.ts +0 -47
- package/coupon-server/dto/receipt-coupon-template/command/create-receipt-coupon-template.dto.js +0 -93
- package/coupon-server/dto/receipt-coupon-template/command/index.d.ts +0 -4
- package/coupon-server/dto/receipt-coupon-template/command/index.js +0 -20
- package/coupon-server/dto/receipt-coupon-template/command/issue-receipt-coupon-if-eligible-for-cart.dto.d.ts +0 -3
- package/coupon-server/dto/receipt-coupon-template/command/issue-receipt-coupon-if-eligible-for-cart.dto.js +0 -20
- package/coupon-server/dto/receipt-coupon-template/command/update-receipt-coupon-template-pause-status.dto.d.ts +0 -29
- package/coupon-server/dto/receipt-coupon-template/command/update-receipt-coupon-template-pause-status.dto.js +0 -20
- package/coupon-server/dto/receipt-coupon-template/command/update-receipt-coupon-template.dto.d.ts +0 -48
- package/coupon-server/dto/receipt-coupon-template/command/update-receipt-coupon-template.dto.js +0 -97
- package/coupon-server/dto/receipt-coupon-template/index.d.ts +0 -2
- package/coupon-server/dto/receipt-coupon-template/index.js +0 -18
- package/coupon-server/dto/receipt-coupon-template/query/index.d.ts +0 -3
- package/coupon-server/dto/receipt-coupon-template/query/index.js +0 -19
- package/coupon-server/dto/receipt-coupon-template/query/search-receipt-coupon-template-detail-for-admin.dto.d.ts +0 -59
- package/coupon-server/dto/receipt-coupon-template/query/search-receipt-coupon-template-detail-for-admin.dto.js +0 -24
- package/coupon-server/dto/receipt-coupon-template/query/search-receipt-coupon-templates-for-admin.dto.d.ts +0 -18
- package/coupon-server/dto/receipt-coupon-template/query/search-receipt-coupon-templates-for-admin.dto.js +0 -56
- package/coupon-server/dto/receipt-coupon-template/query/search-satisfied-and-unsatisfied-receipt-coupon-templates.dto.d.ts +0 -8
- package/coupon-server/dto/receipt-coupon-template/query/search-satisfied-and-unsatisfied-receipt-coupon-templates.dto.js +0 -23
- package/coupon-server/dto/receipt-coupon-template-log/command/create-receipt-coupon-template-log.dto.d.ts +0 -31
- package/coupon-server/dto/receipt-coupon-template-log/command/create-receipt-coupon-template-log.dto.js +0 -26
- package/coupon-server/dto/receipt-coupon-template-log/command/index.d.ts +0 -1
- package/coupon-server/dto/receipt-coupon-template-log/command/index.js +0 -17
- package/coupon-server/dto/receipt-coupon-template-log/index.d.ts +0 -1
- package/coupon-server/dto/receipt-coupon-template-log/index.js +0 -17
- package/coupon-server/services/amqp.issued-receipt-coupon-log.service.d.ts +0 -9
- package/coupon-server/services/amqp.issued-receipt-coupon-log.service.js +0 -34
- package/coupon-server/services/amqp.issued-receipt-coupon.service.d.ts +0 -15
- package/coupon-server/services/amqp.issued-receipt-coupon.service.js +0 -48
- package/coupon-server/services/amqp.receipt-coupon-template-log.service.d.ts +0 -9
- package/coupon-server/services/amqp.receipt-coupon-template-log.service.js +0 -33
- package/coupon-server/services/amqp.receipt-coupon-template.service.d.ts +0 -15
- package/coupon-server/services/amqp.receipt-coupon-template.service.js +0 -52
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-receipt-coupon.dto.d.ts +0 -4
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-receipt-coupon.dto.js +0 -25
- package/order-server/dto/pay-try-log/query/get-pay-try-log-for-issued-receipt-coupon.dto.d.ts +0 -20
- package/order-server/dto/pay-try-log/query/get-pay-try-log-for-issued-receipt-coupon.dto.js +0 -20
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/get-applied-issued-coupon.dto.d.ts +0 -10
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/get-applied-issued-coupon.dto.js +0 -23
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/get-issued-coupons-for-payment.dto.d.ts +0 -11
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/get-issued-coupons-for-payment.dto.js +0 -23
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/index.d.ts +0 -2
- package/order-server/dto/pay-try-log/query/store-item-payment/coupon/index.js +0 -18
- package/order-server/dto/pay-try-log/query/store-item-payment/index.d.ts +0 -1
- package/order-server/dto/pay-try-log/query/store-item-payment/index.js +0 -17
|
@@ -20,20 +20,12 @@ exports.AmqpCouponServerModule = AmqpCouponServerModule = __decorate([
|
|
|
20
20
|
services_1.AmqpCouponTemplateService,
|
|
21
21
|
services_1.AmqpBundleCouponService,
|
|
22
22
|
services_1.AmqpIssuedCouponService,
|
|
23
|
-
services_1.AmqpReceiptCouponTemplateService,
|
|
24
|
-
services_1.AmqpReceiptCouponTemplateLogService,
|
|
25
|
-
services_1.AmqpIssuedReceiptCouponService,
|
|
26
|
-
services_1.AmqpIssuedReceiptCouponLogService,
|
|
27
23
|
],
|
|
28
24
|
exports: [
|
|
29
25
|
amqp_coupon_server_provider_1.CouponServerProvider,
|
|
30
26
|
services_1.AmqpCouponTemplateService,
|
|
31
27
|
services_1.AmqpBundleCouponService,
|
|
32
28
|
services_1.AmqpIssuedCouponService,
|
|
33
|
-
services_1.AmqpReceiptCouponTemplateService,
|
|
34
|
-
services_1.AmqpReceiptCouponTemplateLogService,
|
|
35
|
-
services_1.AmqpIssuedReceiptCouponService,
|
|
36
|
-
services_1.AmqpIssuedReceiptCouponLogService,
|
|
37
29
|
],
|
|
38
30
|
})
|
|
39
31
|
], AmqpCouponServerModule);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./item-max-discount-coupon"), exports);
|
|
18
18
|
__exportStar(require("./get-seleted-coupon-templates-by-codes.dto"), exports);
|
|
19
|
-
__exportStar(require("./get-coupon-template-by-code.dto"), exports);
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export * from './coupon-template';
|
|
2
2
|
export * from './bundle-coupon';
|
|
3
3
|
export * from './issued-coupon';
|
|
4
|
-
export * from './receipt-coupon-template';
|
|
5
|
-
export * from './receipt-coupon-template-log';
|
|
6
|
-
export * from './issued-receipt-coupon';
|
|
7
|
-
export * from './issued-receipt-coupon-log';
|
|
@@ -17,7 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./coupon-template"), exports);
|
|
18
18
|
__exportStar(require("./bundle-coupon"), exports);
|
|
19
19
|
__exportStar(require("./issued-coupon"), exports);
|
|
20
|
-
__exportStar(require("./receipt-coupon-template"), exports);
|
|
21
|
-
__exportStar(require("./receipt-coupon-template-log"), exports);
|
|
22
|
-
__exportStar(require("./issued-receipt-coupon"), exports);
|
|
23
|
-
__exportStar(require("./issued-receipt-coupon-log"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { PauseCouponTemplatePayload, GetCouponTemplatesForItemMaxDiscountCouponPayload, GetCouponTemplatesForItemMaxDiscountCouponResult, GetCouponTemplatesForUseableStoreMDThemePayload, GetCouponTemplatesForUseableStoreMDThemeResult, GetSeletedCouponTemplatesByCodesPayload
|
|
3
|
+
import { PauseCouponTemplatePayload, GetCouponTemplatesForItemMaxDiscountCouponPayload, GetCouponTemplatesForItemMaxDiscountCouponResult, GetCouponTemplatesForUseableStoreMDThemePayload, GetCouponTemplatesForUseableStoreMDThemeResult, GetSeletedCouponTemplatesByCodesPayload } from '../dto/coupon-template';
|
|
4
4
|
export declare class AmqpCouponTemplateService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -11,5 +11,4 @@ export declare class AmqpCouponTemplateService {
|
|
|
11
11
|
expiredCouponTemplate(payload: void, param: AbstractParam): Promise<void>;
|
|
12
12
|
getCouponTemplatesForUseableStoreMDTheme(payload: GetCouponTemplatesForUseableStoreMDThemePayload, param: AbstractParam): Promise<GetCouponTemplatesForUseableStoreMDThemeResult>;
|
|
13
13
|
getSeletedCouponTemplatesByCodes(payload: GetSeletedCouponTemplatesByCodesPayload, param: AbstractParam): Promise<any>;
|
|
14
|
-
getCouponTemplateByCode(payload: GetCouponTemplateByCodePayload, param: AbstractParam): Promise<any>;
|
|
15
14
|
}
|
|
@@ -39,9 +39,6 @@ let AmqpCouponTemplateService = class AmqpCouponTemplateService {
|
|
|
39
39
|
async getSeletedCouponTemplatesByCodes(payload, param) {
|
|
40
40
|
return this.amqpManager.call('코드로 쿠폰 템플릿 조회', 'coupon-template.get.seleted-coupon-templates-by-codes', payload, param, { isErrorThrowing: true });
|
|
41
41
|
}
|
|
42
|
-
async getCouponTemplateByCode(payload, param) {
|
|
43
|
-
return this.amqpManager.call('코드로 쿠폰 템플릿 조회', 'coupon-template.get.coupon-by-coupon-code', payload, param, { isErrorThrowing: true });
|
|
44
|
-
}
|
|
45
42
|
};
|
|
46
43
|
exports.AmqpCouponTemplateService = AmqpCouponTemplateService;
|
|
47
44
|
exports.AmqpCouponTemplateService = AmqpCouponTemplateService = __decorate([
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetUseableIssuedCouponsPayload, GetUseableIssuedCouponsResult } from '@yolo-croket-dev/dto-v2/coupon-server';
|
|
4
3
|
import { CheckCanUseCouponForPaymentPayload, GetSelectedIssuedCouponsByIdsPayload, GetSelectedIssuedCouponsByIdsResult } from '../dto/issued-coupon';
|
|
5
4
|
export declare class AmqpIssuedCouponService {
|
|
6
5
|
private readonly client;
|
|
@@ -8,5 +7,4 @@ export declare class AmqpIssuedCouponService {
|
|
|
8
7
|
constructor(client: ClientProxy);
|
|
9
8
|
checkCanUseCouponForPayment(payload: CheckCanUseCouponForPaymentPayload, param: AbstractParam): Promise<void>;
|
|
10
9
|
getSelectedIssuedCouponsByIds(payload: GetSelectedIssuedCouponsByIdsPayload, param: AbstractParam): Promise<GetSelectedIssuedCouponsByIdsResult>;
|
|
11
|
-
getUseableIssuedCoupons(payload: GetUseableIssuedCouponsPayload, param: AbstractParam): Promise<GetUseableIssuedCouponsResult>;
|
|
12
10
|
}
|
|
@@ -27,9 +27,6 @@ let AmqpIssuedCouponService = class AmqpIssuedCouponService {
|
|
|
27
27
|
async getSelectedIssuedCouponsByIds(payload, param) {
|
|
28
28
|
return this.amqpManager.call('발급된 쿠폰 중 선택한 데이터만 가져오기', 'issued-coupon.get.selected-issued-coupons-by-ids', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
-
async getUseableIssuedCoupons(payload, param) {
|
|
31
|
-
return this.amqpManager.call('사용가능한 쿠폰 조회', 'coupon-user.get.useable-issued-coupons', payload, param, { isErrorThrowing: true });
|
|
32
|
-
}
|
|
33
30
|
};
|
|
34
31
|
exports.AmqpIssuedCouponService = AmqpIssuedCouponService;
|
|
35
32
|
exports.AmqpIssuedCouponService = AmqpIssuedCouponService = __decorate([
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export * from './amqp.coupon-template.service';
|
|
2
2
|
export * from './amqp.bundle-coupon.service';
|
|
3
3
|
export * from './amqp.issued-coupon.service';
|
|
4
|
-
export * from './amqp.receipt-coupon-template.service';
|
|
5
|
-
export * from './amqp.receipt-coupon-template-log.service';
|
|
6
|
-
export * from './amqp.issued-receipt-coupon.service';
|
|
7
|
-
export * from './amqp.issued-receipt-coupon-log.service';
|
|
@@ -17,7 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./amqp.coupon-template.service"), exports);
|
|
18
18
|
__exportStar(require("./amqp.bundle-coupon.service"), exports);
|
|
19
19
|
__exportStar(require("./amqp.issued-coupon.service"), exports);
|
|
20
|
-
__exportStar(require("./amqp.receipt-coupon-template.service"), exports);
|
|
21
|
-
__exportStar(require("./amqp.receipt-coupon-template-log.service"), exports);
|
|
22
|
-
__exportStar(require("./amqp.issued-receipt-coupon.service"), exports);
|
|
23
|
-
__exportStar(require("./amqp.issued-receipt-coupon-log.service"), exports);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
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
|
-
__exportStar(require("./update-issued-receipt-coupon.dto"), exports);
|
|
@@ -15,5 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-direct-tosspayments-json.dto"), exports);
|
|
18
|
-
__exportStar(require("./store-item-payment"), exports);
|
|
19
|
-
__exportStar(require("./get-pay-try-log-for-issued-receipt-coupon.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 { GetPayTryLogsForEsPayload, GetPayTryLogsForEsResult, GetPayTryLogsForEsByIdsPayload, GetPayTryLogsForEsByIdsResult } from '@yolo-croket-dev/dto-v2/order-server/pay-try-log';
|
|
4
|
-
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload
|
|
4
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload } from '../dto/pay-try-log';
|
|
5
5
|
export declare class AmqpPayTryLogService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -15,8 +15,4 @@ export declare class AmqpPayTryLogService {
|
|
|
15
15
|
getDirectTosspaymentsJson(payload: GetDirectTosspaymentsJsonPayload, param: AbstractParam): Promise<GetDirectTosspaymentsJsonResult>;
|
|
16
16
|
updateIssuedCouponCart(payload: UpdateIssuedCouponCartPayload, param: AbstractParam): Promise<void>;
|
|
17
17
|
updateIssuedCouponNormal(payload: UpdateIssuedCouponNormalPayload, param: AbstractParam): Promise<void>;
|
|
18
|
-
updateIssuedReceiptCoupon(payload: UpdateIssuedReceiptCouponPayload, param: AbstractParam): Promise<void>;
|
|
19
|
-
getAppliedIssuedCoupon(payload: GetAppliedIssuedCouponPayload, param: AbstractParam): Promise<GetAppliedIssuedCouponResult>;
|
|
20
|
-
getIssuedCouponsForPayment(payload: GetIssuedCouponsForPaymentPayload, param: AbstractParam): Promise<GetIssuedCouponsForPaymentResult>;
|
|
21
|
-
getPayTryLogForIssuedReceiptCoupon(payload: GetPayTryLogForIssuedReceiptCouponPayload, param: AbstractParam): Promise<GetPayTryLogForIssuedReceiptCouponResult>;
|
|
22
18
|
}
|
|
@@ -52,18 +52,6 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
52
52
|
async updateIssuedCouponNormal(payload, param) {
|
|
53
53
|
return this.amqpManager.call('일반 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-coupon-normal', payload, param, { isErrorThrowing: true });
|
|
54
54
|
}
|
|
55
|
-
async updateIssuedReceiptCoupon(payload, param) {
|
|
56
|
-
return this.amqpManager.call('영수증 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-receipt-coupon', payload, param, { isErrorThrowing: true });
|
|
57
|
-
}
|
|
58
|
-
async getAppliedIssuedCoupon(payload, param) {
|
|
59
|
-
return this.amqpManager.call('결제 시도 로그에 적용된 쿠폰 조회', 'pay-try-log.get.applied-issued-coupon', payload, param, { isErrorThrowing: true });
|
|
60
|
-
}
|
|
61
|
-
async getIssuedCouponsForPayment(payload, param) {
|
|
62
|
-
return this.amqpManager.call('결제페이지 사용할 쿠폰 조회', 'pay-try-log.get.issued-coupons-for-payment', payload, param, { isErrorThrowing: true });
|
|
63
|
-
}
|
|
64
|
-
async getPayTryLogForIssuedReceiptCoupon(payload, param) {
|
|
65
|
-
return this.amqpManager.call('결제 시도 로그 정보 조회', 'pay-try-log.get.for-issued-receipt-coupon', payload, param, { isErrorThrowing: true });
|
|
66
|
-
}
|
|
67
55
|
};
|
|
68
56
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
69
57
|
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.18
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "^1.7.8",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.0.
|
|
22
|
+
"@yolo-croket-dev/domain": "^0.0.31",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.0.162",
|
|
24
|
-
"@yolo-croket-dev/entity": "0.1.
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.0.
|
|
24
|
+
"@yolo-croket-dev/entity": "^0.1.141",
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.0.127",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SellerPortalChannelLinkRequestInfo } from '@yolo-croket-dev/entity-v2/seller-portal-channel-link-request';
|
|
1
|
+
import { ActualPeriodStatusEnum, SellerPortalChannelLinkRequestInfo } from '@yolo-croket-dev/entity-v2/seller-portal-channel-link-request';
|
|
2
2
|
export declare enum SellerPortalChannelLinkRequestDatasForAdminPayloadSearchTypeEnum {
|
|
3
3
|
'PAST_STORE_TITLE' = "PAST_STORE_TITLE",
|
|
4
4
|
'SELLER_ID' = "SELLER_ID",
|
|
@@ -21,9 +21,9 @@ export interface GetSellerPortalChannelLinkRequestDatasForAdminData {
|
|
|
21
21
|
lastEditDate: Date;
|
|
22
22
|
regDate: Date;
|
|
23
23
|
connectedPortalActualPeriodNums?: number;
|
|
24
|
-
connectedPortalActualPeriodStatus?: string;
|
|
24
|
+
connectedPortalActualPeriodStatus?: ActualPeriodStatusEnum | string;
|
|
25
25
|
connectedAdActualPeriodNums?: number;
|
|
26
|
-
connectedAdActualPeriodStatus?: string;
|
|
26
|
+
connectedAdActualPeriodStatus?: ActualPeriodStatusEnum | string;
|
|
27
27
|
}
|
|
28
28
|
export declare class GetSellerPortalChannelLinkRequestDatasForAdminResult {
|
|
29
29
|
allCount: number;
|
|
@@ -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.GetCouponTemplateByCodeResult = exports.GetCouponTemplateByCodePayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetCouponTemplateByCodePayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetCouponTemplateByCodePayload = GetCouponTemplateByCodePayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], GetCouponTemplateByCodePayload.prototype, "couponCode", void 0);
|
|
21
|
-
class GetCouponTemplateByCodeResult {
|
|
22
|
-
}
|
|
23
|
-
exports.GetCouponTemplateByCodeResult = GetCouponTemplateByCodeResult;
|
|
@@ -1,34 +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.CreateIssuedReceiptCouponPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CreateIssuedReceiptCouponPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.CreateIssuedReceiptCouponPayload = CreateIssuedReceiptCouponPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CreateIssuedReceiptCouponPayload.prototype, "receiptCouponTemplateId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateIssuedReceiptCouponPayload.prototype, "couponCode", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsBoolean)(),
|
|
30
|
-
(0, class_validator_1.IsOptional)()
|
|
31
|
-
/** @description 유저가 직접 발급 여부 */
|
|
32
|
-
,
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], CreateIssuedReceiptCouponPayload.prototype, "isUserIssue", void 0);
|
|
@@ -1,18 +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("./create-issued-receipt-coupon.dto"), exports);
|
|
18
|
-
__exportStar(require("./recover-issued-receipt-coupon.dto"), exports);
|
package/coupon-server/dto/issued-receipt-coupon/command/recover-issued-receipt-coupon.dto.js
DELETED
|
@@ -1,20 +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.RecoverIssuedReceiptCouponPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class RecoverIssuedReceiptCouponPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.RecoverIssuedReceiptCouponPayload = RecoverIssuedReceiptCouponPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], RecoverIssuedReceiptCouponPayload.prototype, "issuedReceiptCouponId", void 0);
|
|
@@ -1,18 +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("./command"), exports);
|
|
18
|
-
__exportStar(require("./query"), exports);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PayTryLogReceiptCouponDiscountInfo, PayTryLogReceiptCouponDiscountTargetInfo } from '@yolo-croket-dev/entity/src/pay-try-log';
|
|
2
|
-
export declare class CheckCanPayAbleAndGetDiscountInfoData {
|
|
3
|
-
itemId: string;
|
|
4
|
-
storeId: string;
|
|
5
|
-
itemPrice: number;
|
|
6
|
-
pNums: number;
|
|
7
|
-
itemCouponDiscountPrice: number;
|
|
8
|
-
}
|
|
9
|
-
export declare class CheckCanPayAbleAndGetDiscountInfoPayload {
|
|
10
|
-
datas: CheckCanPayAbleAndGetDiscountInfoData[];
|
|
11
|
-
issuedReceiptCouponId: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class CheckCanPayAbleAndGetDiscountInfoResult {
|
|
14
|
-
discountInfo: PayTryLogReceiptCouponDiscountInfo;
|
|
15
|
-
receiptCouponDiscountTargetInfos: PayTryLogReceiptCouponDiscountTargetInfo[];
|
|
16
|
-
}
|
|
@@ -1,53 +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.CheckCanPayAbleAndGetDiscountInfoResult = exports.CheckCanPayAbleAndGetDiscountInfoPayload = exports.CheckCanPayAbleAndGetDiscountInfoData = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class CheckCanPayAbleAndGetDiscountInfoData {
|
|
16
|
-
}
|
|
17
|
-
exports.CheckCanPayAbleAndGetDiscountInfoData = CheckCanPayAbleAndGetDiscountInfoData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CheckCanPayAbleAndGetDiscountInfoData.prototype, "itemId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsMongoId)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CheckCanPayAbleAndGetDiscountInfoData.prototype, "storeId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsNumber)(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], CheckCanPayAbleAndGetDiscountInfoData.prototype, "itemPrice", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], CheckCanPayAbleAndGetDiscountInfoData.prototype, "pNums", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsNumber)(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], CheckCanPayAbleAndGetDiscountInfoData.prototype, "itemCouponDiscountPrice", void 0);
|
|
38
|
-
class CheckCanPayAbleAndGetDiscountInfoPayload {
|
|
39
|
-
}
|
|
40
|
-
exports.CheckCanPayAbleAndGetDiscountInfoPayload = CheckCanPayAbleAndGetDiscountInfoPayload;
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_validator_1.IsArray)(),
|
|
43
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
44
|
-
(0, class_transformer_1.Type)(() => CheckCanPayAbleAndGetDiscountInfoData),
|
|
45
|
-
__metadata("design:type", Array)
|
|
46
|
-
], CheckCanPayAbleAndGetDiscountInfoPayload.prototype, "datas", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsMongoId)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CheckCanPayAbleAndGetDiscountInfoPayload.prototype, "issuedReceiptCouponId", void 0);
|
|
51
|
-
class CheckCanPayAbleAndGetDiscountInfoResult {
|
|
52
|
-
}
|
|
53
|
-
exports.CheckCanPayAbleAndGetDiscountInfoResult = CheckCanPayAbleAndGetDiscountInfoResult;
|
package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-buyer.dto.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum GetIssuedReceiptCouponsForBuyerSortTypeEnum {
|
|
2
|
-
/** @description 최근등록순 */
|
|
3
|
-
REG_DATE = "regDate",
|
|
4
|
-
/** @description 마감임박순 */
|
|
5
|
-
EXPIRATION_DATE = "expirationDate"
|
|
6
|
-
}
|
|
7
|
-
export declare class GetIssuedReceiptCouponsForBuyerPayload {
|
|
8
|
-
page: number;
|
|
9
|
-
limit: number;
|
|
10
|
-
isCanUse: boolean;
|
|
11
|
-
sortType: GetIssuedReceiptCouponsForBuyerSortTypeEnum;
|
|
12
|
-
}
|
package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-buyer.dto.js
DELETED
|
@@ -1,39 +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.GetIssuedReceiptCouponsForBuyerPayload = exports.GetIssuedReceiptCouponsForBuyerSortTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var GetIssuedReceiptCouponsForBuyerSortTypeEnum;
|
|
15
|
-
(function (GetIssuedReceiptCouponsForBuyerSortTypeEnum) {
|
|
16
|
-
/** @description 최근등록순 */
|
|
17
|
-
GetIssuedReceiptCouponsForBuyerSortTypeEnum["REG_DATE"] = "regDate";
|
|
18
|
-
/** @description 마감임박순 */
|
|
19
|
-
GetIssuedReceiptCouponsForBuyerSortTypeEnum["EXPIRATION_DATE"] = "expirationDate";
|
|
20
|
-
})(GetIssuedReceiptCouponsForBuyerSortTypeEnum || (exports.GetIssuedReceiptCouponsForBuyerSortTypeEnum = GetIssuedReceiptCouponsForBuyerSortTypeEnum = {}));
|
|
21
|
-
class GetIssuedReceiptCouponsForBuyerPayload {
|
|
22
|
-
}
|
|
23
|
-
exports.GetIssuedReceiptCouponsForBuyerPayload = GetIssuedReceiptCouponsForBuyerPayload;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsNumber)(),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], GetIssuedReceiptCouponsForBuyerPayload.prototype, "page", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsNumber)(),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], GetIssuedReceiptCouponsForBuyerPayload.prototype, "limit", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsBoolean)(),
|
|
34
|
-
__metadata("design:type", Boolean)
|
|
35
|
-
], GetIssuedReceiptCouponsForBuyerPayload.prototype, "isCanUse", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsEnum)(GetIssuedReceiptCouponsForBuyerSortTypeEnum),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], GetIssuedReceiptCouponsForBuyerPayload.prototype, "sortType", void 0);
|
package/coupon-server/dto/issued-receipt-coupon/query/get-issued-receipt-coupons-for-payments.dto.js
DELETED
|
@@ -1,20 +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.GetIssuedReceiptCouponsForPaymentsPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetIssuedReceiptCouponsForPaymentsPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetIssuedReceiptCouponsForPaymentsPayload = GetIssuedReceiptCouponsForPaymentsPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], GetIssuedReceiptCouponsForPaymentsPayload.prototype, "payTryLogId", void 0);
|
|
@@ -1,19 +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("./get-issued-receipt-coupons-for-buyer.dto"), exports);
|
|
18
|
-
__exportStar(require("./check-can-pay-able-and-get-discount-info.dto"), exports);
|
|
19
|
-
__exportStar(require("./get-issued-receipt-coupons-for-payments.dto"), exports);
|
package/coupon-server/dto/issued-receipt-coupon-log/command/create-issued-receipt-coupon-log.dto.js
DELETED
|
@@ -1,29 +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.CreateIssuedReceiptCouponLogPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
-
class CreateIssuedReceiptCouponLogPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.CreateIssuedReceiptCouponLogPayload = CreateIssuedReceiptCouponLogPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CreateIssuedReceiptCouponLogPayload.prototype, "issuedReceiptCouponId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsMongoId)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CreateIssuedReceiptCouponLogPayload.prototype, "userId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsEnum)(entity_v2_1.IssuedReceiptCouponLogTypeEnum),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], CreateIssuedReceiptCouponLogPayload.prototype, "logType", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './create-issued-receipt-coupon-log.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("./create-issued-receipt-coupon-log.dto"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './command';
|