@yolo-croket-dev/amqp-access 0.7.424-sj → 0.7.425

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 (19) hide show
  1. package/order-server/dto/buyma-order/command/buyma-order.dto.d.ts +28 -0
  2. package/order-server/dto/buyma-order/command/buyma-order.dto.js +143 -1
  3. package/order-server/dto/buyma-order/query/buyma-order.dto.d.ts +8 -1
  4. package/package.json +2 -2
  5. package/store-item-server/dto/store-item/command/reg-store-item.dto.d.ts +0 -2
  6. package/store-item-server/dto/store-item/command/reg-store-item.dto.js +0 -5
  7. package/store-item-server/dto/store-item/query/index.d.ts +0 -1
  8. package/store-item-server/dto/store-item/query/index.js +0 -1
  9. package/store-item-server/dto/store-item.moduels/store-item-sabang/query/get-store-item-for-sabang.dto.d.ts +0 -1
  10. package/store-item-server/services/amqp.store-item.service.d.ts +1 -2
  11. package/store-item-server/services/amqp.store-item.service.js +0 -3
  12. package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.d.ts +0 -6
  13. package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.js +0 -10
  14. package/store-item-server/dto/store-item/query/check-customs-duty-and-tax-occurrence.dto.d.ts +0 -13
  15. package/store-item-server/dto/store-item/query/check-customs-duty-and-tax-occurrence.dto.js +0 -30
  16. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +0 -20
  17. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +0 -57
  18. package/user-service/dto/user/command/email-signup.dto.d.ts +0 -41
  19. package/user-service/dto/user/command/email-signup.dto.js +0 -106
@@ -8,8 +8,36 @@ export declare class BuymaSettlementMoneyPayload {
8
8
  amount: number;
9
9
  currency: string;
10
10
  }
11
+ /** @description 자동 계산의 주문별 입력. 예상 정산금은 입력 계약에 포함하지 않는다. */
12
+ export declare class BuymaSettlementInputsPayload {
13
+ productRevenue: BuymaSettlementMoneyPayload | null;
14
+ shippingRevenue: BuymaSettlementMoneyPayload | null;
15
+ sellerSettlement: BuymaSettlementMoneyPayload | null;
16
+ outboundShipping: BuymaSettlementMoneyPayload | null;
17
+ purchasedQuantity: number | null;
18
+ allocatedQuantity: number;
19
+ purchasedInfoId: string | null;
20
+ }
21
+ export declare class BuymaSettlementOverridesPayload {
22
+ buymaFee?: number | null;
23
+ sellerSettlementJPY?: number | null;
24
+ productMargin?: number | null;
25
+ shippingFee?: number | null;
26
+ outboundShippingJPY?: number | null;
27
+ shippingMargin?: number | null;
28
+ totalMargin?: number | null;
29
+ productMarginRate?: number | null;
30
+ shippingMarginRate?: number | null;
31
+ totalMarginRate?: number | null;
32
+ }
33
+ export declare class BuymaSettlementCalculationPayload {
34
+ version: 1;
35
+ inputs: BuymaSettlementInputsPayload;
36
+ overrides: BuymaSettlementOverridesPayload;
37
+ }
11
38
  /** @description 지정한 정산 항목만 수정한다. 공란 null은 미확인으로 저장한다. */
