@yolo-croket-dev/amqp-access 0.7.441-sj → 0.7.441
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/buyma-order/query/buyma-order.dto.d.ts +2 -0
- package/order-server/dto/purchasedinfos/query/atlas/store-item/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/query/atlas/store-item/index.js +0 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +1 -2
- package/order-server/services/amqp.purchased-info.service.js +0 -3
- package/package.json +3 -3
- 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/dto/store-item/query/index.d.ts +0 -1
- package/store-item-server/dto/store-item/query/index.js +0 -1
- package/store-item-server/services/amqp.store-item.service.d.ts +1 -5
- package/store-item-server/services/amqp.store-item.service.js +0 -7
- package/user-service/dto/store-md-theme/command/index.d.ts +0 -1
- package/user-service/dto/store-md-theme/command/index.js +0 -1
- package/user-service/dto/store-md-theme/query/index.d.ts +0 -2
- package/user-service/dto/store-md-theme/query/index.js +0 -2
- package/user-service/dto/store-md-theme/query/store-md-theme-item-index.result.d.ts +1 -11
- package/user-service/services/amqp.store-md-theme.service.d.ts +1 -7
- package/user-service/services/amqp.store-md-theme.service.js +0 -12
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.d.ts +0 -6
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.js +0 -10
- package/order-server/dto/purchasedinfos/query/atlas/store-item/get-purchased-item-payment-counts-by-window.dto.d.ts +0 -16
- package/order-server/dto/purchasedinfos/query/atlas/store-item/get-purchased-item-payment-counts-by-window.dto.js +0 -41
- package/store-item-server/dto/store-item/command/process-store-md-theme-last-hour-ranking.dto.d.ts +0 -10
- package/store-item-server/dto/store-item/command/process-store-md-theme-last-hour-ranking.dto.js +0 -27
- package/store-item-server/dto/store-item/query/get-store-item-ranking-candidate-metas.dto.d.ts +0 -16
- package/store-item-server/dto/store-item/query/get-store-item-ranking-candidate-metas.dto.js +0 -25
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +0 -20
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +0 -57
- package/user-service/dto/store-md-theme/command/refresh-store-md-theme-ranking-snapshot.dto.d.ts +0 -27
- package/user-service/dto/store-md-theme/command/refresh-store-md-theme-ranking-snapshot.dto.js +0 -72
- package/user-service/dto/store-md-theme/query/get-store-md-theme-real-time-ranking.dto.d.ts +0 -13
- package/user-service/dto/store-md-theme/query/get-store-md-theme-real-time-ranking.dto.js +0 -28
- package/user-service/dto/store-md-theme/query/get-store-md-theme-time-deal.dto.d.ts +0 -4
- package/user-service/dto/store-md-theme/query/get-store-md-theme-time-deal.dto.js +0 -21
- package/user-service/dto/user/command/email-signup.dto.d.ts +0 -41
- package/user-service/dto/user/command/email-signup.dto.js +0 -106
|
@@ -104,6 +104,8 @@ export interface BuymaProcurementOption {
|
|
|
104
104
|
eligible: boolean;
|
|
105
105
|
}
|
|
106
106
|
export interface BuymaProcurementCandidate {
|
|
107
|
+
/** 연결 전 후보 구매 건으로 계산한 조회 전용 예상 마진. */
|
|
108
|
+
expectedMargin?: BuymaExpectedMargin | null;
|
|
107
109
|
options?: BuymaProcurementOption[];
|
|
108
110
|
allocatedQuantity?: number;
|
|
109
111
|
availableQuantity?: number;
|
|
@@ -15,4 +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-p-nums-group-item-id.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-purchased-item-payment-counts-by-window.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, 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, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult,
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, 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, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult, GetPInfosByIdsPayload, GetPInfosByIdsResult, GetPInfosForLuxuryAppraisalPayload, GetPInfosForLuxuryAppraisalResult, GetRefundRatePayload, GetRefundRateResult, ExtendWaitingReceiveByChannelTalkPayload, UpdatePInfoAttributionHistoryIdBulkPayload, CheckBuyerStorePaymentHistoryPayload, SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult, GetPInfoAdditionalPaymentInfoResult, GetPInfoAdditionalPaymentInfoPayload } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -29,7 +29,6 @@ export declare class AmqpPurchasedInfoService {
|
|
|
29
29
|
sendStoreSellerSaveInvoiceLaterAbroadShippingToBuyer(payload: void, param: AbstractParam): Promise<SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult>;
|
|
30
30
|
getPNumsForShowAdCenterInflow(payload: void, param: AbstractParam): Promise<GetPNumsForShowAdCenterInflowResult>;
|
|
31
31
|
getPNumsGroupItemId(payload: GetPNumsGroupItemIdPayload, param: AbstractParam): Promise<GetPNumsGroupItemIdResult>;
|
|
32
|
-
getPurchasedItemPaymentCountsByWindow(payload: GetPurchasedItemPaymentCountsByWindowPayload, param: AbstractParam): Promise<GetPurchasedItemPaymentCountsByWindowResult>;
|
|
33
32
|
getPInfoIdsForPredictSettle(payload: GetPInfoIdsForPredictSettlePayload, param: AbstractParam): Promise<GetPInfoIdsForPredictSettleResult>;
|
|
34
33
|
getPInfosForBeforeDeliveryExcel(payload: GetPInfosForBeforeDeliveryExcelPayload, param: AbstractParam): Promise<GetPInfosForBeforeDeliveryExcelResult[]>;
|
|
35
34
|
migrationPayTryLogIdV2(param: AbstractParam): Promise<void>;
|
|
@@ -91,9 +91,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
91
91
|
async getPNumsGroupItemId(payload, param) {
|
|
92
92
|
return this.amqpManager.call('상품별 결제 수 조회', 'purchased-info.get.p-nums-group-item-id', payload, param, { isErrorThrowing: true });
|
|
93
93
|
}
|
|
94
|
-
async getPurchasedItemPaymentCountsByWindow(payload, param) {
|
|
95
|
-
return this.amqpManager.call('시간 구간별 상품 결제 건 수 조회', 'purchased-info.get.payment-counts-by-window', payload, param, { isErrorThrowing: true });
|
|
96
|
-
}
|
|
97
94
|
async getPInfoIdsForPredictSettle(payload, param) {
|
|
98
95
|
return this.amqpManager.call('정산 예측을 위한 p-info ids 조회', 'purchased-info.get.p-info-ids-for-predict-settle', payload, param, { isErrorThrowing: true });
|
|
99
96
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.441
|
|
3
|
+
"version": "0.7.441",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"@yolo-croket-dev/core": "1.10.2",
|
|
24
24
|
"@yolo-croket-dev/domain": "0.2.51",
|
|
25
25
|
"@yolo-croket-dev/dto-v2": "0.2.38",
|
|
26
|
-
"@yolo-croket-dev/entity": "0.2.
|
|
26
|
+
"@yolo-croket-dev/entity": "0.2.113",
|
|
27
27
|
"@yolo-croket-dev/entity-v2": "0.3.76",
|
|
28
28
|
"class-transformer": "^0.5.1",
|
|
29
29
|
"class-validator": "^0.13.2",
|
|
30
30
|
"dotenv": "^16.3.1",
|
|
31
31
|
"@yolo-croket-dev/function": "0.3.7"
|
|
32
32
|
}
|
|
33
|
-
}
|
|
33
|
+
}
|
|
@@ -29,4 +29,3 @@ export * from './used-selling-bulk.dto';
|
|
|
29
29
|
export * from './refresh-shipping-lead-time-stats.dto';
|
|
30
30
|
export * from './create-additional-payment-store-item.dto';
|
|
31
31
|
export * from './instant-selection-sync.dto';
|
|
32
|
-
export * from './process-store-md-theme-last-hour-ranking.dto';
|
|
@@ -45,4 +45,3 @@ __exportStar(require("./used-selling-bulk.dto"), exports);
|
|
|
45
45
|
__exportStar(require("./refresh-shipping-lead-time-stats.dto"), exports);
|
|
46
46
|
__exportStar(require("./create-additional-payment-store-item.dto"), exports);
|
|
47
47
|
__exportStar(require("./instant-selection-sync.dto"), exports);
|
|
48
|
-
__exportStar(require("./process-store-md-theme-last-hour-ranking.dto"), exports);
|
|
@@ -38,4 +38,3 @@ export * from './get-used-store-items-by-brand-category.dto';
|
|
|
38
38
|
export * from './check-customs-duty-and-tax-occurrence.dto';
|
|
39
39
|
export * from './get-selling-store-item-ids.dto';
|
|
40
40
|
export * from './get-store-items-for-admin-excel.dto';
|
|
41
|
-
export * from './get-store-item-ranking-candidate-metas.dto';
|
|
@@ -54,4 +54,3 @@ __exportStar(require("./get-used-store-items-by-brand-category.dto"), exports);
|
|
|
54
54
|
__exportStar(require("./check-customs-duty-and-tax-occurrence.dto"), exports);
|
|
55
55
|
__exportStar(require("./get-selling-store-item-ids.dto"), exports);
|
|
56
56
|
__exportStar(require("./get-store-items-for-admin-excel.dto"), exports);
|
|
57
|
-
__exportStar(require("./get-store-item-ranking-candidate-metas.dto"), exports);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { ProcessStoreMDThemeLastHourRankingPayload } from '../dto/store-item/command/process-store-md-theme-last-hour-ranking.dto';
|
|
4
3
|
import { GetSellingStoreItemIdsPayload, GetSellingStoreItemIdsResult } from '../dto/store-item/query/get-selling-store-item-ids.dto';
|
|
5
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForAdminExcelPayload, GetStoreItemsForAdminExcelResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult,
|
|
4
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForAdminExcelPayload, GetStoreItemsForAdminExcelResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, CheckCustomsDutyAndTaxOccurrencePayload, CheckCustomsDutyAndTaxOccurrenceResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
|
|
6
5
|
export declare class AmqpStoreItemService {
|
|
7
6
|
private readonly client;
|
|
8
7
|
private readonly amqpManager;
|
|
@@ -27,8 +26,6 @@ export declare class AmqpStoreItemService {
|
|
|
27
26
|
getLegacyStoreItemsByAtlasSearch(payload: GetLegacyStoreItemsByAtlasSearchPayload, param: AbstractParam): Promise<GetLegacyStoreItemsByAtlasSearchResult>;
|
|
28
27
|
/** atlas 상품 itemIds 검색 */
|
|
29
28
|
getStoreItemIdsByAtlasSearch(payload: GetStoreItemIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetStoreItemIdsByAtlasSearchResult>;
|
|
30
|
-
/** MD 테마전 랭킹의 bounded 후보에 대한 현재 판매 가능·인기순 메타만 조회한다. */
|
|
31
|
-
getStoreItemRankingCandidateMetas(payload: GetStoreItemRankingCandidateMetasPayload, param: AbstractParam): Promise<GetStoreItemRankingCandidateMetasResult>;
|
|
32
29
|
getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
|
|
33
30
|
getSellerStoreCouponRegistrationStatus(param: AbstractParam): Promise<GetSellerStoreCouponRegistrationStatusResult>;
|
|
34
31
|
getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
|
|
@@ -65,7 +62,6 @@ export declare class AmqpStoreItemService {
|
|
|
65
62
|
getSellerOwnedStoreItemById(payload: GetSellerOwnedStoreItemByIdPayload, param: AbstractParam): Promise<GetSellerOwnedStoreItemByIdResult>;
|
|
66
63
|
migrationStoreItemBrandInfo(param: AbstractParam): Promise<void>;
|
|
67
64
|
processSoldNumsLastNDays(param: AbstractParam): Promise<void>;
|
|
68
|
-
processStoreMDThemeLastHourRanking(payload: ProcessStoreMDThemeLastHourRankingPayload, param: AbstractParam): Promise<void>;
|
|
69
65
|
processBookNumsLastNDays(param: AbstractParam): Promise<void>;
|
|
70
66
|
processReviewNumsLastNDays(param: AbstractParam): Promise<void>;
|
|
71
67
|
getItemGroupNums(payload: GetItemGroupNumsPayload, param: AbstractParam): Promise<GetItemGroupNumsResult>;
|
|
@@ -59,10 +59,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
59
59
|
async getStoreItemIdsByAtlasSearch(payload, param) {
|
|
60
60
|
return this.amqpManager.call('atlas 상품 itemIds 검색', 'store-item.get.store-item-ids-by-atlas-search', payload, param, { isErrorThrowing: true });
|
|
61
61
|
}
|
|
62
|
-
/** MD 테마전 랭킹의 bounded 후보에 대한 현재 판매 가능·인기순 메타만 조회한다. */
|
|
63
|
-
async getStoreItemRankingCandidateMetas(payload, param) {
|
|
64
|
-
return this.amqpManager.call('MD 테마전 랭킹 후보 메타 조회', 'store-item.get.ranking-candidate-metas', payload, param, { isErrorThrowing: true });
|
|
65
|
-
}
|
|
66
62
|
async getSellingItemIdsByStoreId(payload, param) {
|
|
67
63
|
return this.amqpManager.call('해당 스토어에 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-store-id', payload, param, { isErrorThrowing: true });
|
|
68
64
|
}
|
|
@@ -133,9 +129,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
133
129
|
async processSoldNumsLastNDays(param) {
|
|
134
130
|
return this.amqpManager.call('상품 판매량 N일간 집계', 'store-item.process.sold-nums-last-n-days', {}, param, { isErrorThrowing: true });
|
|
135
131
|
}
|
|
136
|
-
async processStoreMDThemeLastHourRanking(payload, param) {
|
|
137
|
-
return this.amqpManager.call('MDTheme 최근 1시간 랭킹 집계', 'store-item.process.store-md-theme-last-hour-ranking', payload, param, { isErrorThrowing: true });
|
|
138
|
-
}
|
|
139
132
|
async processBookNumsLastNDays(param) {
|
|
140
133
|
return this.amqpManager.call('상품 찜수 N일간 집계', 'store-item.process.book-nums-last-n-days', {}, param, { isErrorThrowing: true });
|
|
141
134
|
}
|
|
@@ -2,4 +2,3 @@ export * from './delete-md-theme-brand-id.dto';
|
|
|
2
2
|
export * from './block-store-md-theme-item-index.dto';
|
|
3
3
|
export * from './enqueue-due-store-md-theme-item-index-rebuilds.dto';
|
|
4
4
|
export * from './request-store-md-theme-item-index-rebuild.dto';
|
|
5
|
-
export * from './refresh-store-md-theme-ranking-snapshot.dto';
|
|
@@ -18,4 +18,3 @@ __exportStar(require("./delete-md-theme-brand-id.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./block-store-md-theme-item-index.dto"), exports);
|
|
19
19
|
__exportStar(require("./enqueue-due-store-md-theme-item-index-rebuilds.dto"), exports);
|
|
20
20
|
__exportStar(require("./request-store-md-theme-item-index-rebuild.dto"), exports);
|
|
21
|
-
__exportStar(require("./refresh-store-md-theme-ranking-snapshot.dto"), exports);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from './get-store-md-theme-by-id.dto';
|
|
2
2
|
export * from './get-store-md-theme-paged.dto';
|
|
3
|
-
export * from './get-store-md-theme-time-deal.dto';
|
|
4
|
-
export * from './get-store-md-theme-real-time-ranking.dto';
|
|
5
3
|
export * from './get-store-md-theme-group-items.dto';
|
|
6
4
|
export * from './get-store-md-theme-group-category-facets.dto';
|
|
7
5
|
export * from './search-store-md-theme-items.dto';
|
|
@@ -16,8 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-store-md-theme-by-id.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-store-md-theme-paged.dto"), exports);
|
|
19
|
-
__exportStar(require("./get-store-md-theme-time-deal.dto"), exports);
|
|
20
|
-
__exportStar(require("./get-store-md-theme-real-time-ranking.dto"), exports);
|
|
21
19
|
__exportStar(require("./get-store-md-theme-group-items.dto"), exports);
|
|
22
20
|
__exportStar(require("./get-store-md-theme-group-category-facets.dto"), exports);
|
|
23
21
|
__exportStar(require("./search-store-md-theme-items.dto"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import StoreItemLegacyEntity from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
-
import {
|
|
2
|
+
import { StoreMDThemeBanner, StoreMDThemeLinkImgList, StoreMDThemeTabStyle } from '@yolo-croket-dev/entity/src/storemdtheme';
|
|
3
3
|
export interface StoreMDThemeGroupTabResult {
|
|
4
4
|
groupId: string;
|
|
5
5
|
sortNumber: number;
|
|
@@ -7,8 +7,6 @@ export interface StoreMDThemeGroupTabResult {
|
|
|
7
7
|
subTitle: string;
|
|
8
8
|
banner?: StoreMDThemeBanner;
|
|
9
9
|
isCategoryFilterEnabled: boolean;
|
|
10
|
-
categoryFilterMainCategories: string[];
|
|
11
|
-
categoryFilterHideCount: number;
|
|
12
10
|
}
|
|
13
11
|
export interface GetStoreMDThemePagedResult {
|
|
14
12
|
theme: {
|
|
@@ -19,12 +17,6 @@ export interface GetStoreMDThemePagedResult {
|
|
|
19
17
|
MDThemeSubTitle: string;
|
|
20
18
|
MDThemeLinkImgList: StoreMDThemeLinkImgList[];
|
|
21
19
|
MDThemeTabStyle?: StoreMDThemeTabStyle;
|
|
22
|
-
timer?: StoreMDThemeTimer;
|
|
23
|
-
timeDeal?: StoreMDThemeTimeDeal;
|
|
24
|
-
mainDeals?: StoreMDThemeMainDeal[];
|
|
25
|
-
contentOrder?: StoreMDThemeContentOrder[];
|
|
26
|
-
/** 항상 반환하며 false면 실시간 랭킹 탭을 노출하지 않습니다. */
|
|
27
|
-
realTimeRanking: StoreMDThemeRealTimeRanking;
|
|
28
20
|
};
|
|
29
21
|
groups: StoreMDThemeGroupTabResult[];
|
|
30
22
|
initialGroup: {
|
|
@@ -39,8 +31,6 @@ export interface GetStoreMDThemeGroupItemsResult {
|
|
|
39
31
|
items: StoreItemLegacyEntity[];
|
|
40
32
|
hasNext: boolean;
|
|
41
33
|
nextCursor?: string;
|
|
42
|
-
/** cursor generation이 갱신되어 active generation checkpoint로 재기준화됐습니다. */
|
|
43
|
-
cursorRebased?: boolean;
|
|
44
34
|
}
|
|
45
35
|
export interface GetStoreMDThemeGroupCategoryFacetsResult {
|
|
46
36
|
groupId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { StoreMDThemeEntity } from '@yolo-croket-dev/entity/src/storemdtheme';
|
|
4
|
-
import { GetStoreMDThemeByIdPayload, GetStoreMDThemeAdminPreviewPayload, GetStoreMDThemeAdminPreviewResult, SearchStoreMDThemeDetailByIdPayload, SearchStoreMDThemeDetailByIdResult, SearchStoreMDThemeIdsByItemIdPayload, SearchStoreMDThemeIdsByItemIdResult, GetStoreMDThemesByBrandNamePayload, GetStoreMDThemesByBrandNameResult, DeleteMDThemeBrandIdPayload, BlockStoreMDThemeItemIndexPayload, GetStoreMDThemePagedPayload,
|
|
4
|
+
import { GetStoreMDThemeByIdPayload, GetStoreMDThemeAdminPreviewPayload, GetStoreMDThemeAdminPreviewResult, SearchStoreMDThemeDetailByIdPayload, SearchStoreMDThemeDetailByIdResult, SearchStoreMDThemeIdsByItemIdPayload, SearchStoreMDThemeIdsByItemIdResult, GetStoreMDThemesByBrandNamePayload, GetStoreMDThemesByBrandNameResult, DeleteMDThemeBrandIdPayload, BlockStoreMDThemeItemIndexPayload, GetStoreMDThemePagedPayload, GetStoreMDThemeGroupItemsPayload, GetStoreMDThemeGroupCategoryFacetsPayload, SearchStoreMDThemeItemsPayload, EnqueueDueStoreMDThemeItemIndexRebuildsPayload, EnqueueDueStoreMDThemeItemIndexRebuildsResult, RequestStoreMDThemeItemIndexRebuildPayload, RequestStoreMDThemeItemIndexRebuildResult, GetStoreMDThemePagedResult, GetStoreMDThemeGroupItemsResult, GetStoreMDThemeGroupCategoryFacetsResult, SearchStoreMDThemeItemsResult } from '../dto/store-md-theme';
|
|
5
5
|
export declare class AmqpStoreMdThemeService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -13,10 +13,6 @@ export declare class AmqpStoreMdThemeService {
|
|
|
13
13
|
getStoreMDThemesByBrandName(payload: GetStoreMDThemesByBrandNamePayload, param: AbstractParam): Promise<GetStoreMDThemesByBrandNameResult>;
|
|
14
14
|
deleteMDThemeBrandId(payload: DeleteMDThemeBrandIdPayload, param: AbstractParam): Promise<void>;
|
|
15
15
|
getStoreMDThemePaged(payload: GetStoreMDThemePagedPayload, param: AbstractParam): Promise<GetStoreMDThemePagedResult>;
|
|
16
|
-
getStoreMDThemeTimeDeal(payload: GetStoreMDThemeTimeDealPayload, param: AbstractParam): Promise<{
|
|
17
|
-
timeDeal: unknown | null;
|
|
18
|
-
}>;
|
|
19
|
-
getStoreMDThemeRealTimeRanking(payload: GetStoreMDThemeRealTimeRankingPayload, param: AbstractParam): Promise<GetStoreMDThemeRealTimeRankingResult>;
|
|
20
16
|
getStoreMDThemeGroupItems(payload: GetStoreMDThemeGroupItemsPayload, param: AbstractParam): Promise<GetStoreMDThemeGroupItemsResult>;
|
|
21
17
|
getStoreMDThemeGroupCategoryFacets(payload: GetStoreMDThemeGroupCategoryFacetsPayload, param: AbstractParam): Promise<GetStoreMDThemeGroupCategoryFacetsResult>;
|
|
22
18
|
searchStoreMDThemeItems(payload: SearchStoreMDThemeItemsPayload, param: AbstractParam): Promise<SearchStoreMDThemeItemsResult>;
|
|
@@ -26,6 +22,4 @@ export declare class AmqpStoreMdThemeService {
|
|
|
26
22
|
blockStoreMDThemeItemIndex(payload: BlockStoreMDThemeItemIndexPayload, param: AbstractParam): Promise<void>;
|
|
27
23
|
enqueueDueStoreMDThemeItemIndexRebuilds(payload: EnqueueDueStoreMDThemeItemIndexRebuildsPayload, param: AbstractParam): Promise<EnqueueDueStoreMDThemeItemIndexRebuildsResult>;
|
|
28
24
|
requestStoreMDThemeItemIndexRebuild(payload: RequestStoreMDThemeItemIndexRebuildPayload, param: AbstractParam): Promise<RequestStoreMDThemeItemIndexRebuildResult>;
|
|
29
|
-
getStoreMDThemeRankingCandidates(param: AbstractParam): Promise<GetStoreMDThemeRankingCandidatesResult>;
|
|
30
|
-
refreshStoreMDThemeRankingSnapshots(payload: RefreshStoreMDThemeRankingSnapshotsPayload, param: AbstractParam): Promise<void>;
|
|
31
25
|
}
|
|
@@ -42,12 +42,6 @@ let AmqpStoreMdThemeService = class AmqpStoreMdThemeService {
|
|
|
42
42
|
async getStoreMDThemePaged(payload, param) {
|
|
43
43
|
return this.amqpManager.call('MDTheme 페이지 조회', 'store-md-theme.get.paged', payload, param, { isErrorThrowing: true });
|
|
44
44
|
}
|
|
45
|
-
async getStoreMDThemeTimeDeal(payload, param) {
|
|
46
|
-
return this.amqpManager.call('MDTheme 연결 타임딜 조회', 'store-md-theme.get.time-deal', payload, param, { isErrorThrowing: true });
|
|
47
|
-
}
|
|
48
|
-
async getStoreMDThemeRealTimeRanking(payload, param) {
|
|
49
|
-
return this.amqpManager.call('MDTheme 실시간 랭킹 조회', 'store-md-theme.get.real-time-ranking', payload, param, { isErrorThrowing: true });
|
|
50
|
-
}
|
|
51
45
|
async getStoreMDThemeGroupItems(payload, param) {
|
|
52
46
|
return this.amqpManager.call('MDTheme 그룹 상품 조회', 'store-md-theme.get.group-items', payload, param, { isErrorThrowing: true });
|
|
53
47
|
}
|
|
@@ -69,12 +63,6 @@ let AmqpStoreMdThemeService = class AmqpStoreMdThemeService {
|
|
|
69
63
|
async requestStoreMDThemeItemIndexRebuild(payload, param) {
|
|
70
64
|
return this.amqpManager.call('MDTheme item index rebuild request', 'store-md-theme.request-item-index-rebuild', payload, param, { isErrorThrowing: true });
|
|
71
65
|
}
|
|
72
|
-
async getStoreMDThemeRankingCandidates(param) {
|
|
73
|
-
return this.amqpManager.call('MDTheme 실시간 랭킹 후보 조회', 'store-md-theme.get.ranking-candidates', undefined, param, { isErrorThrowing: true });
|
|
74
|
-
}
|
|
75
|
-
async refreshStoreMDThemeRankingSnapshots(payload, param) {
|
|
76
|
-
return this.amqpManager.call('MDTheme 실시간 랭킹 snapshot 갱신', 'store-md-theme.refresh.ranking-snapshots', payload, param, { isErrorThrowing: true });
|
|
77
|
-
}
|
|
78
66
|
};
|
|
79
67
|
exports.AmqpStoreMdThemeService = AmqpStoreMdThemeService;
|
|
80
68
|
exports.AmqpStoreMdThemeService = AmqpStoreMdThemeService = __decorate([
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @author sj
|
|
6
|
-
* @description 사전 협의 셀러 주문의 재고 확인중 자동 전환 요청이다.
|
|
7
|
-
*/
|
|
8
|
-
class AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload {
|
|
9
|
-
}
|
|
10
|
-
exports.AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload = AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** 최근 1시간 랭킹용 결제 완료 건 집계 요청입니다. */
|
|
2
|
-
export declare class GetPurchasedItemPaymentCountsByWindowPayload {
|
|
3
|
-
startedAt: string;
|
|
4
|
-
endedAt: string;
|
|
5
|
-
runId: string;
|
|
6
|
-
/** 테마전 실시간 랭킹에 실제로 포함된 bounded 후보만 집계합니다. */
|
|
7
|
-
storeItemIds: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare class PurchasedItemPaymentCount {
|
|
10
|
-
storeItemId: string;
|
|
11
|
-
/** 옵션 수량이 아닌 결제 문서 기준 건수입니다. */
|
|
12
|
-
paymentCount: number;
|
|
13
|
-
}
|
|
14
|
-
export declare class GetPurchasedItemPaymentCountsByWindowResult {
|
|
15
|
-
counts: PurchasedItemPaymentCount[];
|
|
16
|
-
}
|
|
@@ -1,41 +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.GetPurchasedItemPaymentCountsByWindowResult = exports.PurchasedItemPaymentCount = exports.GetPurchasedItemPaymentCountsByWindowPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/** 최근 1시간 랭킹용 결제 완료 건 집계 요청입니다. */
|
|
15
|
-
class GetPurchasedItemPaymentCountsByWindowPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.GetPurchasedItemPaymentCountsByWindowPayload = GetPurchasedItemPaymentCountsByWindowPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsDateString)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], GetPurchasedItemPaymentCountsByWindowPayload.prototype, "startedAt", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsDateString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], GetPurchasedItemPaymentCountsByWindowPayload.prototype, "endedAt", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsUUID)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], GetPurchasedItemPaymentCountsByWindowPayload.prototype, "runId", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsArray)(),
|
|
32
|
-
(0, class_validator_1.ArrayMaxSize)(500),
|
|
33
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
34
|
-
__metadata("design:type", Array)
|
|
35
|
-
], GetPurchasedItemPaymentCountsByWindowPayload.prototype, "storeItemIds", void 0);
|
|
36
|
-
class PurchasedItemPaymentCount {
|
|
37
|
-
}
|
|
38
|
-
exports.PurchasedItemPaymentCount = PurchasedItemPaymentCount;
|
|
39
|
-
class GetPurchasedItemPaymentCountsByWindowResult {
|
|
40
|
-
}
|
|
41
|
-
exports.GetPurchasedItemPaymentCountsByWindowResult = GetPurchasedItemPaymentCountsByWindowResult;
|
package/store-item-server/dto/store-item/command/process-store-md-theme-last-hour-ranking.dto.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author sj
|
|
3
|
-
* @description 매 정시 테마전 실시간 랭킹 집계 요청입니다.
|
|
4
|
-
* scheduler가 실행된 시각을 함께 보내면 store-item-server는 그 시각에 가장 가까운 정시를 집계 구간 종료 시각으로 사용합니다.
|
|
5
|
-
* 수신 서버와 scheduler의 시계가 조금 달라도 정시 경계에서 구간이 누락되지 않게 하기 위함입니다.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ProcessStoreMDThemeLastHourRankingPayload {
|
|
8
|
-
/** scheduler 실행 시각(UTC ISO-8601). 없으면 수신 서버의 현재 시각을 사용합니다. */
|
|
9
|
-
requestedAt?: string;
|
|
10
|
-
}
|
package/store-item-server/dto/store-item/command/process-store-md-theme-last-hour-ranking.dto.js
DELETED
|
@@ -1,27 +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.ProcessStoreMDThemeLastHourRankingPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/**
|
|
15
|
-
* @author sj
|
|
16
|
-
* @description 매 정시 테마전 실시간 랭킹 집계 요청입니다.
|
|
17
|
-
* scheduler가 실행된 시각을 함께 보내면 store-item-server는 그 시각에 가장 가까운 정시를 집계 구간 종료 시각으로 사용합니다.
|
|
18
|
-
* 수신 서버와 scheduler의 시계가 조금 달라도 정시 경계에서 구간이 누락되지 않게 하기 위함입니다.
|
|
19
|
-
*/
|
|
20
|
-
class ProcessStoreMDThemeLastHourRankingPayload {
|
|
21
|
-
}
|
|
22
|
-
exports.ProcessStoreMDThemeLastHourRankingPayload = ProcessStoreMDThemeLastHourRankingPayload;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
(0, class_validator_1.IsDateString)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], ProcessStoreMDThemeLastHourRankingPayload.prototype, "requestedAt", void 0);
|
package/store-item-server/dto/store-item/query/get-store-item-ranking-candidate-metas.dto.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** 호출 측(user-service)이 chunk 단위로 나눠 요청합니다. 후보 수 자체에는 상한을 두지 않습니다. */
|
|
2
|
-
export declare class GetStoreItemRankingCandidateMetasPayload {
|
|
3
|
-
storeItemIds: string[];
|
|
4
|
-
}
|
|
5
|
-
export declare class GetStoreItemRankingCandidateMetasResult {
|
|
6
|
-
items: Array<{
|
|
7
|
-
itemId: string;
|
|
8
|
-
mainCategory: string;
|
|
9
|
-
popularitySortValues: {
|
|
10
|
-
clickNums: number;
|
|
11
|
-
soldNumsLastNdays: number;
|
|
12
|
-
reviewCount: number;
|
|
13
|
-
regDate: string;
|
|
14
|
-
};
|
|
15
|
-
}>;
|
|
16
|
-
}
|
package/store-item-server/dto/store-item/query/get-store-item-ranking-candidate-metas.dto.js
DELETED
|
@@ -1,25 +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.GetStoreItemRankingCandidateMetasResult = exports.GetStoreItemRankingCandidateMetasPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/** 호출 측(user-service)이 chunk 단위로 나눠 요청합니다. 후보 수 자체에는 상한을 두지 않습니다. */
|
|
15
|
-
class GetStoreItemRankingCandidateMetasPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.GetStoreItemRankingCandidateMetasPayload = GetStoreItemRankingCandidateMetasPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
21
|
-
__metadata("design:type", Array)
|
|
22
|
-
], GetStoreItemRankingCandidateMetasPayload.prototype, "storeItemIds", void 0);
|
|
23
|
-
class GetStoreItemRankingCandidateMetasResult {
|
|
24
|
-
}
|
|
25
|
-
exports.GetStoreItemRankingCandidateMetasResult = GetStoreItemRankingCandidateMetasResult;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoreItemEntity as StoreItem } from '@yolo-croket-dev/entity-v2/store-item';
|
|
2
|
-
export declare enum GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum {
|
|
3
|
-
PHRASE = "PHRASE"
|
|
4
|
-
}
|
|
5
|
-
export declare class GetStoreItemsForKakaoCatalogPayload {
|
|
6
|
-
mainCategories?: string[];
|
|
7
|
-
excludedSubCategories?: string[];
|
|
8
|
-
itemNameKeywords?: string[];
|
|
9
|
-
itemNameKeywordMatchType?: GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
10
|
-
limit: number;
|
|
11
|
-
paginationToken?: string;
|
|
12
|
-
}
|
|
13
|
-
export type GetStoreItemsForKakaoCatalogItem = Pick<StoreItem, '_id' | 'itemName' | 'contents' | 'itemPriceForBuyer' | 'itemPrice' | 'itemImg' | 'mainCategory' | 'subCategory' | 'brandInfo' | 'mainSku' | 'nation' | 'isSelling' | 'isDelete' | 'remainCount' | 'itemType' | 'isSecret'> & {
|
|
14
|
-
paginationToken?: string;
|
|
15
|
-
};
|
|
16
|
-
export declare class GetStoreItemsForKakaoCatalogResult {
|
|
17
|
-
storeItems: GetStoreItemsForKakaoCatalogItem[];
|
|
18
|
-
lastPaginationToken?: string;
|
|
19
|
-
maxPage?: number;
|
|
20
|
-
}
|
|
@@ -1,57 +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.GetStoreItemsForKakaoCatalogResult = exports.GetStoreItemsForKakaoCatalogPayload = exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
var GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
16
|
-
(function (GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum) {
|
|
17
|
-
GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum["PHRASE"] = "PHRASE";
|
|
18
|
-
})(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum || (exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = {}));
|
|
19
|
-
class GetStoreItemsForKakaoCatalogPayload {
|
|
20
|
-
}
|
|
21
|
-
exports.GetStoreItemsForKakaoCatalogPayload = GetStoreItemsForKakaoCatalogPayload;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsArray)(),
|
|
24
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", Array)
|
|
27
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "mainCategories", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsArray)(),
|
|
30
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", Array)
|
|
33
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "excludedSubCategories", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsArray)(),
|
|
36
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
__metadata("design:type", Array)
|
|
39
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywords", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsEnum)(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywordMatchType", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsNumber)(),
|
|
47
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "limit", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsString)(),
|
|
52
|
-
(0, class_validator_1.IsOptional)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "paginationToken", void 0);
|
|
55
|
-
class GetStoreItemsForKakaoCatalogResult {
|
|
56
|
-
}
|
|
57
|
-
exports.GetStoreItemsForKakaoCatalogResult = GetStoreItemsForKakaoCatalogResult;
|
package/user-service/dto/store-md-theme/command/refresh-store-md-theme-ranking-snapshot.dto.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/** 실시간 랭킹 집계 대상으로 공개 중인 테마전의 active generation 후보입니다. */
|
|
2
|
-
export declare class StoreMDThemeRankingCandidate {
|
|
3
|
-
storeMDThemeId: string;
|
|
4
|
-
generationId: string;
|
|
5
|
-
storeItemIds: string[];
|
|
6
|
-
}
|
|
7
|
-
export declare class GetStoreMDThemeRankingCandidatesResult {
|
|
8
|
-
themes: StoreMDThemeRankingCandidate[];
|
|
9
|
-
}
|
|
10
|
-
export declare class StoreMDThemeRankingScore {
|
|
11
|
-
storeItemId: string;
|
|
12
|
-
paymentCount: number;
|
|
13
|
-
}
|
|
14
|
-
export declare class StoreMDThemeRankingSnapshotTheme {
|
|
15
|
-
storeMDThemeId: string;
|
|
16
|
-
generationId: string;
|
|
17
|
-
scores: StoreMDThemeRankingScore[];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* store-item-server가 최근 완료 1시간 구간의 결제 건수를 계산한 뒤 user-service에 전달하는 payload입니다.
|
|
21
|
-
* 후보에 없는 상품과 stale generation은 user-service가 저장하지 않습니다.
|
|
22
|
-
*/
|
|
23
|
-
export declare class RefreshStoreMDThemeRankingSnapshotsPayload {
|
|
24
|
-
windowEndedAt: string;
|
|
25
|
-
processedAt: string;
|
|
26
|
-
themes: StoreMDThemeRankingSnapshotTheme[];
|
|
27
|
-
}
|
package/user-service/dto/store-md-theme/command/refresh-store-md-theme-ranking-snapshot.dto.js
DELETED
|
@@ -1,72 +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.RefreshStoreMDThemeRankingSnapshotsPayload = exports.StoreMDThemeRankingSnapshotTheme = exports.StoreMDThemeRankingScore = exports.GetStoreMDThemeRankingCandidatesResult = exports.StoreMDThemeRankingCandidate = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
/** 실시간 랭킹 집계 대상으로 공개 중인 테마전의 active generation 후보입니다. */
|
|
16
|
-
class StoreMDThemeRankingCandidate {
|
|
17
|
-
}
|
|
18
|
-
exports.StoreMDThemeRankingCandidate = StoreMDThemeRankingCandidate;
|
|
19
|
-
class GetStoreMDThemeRankingCandidatesResult {
|
|
20
|
-
}
|
|
21
|
-
exports.GetStoreMDThemeRankingCandidatesResult = GetStoreMDThemeRankingCandidatesResult;
|
|
22
|
-
class StoreMDThemeRankingScore {
|
|
23
|
-
}
|
|
24
|
-
exports.StoreMDThemeRankingScore = StoreMDThemeRankingScore;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsMongoId)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], StoreMDThemeRankingScore.prototype, "storeItemId", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsInt)(),
|
|
31
|
-
(0, class_validator_1.Min)(1),
|
|
32
|
-
(0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], StoreMDThemeRankingScore.prototype, "paymentCount", void 0);
|
|
35
|
-
class StoreMDThemeRankingSnapshotTheme {
|
|
36
|
-
}
|
|
37
|
-
exports.StoreMDThemeRankingSnapshotTheme = StoreMDThemeRankingSnapshotTheme;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsMongoId)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], StoreMDThemeRankingSnapshotTheme.prototype, "storeMDThemeId", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsString)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], StoreMDThemeRankingSnapshotTheme.prototype, "generationId", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.IsArray)(),
|
|
48
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
49
|
-
(0, class_transformer_1.Type)(() => StoreMDThemeRankingScore),
|
|
50
|
-
__metadata("design:type", Array)
|
|
51
|
-
], StoreMDThemeRankingSnapshotTheme.prototype, "scores", void 0);
|
|
52
|
-
/**
|
|
53
|
-
* store-item-server가 최근 완료 1시간 구간의 결제 건수를 계산한 뒤 user-service에 전달하는 payload입니다.
|
|
54
|
-
* 후보에 없는 상품과 stale generation은 user-service가 저장하지 않습니다.
|
|
55
|
-
*/
|
|
56
|
-
class RefreshStoreMDThemeRankingSnapshotsPayload {
|
|
57
|
-
}
|
|
58
|
-
exports.RefreshStoreMDThemeRankingSnapshotsPayload = RefreshStoreMDThemeRankingSnapshotsPayload;
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_validator_1.IsDateString)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], RefreshStoreMDThemeRankingSnapshotsPayload.prototype, "windowEndedAt", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.IsDateString)(),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], RefreshStoreMDThemeRankingSnapshotsPayload.prototype, "processedAt", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsArray)(),
|
|
69
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
70
|
-
(0, class_transformer_1.Type)(() => StoreMDThemeRankingSnapshotTheme),
|
|
71
|
-
__metadata("design:type", Array)
|
|
72
|
-
], RefreshStoreMDThemeRankingSnapshotsPayload.prototype, "themes", void 0);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class GetStoreMDThemeRealTimeRankingPayload {
|
|
2
|
-
storeMDThemeId: string;
|
|
3
|
-
mainCategory?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class GetStoreMDThemeRealTimeRankingResult {
|
|
6
|
-
items: unknown[];
|
|
7
|
-
categories: Array<{
|
|
8
|
-
mainCategory: string;
|
|
9
|
-
}>;
|
|
10
|
-
sortSource: 'LAST_HOUR_SALES' | 'POPULARITY_FALLBACK';
|
|
11
|
-
windowEndedAt: string | null;
|
|
12
|
-
processedAt: string | null;
|
|
13
|
-
}
|
|
@@ -1,28 +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.GetStoreMDThemeRealTimeRankingResult = exports.GetStoreMDThemeRealTimeRankingPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetStoreMDThemeRealTimeRankingPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetStoreMDThemeRealTimeRankingPayload = GetStoreMDThemeRealTimeRankingPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], GetStoreMDThemeRealTimeRankingPayload.prototype, "storeMDThemeId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], GetStoreMDThemeRealTimeRankingPayload.prototype, "mainCategory", void 0);
|
|
26
|
-
class GetStoreMDThemeRealTimeRankingResult {
|
|
27
|
-
}
|
|
28
|
-
exports.GetStoreMDThemeRealTimeRankingResult = GetStoreMDThemeRealTimeRankingResult;
|
|
@@ -1,21 +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.GetStoreMDThemeTimeDealPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/** 테마전에 연결된 타임딜 buyer 상세 조회 요청입니다. */
|
|
15
|
-
class GetStoreMDThemeTimeDealPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.GetStoreMDThemeTimeDealPayload = GetStoreMDThemeTimeDealPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], GetStoreMDThemeTimeDealPayload.prototype, "storeMDThemeId", void 0);
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/** @author sj @description 이메일 전용 가입 인증 메일 발송 입력 @process user-service가 가입 전 Redis 인증 세션을 만들고 인증 메일 발송을 요청한다. */
|
|
2
|
-
export declare class RequestEmailSignupVerificationPayload {
|
|
3
|
-
email: string;
|
|
4
|
-
locale?: string;
|
|
5
|
-
}
|
|
6
|
-
/** @author sj @description 이메일 전용 가입 인증 메일 발송 결과 @process 클라이언트는 verificationId만 인증번호 확인 요청에 사용한다. */
|
|
7
|
-
export declare class RequestEmailSignupVerificationResult {
|
|
8
|
-
verificationId: string;
|
|
9
|
-
expiresAt: string;
|
|
10
|
-
retryAfterSeconds: number;
|
|
11
|
-
}
|
|
12
|
-
/** @author sj @description 이메일 가입 인증번호 검증 입력 @process 인증 세션 식별자와 6자리 코드만 전달하며 이메일 원문은 다시 받지 않는다. */
|
|
13
|
-
export declare class ConfirmEmailSignupVerificationPayload {
|
|
14
|
-
verificationId: string;
|
|
15
|
-
code: string;
|
|
16
|
-
}
|
|
17
|
-
/** @author sj @description 이메일 가입 인증번호 검증 결과 @process 가입 API에서 한 번만 사용할 불투명 verificationToken을 반환한다. */
|
|
18
|
-
export declare class ConfirmEmailSignupVerificationResult {
|
|
19
|
-
verificationToken: string;
|
|
20
|
-
expiresAt: string;
|
|
21
|
-
}
|
|
22
|
-
/** @author sj @description 전화번호 없는 이메일 전용 회원가입 입력 @process 인증 완료 token과 기존 가입 동의 필드로 User를 생성한다. */
|
|
23
|
-
export declare class CreateEmailSignupPayload {
|
|
24
|
-
email: string;
|
|
25
|
-
password: string;
|
|
26
|
-
username: string;
|
|
27
|
-
verificationToken: string;
|
|
28
|
-
event_email?: boolean;
|
|
29
|
-
event_sms?: boolean;
|
|
30
|
-
event_appPush?: boolean;
|
|
31
|
-
from?: string;
|
|
32
|
-
afterAgreementAD?: boolean;
|
|
33
|
-
}
|
|
34
|
-
/** @author sj @description 이메일 전용 회원가입 결과 @process 생성 User와 즉시 로그인에 필요한 JWT만 반환한다. */
|
|
35
|
-
export declare class CreateEmailSignupResult {
|
|
36
|
-
result: true;
|
|
37
|
-
userId: string;
|
|
38
|
-
userid: string;
|
|
39
|
-
access_token: string;
|
|
40
|
-
refresh_token: string;
|
|
41
|
-
}
|
|
@@ -1,106 +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.CreateEmailSignupResult = exports.CreateEmailSignupPayload = exports.ConfirmEmailSignupVerificationResult = exports.ConfirmEmailSignupVerificationPayload = exports.RequestEmailSignupVerificationResult = exports.RequestEmailSignupVerificationPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/** @author sj @description 이메일 전용 가입 인증 메일 발송 입력 @process user-service가 가입 전 Redis 인증 세션을 만들고 인증 메일 발송을 요청한다. */
|
|
15
|
-
class RequestEmailSignupVerificationPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.RequestEmailSignupVerificationPayload = RequestEmailSignupVerificationPayload;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsEmail)(),
|
|
20
|
-
(0, class_validator_1.MaxLength)(320),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], RequestEmailSignupVerificationPayload.prototype, "email", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0, class_validator_1.MaxLength)(20),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], RequestEmailSignupVerificationPayload.prototype, "locale", void 0);
|
|
29
|
-
/** @author sj @description 이메일 전용 가입 인증 메일 발송 결과 @process 클라이언트는 verificationId만 인증번호 확인 요청에 사용한다. */
|
|
30
|
-
class RequestEmailSignupVerificationResult {
|
|
31
|
-
}
|
|
32
|
-
exports.RequestEmailSignupVerificationResult = RequestEmailSignupVerificationResult;
|
|
33
|
-
/** @author sj @description 이메일 가입 인증번호 검증 입력 @process 인증 세션 식별자와 6자리 코드만 전달하며 이메일 원문은 다시 받지 않는다. */
|
|
34
|
-
class ConfirmEmailSignupVerificationPayload {
|
|
35
|
-
}
|
|
36
|
-
exports.ConfirmEmailSignupVerificationPayload = ConfirmEmailSignupVerificationPayload;
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_validator_1.Matches)(/^[A-Za-z0-9_-]{21}$/),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], ConfirmEmailSignupVerificationPayload.prototype, "verificationId", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsString)(),
|
|
44
|
-
(0, class_validator_1.Matches)(/^\d{6}$/),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], ConfirmEmailSignupVerificationPayload.prototype, "code", void 0);
|
|
47
|
-
/** @author sj @description 이메일 가입 인증번호 검증 결과 @process 가입 API에서 한 번만 사용할 불투명 verificationToken을 반환한다. */
|
|
48
|
-
class ConfirmEmailSignupVerificationResult {
|
|
49
|
-
}
|
|
50
|
-
exports.ConfirmEmailSignupVerificationResult = ConfirmEmailSignupVerificationResult;
|
|
51
|
-
/** @author sj @description 전화번호 없는 이메일 전용 회원가입 입력 @process 인증 완료 token과 기존 가입 동의 필드로 User를 생성한다. */
|
|
52
|
-
class CreateEmailSignupPayload {
|
|
53
|
-
}
|
|
54
|
-
exports.CreateEmailSignupPayload = CreateEmailSignupPayload;
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsEmail)(),
|
|
57
|
-
(0, class_validator_1.MaxLength)(320),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], CreateEmailSignupPayload.prototype, "email", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, class_validator_1.IsString)(),
|
|
62
|
-
(0, class_validator_1.MinLength)(8),
|
|
63
|
-
(0, class_validator_1.MaxLength)(20),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], CreateEmailSignupPayload.prototype, "password", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_validator_1.IsString)(),
|
|
68
|
-
(0, class_validator_1.MinLength)(1),
|
|
69
|
-
(0, class_validator_1.MaxLength)(100),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], CreateEmailSignupPayload.prototype, "username", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsString)(),
|
|
74
|
-
(0, class_validator_1.Matches)(/^[A-Za-z0-9_-]{43}$/),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], CreateEmailSignupPayload.prototype, "verificationToken", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_validator_1.IsOptional)(),
|
|
79
|
-
(0, class_validator_1.IsBoolean)(),
|
|
80
|
-
__metadata("design:type", Boolean)
|
|
81
|
-
], CreateEmailSignupPayload.prototype, "event_email", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_validator_1.IsBoolean)(),
|
|
85
|
-
__metadata("design:type", Boolean)
|
|
86
|
-
], CreateEmailSignupPayload.prototype, "event_sms", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
(0, class_validator_1.IsBoolean)(),
|
|
90
|
-
__metadata("design:type", Boolean)
|
|
91
|
-
], CreateEmailSignupPayload.prototype, "event_appPush", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, class_validator_1.IsOptional)(),
|
|
94
|
-
(0, class_validator_1.IsString)(),
|
|
95
|
-
(0, class_validator_1.MaxLength)(100),
|
|
96
|
-
__metadata("design:type", String)
|
|
97
|
-
], CreateEmailSignupPayload.prototype, "from", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, class_validator_1.IsOptional)(),
|
|
100
|
-
(0, class_validator_1.IsBoolean)(),
|
|
101
|
-
__metadata("design:type", Boolean)
|
|
102
|
-
], CreateEmailSignupPayload.prototype, "afterAgreementAD", void 0);
|
|
103
|
-
/** @author sj @description 이메일 전용 회원가입 결과 @process 생성 User와 즉시 로그인에 필요한 JWT만 반환한다. */
|
|
104
|
-
class CreateEmailSignupResult {
|
|
105
|
-
}
|
|
106
|
-
exports.CreateEmailSignupResult = CreateEmailSignupResult;
|