@yolo-croket-dev/amqp-access 0.7.404 → 0.7.406

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @author sj
3
+ * @description 사전 협의 셀러 주문의 재고 확인중 자동 전환 요청이다.
4
+ */
5
+ export declare class AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload {
6
+ }
@@ -0,0 +1,10 @@
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.404",
3
+ "version": "0.7.406",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -29,4 +29,4 @@
29
29
  "class-validator": "^0.13.2",
30
30
  "dotenv": "^16.3.1"
31
31
  }
32
- }
32
+ }
@@ -12,6 +12,8 @@ export interface ReservationFailedCountByReason {
12
12
  [ReservationCancelReasonEnum.matchingFailedPaymentByAdmin]: number;
13
13
  /** 구매자 협의 후 예약 해제 건수 */
14
14
  [ReservationCancelReasonEnum.cancelAfterConsultationWithBuyerByAdmin]: number;
15
+ /** 상품/가격 정보 변경으로 인한 취소 건수 */
16
+ [ReservationCancelReasonEnum.cancelDueToItemOrPriceChangeByAdmin]: number;
15
17
  }
16
18
  /**
17
19
  * @description 목록 API 전용 확장 통계 타입
@@ -0,0 +1,16 @@
1
+ import { SearchSellingStoreItemsPayload } from './search-selling-store-items.dto';
2
+ export declare const MAX_SELLER_BULK_EXPORT_ITEMS = 5000;
3
+ declare const GetSellingStoreItemIdsPayload_base: import("@nestjs/mapped-types").MappedType<Pick<SearchSellingStoreItemsPayload, "searchText" | "isSoldOut" | "sellingType">>;
4
+ /**
5
+ * @author 홍준
6
+ * @description 수정용 Excel 전체 선택에 사용할 셀러 상품 검색 조건입니다.
7
+ * @process 공용 목록의 판매 상태·상품 검색·품절 필터 검증을 재사용합니다.
8
+ */
9
+ export declare class GetSellingStoreItemIdsPayload extends GetSellingStoreItemIdsPayload_base {
10
+ }
11
+ export interface GetSellingStoreItemIdsResult {
12
+ itemIds: string[];
13
+ /** 5000개 초과 시 부분 목록을 선택하지 않고 사용자에게 범위 축소를 안내합니다. */
14
+ hasMore: boolean;
15
+ }
16
+ export {};
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSellingStoreItemIdsPayload = exports.MAX_SELLER_BULK_EXPORT_ITEMS = void 0;
4
+ const mapped_types_1 = require("@nestjs/mapped-types");
5
+ const search_selling_store_items_dto_1 = require("./search-selling-store-items.dto");
6
+ exports.MAX_SELLER_BULK_EXPORT_ITEMS = 5000;
7
+ /**
8
+ * @author 홍준
9
+ * @description 수정용 Excel 전체 선택에 사용할 셀러 상품 검색 조건입니다.
10
+ * @process 공용 목록의 판매 상태·상품 검색·품절 필터 검증을 재사용합니다.
11
+ */
12
+ class GetSellingStoreItemIdsPayload extends (0, mapped_types_1.PickType)(search_selling_store_items_dto_1.SearchSellingStoreItemsPayload, [
13
+ 'sellingType',
14
+ 'searchText',
15
+ 'isSoldOut',
16
+ ]) {
17
+ }
18
+ exports.GetSellingStoreItemIdsPayload = GetSellingStoreItemIdsPayload;
@@ -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;
@@ -35,3 +35,4 @@ export * from './search-store-items-for-enuri-summary-ep.dto';
35
35
  export * from './get-store-item-seller-memo.dto';
36
36
  export * from './get-abroad-shipping-store-item-exists.dto';
37
37
  export * from './get-used-store-items-by-brand-category.dto';
38
+ export * from './get-selling-store-item-ids.dto';
@@ -51,3 +51,4 @@ __exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
51
51
  __exportStar(require("./get-store-item-seller-memo.dto"), exports);
52
52
  __exportStar(require("./get-abroad-shipping-store-item-exists.dto"), exports);