12
39
  export declare class BuymaSettlementPayload {
40
+ calculation?: BuymaSettlementCalculationPayload;
13
41
  buymaFee?: BuymaSettlementMoneyPayload | null;
14
42
  sellerSettlementJPY?: BuymaSettlementMoneyPayload | null;
15
43
  productMargin?: BuymaSettlementMoneyPayload | null;
@@ -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.AppendBuymaSlackLinkPayload = exports.ReceiveBuymaWebhookPayload = exports.RecordBuymaRefundPayload = exports.ChangeBuymaOrderStatusPayload = exports.ConnectBuymaProcurementPayload = exports.ConfirmBuymaPaymentPayload = exports.UpdateBuymaOrderPayload = exports.BuymaOrderCommandPayload = exports.BuymaManualFieldsPayload = exports.BuymaInternationalShipmentPayload = exports.BuymaProcurementDetailsPayload = exports.BuymaLocalShipmentPayload = exports.BuymaProductMetadataPayload = exports.BuymaRecipientPayload = exports.BuymaSettlementPayload = exports.BuymaSettlementMoneyPayload = exports.BuymaMoneyPayload = void 0;
12
+ exports.AppendBuymaSlackLinkPayload = exports.ReceiveBuymaWebhookPayload = exports.RecordBuymaRefundPayload = exports.ChangeBuymaOrderStatusPayload = exports.ConnectBuymaProcurementPayload = exports.ConfirmBuymaPaymentPayload = exports.UpdateBuymaOrderPayload = exports.BuymaOrderCommandPayload = exports.BuymaManualFieldsPayload = exports.BuymaInternationalShipmentPayload = exports.BuymaProcurementDetailsPayload = exports.BuymaLocalShipmentPayload = exports.BuymaProductMetadataPayload = exports.BuymaRecipientPayload = exports.BuymaSettlementPayload = exports.BuymaSettlementCalculationPayload = exports.BuymaSettlementOverridesPayload = exports.BuymaSettlementInputsPayload = exports.BuymaSettlementMoneyPayload = exports.BuymaMoneyPayload = void 0;
13
13
  /** @author jun @description Buyma 변경 계약. @process 허용 필드·수정 버전·담당자와 선택 입력을 정의한다. */
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const class_validator_1 = require("class-validator");
@@ -49,10 +49,152 @@ __decorate([
49
49
  (0, class_validator_1.Matches)(/^[A-Z]{3}$/),
50
50
  __metadata("design:type", String)
51
51
  ], BuymaSettlementMoneyPayload.prototype, "currency", void 0);
52
+ /** @description 자동 계산의 주문별 입력. 예상 정산금은 입력 계약에 포함하지 않는다. */
53
+ class BuymaSettlementInputsPayload {
54
+ }
55
+ exports.BuymaSettlementInputsPayload = BuymaSettlementInputsPayload;
56
+ __decorate([
57
+ (0, class_validator_1.IsOptional)(),
58
+ (0, class_validator_1.ValidateNested)(),
59
+ (0, class_transformer_1.Type)(() => BuymaSettlementMoneyPayload),
60
+ __metadata("design:type", Object)
61
+ ], BuymaSettlementInputsPayload.prototype, "productRevenue", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsOptional)(),
64
+ (0, class_validator_1.ValidateNested)(),
65
+ (0, class_transformer_1.Type)(() => BuymaSettlementMoneyPayload),
66
+ __metadata("design:type", Object)
67
+ ], BuymaSettlementInputsPayload.prototype, "shippingRevenue", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.ValidateNested)(),
71
+ (0, class_transformer_1.Type)(() => BuymaSettlementMoneyPayload),
72
+ __metadata("design:type", Object)
73
+ ], BuymaSettlementInputsPayload.prototype, "sellerSettlement", void 0);
74
+ __decorate([
75
+ (0, class_validator_1.IsOptional)(),
76
+ (0, class_validator_1.ValidateNested)(),
77
+ (0, class_transformer_1.Type)(() => BuymaSettlementMoneyPayload),
78
+ __metadata("design:type", Object)
79
+ ], BuymaSettlementInputsPayload.prototype, "outboundShipping", void 0);
80
+ __decorate([
81
+ (0, class_validator_1.IsOptional)(),
82
+ (0, class_validator_1.IsInt)(),
83
+ (0, class_validator_1.Min)(1),
84
+ __metadata("design:type", Object)
85
+ ], BuymaSettlementInputsPayload.prototype, "purchasedQuantity", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsInt)(),
88
+ (0, class_validator_1.Min)(1),
89
+ __metadata("design:type", Number)
90
+ ], BuymaSettlementInputsPayload.prototype, "allocatedQuantity", void 0);
91
+ __decorate([
92
+ (0, class_validator_1.IsOptional)(),
93
+ (0, class_validator_1.IsMongoId)(),
94
+ __metadata("design:type", Object)
95
+ ], BuymaSettlementInputsPayload.prototype, "purchasedInfoId", void 0);
96
+ class BuymaSettlementOverridesPayload {
97
+ }
98
+ exports.BuymaSettlementOverridesPayload = BuymaSettlementOverridesPayload;
99
+ __decorate([
100
+ (0, class_validator_1.IsOptional)(),
101
+ (0, class_validator_1.IsNumber)(),
102
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
103
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
104
+ __metadata("design:type", Object)
105
+ ], BuymaSettlementOverridesPayload.prototype, "buymaFee", void 0);
106
+ __decorate([
107
+ (0, class_validator_1.IsOptional)(),
108
+ (0, class_validator_1.IsNumber)(),
109
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
110
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
111
+ __metadata("design:type", Object)
112
+ ], BuymaSettlementOverridesPayload.prototype, "sellerSettlementJPY", void 0);
113
+ __decorate([
114
+ (0, class_validator_1.IsOptional)(),
115
+ (0, class_validator_1.IsNumber)(),
116
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
117
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
118
+ __metadata("design:type", Object)
119
+ ], BuymaSettlementOverridesPayload.prototype, "productMargin", void 0);
120
+ __decorate([
121
+ (0, class_validator_1.IsOptional)(),
122
+ (0, class_validator_1.IsNumber)(),
123
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
124
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
125
+ __metadata("design:type", Object)
126
+ ], BuymaSettlementOverridesPayload.prototype, "shippingFee", void 0);
127
+ __decorate([
128
+ (0, class_validator_1.IsOptional)(),
129
+ (0, class_validator_1.IsNumber)(),
130
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
131
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
132
+ __metadata("design:type", Object)
133
+ ], BuymaSettlementOverridesPayload.prototype, "outboundShippingJPY", void 0);
134
+ __decorate([
135
+ (0, class_validator_1.IsOptional)(),
136
+ (0, class_validator_1.IsNumber)(),
137
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
138
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
139
+ __metadata("design:type", Object)
140
+ ], BuymaSettlementOverridesPayload.prototype, "shippingMargin", void 0);
141
+ __decorate([
142
+ (0, class_validator_1.IsOptional)(),
143
+ (0, class_validator_1.IsNumber)(),
144
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
145
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
146
+ __metadata("design:type", Object)
147
+ ], BuymaSettlementOverridesPayload.prototype, "totalMargin", void 0);
148
+ __decorate([
149
+ (0, class_validator_1.IsOptional)(),
150
+ (0, class_validator_1.IsNumber)(),
151
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
152
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
153
+ __metadata("design:type", Object)
154
+ ], BuymaSettlementOverridesPayload.prototype, "productMarginRate", void 0);
155
+ __decorate([
156
+ (0, class_validator_1.IsOptional)(),
157
+ (0, class_validator_1.IsNumber)(),
158
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
159
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
160
+ __metadata("design:type", Object)
161
+ ], BuymaSettlementOverridesPayload.prototype, "shippingMarginRate", void 0);
162
+ __decorate([
163
+ (0, class_validator_1.IsOptional)(),
164
+ (0, class_validator_1.IsNumber)(),
165
+ (0, class_validator_1.Min)(-Number.MAX_SAFE_INTEGER),
166
+ (0, class_validator_1.Max)(Number.MAX_SAFE_INTEGER),
167
+ __metadata("design:type", Object)
168
+ ], BuymaSettlementOverridesPayload.prototype, "totalMarginRate", void 0);
169
+ class BuymaSettlementCalculationPayload {
170
+ }
171
+ exports.BuymaSettlementCalculationPayload = BuymaSettlementCalculationPayload;
172
+ __decorate([
173
+ (0, class_validator_1.IsIn)([1]),
174
+ __metadata("design:type", Number)
175
+ ], BuymaSettlementCalculationPayload.prototype, "version", void 0);
176
+ __decorate([
177
+ (0, class_validator_1.IsDefined)(),
178
+ (0, class_validator_1.ValidateNested)(),
179
+ (0, class_transformer_1.Type)(() => BuymaSettlementInputsPayload),
180
+ __metadata("design:type", BuymaSettlementInputsPayload)
181
+ ], BuymaSettlementCalculationPayload.prototype, "inputs", void 0);
182
+ __decorate([
183
+ (0, class_validator_1.IsDefined)(),
184
+ (0, class_validator_1.ValidateNested)(),
185
+ (0, class_transformer_1.Type)(() => BuymaSettlementOverridesPayload),
186
+ __metadata("design:type", BuymaSettlementOverridesPayload)
187
+ ], BuymaSettlementCalculationPayload.prototype, "overrides", void 0);
52
188
  /** @description 지정한 정산 항목만 수정한다. 공란 null은 미확인으로 저장한다. */
