@yolo-croket-dev/amqp-access 0.7.90 → 0.7.91
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-bind-issued-coupon-for-payment.dto.d.ts +1 -0
- package/coupon-server/dto/issued-coupon/query/get-bind-issued-coupon-for-payment.dto.js +5 -0
- package/order-server/dto/pay-try-log/query/get-calculate-price-infos.dto.d.ts +22 -0
- package/order-server/dto/pay-try-log/query/get-calculate-price-infos.dto.js +50 -0
- package/order-server/dto/pay-try-log/query/index.d.ts +1 -0
- package/order-server/dto/pay-try-log/query/index.js +1 -0
- package/order-server/services/amqp.pay-try-log.service.d.ts +2 -1
- package/order-server/services/amqp.pay-try-log.service.js +3 -0
- package/package.json +3 -3
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.d.ts +19 -2
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.js +13 -1
- package/user-service/dto/user/query/index.d.ts +1 -0
- package/user-service/dto/user/query/index.js +1 -0
- package/user-service/dto/user/query/is-unlimited-benefit-user-id.dto.d.ts +3 -0
- package/user-service/dto/user/query/is-unlimited-benefit-user-id.dto.js +20 -0
- package/user-service/services/amqp.user-entity.service.d.ts +2 -1
- package/user-service/services/amqp.user-entity.service.js +3 -0
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], GetBindIssuedCouponForPaymentData.prototype, "paymentMethod", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsBoolean)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], GetBindIssuedCouponForPaymentData.prototype, "isBundleChildItemId", void 0);
|
|
36
41
|
class GetBindIssuedCouponForPaymentPayload {
|
|
37
42
|
}
|
|
38
43
|
exports.GetBindIssuedCouponForPaymentPayload = GetBindIssuedCouponForPaymentPayload;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StoreItemSellingInfo } from '@yolo-croket-dev/entity/src/store-item';
|
|
2
|
+
export declare class GetCalculatePriceInfo {
|
|
3
|
+
itemId: string;
|
|
4
|
+
itemPrice: number;
|
|
5
|
+
pNums: number;
|
|
6
|
+
insurancePrice?: number;
|
|
7
|
+
DType: 'shipping' | 'bundle' | 'direct';
|
|
8
|
+
sellingInfo: StoreItemSellingInfo;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetCalculatePriceInfosPayload {
|
|
11
|
+
datas: GetCalculatePriceInfo[];
|
|
12
|
+
}
|
|
13
|
+
export interface CalculatePriceInfo {
|
|
14
|
+
itemId: string;
|
|
15
|
+
totalPrice: number;
|
|
16
|
+
totalShippingFee: number;
|
|
17
|
+
originPrice: number;
|
|
18
|
+
originPriceForBuyer: number;
|
|
19
|
+
isBundleParent: boolean;
|
|
20
|
+
baseSettleAmount: number;
|
|
21
|
+
legacyShippingFee: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.GetCalculatePriceInfosPayload = exports.GetCalculatePriceInfo = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class GetCalculatePriceInfo {
|
|
16
|
+
}
|
|
17
|
+
exports.GetCalculatePriceInfo = GetCalculatePriceInfo;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetCalculatePriceInfo.prototype, "itemId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], GetCalculatePriceInfo.prototype, "itemPrice", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], GetCalculatePriceInfo.prototype, "pNums", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], GetCalculatePriceInfo.prototype, "insurancePrice", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], GetCalculatePriceInfo.prototype, "DType", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsObject)(),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], GetCalculatePriceInfo.prototype, "sellingInfo", void 0);
|
|
43
|
+
class GetCalculatePriceInfosPayload {
|
|
44
|
+
}
|
|
45
|
+
exports.GetCalculatePriceInfosPayload = GetCalculatePriceInfosPayload;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
48
|
+
(0, class_transformer_1.Type)(() => GetCalculatePriceInfo),
|
|
49
|
+
__metadata("design:type", Array)
|
|
50
|
+
], GetCalculatePriceInfosPayload.prototype, "datas", void 0);
|
|
@@ -2,3 +2,4 @@ export * from './get-direct-tosspayments-json.dto';
|
|
|
2
2
|
export * from './store-item-payment';
|
|
3
3
|
export * from './get-pay-try-log-for-issued-receipt-coupon.dto';
|
|
4
4
|
export * from './get-pay-try-log-store-item-ids-for-event-banner.dto';
|
|
5
|
+
export * from './get-calculate-price-infos.dto';
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./get-direct-tosspayments-json.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./store-item-payment"), exports);
|
|
19
19
|
__exportStar(require("./get-pay-try-log-for-issued-receipt-coupon.dto"), exports);
|
|
20
20
|
__exportStar(require("./get-pay-try-log-store-item-ids-for-event-banner.dto"), exports);
|
|
21
|
+
__exportStar(require("./get-calculate-price-infos.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, CheckAppliedIssuedCouponPayload, UpdateMaxDiscountCouponsPayload, UpdateMaxDiscountCouponsResult, GetPayTryLogStoreItemIdsForEventBannerPayload, UpdateGuestUserAuthorPayload } from '../dto/pay-try-log';
|
|
5
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload, UpdateIssuedReceiptCouponPayload, GetAppliedIssuedCouponPayload, GetAppliedIssuedCouponResult, GetIssuedCouponsForPaymentPayload, GetIssuedCouponsForPaymentResult, GetMaxDiscountCouponsForPaymentsPayload, GetMaxDiscountCouponsForPaymentsResult, GetIssuedReceiptCouponsForPaymentPayload, CheckAppliedIssuedCouponPayload, UpdateMaxDiscountCouponsPayload, UpdateMaxDiscountCouponsResult, GetPayTryLogStoreItemIdsForEventBannerPayload, UpdateGuestUserAuthorPayload, GetCalculatePriceInfosPayload, CalculatePriceInfo } from '../dto/pay-try-log';
|
|
6
6
|
export declare class AmqpPayTryLogService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -25,4 +25,5 @@ export declare class AmqpPayTryLogService {
|
|
|
25
25
|
updateMaxDiscountCoupons(payload: UpdateMaxDiscountCouponsPayload, param: AbstractParam): Promise<UpdateMaxDiscountCouponsResult>;
|
|
26
26
|
getPayTryLogStoreItemIdsByEventBanner(payload: GetPayTryLogStoreItemIdsForEventBannerPayload, param: AbstractParam): Promise<string[]>;
|
|
27
27
|
updateGuestUserAuthor(payload: UpdateGuestUserAuthorPayload, param: AbstractParam): Promise<void>;
|
|
28
|
+
getCalculatePriceInfos(payload: GetCalculatePriceInfosPayload, param: AbstractParam): Promise<CalculatePriceInfo[]>;
|
|
28
29
|
}
|
|
@@ -79,6 +79,9 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
79
79
|
async updateGuestUserAuthor(payload, param) {
|
|
80
80
|
return this.amqpManager.call('결제 시도 로그의 게스트 유저 작성자 업데이트', 'pay-try-log.update.guest-user-author', payload, param, { isErrorThrowing: true });
|
|
81
81
|
}
|
|
82
|
+
async getCalculatePriceInfos(payload, param) {
|
|
83
|
+
return this.amqpManager.call('결제 시도 로그의 계산 가격 정보 조회', 'pay-try-log.get.calculate-price-infos', payload, param, { isErrorThrowing: true });
|
|
84
|
+
}
|
|
82
85
|
};
|
|
83
86
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
84
87
|
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.7.
|
|
3
|
+
"version": "0.7.91",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "^1.9.3",
|
|
22
|
-
"@yolo-croket-dev/domain": "
|
|
22
|
+
"@yolo-croket-dev/domain": "0.2.34",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.2.15",
|
|
24
|
-
"@yolo-croket-dev/entity": "
|
|
24
|
+
"@yolo-croket-dev/entity": "0.2.70",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.2.138",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { CartEntity } from '@yolo-croket-dev/entity-v2/cart';
|
|
2
2
|
import { StoreItem } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
|
|
3
3
|
import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
4
|
+
import { StoreEntity } from '@yolo-croket-dev/entity-v2';
|
|
5
|
+
import { BindCartsForWritePay } from '@yolo-croket-dev/entity/src/pay-try-log';
|
|
4
6
|
type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
|
|
5
|
-
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo'> & {
|
|
7
|
+
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'option'> & {
|
|
6
8
|
_seller: SearchedUserForWritePay;
|
|
7
9
|
};
|
|
8
|
-
|
|
10
|
+
type SearchedStoreForWritePay = Pick<StoreEntity, '_id' | 'storeTitle' | 'storeImg'>;
|
|
11
|
+
export type CartForWritePay = Pick<CartEntity, '_id' | 'itemId' | 'storeId' | 'pOption' | 'pOptionInfo' | 'itemName_past' | 'itemPrice_past' | 'sellingInfo_past' | 'cartType' | 'ownerId' | 'isChecked' | 'requirement' | 'lastModifyDate' | 'directAddress_custom' | 'sortDate' | 'saveExpired'> & {
|
|
9
12
|
_item: SearchedStoreItemForWritePay;
|
|
13
|
+
_store: SearchedStoreForWritePay;
|
|
10
14
|
};
|
|
11
15
|
export declare const SearchedUserForWritePaySelect: {
|
|
12
16
|
_id: number;
|
|
@@ -32,6 +36,15 @@ export declare const SearchedStoreItemForWritePaySelect: {
|
|
|
32
36
|
_seller: number;
|
|
33
37
|
isSecret: number;
|
|
34
38
|
optionInfo: number;
|
|
39
|
+
isSelling: number;
|
|
40
|
+
isDelete: number;
|
|
41
|
+
brandInfo: number;
|
|
42
|
+
option: number;
|
|
43
|
+
};
|
|
44
|
+
export declare const SearchedStoreForWritePaySelect: {
|
|
45
|
+
_id: number;
|
|
46
|
+
storeTitle: number;
|
|
47
|
+
storeImg: number;
|
|
35
48
|
};
|
|
36
49
|
export declare const CartForWritePaySelect: {
|
|
37
50
|
_id: number;
|
|
@@ -48,7 +61,10 @@ export declare const CartForWritePaySelect: {
|
|
|
48
61
|
requirement: number;
|
|
49
62
|
lastModifyDate: number;
|
|
50
63
|
directAddress_custom: number;
|
|
64
|
+
sortDate: number;
|
|
65
|
+
saveExpired: number;
|
|
51
66
|
_item: number;
|
|
67
|
+
_store: number;
|
|
52
68
|
};
|
|
53
69
|
export declare class GetCartsForWritePayPayload {
|
|
54
70
|
/** 장바구니 아이디 리스트 */
|
|
@@ -56,5 +72,6 @@ export declare class GetCartsForWritePayPayload {
|
|
|
56
72
|
}
|
|
57
73
|
export declare class GetCartsForWritePayResult {
|
|
58
74
|
carts: CartForWritePay[];
|
|
75
|
+
bindCartsForWritePay?: BindCartsForWritePay;
|
|
59
76
|
}
|
|
60
77
|
export {};
|
|
@@ -9,7 +9,7 @@ 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.GetCartsForWritePayResult = exports.GetCartsForWritePayPayload = exports.CartForWritePaySelect = exports.SearchedStoreItemForWritePaySelect = exports.SearchedUserForWritePaySelect = void 0;
|
|
12
|
+
exports.GetCartsForWritePayResult = exports.GetCartsForWritePayPayload = exports.CartForWritePaySelect = exports.SearchedStoreForWritePaySelect = exports.SearchedStoreItemForWritePaySelect = exports.SearchedUserForWritePaySelect = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
exports.SearchedUserForWritePaySelect = {
|
|
15
15
|
_id: 1,
|
|
@@ -35,6 +35,15 @@ exports.SearchedStoreItemForWritePaySelect = {
|
|
|
35
35
|
_seller: 1,
|
|
36
36
|
isSecret: 1,
|
|
37
37
|
optionInfo: 1,
|
|
38
|
+
isSelling: 1,
|
|
39
|
+
isDelete: 1,
|
|
40
|
+
brandInfo: 1,
|
|
41
|
+
option: 1,
|
|
42
|
+
};
|
|
43
|
+
exports.SearchedStoreForWritePaySelect = {
|
|
44
|
+
_id: 1,
|
|
45
|
+
storeTitle: 1,
|
|
46
|
+
storeImg: 1,
|
|
38
47
|
};
|
|
39
48
|
exports.CartForWritePaySelect = {
|
|
40
49
|
_id: 1,
|
|
@@ -51,7 +60,10 @@ exports.CartForWritePaySelect = {
|
|
|
51
60
|
requirement: 1,
|
|
52
61
|
lastModifyDate: 1,
|
|
53
62
|
directAddress_custom: 1,
|
|
63
|
+
sortDate: 1,
|
|
64
|
+
saveExpired: 1,
|
|
54
65
|
_item: 1,
|
|
66
|
+
_store: 1,
|
|
55
67
|
};
|
|
56
68
|
class GetCartsForWritePayPayload {
|
|
57
69
|
}
|
|
@@ -7,3 +7,4 @@ export * from './get-seller-email.dto';
|
|
|
7
7
|
export * from './get-duplicate-users-by-phone-number.dto';
|
|
8
8
|
export * from './get-user-ids-for-time-deal-push.dto';
|
|
9
9
|
export * from './get-marketing-receive-by-phone-numbers.dto';
|
|
10
|
+
export * from './is-unlimited-benefit-user-id.dto';
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./get-seller-email.dto"), exports);
|
|
|
23
23
|
__exportStar(require("./get-duplicate-users-by-phone-number.dto"), exports);
|
|
24
24
|
__exportStar(require("./get-user-ids-for-time-deal-push.dto"), exports);
|
|
25
25
|
__exportStar(require("./get-marketing-receive-by-phone-numbers.dto"), exports);
|
|
26
|
+
__exportStar(require("./is-unlimited-benefit-user-id.dto"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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.IsUnlimitedBenefitUserIdPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class IsUnlimitedBenefitUserIdPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.IsUnlimitedBenefitUserIdPayload = IsUnlimitedBenefitUserIdPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], IsUnlimitedBenefitUserIdPayload.prototype, "userId", void 0);
|
|
@@ -3,7 +3,7 @@ import { AbstractParam } from '@yolo-croket-dev/core';
|
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { DecodePhoneNumbersPayload, PhoneDecodedData } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
5
|
import { SaveShippingAddressPayload } from '../dto/user/command/save-shipping-address.dto';
|
|
6
|
-
import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult, GetUserIdsForTimeDealPushPayload, GetUserIdsForTimeDealPushResult, GetMarketingReceiveByPhoneNumbersResult, GetMarketingReceiveByPhoneNumbersPayload } from '../dto';
|
|
6
|
+
import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult, GetUserIdsForTimeDealPushPayload, GetUserIdsForTimeDealPushResult, GetMarketingReceiveByPhoneNumbersResult, GetMarketingReceiveByPhoneNumbersPayload, IsUnlimitedBenefitUserIdPayload } from '../dto';
|
|
7
7
|
/** 기존 userService 와 이름이 겹쳐 userEntityService로 임시 사용 */
|
|
8
8
|
export declare class AmqpUserEntityService {
|
|
9
9
|
private readonly client;
|
|
@@ -24,4 +24,5 @@ export declare class AmqpUserEntityService {
|
|
|
24
24
|
appSwitchingReward(payload: AppSwitchingRewardPayload, param: AbstractParam): Promise<AppSwitchingRewardResult>;
|
|
25
25
|
getUserIdsForTimeDealPush(payload: GetUserIdsForTimeDealPushPayload, param: AbstractParam): Promise<GetUserIdsForTimeDealPushResult>;
|
|
26
26
|
getMarketingReceiveByPhoneNumbers(payload: GetMarketingReceiveByPhoneNumbersPayload, param: AbstractParam): Promise<GetMarketingReceiveByPhoneNumbersResult[]>;
|
|
27
|
+
isUnlimitedBenefitUserId(payload: IsUnlimitedBenefitUserIdPayload, param: AbstractParam): Promise<boolean>;
|
|
27
28
|
}
|
|
@@ -67,6 +67,9 @@ let AmqpUserEntityService = class AmqpUserEntityService {
|
|
|
67
67
|
async getMarketingReceiveByPhoneNumbers(payload, param) {
|
|
68
68
|
return this.amqpManager.call('유저 - 마케팅 수신 동의 여부 조회', 'user.get.marketing-receive-by-phone-numbers', payload, param, { isErrorThrowing: true });
|
|
69
69
|
}
|
|
70
|
+
async isUnlimitedBenefitUserId(payload, param) {
|
|
71
|
+
return this.amqpManager.call('유저 - 크레딧, 쿠폰 제한 없는 유저 여부 조회', 'user.get.is-unlimited-benefit-user-id', payload, param, { isErrorThrowing: true });
|
|
72
|
+
}
|
|
70
73
|
};
|
|
71
74
|
exports.AmqpUserEntityService = AmqpUserEntityService;
|
|
72
75
|
exports.AmqpUserEntityService = AmqpUserEntityService = __decorate([
|