@yolo-croket-dev/amqp-access 0.7.322 → 0.7.324

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.
Files changed (24) hide show
  1. package/coupon-server/dto/coupon-template/query/get-seller-coupon-templates.dto.d.ts +4 -0
  2. package/coupon-server/dto/coupon-template/query/get-seller-coupon-templates.dto.js +6 -2
  3. package/excel-upload-server/services/amqp.store-item-excel.service.d.ts +1 -0
  4. package/excel-upload-server/services/amqp.store-item-excel.service.js +3 -0
  5. package/package.json +2 -2
  6. package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
  7. package/store-item-server/dto/store-item/command/edit-store-item.dto.d.ts +1 -1
  8. package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
  9. package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-kakao-catalog.dto.js +57 -0
  10. package/store-item-server/dto/store-item/query/atlas-search/index.d.ts +1 -0
  11. package/store-item-server/dto/store-item/query/atlas-search/index.js +1 -0
  12. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
  13. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +57 -0
  14. package/store-item-server/services/amqp.store-item.service.d.ts +2 -1
  15. package/store-item-server/services/amqp.store-item.service.js +3 -0
  16. package/user-service/dto/portone-certification/command/complete-portone-certification.dto.d.ts +10 -5
  17. package/user-service/dto/portone-certification/command/complete-portone-certification.dto.js +11 -2
  18. package/user-service/dto/portone-certification/command/start-portone-certification.dto.d.ts +0 -7
  19. package/user-service/dto/portone-certification/command/start-portone-certification.dto.js +1 -8
  20. package/user-service/dto/signup-certification/command/claim-signup-certification.dto.js +1 -0
  21. package/user-service/services/amqp.portone-certification.service.d.ts +3 -3
  22. package/user-service/services/amqp.portone-certification.service.js +1 -1
  23. package/user-service/services/amqp.signup-certification.service.d.ts +0 -14
  24. package/user-service/services/amqp.signup-certification.service.js +0 -38
@@ -12,7 +12,9 @@ export declare class GetSellerCouponTemplatesPayload {
12
12
  issuanceStatus?: SellerCouponIssuanceStatusEnum;
13
13
  couponName?: string;
14
14
  storeItemId?: string;
15
+ /** 쿠폰 등록일 기준 조회 시작일 */
15
16
  sDate?: string;
17
+ /** 쿠폰 등록일 기준 조회 종료일 */
16
18
  eDate?: string;
17
19
  }
