@yolo-croket-dev/amqp-access 0.7.142 → 0.7.144
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/dto/notification/command/send-template-notification.dto.d.ts +1 -0
- 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/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-product-feed.dto.d.ts +6 -0
- package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-product-feed.dto.js +12 -1
- package/user-service/amqp.user-service.service.d.ts +2 -0
- package/user-service/amqp.user-service.service.js +3 -0
- package/user-service/dto/user/command/index.d.ts +1 -0
- package/user-service/dto/user/command/index.js +1 -0
- package/user-service/dto/user/command/send-not-open-app-notification.dto.d.ts +10 -0
- package/user-service/dto/user/command/send-not-open-app-notification.dto.js +2 -0
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" | "publicId" | "couponInfo" | "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: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { StoreItem } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
|
|
2
|
+
export declare enum GetStoreItemsForProductFeedSortTypeEnum {
|
|
3
|
+
RECENT = "RECENT",
|
|
4
|
+
POPULAR = "POPULAR"
|
|
5
|
+
}
|
|
2
6
|
export declare class ExcludedCategoryPayload {
|
|
3
7
|
mainCategory: string;
|
|
4
8
|
subCategory?: string;
|
|
@@ -9,6 +13,8 @@ export declare class GetStoreItemsForProductFeedPayload {
|
|
|
9
13
|
excludedItemNameKeywords?: string[];
|
|
10
14
|
/** @description 구글 쇼핑센터용 데이터 */
|
|
11
15
|
includeMainCategory?: string;
|
|
16
|
+
/** @description 상품 피드 조회 정렬 방식 */
|
|
17
|
+
sortType?: GetStoreItemsForProductFeedSortTypeEnum;
|
|
12
18
|
paginationToken?: string;
|
|
13
19
|
limit: number;
|
|
14
20
|
}
|
package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-product-feed.dto.js
CHANGED
|
@@ -9,9 +9,14 @@ 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.GetStoreItemsForProductFeedResult = exports.GetStoreItemsForProductFeedPayload = exports.ExcludedCategoryPayload = void 0;
|
|
12
|
+
exports.GetStoreItemsForProductFeedResult = exports.GetStoreItemsForProductFeedPayload = exports.ExcludedCategoryPayload = exports.GetStoreItemsForProductFeedSortTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
var GetStoreItemsForProductFeedSortTypeEnum;
|
|
16
|
+
(function (GetStoreItemsForProductFeedSortTypeEnum) {
|
|
17
|
+
GetStoreItemsForProductFeedSortTypeEnum["RECENT"] = "RECENT";
|
|
18
|
+
GetStoreItemsForProductFeedSortTypeEnum["POPULAR"] = "POPULAR";
|
|
19
|
+
})(GetStoreItemsForProductFeedSortTypeEnum || (exports.GetStoreItemsForProductFeedSortTypeEnum = GetStoreItemsForProductFeedSortTypeEnum = {}));
|
|
15
20
|
class ExcludedCategoryPayload {
|
|
16
21
|
}
|
|
17
22
|
exports.ExcludedCategoryPayload = ExcludedCategoryPayload;
|
|
@@ -51,6 +56,12 @@ __decorate([
|
|
|
51
56
|
(0, class_validator_1.IsOptional)(),
|
|
52
57
|
__metadata("design:type", String)
|
|
53
58
|
], GetStoreItemsForProductFeedPayload.prototype, "includeMainCategory", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsString)(),
|
|
61
|
+
(0, class_validator_1.IsEnum)(GetStoreItemsForProductFeedSortTypeEnum),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], GetStoreItemsForProductFeedPayload.prototype, "sortType", void 0);
|
|
54
65
|
__decorate([
|
|
55
66
|
(0, class_validator_1.IsString)(),
|
|
56
67
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -7,6 +7,7 @@ import { Membership } from '@yolo-croket-dev/entity';
|
|
|
7
7
|
import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberResultDto } from '@yolo-croket-dev/dto/user-service';
|
|
8
8
|
import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
|
|
9
9
|
import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult, ReversalCreditByPInfoIdPayload } from './dto/user';
|
|
10
|
+
import { SendNotOpenAppNotificationResult } from './dto/user/command';
|
|
10
11
|
export declare class AmqpUserService {
|
|
11
12
|
private readonly client;
|
|
12
13
|
private readonly amqpManager;
|
|
@@ -31,4 +32,5 @@ export declare class AmqpUserService {
|
|
|
31
32
|
getSellerEmail(payload: GetSellerEmailPayload, param: AbstractParam): Promise<GetSellerEmailResult>;
|
|
32
33
|
getBlockedUserIds(param: AbstractParam): Promise<string[]>;
|
|
33
34
|
reversalCreditByPInfoId(payload: ReversalCreditByPInfoIdPayload, param: AbstractParam): Promise<void>;
|
|
35
|
+
sendNotOpenAppNotification(param: AbstractParam): Promise<SendNotOpenAppNotificationResult>;
|
|
34
36
|
}
|
|
@@ -81,6 +81,9 @@ let AmqpUserService = exports.AmqpUserService = class AmqpUserService {
|
|
|
81
81
|
async reversalCreditByPInfoId(payload, param) {
|
|
82
82
|
return this.amqpManager.call('수령확인 크레딧 회수 처리', 'user.update.reversal-credit-by-p-info-id', payload, param, { isErrorThrowing: true });
|
|
83
83
|
}
|
|
84
|
+
async sendNotOpenAppNotification(param) {
|
|
85
|
+
return this.amqpManager.call('미접속 유저 NotOpenApp 알림 발송', 'user.send-notification.not-open-app', {}, param, { isErrorThrowing: true });
|
|
86
|
+
}
|
|
84
87
|
};
|
|
85
88
|
exports.AmqpUserService = AmqpUserService = __decorate([
|
|
86
89
|
(0, common_1.Injectable)(),
|
|
@@ -25,3 +25,4 @@ __exportStar(require("./sign-up-guest-user.dto"), exports);
|
|
|
25
25
|
__exportStar(require("./update-guest-username.dto"), exports);
|
|
26
26
|
__exportStar(require("./reversal-credit-by-p-info-id.dto"), exports);
|
|
27
27
|
__exportStar(require("./app-switching-reward.dto"), exports);
|
|
28
|
+
__exportStar(require("./send-not-open-app-notification.dto"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SendNotOpenAppNotificationResult {
|
|
2
|
+
searchedCount: number;
|
|
3
|
+
appPushAcceptedCount: number;
|
|
4
|
+
skippedByEventLogCount: number;
|
|
5
|
+
targetCount: number;
|
|
6
|
+
sentCount: number;
|
|
7
|
+
failedCount: number;
|
|
8
|
+
eventLogCreatedCount: number;
|
|
9
|
+
eventLogFailedCount: number;
|
|
10
|
+
}
|