@yolo-croket-dev/amqp-access 0.7.378-sj → 0.7.379
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/notification-service/services/amqp.send-notification.service.d.ts +5 -1
- package/notification-service/services/amqp.send-notification.service.js +9 -2
- package/package.json +1 -1
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/user-service/amqp.user-service.service.d.ts +10 -2
- package/user-service/amqp.user-service.service.js +20 -4
|
@@ -7,6 +7,10 @@ export declare class AmqpSendNotificationService {
|
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
sendTemplateNotification(payload: SendTemplateNotificationPayload, param: AbstractParam): Promise<boolean>;
|
|
9
9
|
sendTemplateNotificationBulk(payload: SendTemplateNotificationBulkPayload, param: AbstractParam): Promise<SendTemplateNotificationBulkResult>;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* @author sj
|
|
12
|
+
* @description 해외 휴대폰 인증 문자 발송
|
|
13
|
+
* @process 고정 목적의 인증 문자만 notification-service에 위임한다.
|
|
14
|
+
* */
|
|
11
15
|
sendSellerOverseasPhoneVerificationSms(payload: SendSellerOverseasPhoneVerificationSmsPayload, param: AbstractParam): Promise<SendSellerOverseasPhoneVerificationSmsResult>;
|
|
12
16
|
}
|
|
@@ -27,9 +27,16 @@ let AmqpSendNotificationService = class AmqpSendNotificationService {
|
|
|
27
27
|
async sendTemplateNotificationBulk(payload, param) {
|
|
28
28
|
return this.amqpManager.call('알림 보내기 Bulk', 'notification.template.bulk-send', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* @author sj
|
|
32
|
+
* @description 해외 휴대폰 인증 문자 발송
|
|
33
|
+
* @process 고정 목적의 인증 문자만 notification-service에 위임한다.
|
|
34
|
+
* */
|
|
31
35
|
async sendSellerOverseasPhoneVerificationSms(payload, param) {
|
|
32
|
-
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증 문자 발송', 'notification.send.seller-overseas-phone-verification-sms', payload, param, {
|
|
36
|
+
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증 문자 발송', 'notification.send.seller-overseas-phone-verification-sms', payload, param, {
|
|
37
|
+
isErrorThrowing: true,
|
|
38
|
+
isInternal: true,
|
|
39
|
+
});
|
|
33
40
|
}
|
|
34
41
|
};
|
|
35
42
|
exports.AmqpSendNotificationService = AmqpSendNotificationService;
|
package/package.json
CHANGED
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
2
|
import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
|
|
3
|
-
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common
|
|
3
|
+
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "couponInfo" | "publicId" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
4
4
|
/** 구글 시트용 광고센터정산 데이터 */
|
|
5
5
|
export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
|
|
6
6
|
storeInfo: {
|
|
@@ -50,8 +50,16 @@ export declare class AmqpUserService {
|
|
|
50
50
|
* @process 인증 token 소비와 User 생성을 user-service 단일 경계에서 처리한다.
|
|
51
51
|
* */
|
|
52
52
|
createEmailSignup(payload: CreateEmailSignupPayload, param: AbstractParam): Promise<CreateEmailSignupResult>;
|
|
53
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* @author sj
|
|
55
|
+
* @description 승인 셀러 해외 인증번호 발송
|
|
56
|
+
* @process user-service가 승인 상태와 OTP 상태를 검증한다.
|
|
57
|
+
* */
|
|
54
58
|
requestSellerOverseasPhoneVerification(payload: RequestSellerOverseasPhoneVerificationPayload, param: AbstractParam): Promise<RequestSellerOverseasPhoneVerificationResult>;
|
|
55
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* @author sj
|
|
61
|
+
* @description 승인 셀러 해외 인증번호 확인
|
|
62
|
+
* @process 성공 시 계정 전화번호를 저장한다.
|
|
63
|
+
* */
|
|
56
64
|
confirmSellerOverseasPhoneVerification(payload: ConfirmSellerOverseasPhoneVerificationPayload, param: AbstractParam): Promise<ConfirmSellerOverseasPhoneVerificationResult>;
|
|
57
65
|
}
|
|
@@ -108,13 +108,29 @@ let AmqpUserService = class AmqpUserService {
|
|
|
108
108
|
async createEmailSignup(payload, param) {
|
|
109
109
|
return this.amqpManager.call('이메일 전용 회원가입', 'user.email-signup.create', payload, param, { isErrorThrowing: true });
|
|
110
110
|
}
|
|
111
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* @author sj
|
|
113
|
+
* @description 승인 셀러 해외 인증번호 발송
|
|
114
|
+
* @process user-service가 승인 상태와 OTP 상태를 검증한다.
|
|
115
|
+
* */
|
|
112
116
|
async requestSellerOverseasPhoneVerification(payload, param) {
|
|
113
|
-
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증번호 발송', 'user.seller.request-overseas-phone-verification', payload, param, {
|
|
117
|
+
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증번호 발송', 'user.seller.request-overseas-phone-verification', payload, param, {
|
|
118
|
+
isErrorThrowing: true,
|
|
119
|
+
// Gateway가 호출하는 공개 HTTP API라도 user-service RabbitMQ handler 기준으로는 내부 서버 간 호출이다.
|
|
120
|
+
isInternal: true,
|
|
121
|
+
});
|
|
114
122
|
}
|
|
115
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* @author sj
|
|
125
|
+
* @description 승인 셀러 해외 인증번호 확인
|
|
126
|
+
* @process 성공 시 계정 전화번호를 저장한다.
|
|
127
|
+
* */
|
|
116
128
|
async confirmSellerOverseasPhoneVerification(payload, param) {
|
|
117
|
-
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증번호 확인', 'user.seller.confirm-overseas-phone-verification', payload, param, {
|
|
129
|
+
return this.amqpManager.call('승인 셀러 해외 휴대폰 인증번호 확인', 'user.seller.confirm-overseas-phone-verification', payload, param, {
|
|
130
|
+
isErrorThrowing: true,
|
|
131
|
+
// Gateway가 호출하는 공개 HTTP API라도 user-service RabbitMQ handler 기준으로는 내부 서버 간 호출이다.
|
|
132
|
+
isInternal: true,
|
|
133
|
+
});
|
|
118
134
|
}
|
|
119
135
|
};
|
|
120
136
|
exports.AmqpUserService = AmqpUserService;
|