53
189
  class BuymaSettlementPayload {
54
190
  }
55
191
  exports.BuymaSettlementPayload = BuymaSettlementPayload;
192
+ __decorate([
193
+ (0, class_validator_1.IsOptional)(),
194
+ (0, class_validator_1.ValidateNested)(),
195
+ (0, class_transformer_1.Type)(() => BuymaSettlementCalculationPayload),
196
+ __metadata("design:type", BuymaSettlementCalculationPayload)
197
+ ], BuymaSettlementPayload.prototype, "calculation", void 0);
56
198
  __decorate([
57
199
  (0, class_validator_1.IsOptional)(),
58
200
  (0, class_validator_1.ValidateNested)(),
@@ -1,4 +1,4 @@
1
- import { BuymaMoney, BuymaOrderEntity, BuymaOrderEventEntity, BuymaOrderStatus, BuymaPaymentStatus, BuymaProcurementWorkStatus } from '@yolo-croket-dev/entity-v2';
1
+ import { BuymaMoney, BuymaSettlementInputs, BuymaOrderEntity, BuymaOrderEventEntity, BuymaOrderStatus, BuymaPaymentStatus, BuymaProcurementWorkStatus } from '@yolo-croket-dev/entity-v2';
2
2
  export type BuymaOrderSortBy = 'FIRST_ORDERED_AT_DESC' | 'FIRST_ORDERED_AT_ASC';
3
3
  export declare const BUYMA_ORDER_SEARCH_FIELDS: readonly ["ORDER_NUMBER", "STORE_NAME", "SOURCE_COUNTRY", "CROKET_ITEM_NAME", "CROKET_ITEM_ID", "BUYMA_ITEM_NAME", "BRAND_NAME", "OPTION_NAME", "PROCUREMENT_BUYER_ID", "RECIPIENT_NAME", "RECIPIENT_PHONE"];
4
4
  export type BuymaOrderSearchField = (typeof BUYMA_ORDER_SEARCH_FIELDS)[number];
@@ -62,7 +62,14 @@ export interface GetBuymaOrdersResult {
62
62
  export interface BuymaSharedProcurementOrder extends Pick<BuymaOrderEntity, '_id' | 'buymaOrderNumber' | 'quantity' | 'orderStatus'> {
63
63
  procurement: Pick<NonNullable<BuymaOrderEntity['procurement']>, 'allocationStatus' | 'croketOptionName'> | null;
64
64
  }
65
+ /** 조회 전용 정산 원천. 예상 정산금은 저장·계산 입력에서 제외한다. */
66
+ export interface BuymaSettlementSource {
67
+ inputs: BuymaSettlementInputs;
68
+ expectedSellerSettlement: BuymaMoney | null;
69
+ allocatedExpectedSellerSettlement: BuymaMoney | null;
70
+ }
65
71
  export interface GetBuymaOrderResult {
72
+ settlementSource?: BuymaSettlementSource;
66
73
  /** 수기 확인 전후 기록으로 계산하는 취소 가능 여부. 주문에 저장하지 않는다. */
67
74
  paymentConfirmationReversal?: {
68
75
  eventId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.424-sj",
3
+ "version": "0.7.425",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -24,7 +24,7 @@
24
24
  "@yolo-croket-dev/domain": "0.2.50",
25
25
  "@yolo-croket-dev/dto-v2": "0.2.37",
26
26
  "@yolo-croket-dev/entity": "0.2.111",
27
- "@yolo-croket-dev/entity-v2": "0.3.70",
27
+ "@yolo-croket-dev/entity-v2": "0.3.72",
28
28
  "class-transformer": "^0.5.1",
29
29
  "class-validator": "^0.13.2",
30
30
  "dotenv": "^16.3.1"
@@ -57,8 +57,6 @@ export declare class RegStoreItemPayload {
57
57
  sellerMemo?: string;
58
58
  /** 관세 및 부가세가 상품 가격에 포함되었는지 여부 */
59
59
  isCustomsDutyAndTaxIncluded?: boolean;
60
- /** 관세 및 부가세 미발생 여부 */
61
- isCustomsDutyAndTaxNotOccurred?: boolean;
62
60
  /** 상품 타입 */
63
61
  itemType?: StoreItemTypeEnum.normal | StoreItemTypeEnum.used;
64
62
  /** 대표 품번 */
@@ -195,11 +195,6 @@ __decorate([
195
195
  (0, class_validator_1.IsOptional)(),
196
196
  __metadata("design:type", Boolean)
197
197
  ], RegStoreItemPayload.prototype, "isCustomsDutyAndTaxIncluded", void 0);
198
- __decorate([
199
- (0, class_validator_1.IsBoolean)(),
200
- (0, class_validator_1.IsOptional)(),
201
- __metadata("design:type", Boolean)
202
- ], RegStoreItemPayload.prototype, "isCustomsDutyAndTaxNotOccurred", void 0);
203
198
  __decorate([
204
199
  (0, class_validator_1.IsIn)([
205
200
  store_item_2.StoreItemTypeEnum.normal,
@@ -35,5 +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 './check-customs-duty-and-tax-occurrence.dto';
39
38
  export * from './get-selling-store-item-ids.dto';
@@ -51,5 +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("./check-customs-duty-and-tax-occurrence.dto"), exports);
55
54
  __exportStar(require("./get-selling-store-item-ids.dto"), exports);
@@ -23,7 +23,6 @@ export declare class GetStoreItemForSabangResult {
23
23
  isSelling: boolean;
24
24
  isDelete: boolean;
25
25
  isCustomsDutyAndTaxIncluded?: boolean;
26
- isCustomsDutyAndTaxNotOccurred?: boolean;
27
26
  contents?: string;
28
27
  htmlContent?: string;
29
28
  contentsDataList?: GetStoreItemForSabangContentsData[];
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { GetSellingStoreItemIdsPayload, GetSellingStoreItemIdsResult } from '../dto/store-item/query/get-selling-store-item-ids.dto';
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, 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';
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';
5
5
  export declare class AmqpStoreItemService {
6
6
  private readonly client;
7
7
  private readonly amqpManager;
@@ -73,7 +73,6 @@ export declare class AmqpStoreItemService {
73
73
  copyStoreItem(payload: CopyStoreItemPayload, param: AbstractParam): Promise<RegStoreItemResult>;
74
74
  regStoreItem(payload: RegStoreItemPayload, param: AbstractParam): Promise<RegStoreItemResult>;
75
75
  editStoreItem(payload: EditStoreItemPayload, param: AbstractParam): Promise<EditItemResult>;
76
- checkCustomsDutyAndTaxOccurrence(payload: CheckCustomsDutyAndTaxOccurrencePayload, param: AbstractParam): Promise<CheckCustomsDutyAndTaxOccurrenceResult>;
77
76
  getStoreItemsForUpdateBrand(payload: GetStoreItemsForUpdateBrandPayload, param: AbstractParam): Promise<GetStoreItemsForUpdateBrandResult>;
78
77
  regStoreItemBulk(payload: RegStoreItemBulkPayload, param: AbstractParam): Promise<RegStoreItemBulkResult>;
79
78
  getStoreItemInfoIByIds(payload: GetStoreItemInfoByIdsPayload, param: AbstractParam): Promise<GetStoreItemInfoByIdsResult>;
@@ -162,9 +162,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
162
162
  async editStoreItem(payload, param) {
163
163
  return this.amqpManager.call('상품 수정', 'store-item.edit', payload, param, { isErrorThrowing: true });
164
164
  }
165
- async checkCustomsDutyAndTaxOccurrence(payload, param) {
166
- return this.amqpManager.call('관부가세 발생 예상 조회', 'store-item.get.customs-duty-and-tax-occurrence', payload, param, { isErrorThrowing: true });
167
- }
168
165
  async getStoreItemsForUpdateBrand(payload, param) {
169
166
  return this.amqpManager.call('상품 브랜드 정보 조회', 'store-item.get.store-items-for-update-brand', payload, param, { isErrorThrowing: true });
170
167
  }
@@ -1,6 +0,0 @@
1
- /**
2
- * @author sj
3
- * @description 사전 협의 셀러 주문의 재고 확인중 자동 전환 요청이다.
4
- */
5
- export declare class AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload {
6
- }
@@ -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,13 +0,0 @@
1
- /** 관부가세 발생 예상 여부 조회 요청 */
2
- export declare class CheckCustomsDutyAndTaxOccurrencePayload {
3
- nationCode: string;
4
- itemPrice: number;
5
- }
6
- /** 관부가세 발생 예상 여부 조회 결과 */
7
- export declare class CheckCustomsDutyAndTaxOccurrenceResult {
8
- isCustomsDutyAndTaxOccurred: boolean;
9
- itemPriceUsd: number;
10
- thresholdUsd: 150 | 200;
11
- exchangeRate: number;
12
- exchangeRateBaseDate: string;
13
- }
@@ -1,30 +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.CheckCustomsDutyAndTaxOccurrenceResult = exports.CheckCustomsDutyAndTaxOccurrencePayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /** 관부가세 발생 예상 여부 조회 요청 */
15
- class CheckCustomsDutyAndTaxOccurrencePayload {
16
- }
17
- exports.CheckCustomsDutyAndTaxOccurrencePayload = CheckCustomsDutyAndTaxOccurrencePayload;
18
- __decorate([
19
- (0, class_validator_1.IsString)(),
20
- __metadata("design:type", String)
21
- ], CheckCustomsDutyAndTaxOccurrencePayload.prototype, "nationCode", void 0);
22
- __decorate([
23
- (0, class_validator_1.IsInt)(),
24
- (0, class_validator_1.Min)(0),
25
- __metadata("design:type", Number)
26
- ], CheckCustomsDutyAndTaxOccurrencePayload.prototype, "itemPrice", void 0);
27
- /** 관부가세 발생 예상 여부 조회 결과 */
28
- class CheckCustomsDutyAndTaxOccurrenceResult {
29
- }
30
- exports.CheckCustomsDutyAndTaxOccurrenceResult = CheckCustomsDutyAndTaxOccurrenceResult;
@@ -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;
@@ -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;