@yolo-croket-dev/amqp-access 0.4.81-hj-9 → 0.4.81
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/order-server/dto/purchasedinfos/command/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/command/index.js +0 -1
- package/order-server/dto/purchasedinfos/query/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/query/index.js +0 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +1 -3
- package/order-server/services/amqp.purchased-info.service.js +0 -6
- package/package.json +2 -2
- package/store-item-server/amqp.store-item-server.module.js +2 -0
- package/store-item-server/dto/review/query/get-test-review.dto.d.ts +37 -0
- package/{order-server/dto/purchasedinfos/query/check-can-change-purchased-option.dto.js → store-item-server/dto/review/query/get-test-review.dto.js} +4 -7
- package/store-item-server/dto/review/query/index.d.ts +1 -0
- package/store-item-server/dto/review/query/index.js +17 -0
- package/store-item-server/dto/store-item/command/index.d.ts +0 -1
- package/store-item-server/dto/store-item/command/index.js +0 -1
- package/store-item-server/services/amqp.review.service.d.ts +9 -0
- package/store-item-server/services/amqp.review.service.js +33 -0
- 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/store-item-server/services/index.d.ts +1 -0
- package/store-item-server/services/index.js +1 -0
- package/user-service/dto/redis-db/command/index.d.ts +0 -1
- package/user-service/dto/redis-db/command/index.js +0 -1
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +3 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +7 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +4 -0
- package/{order-server/dto/purchasedinfos/command/change-purchased-option.dto.js → user-service/dto/redis-db/command/push-redis-db.dto.js} +8 -20
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.d.ts +1 -2
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.js +0 -3
- package/order-server/dto/purchasedinfos/command/change-purchased-option.dto.d.ts +0 -8
- package/order-server/dto/purchasedinfos/query/check-can-change-purchased-option.dto.d.ts +0 -6
- package/store-item-server/dto/store-item/command/patch-store-item-option-remain-count-by-change-purchased-option.service.d.ts +0 -16
- package/store-item-server/dto/store-item/command/patch-store-item-option-remain-count-by-change-purchased-option.service.js +0 -67
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-change-purchased-options.dto.d.ts +0 -19
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-change-purchased-options.dto.js +0 -70
|
@@ -3,4 +3,3 @@ export * from './update-done-ad-center-coupon-infos.dto';
|
|
|
3
3
|
export * from './cancel-done-ad-center-coupon-infos.dto';
|
|
4
4
|
export * from './request-create-ad-center-coupon-settle.dto';
|
|
5
5
|
export * from './patch-process-v2-to-checking-stock.dto';
|
|
6
|
-
export * from './change-purchased-option.dto';
|
|
@@ -19,4 +19,3 @@ __exportStar(require("./update-done-ad-center-coupon-infos.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./cancel-done-ad-center-coupon-infos.dto"), exports);
|
|
20
20
|
__exportStar(require("./request-create-ad-center-coupon-settle.dto"), exports);
|
|
21
21
|
__exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
|
|
22
|
-
__exportStar(require("./change-purchased-option.dto"), exports);
|
|
@@ -6,4 +6,3 @@ export * from './get-p-nums-for-show-ad-center-inflow.dto';
|
|
|
6
6
|
export * from './get-p-infos-for-before-delivery-excel.dto';
|
|
7
7
|
export * from './get-purchased-infos-for-unconfirmed-waiting-order-sellers-excel.dto';
|
|
8
8
|
export * from './is-purchase-store-item-by-user-bulk.dto';
|
|
9
|
-
export * from './check-can-change-purchased-option.dto';
|
|
@@ -22,4 +22,3 @@ __exportStar(require("./get-p-nums-for-show-ad-center-inflow.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./get-p-infos-for-before-delivery-excel.dto"), exports);
|
|
23
23
|
__exportStar(require("./get-purchased-infos-for-unconfirmed-waiting-order-sellers-excel.dto"), exports);
|
|
24
24
|
__exportStar(require("./is-purchase-store-item-by-user-bulk.dto"), exports);
|
|
25
|
-
__exportStar(require("./check-can-change-purchased-option.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -30,6 +30,4 @@ export declare class AmqpPurchasedInfoService {
|
|
|
30
30
|
migrationPayTryLogIdV2(param: AbstractParam): Promise<void>;
|
|
31
31
|
getPurchasedInfosForUnconfirmedWaitingOrderSellersExcel(param: AbstractParam): Promise<GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult>;
|
|
32
32
|
isPurchaseStoreItemByUserBulk(payload: IsPurchaseStoreItemByUserBulkPayload, param: AbstractParam): Promise<IsPurchaseStoreItemByUserBulkResponse>;
|
|
33
|
-
checkCanChangePurchasedOption(payload: CheckCanChangePurchasedOptionPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionResult>;
|
|
34
|
-
changePurchasedOption(payload: ChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
|
|
35
33
|
}
|
|
@@ -97,12 +97,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
97
97
|
async isPurchaseStoreItemByUserBulk(payload, param) {
|
|
98
98
|
return this.amqpManager.call('해당 유저가 구매한 상품인지 확인 Bulk', 'purchased-info.is-purchase.store-item-by-user-bulk', payload, param, { isErrorThrowing: true });
|
|
99
99
|
}
|
|
100
|
-
async checkCanChangePurchasedOption(payload, param) {
|
|
101
|
-
return this.amqpManager.call('구매 옵션 변경 가능 여부 확인', 'purchased-info.check.can-change-purchased-option', payload, param, { isErrorThrowing: true });
|
|
102
|
-
}
|
|
103
|
-
async changePurchasedOption(payload, param) {
|
|
104
|
-
return this.amqpManager.call('구매 옵션 변경', 'purchased-info.change.purchased-option', payload, param, { isErrorThrowing: true });
|
|
105
|
-
}
|
|
106
100
|
};
|
|
107
101
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
108
102
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.81
|
|
3
|
+
"version": "0.4.81",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "0.1.4",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.7",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.1",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.1.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.1.24",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -28,6 +28,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
28
28
|
services_1.AmqpSellingInfoLogService,
|
|
29
29
|
services_1.AmqpStoreItemBookmarkService,
|
|
30
30
|
services_1.AmqpStoreItemPriceFluctuationService,
|
|
31
|
+
services_1.AmqpReviewService,
|
|
31
32
|
],
|
|
32
33
|
exports: [
|
|
33
34
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
@@ -42,6 +43,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
42
43
|
services_1.AmqpSellingInfoLogService,
|
|
43
44
|
services_1.AmqpStoreItemBookmarkService,
|
|
44
45
|
services_1.AmqpStoreItemPriceFluctuationService,
|
|
46
|
+
services_1.AmqpReviewService,
|
|
45
47
|
],
|
|
46
48
|
})
|
|
47
49
|
], AmqpStoreItemServerModule);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare class GetTestReviewPayload {
|
|
2
|
+
/** 상품 아이디 */
|
|
3
|
+
storeItemId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GetTestReviewResult {
|
|
6
|
+
/** 상품명 */
|
|
7
|
+
itemName: string;
|
|
8
|
+
/** 옵션 */
|
|
9
|
+
pOptionList: {
|
|
10
|
+
/** 옵션명 */
|
|
11
|
+
optionName: string;
|
|
12
|
+
}[];
|
|
13
|
+
/** 발송 시작일 */
|
|
14
|
+
deliveryPreparationPeriod: number;
|
|
15
|
+
/** 리뷰 카테고리별 값 array */
|
|
16
|
+
categoryItemReviewTextList: string[];
|
|
17
|
+
/** 실제 리뷰 텍스트 */
|
|
18
|
+
reviewText: string;
|
|
19
|
+
/** 사진 리뷰 여부 */
|
|
20
|
+
isPhotoReview: boolean;
|
|
21
|
+
/** 사진 리뷰 리스트 */
|
|
22
|
+
reviewPhotoList: string[];
|
|
23
|
+
/** 상품 평점 */
|
|
24
|
+
itemScore: number;
|
|
25
|
+
/** 등록일 */
|
|
26
|
+
regDate: string;
|
|
27
|
+
/** 리뷰어 이름 */
|
|
28
|
+
reviewerName: string;
|
|
29
|
+
/** 판매자 답변 여부 */
|
|
30
|
+
isSellerAnswer: boolean;
|
|
31
|
+
/** 판매자 답변 가능 여부 */
|
|
32
|
+
isCanSellerAnswer: boolean;
|
|
33
|
+
/** 상품 아이디 */
|
|
34
|
+
itemId: string;
|
|
35
|
+
/** 리뷰 아이디 */
|
|
36
|
+
itemReviewId: string;
|
|
37
|
+
}
|
|
@@ -9,15 +9,12 @@ 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.
|
|
12
|
+
exports.GetTestReviewPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetTestReviewPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetTestReviewPayload = GetTestReviewPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsMongoId)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
21
|
-
class CheckCanChangePurchasedOptionResult {
|
|
22
|
-
}
|
|
23
|
-
exports.CheckCanChangePurchasedOptionResult = CheckCanChangePurchasedOptionResult;
|
|
20
|
+
], GetTestReviewPayload.prototype, "storeItemId", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-test-review.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
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-test-review.dto"), exports);
|
|
@@ -19,4 +19,3 @@ __exportStar(require("./reg-store-item.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./edit-store-item.dto"), exports);
|
|
20
20
|
__exportStar(require("./update-brand-infos.dto"), exports);
|
|
21
21
|
__exportStar(require("./reg-store-item-bulk.dto"), exports);
|
|
22
|
-
__exportStar(require("./patch-store-item-option-remain-count-by-change-purchased-option.service"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
|
|
3
|
+
import { GetTestReviewPayload, GetTestReviewResult } from '../dto/review/query';
|
|
4
|
+
export declare class AmqpReviewService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
getTestReview(payload: GetTestReviewPayload, param: AbstractParam): Promise<GetTestReviewResult>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpReviewService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
let AmqpReviewService = class AmqpReviewService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async getTestReview(payload, param) {
|
|
25
|
+
return this.amqpManager.call('테스트 리뷰 조회', 'test-review.get', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.AmqpReviewService = AmqpReviewService;
|
|
29
|
+
exports.AmqpReviewService = AmqpReviewService = __decorate([
|
|
30
|
+
(0, common_1.Injectable)(),
|
|
31
|
+
__param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
|
|
32
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
+
], AmqpReviewService);
|
|
@@ -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, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult
|
|
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, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -39,5 +39,4 @@ export declare class AmqpStoreItemService {
|
|
|
39
39
|
getStoreItemTooltipForCart(payload: GetStoreItemTooltipForCartPayload, param: AbstractParam): Promise<GetStoreItemTooltipForCartResult>;
|
|
40
40
|
getStoreItemsByBrandName(payload: GetStoreItemsByBrandNamePayload, param: AbstractParam): Promise<GetStoreItemsByBrandNameResult>;
|
|
41
41
|
searchStoreItemsForTestApi(payload: SearchStoreItemsForTestApiPayload, param: AbstractParam): Promise<SearchStoreItemsForTestApiResult[]>;
|
|
42
|
-
patchStoreItemOptionRemainCountByChangePurchasedOption(payload: PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
|
|
43
42
|
}
|
|
@@ -117,9 +117,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
117
117
|
async searchStoreItemsForTestApi(payload, param) {
|
|
118
118
|
return this.amqpManager.call('과제용 외부 공개 API - 상품 리스트 호출 (페이징)', 'store-item.get.list-for-test-api', payload, param, { isErrorThrowing: true });
|
|
119
119
|
}
|
|
120
|
-
async patchStoreItemOptionRemainCountByChangePurchasedOption(payload, param) {
|
|
121
|
-
return this.amqpManager.call('상품 옵션 재고 수정 - 결제 후 옵션 변경', 'store-item.patch.store-item-option-remain-count-by-change-purchased-option', payload, param, { isErrorThrowing: true });
|
|
122
|
-
}
|
|
123
120
|
};
|
|
124
121
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
125
122
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
@@ -25,3 +25,4 @@ __exportStar(require("./amqp.ban-word.service"), exports);
|
|
|
25
25
|
__exportStar(require("./amqp.selling-info-log.service"), exports);
|
|
26
26
|
__exportStar(require("./amqp.store-item-bookmark.service"), exports);
|
|
27
27
|
__exportStar(require("./amqp.store-item-price-fluctuation.service"), exports);
|
|
28
|
+
__exportStar(require("./amqp.review.service"), exports);
|
|
@@ -10,4 +10,3 @@ export * from './redis-db.app-batch-push.set-data-store-item-select-shipping.dto
|
|
|
10
10
|
export * from './redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto';
|
|
11
11
|
export * from './redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto';
|
|
12
12
|
export * from './delete-app-batch-push-data-by-key.dto';
|
|
13
|
-
export * from './redis-db.app-batch-push.set-data-change-purchased-options.dto';
|
|
@@ -26,4 +26,3 @@ __exportStar(require("./redis-db.app-batch-push.set-data-store-item-select-shipp
|
|
|
26
26
|
__exportStar(require("./redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto"), exports);
|
|
27
27
|
__exportStar(require("./redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto"), exports);
|
|
28
28
|
__exportStar(require("./delete-app-batch-push-data-by-key.dto"), exports);
|
|
29
|
-
__exportStar(require("./redis-db.app-batch-push.set-data-change-purchased-options.dto"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PullRedisDBPayload = void 0;
|
|
4
|
+
const push_redis_db_dto_1 = require("./push-redis-db.dto");
|
|
5
|
+
class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
|
|
6
|
+
}
|
|
7
|
+
exports.PullRedisDBPayload = PullRedisDBPayload;
|
|
@@ -9,30 +9,18 @@ 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.
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
12
|
+
exports.PushRedisDBPayload = void 0;
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
class
|
|
14
|
+
class PushRedisDBPayload {
|
|
16
15
|
}
|
|
17
|
-
exports.
|
|
16
|
+
exports.PushRedisDBPayload = PushRedisDBPayload;
|
|
18
17
|
__decorate([
|
|
19
18
|
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.MinLength)(1),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], PushRedisDBPayload.prototype, "redisDBKey", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, class_validator_1.
|
|
24
|
-
|
|
25
|
-
], ChangePurchasedOptionInfo.prototype, "pNums", void 0);
|
|
26
|
-
class ChangePurchasedOptionPayload {
|
|
27
|
-
}
|
|
28
|
-
exports.ChangePurchasedOptionPayload = ChangePurchasedOptionPayload;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsMongoId)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.MinLength)(1),
|
|
31
25
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsArray)(),
|
|
35
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
36
|
-
(0, class_transformer_1.Type)(() => ChangePurchasedOptionInfo),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], ChangePurchasedOptionPayload.prototype, "changeOptions", void 0);
|
|
26
|
+
], PushRedisDBPayload.prototype, "value", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult,
|
|
3
|
+
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
|
|
4
4
|
export declare class AmqpRedisDbAppBatchPushService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -14,5 +14,4 @@ export declare class AmqpRedisDbAppBatchPushService {
|
|
|
14
14
|
setDataStoreRefundToBuyerMethod(payload: SetDataStoreRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreRefundToBuyerMethodAppBatchPushResult>;
|
|
15
15
|
setDataStoreImmediateRefundToBuyerMethod(payload: SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult>;
|
|
16
16
|
setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload: SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult>;
|
|
17
|
-
setDataChangePurchasedOptionsMethod(payload: SetDataChangePurchasedOptionsMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataChangePurchasedOptionsMethodAppBatchPushResult>;
|
|
18
17
|
}
|
|
@@ -48,9 +48,6 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
|
|
|
48
48
|
async setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload, param) {
|
|
49
49
|
return this.amqpManager.call('redis에 askRefundPInfoNoReturnFromSellerToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-ask-refund-p-info-no-return-from-seller-to-buyer', payload, param, { isErrorThrowing: true });
|
|
50
50
|
}
|
|
51
|
-
async setDataChangePurchasedOptionsMethod(payload, param) {
|
|
52
|
-
return this.amqpManager.call('redis에 changePurchasedOptions method 등록 및 수정', 'redis-db.set-data.app-batch-push-change-purchased-options', payload, param, { isErrorThrowing: true });
|
|
53
|
-
}
|
|
54
51
|
};
|
|
55
52
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
|
|
56
53
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PInfoPOptionInfo, POption, POptionTypeEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
-
import { ChangePurchasedOptionInfo } from '../../../../order-server';
|
|
3
|
-
export declare class POptionByPatchStoreItemOptionRemainCount implements POption {
|
|
4
|
-
optionName: string;
|
|
5
|
-
optionNameList: string[];
|
|
6
|
-
pNums?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class PInfoPOptionInfoByPatchStoreItemOptionRemainCount implements PInfoPOptionInfo {
|
|
9
|
-
pOptionList: POptionByPatchStoreItemOptionRemainCount[];
|
|
10
|
-
pOptionType?: POptionTypeEnum;
|
|
11
|
-
}
|
|
12
|
-
export declare class PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload {
|
|
13
|
-
storeItemId: string;
|
|
14
|
-
changeOptions: ChangePurchasedOptionInfo[];
|
|
15
|
-
pOptionInfo?: PInfoPOptionInfoByPatchStoreItemOptionRemainCount;
|
|
16
|
-
}
|
|
@@ -1,67 +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.PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload = exports.PInfoPOptionInfoByPatchStoreItemOptionRemainCount = exports.POptionByPatchStoreItemOptionRemainCount = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
16
|
-
const order_server_1 = require("../../../../order-server");
|
|
17
|
-
class POptionByPatchStoreItemOptionRemainCount {
|
|
18
|
-
}
|
|
19
|
-
exports.POptionByPatchStoreItemOptionRemainCount = POptionByPatchStoreItemOptionRemainCount;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "optionName", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsArray)(),
|
|
27
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
28
|
-
__metadata("design:type", Array)
|
|
29
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "optionNameList", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "pNums", void 0);
|
|
35
|
-
class PInfoPOptionInfoByPatchStoreItemOptionRemainCount {
|
|
36
|
-
}
|
|
37
|
-
exports.PInfoPOptionInfoByPatchStoreItemOptionRemainCount = PInfoPOptionInfoByPatchStoreItemOptionRemainCount;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsArray)(),
|
|
40
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
41
|
-
(0, class_transformer_1.Type)(() => POptionByPatchStoreItemOptionRemainCount),
|
|
42
|
-
__metadata("design:type", Array)
|
|
43
|
-
], PInfoPOptionInfoByPatchStoreItemOptionRemainCount.prototype, "pOptionList", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsEnum)(entity_v2_1.POptionTypeEnum),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], PInfoPOptionInfoByPatchStoreItemOptionRemainCount.prototype, "pOptionType", void 0);
|
|
48
|
-
class PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload {
|
|
49
|
-
}
|
|
50
|
-
exports.PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload = PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload;
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsMongoId)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "storeItemId", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsArray)(),
|
|
57
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
58
|
-
(0, class_transformer_1.Type)(() => order_server_1.ChangePurchasedOptionInfo),
|
|
59
|
-
__metadata("design:type", Array)
|
|
60
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "changeOptions", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsObject)(),
|
|
63
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
64
|
-
(0, class_transformer_1.Type)(() => PInfoPOptionInfoByPatchStoreItemOptionRemainCount),
|
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
|
66
|
-
__metadata("design:type", PInfoPOptionInfoByPatchStoreItemOptionRemainCount)
|
|
67
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "pOptionInfo", void 0);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushActivityData {
|
|
2
|
-
otherUserId?: string;
|
|
3
|
-
relatePInfoId?: string;
|
|
4
|
-
previewImg?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushData {
|
|
7
|
-
userId: string;
|
|
8
|
-
PInfoId: string;
|
|
9
|
-
itemName: string;
|
|
10
|
-
buyerName: string;
|
|
11
|
-
activityData: SetDataChangePurchasedOptionsMethodAppBatchPushActivityData;
|
|
12
|
-
}
|
|
13
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushPayload {
|
|
14
|
-
data: SetDataChangePurchasedOptionsMethodAppBatchPushData;
|
|
15
|
-
ttl: number;
|
|
16
|
-
}
|
|
17
|
-
export interface SetDataChangePurchasedOptionsMethodAppBatchPushResult {
|
|
18
|
-
result: string | null;
|
|
19
|
-
}
|
|
@@ -1,70 +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.SetDataChangePurchasedOptionsMethodAppBatchPushPayload = exports.SetDataChangePurchasedOptionsMethodAppBatchPushData = exports.SetDataChangePurchasedOptionsMethodAppBatchPushActivityData = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushActivityData {
|
|
16
|
-
}
|
|
17
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushActivityData = SetDataChangePurchasedOptionsMethodAppBatchPushActivityData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsMongoId)(),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsOptional)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
33
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushData {
|
|
34
|
-
}
|
|
35
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushData = SetDataChangePurchasedOptionsMethodAppBatchPushData;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsMongoId)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "userId", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsMongoId)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "PInfoId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsString)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "buyerName", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.IsObject)(),
|
|
54
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
55
|
-
(0, class_transformer_1.Type)(() => SetDataChangePurchasedOptionsMethodAppBatchPushActivityData),
|
|
56
|
-
__metadata("design:type", SetDataChangePurchasedOptionsMethodAppBatchPushActivityData)
|
|
57
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
58
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushPayload {
|
|
59
|
-
}
|
|
60
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushPayload = SetDataChangePurchasedOptionsMethodAppBatchPushPayload;
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsObject)(),
|
|
63
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
64
|
-
(0, class_transformer_1.Type)(() => SetDataChangePurchasedOptionsMethodAppBatchPushData),
|
|
65
|
-
__metadata("design:type", SetDataChangePurchasedOptionsMethodAppBatchPushData)
|
|
66
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsNumber)(),
|
|
69
|
-
__metadata("design:type", Number)
|
|
70
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushPayload.prototype, "ttl", void 0);
|