53
53
  __exportStar(require("./get-used-store-items-by-brand-category.dto"), exports);
54
+ __exportStar(require("./get-selling-store-item-ids.dto"), exports);
@@ -45,6 +45,8 @@ export declare class SearchSellingStoreItemsPayload {
45
45
  searchText?: string;
46
46
  /** 셀러 메모 검색어 */
47
47
  sellerMemoSearchText?: string;
48
+ /** true면 품절 상품, false면 재고가 있는 상품만 조회 */
49
+ isSoldOut?: boolean;
48
50
  /** true면 마감일이 있거나 예약 상품인 상품을 제외 (일괄 판매 개시 대상 조회용) */
49
51
  isResumableOnly?: boolean;
50
52
  }
@@ -79,6 +79,13 @@ __decorate([
79
79
  ,
80
80
  __metadata("design:type", String)
81
81
  ], SearchSellingStoreItemsPayload.prototype, "sellerMemoSearchText", void 0);
82
+ __decorate([
83
+ (0, class_validator_1.IsBoolean)(),
84
+ (0, class_validator_1.IsOptional)()
85
+ /** true면 품절 상품, false면 재고가 있는 상품만 조회 */
86
+ ,
87
+ __metadata("design:type", Boolean)
88
+ ], SearchSellingStoreItemsPayload.prototype, "isSoldOut", void 0);
82
89
  __decorate([
83
90
  (0, class_validator_1.IsBoolean)(),
84
91
  (0, class_validator_1.IsOptional)()
@@ -1,5 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { GetSellingStoreItemIdsPayload, GetSellingStoreItemIdsResult } from '../dto/store-item/query/get-selling-store-item-ids.dto';
3
4
  import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, GetSellerStoreCouponRegistrationStatusResult, 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
5
  export declare class AmqpStoreItemService {
5
6
  private readonly client;
@@ -28,6 +29,12 @@ export declare class AmqpStoreItemService {
28
29
  getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
29
30
  getSellerStoreCouponRegistrationStatus(param: AbstractParam): Promise<GetSellerStoreCouponRegistrationStatusResult>;
30
31
  getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
32
+ /**
33
+ * @author 홍준
34
+ * @description 셀러 상품의 전체 선택을 위해 상세 데이터 없이 ID만 조회합니다.
35
+ * @process 인증 컨텍스트와 공용 검색 조건을 상품 소유 서비스에 전달합니다.
36
+ */
37
+ getSellingStoreItemIds(payload: GetSellingStoreItemIdsPayload, param: AbstractParam): Promise<GetSellingStoreItemIdsResult>;
31
38
  searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
32
39
  /**
33
40
  * @author 홍준
@@ -68,6 +68,14 @@ let AmqpStoreItemService = class AmqpStoreItemService {
68
68
  async getSellingItemIdsByThemeId(payload, param) {
69
69
  return this.amqpManager.call('매거진에 연결되어져 있는 판매중인 상품 아이디 리스트 호출', 'store-item.get.selling-item-ids-by-theme-id', payload, param, { isErrorThrowing: true });
70
70
  }
71
+ /**
72
+ * @author 홍준
73
+ * @description 셀러 상품의 전체 선택을 위해 상세 데이터 없이 ID만 조회합니다.
74
+ * @process 인증 컨텍스트와 공용 검색 조건을 상품 소유 서비스에 전달합니다.
75
+ */
76
+ async getSellingStoreItemIds(payload, param) {
77
+ return this.amqpManager.call('셀러 상품 전체 선택 ID 조회', 'store-item.get.selling-store-item-ids', payload, param, { isErrorThrowing: true });
78
+ }
71
79
  async searchSellingStoreItems(payload, param) {
72
80
  return this.amqpManager.call('셀러 판매 상품 관리 리스트 호출', 'store-item.get.selling-store-item-list', payload, param, { isErrorThrowing: true });
73
81
  }
@@ -0,0 +1,41 @@
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
+ }
@@ -0,0 +1,106 @@
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;