18
20
  export declare class SellerCouponItemInfo {
@@ -25,6 +27,8 @@ export declare class SellerCouponAppliedItemInfo {
25
27
  }
26
28
  export type SellerCouponTemplateListItem = CouponTemplateEntity & {
27
29
  issuanceStatus: Exclude<SellerCouponIssuanceStatusEnum, SellerCouponIssuanceStatusEnum.ALL>;
30
+ /** 재발급된 쿠폰의 수정일. 최초 생성 쿠폰은 반환하지 않는다. */
31
+ couponModifiedDate?: Date;
28
32
  appliedItemInfo?: SellerCouponAppliedItemInfo;
29
33
  };
30
34
  export interface GetSellerCouponTemplatesResult {
@@ -49,12 +49,16 @@ __decorate([
49
49
  ], GetSellerCouponTemplatesPayload.prototype, "storeItemId", void 0);
50
50
  __decorate([
51
51
  (0, class_validator_1.IsDateString)(),
52
- (0, class_validator_1.IsOptional)(),
52
+ (0, class_validator_1.IsOptional)()
53
+ /** 쿠폰 등록일 기준 조회 시작일 */
54
+ ,
53
55
  __metadata("design:type", String)
54
56
  ], GetSellerCouponTemplatesPayload.prototype, "sDate", void 0);
55
57
  __decorate([
56
58
  (0, class_validator_1.IsDateString)(),
57
- (0, class_validator_1.IsOptional)(),
59
+ (0, class_validator_1.IsOptional)()
60
+ /** 쿠폰 등록일 기준 조회 종료일 */
61
+ ,
58
62
  __metadata("design:type", String)
59
63
  ], GetSellerCouponTemplatesPayload.prototype, "eDate", void 0);
60
64
  class SellerCouponItemInfo {
@@ -13,5 +13,6 @@ export declare class AmqpStoreItemExcelService {
13
13
  makeAndUploadItemsForExpectGroupCreate(payload: MakeAndUploadItemsForExpectGroupCreatePayload, param: AbstractParam): Promise<MakeAndUploadItemsForExpectGroupCreateResult>;
14
14
  syncMetaGoogleProductFeed(payload: unknown, param: AbstractParam): Promise<void>;
15
15
  syncGoogleProductFeed(payload: unknown, param: AbstractParam): Promise<void>;
16
+ syncKakaoCatalogSpreadsheets(payload: unknown, param: AbstractParam): Promise<void>;
16
17
  generateStoreItemNaverFeedExcel(payload: GenerateStoreItemNaverFeedExcelPayload, param: AbstractParam): Promise<void>;
17
18
  }
@@ -65,6 +65,9 @@ let AmqpStoreItemExcelService = class AmqpStoreItemExcelService {
65
65
  async syncGoogleProductFeed(payload, param) {
66
66
  return this.amqpManager.call('구글 상품 피드 동기화', 'store-item-excel.sync.product-feed-by-google', payload, param, { isErrorThrowing: true });
67
67
  }
68
+ async syncKakaoCatalogSpreadsheets(payload, param) {
69
+ return this.amqpManager.call('카카오 카탈로그 스프레드시트 동기화', 'store-item-excel.sync.google-sheet.kakao-catalog', payload, param, { isErrorThrowing: true });
70
+ }
68
71
  async generateStoreItemNaverFeedExcel(payload, param) {
69
72
  return this.amqpManager.call('네이버 피드 상품 엑셀 생성 및 슬랙 전송', 'store-item-excel.generate.naver-feed-excel', payload, param, { isErrorThrowing: true });
70
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.322",
3
+ "version": "0.7.324",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -28,4 +28,4 @@
28
28
  "class-validator": "^0.13.2",
29
29
  "dotenv": "^16.3.1"
30
30
  }
31
- }
31
+ }
@@ -1,6 +1,6 @@
1
1
  import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
2
2
  import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
3
- declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -21,7 +21,7 @@ export declare class EditStoreItemUsedInfo {
21
21
  conditionGrade?: StoreItemUsedConditionGradeEnum | null;
22
22
  releasePriceInfo?: EditStoreItemUsedReleasePriceInfo | null;
23
23
  }
24
- declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "usedItemInfo" | "mainSku">>;
24
+ declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "mainSku" | "usedItemInfo">>;
25
25
  declare class EditStoreItemBasePayload extends EditStoreItemBasePayload_base {
26
26
  }
27
27
  /**
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,57 @@
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;
@@ -5,3 +5,4 @@ export * from './get-random-item-ids.dto';
5
5
  export * from './get-used-img-item-ids.dto';
6
6
  export * from './get-used-imgs-item-ids.dto';
7
7
  export * from './get-store-items-for-product-feed.dto';
8
+ export * from './get-store-items-for-kakao-catalog.dto';
@@ -21,3 +21,4 @@ __exportStar(require("./get-random-item-ids.dto"), exports);
21
21
  __exportStar(require("./get-used-img-item-ids.dto"), exports);
22
22
  __exportStar(require("./get-used-imgs-item-ids.dto"), exports);
23
23
  __exportStar(require("./get-store-items-for-product-feed.dto"), exports);
24
+ __exportStar(require("./get-store-items-for-kakao-catalog.dto"), exports);
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,57 @@
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;
@@ -1,10 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, 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, 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, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, 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, 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';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
+ getStoreItemsForKakaoCatalog(payload: GetStoreItemsForKakaoCatalogPayload, param: AbstractParam): Promise<GetStoreItemsForKakaoCatalogResult>;
8
9
  /** ZOZO USED 상품 한 건의 즉시 셀렉션 연결을 실행한다. */
9
10
  runInstantSelectionSync(payload: RunInstantSelectionSyncPayload, param: AbstractParam): Promise<RunInstantSelectionSyncResult>;
10
11
  /** 즉시 셀렉션 연결 대상을 조회해 제한된 건수만 처리한다. */
@@ -21,6 +21,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
+ async getStoreItemsForKakaoCatalog(payload, param) {
25
+ return this.amqpManager.call('카카오 카탈로그 광고 상품 조회', 'store-item.get.kakao-catalog-items', payload, param, { isErrorThrowing: true });
26
+ }
24
27
  /** ZOZO USED 상품 한 건의 즉시 셀렉션 연결을 실행한다. */
25
28
  async runInstantSelectionSync(payload, param) {
26
29
  return this.amqpManager.call('즉시 셀렉션 연결 실행', 'store-item.instant-selection-sync.run', payload, param, { isErrorThrowing: true });
@@ -1,11 +1,10 @@
1
- import { PortoneCertificationMode } from './start-portone-certification.dto';
2
1
  /**
3
2
  * @author 홍준
4
3
  * @description 포트원 V1 본인확인 완료 검증 요청값
5
4
  * @process 클라이언트가 전달한 식별자는 포트원 REST API 응답과 서버 세션 양쪽으로 검증한다.
6
5
  */
7
6
  export declare class CompletePortoneCertificationPayload {
8
- impUid?: string;
7
+ impUid: string;
9
8
  merchantUid: string;
10
9
  }
11
10
  /**
@@ -14,9 +13,15 @@ export declare class CompletePortoneCertificationPayload {
14
13
  * @process CI 원문과 HMAC은 외부 응답으로 반환하지 않는다.
15
14
  */
16
15
  export declare class CompletePortoneCertificationResult {
17
- /** @description 가입 전 인증 완료 시에만 반환하는 일회성 가입 매칭 식별자. */
18
- signupCertificationId?: string;
19
- mode: PortoneCertificationMode;
20
16
  ciReceived: boolean;
21
17
  verifiedAt: Date;
22
18
  }
19
+ /**
20
+ * @author 홍준
21
+ * @description 가입 전 포트원 본인인증 완료 결과
22
+ * @process 검증 완료 후 발급한 일회성 식별자를 필수로 반환해 가입 요청과 연결한다.
23
+ */
24
+ export declare class CompleteSignupPortoneCertificationResult extends CompletePortoneCertificationResult {
25
+ /** @description 가입 API의 optional signupCertificationId에 전달할 검증 완료 식별자. */
26
+ signupCertificationId: string;
27
+ }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CompletePortoneCertificationResult = exports.CompletePortoneCertificationPayload = void 0;
12
+ exports.CompleteSignupPortoneCertificationResult = exports.CompletePortoneCertificationResult = exports.CompletePortoneCertificationPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  /**
15
15
  * @author 홍준
@@ -20,14 +20,15 @@ class CompletePortoneCertificationPayload {
20
20
  }
21
21
  exports.CompletePortoneCertificationPayload = CompletePortoneCertificationPayload;
22
22
  __decorate([
23
- (0, class_validator_1.IsOptional)(),
24
23
  (0, class_validator_1.IsString)(),
25
24
  (0, class_validator_1.IsNotEmpty)(),
25
+ (0, class_validator_1.Matches)(/\S/),
26
26
  __metadata("design:type", String)
27
27
  ], CompletePortoneCertificationPayload.prototype, "impUid", void 0);
28
28
  __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  (0, class_validator_1.IsNotEmpty)(),
31
+ (0, class_validator_1.Matches)(/\S/),
31
32
  __metadata("design:type", String)
32
33
  ], CompletePortoneCertificationPayload.prototype, "merchantUid", void 0);
33
34
  /**
@@ -38,3 +39,11 @@ __decorate([
38
39
  class CompletePortoneCertificationResult {
39
40
  }
40
41
  exports.CompletePortoneCertificationResult = CompletePortoneCertificationResult;
42
+ /**
43
+ * @author 홍준
44
+ * @description 가입 전 포트원 본인인증 완료 결과
45
+ * @process 검증 완료 후 발급한 일회성 식별자를 필수로 반환해 가입 요청과 연결한다.
46
+ */
47
+ class CompleteSignupPortoneCertificationResult extends CompletePortoneCertificationResult {
48
+ }
49
+ exports.CompleteSignupPortoneCertificationResult = CompleteSignupPortoneCertificationResult;
@@ -1,9 +1,3 @@
1
- /** @author 홍준 @description CI 인증 실행 모드 @process 서버가 환경 설정으로 결정하며 요청 본문에서는 받지 않는다. */
2
- export declare enum PortoneCertificationMode {
3
- MOCK = "mock",
4
- TEST = "test",
5
- LIVE = "live"
6
- }
7
1
  /**
8
2
  * @author 홍준
9
3
  * @description 포트원 본인확인 요청에 사용할 단발성 상점 주문번호
@@ -11,7 +5,6 @@ export declare enum PortoneCertificationMode {
11
5
  */
12
6
  export declare class StartPortoneCertificationResult {
13
7
  merchantUid: string;
14
- mode: PortoneCertificationMode;
15
8
  /** @description 인증 시작 성공 시 반드시 반환하는 서버 환경별 포트원 채널키. */
16
9
  channelKey: string;
17
10
  }
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSignupPortoneCertificationResult = exports.StartPortoneCertificationResult = exports.PortoneCertificationMode = void 0;
4
- /** @author 홍준 @description CI 인증 실행 모드 @process 서버가 환경 설정으로 결정하며 요청 본문에서는 받지 않는다. */
5
- var PortoneCertificationMode;
6
- (function (PortoneCertificationMode) {
7
- PortoneCertificationMode["MOCK"] = "mock";
8
- PortoneCertificationMode["TEST"] = "test";
9
- PortoneCertificationMode["LIVE"] = "live";
10
- })(PortoneCertificationMode || (exports.PortoneCertificationMode = PortoneCertificationMode = {}));
3
+ exports.StartSignupPortoneCertificationResult = exports.StartPortoneCertificationResult = void 0;
11
4
  /**
12
5
  * @author 홍준
13
6
  * @description 포트원 본인확인 요청에 사용할 단발성 상점 주문번호
@@ -22,6 +22,7 @@ exports.ClaimSignupCertificationPayload = ClaimSignupCertificationPayload;
22
22
  __decorate([
23
23
  (0, class_validator_1.IsString)(),
24
24
  (0, class_validator_1.IsNotEmpty)(),
25
+ (0, class_validator_1.Matches)(/\S/),
25
26
  __metadata("design:type", String)
26
27
  ], ClaimSignupCertificationPayload.prototype, "signupCertificationId", void 0);
27
28
  /**
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CompletePortoneCertificationPayload, CompletePortoneCertificationResult, StartPortoneCertificationResult, StartSignupPortoneCertificationResult } from '../dto/portone-certification';
3
+ import { CompletePortoneCertificationPayload, CompletePortoneCertificationResult, CompleteSignupPortoneCertificationResult, StartPortoneCertificationResult, StartSignupPortoneCertificationResult } from '../dto/portone-certification';
4
4
  /**
5
5
  * @author 홍준
6
6
  * @description 포트원 본인확인 user-service AMQP client
@@ -13,9 +13,9 @@ export declare class AmqpPortoneCertificationService {
13
13
  /** @author 홍준 @description 가입 전 인증 시작 @process 회원 ID 없이 임시 인증 세션을 생성한다. */
14
14
  startSignup(param: AbstractParam): Promise<StartSignupPortoneCertificationResult>;
15
15
  /** @author 홍준 @description 가입 전 인증 완료 @process 검증된 인증정보와 연결된 가입 매칭 식별자를 반환한다. */
16
- completeSignup(payload: CompletePortoneCertificationPayload, param: AbstractParam): Promise<CompletePortoneCertificationResult>;
16
+ completeSignup(payload: CompletePortoneCertificationPayload, param: AbstractParam): Promise<CompleteSignupPortoneCertificationResult>;
17
17
  /** @author 홍준 @description 인증 요청용 merchant UID 생성 @process 단발성 세션을 만든다. */
18
18
  start(param: AbstractParam): Promise<StartPortoneCertificationResult>;
19
- /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI HMAC만 보관한다. */
19
+ /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI와 제공된 개인정보를 암호화 저장한다. */
20
20
  complete(payload: CompletePortoneCertificationPayload, param: AbstractParam): Promise<CompletePortoneCertificationResult>;
21
21
  }
@@ -38,7 +38,7 @@ let AmqpPortoneCertificationService = class AmqpPortoneCertificationService {
38
38
  async start(param) {
39
39
  return this.amqpManager.call('포트원 본인확인 시작', 'portone-certification.start', undefined, param, { isErrorThrowing: true });
40
40
  }
41
- /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI HMAC만 보관한다. */
41
+ /** @author 홍준 @description 포트원 인증 결과 검증 @process 포트원 서버 조회 후 CI와 제공된 개인정보를 암호화 저장한다. */
42
42
  async complete(payload, param) {
43
43
  return this.amqpManager.call('포트원 본인확인 완료', 'portone-certification.complete', payload, param, { isErrorThrowing: true });
44
44
  }
@@ -1,14 +0,0 @@
1
- import { ClientProxy } from '@nestjs/microservices';
2
- import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { ClaimSignupCertificationPayload, ClaimSignupCertificationResult } from '../dto/signup-certification';
4
- /**
5
- * @author 홍준
6
- * @description 가입 전 본인인증 귀속 AMQP client
7
- * @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
8
- */
9
- export declare class AmqpSignupCertificationService {
10
- private readonly client;
11
- private readonly amqpManager;
12
- constructor(client: ClientProxy);
13
- claim(payload: ClaimSignupCertificationPayload, param: AbstractParam): Promise<ClaimSignupCertificationResult>;
14
- }
@@ -1,38 +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
- 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.AmqpSignupCertificationService = 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
- /**
20
- * @author 홍준
21
- * @description 가입 전 본인인증 귀속 AMQP client
22
- * @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
23
- */
24
- let AmqpSignupCertificationService = class AmqpSignupCertificationService {
25
- constructor(client) {
26
- this.client = client;
27
- this.amqpManager = new functions_1.AmqpManagement(this.client);
28
- }
29
- async claim(payload, param) {
30
- return this.amqpManager.call('가입 전 본인인증 사용자 귀속', 'signup-certification.claim', payload, param, { isErrorThrowing: true });
31
- }
32
- };
33
- exports.AmqpSignupCertificationService = AmqpSignupCertificationService;
34
- exports.AmqpSignupCertificationService = AmqpSignupCertificationService = __decorate([
35
- (0, common_1.Injectable)(),
36
- __param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
37
- __metadata("design:paramtypes", [microservices_1.ClientProxy])
38
- ], AmqpSignupCertificationService);