@yolo-croket-dev/amqp-access 0.7.368 → 0.7.370-sj
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/manage-auto-checking-stock-seller-policy.dto.d.ts +18 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/manage-auto-checking-stock-seller-policy.dto.js +36 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-auto-checking-stock-seller-policies.dto.d.ts +33 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-auto-checking-stock-seller-policies.dto.js +66 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +1 -0
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.d.ts +6 -0
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.js +10 -0
- package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +9 -1
- package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +16 -0
- package/package.json +2 -2
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +57 -0
- package/user-service/amqp.user-service.service.d.ts +7 -0
- package/user-service/amqp.user-service.service.js +12 -0
- package/user-service/dto/user/command/email-signup.dto.d.ts +41 -0
- package/user-service/dto/user/command/email-signup.dto.js +106 -0
- package/user-service/dto/user/command/index.d.ts +1 -0
- package/user-service/dto/user/command/index.js +1 -0
|
@@ -27,3 +27,4 @@ export * from './update-price-compare-affiliate-settle-status.dto';
|
|
|
27
27
|
export * from './manage-crawler-forwarding-agent.dto';
|
|
28
28
|
export * from './register-shipping-forwarder-domestic-invoice.dto';
|
|
29
29
|
export * from './sync-shipping-forwarder-application.dto';
|
|
30
|
+
export * from './manage-auto-checking-stock-seller-policy.dto';
|
|
@@ -43,3 +43,4 @@ __exportStar(require("./update-price-compare-affiliate-settle-status.dto"), expo
|
|
|
43
43
|
__exportStar(require("./manage-crawler-forwarding-agent.dto"), exports);
|
|
44
44
|
__exportStar(require("./register-shipping-forwarder-domestic-invoice.dto"), exports);
|
|
45
45
|
__exportStar(require("./sync-shipping-forwarder-application.dto"), exports);
|
|
46
|
+
__exportStar(require("./manage-auto-checking-stock-seller-policy.dto"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @author sj @description 현지구매중 자동 변경 대상 셀러를 일괄 등록하는 요청이다. */
|
|
2
|
+
export declare class RegisterAutoCheckingStockSellerPoliciesPayload {
|
|
3
|
+
/** 한 번의 운영 요청에서 처리할 수 있는 셀러 ID 최대 개수다. */
|
|
4
|
+
sellerIds: string[];
|
|
5
|
+
}
|
|
6
|
+
/** @author sj @description 셀러별 일괄 등록 처리 결과다. */
|
|
7
|
+
export declare class RegisterAutoCheckingStockSellerPoliciesResult {
|
|
8
|
+
/** 이번 요청으로 실제 활성화된 셀러 ID 목록이다. */
|
|
9
|
+
registeredSellerIds: string[];
|
|
10
|
+
/** 이미 활성 상태여서 변경하지 않은 셀러 ID 목록이다. */
|
|
11
|
+
alreadyActiveSellerIds: string[];
|
|
12
|
+
/** 스토어와 연결되지 않아 등록할 수 없는 셀러 ID 목록이다. */
|
|
13
|
+
invalidSellerIds: string[];
|
|
14
|
+
}
|
|
15
|
+
/** @author sj @description 현지구매중 자동 변경 대상 셀러를 해제하는 요청이다. */
|
|
16
|
+
export declare class ReleaseAutoCheckingStockSellerPolicyPayload {
|
|
17
|
+
sellerId: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.ReleaseAutoCheckingStockSellerPolicyPayload = exports.RegisterAutoCheckingStockSellerPoliciesResult = exports.RegisterAutoCheckingStockSellerPoliciesPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/** @author sj @description 현지구매중 자동 변경 대상 셀러를 일괄 등록하는 요청이다. */
|
|
15
|
+
class RegisterAutoCheckingStockSellerPoliciesPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.RegisterAutoCheckingStockSellerPoliciesPayload = RegisterAutoCheckingStockSellerPoliciesPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.ArrayMaxSize)(100),
|
|
22
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], RegisterAutoCheckingStockSellerPoliciesPayload.prototype, "sellerIds", void 0);
|
|
25
|
+
/** @author sj @description 셀러별 일괄 등록 처리 결과다. */
|
|
26
|
+
class RegisterAutoCheckingStockSellerPoliciesResult {
|
|
27
|
+
}
|
|
28
|
+
exports.RegisterAutoCheckingStockSellerPoliciesResult = RegisterAutoCheckingStockSellerPoliciesResult;
|
|
29
|
+
/** @author sj @description 현지구매중 자동 변경 대상 셀러를 해제하는 요청이다. */
|
|
30
|
+
class ReleaseAutoCheckingStockSellerPolicyPayload {
|
|
31
|
+
}
|
|
32
|
+
exports.ReleaseAutoCheckingStockSellerPolicyPayload = ReleaseAutoCheckingStockSellerPolicyPayload;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ReleaseAutoCheckingStockSellerPolicyPayload.prototype, "sellerId", void 0);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AutoCheckingStockSellerPolicyHistoryActionEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
/** @author sj @description 현지구매중 자동 변경 정책 목록 조회 조건이다. */
|
|
3
|
+
export declare class GetAutoCheckingStockSellerPoliciesPayload {
|
|
4
|
+
/** 스토어명 또는 셀러 유저 ID를 검색하는 통합 키워드다. */
|
|
5
|
+
keyword?: string;
|
|
6
|
+
/** 해제된 정책도 목록에 포함할지 결정한다. */
|
|
7
|
+
includeReleased?: boolean;
|
|
8
|
+
page?: number;
|
|
9
|
+
limit?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface AutoCheckingStockSellerPolicyForAdmin {
|
|
12
|
+
sellerId: string;
|
|
13
|
+
storeName: string | null;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
registeredAt: Date;
|
|
16
|
+
releasedAt?: Date;
|
|
17
|
+
}
|
|
18
|
+
export declare class GetAutoCheckingStockSellerPoliciesResult {
|
|
19
|
+
policies: AutoCheckingStockSellerPolicyForAdmin[];
|
|
20
|
+
total: number;
|
|
21
|
+
}
|
|
22
|
+
/** @author sj @description 특정 셀러의 정책 이력을 조회하는 요청이다. */
|
|
23
|
+
export declare class GetAutoCheckingStockSellerPolicyHistoriesPayload {
|
|
24
|
+
sellerId: string;
|
|
25
|
+
limit?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface AutoCheckingStockSellerPolicyHistoryForAdmin {
|
|
28
|
+
action: AutoCheckingStockSellerPolicyHistoryActionEnum;
|
|
29
|
+
changedAt: Date;
|
|
30
|
+
}
|
|
31
|
+
export declare class GetAutoCheckingStockSellerPolicyHistoriesResult {
|
|
32
|
+
histories: AutoCheckingStockSellerPolicyHistoryForAdmin[];
|
|
33
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.GetAutoCheckingStockSellerPolicyHistoriesResult = exports.GetAutoCheckingStockSellerPolicyHistoriesPayload = exports.GetAutoCheckingStockSellerPoliciesResult = exports.GetAutoCheckingStockSellerPoliciesPayload = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
/** @author sj @description 현지구매중 자동 변경 정책 목록 조회 조건이다. */
|
|
16
|
+
class GetAutoCheckingStockSellerPoliciesPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.GetAutoCheckingStockSellerPoliciesPayload = GetAutoCheckingStockSellerPoliciesPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], GetAutoCheckingStockSellerPoliciesPayload.prototype, "keyword", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_transformer_1.Transform)(({ value }) => value === true || value === 'true'),
|
|
27
|
+
(0, class_validator_1.IsBoolean)(),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], GetAutoCheckingStockSellerPoliciesPayload.prototype, "includeReleased", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
+
(0, class_validator_1.IsInt)(),
|
|
34
|
+
(0, class_validator_1.Min)(1),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], GetAutoCheckingStockSellerPoliciesPayload.prototype, "page", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
40
|
+
(0, class_validator_1.IsInt)(),
|
|
41
|
+
(0, class_validator_1.Min)(1),
|
|
42
|
+
(0, class_validator_1.Max)(100),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], GetAutoCheckingStockSellerPoliciesPayload.prototype, "limit", void 0);
|
|
45
|
+
class GetAutoCheckingStockSellerPoliciesResult {
|
|
46
|
+
}
|
|
47
|
+
exports.GetAutoCheckingStockSellerPoliciesResult = GetAutoCheckingStockSellerPoliciesResult;
|
|
48
|
+
/** @author sj @description 특정 셀러의 정책 이력을 조회하는 요청이다. */
|
|
49
|
+
class GetAutoCheckingStockSellerPolicyHistoriesPayload {
|
|
50
|
+
}
|
|
51
|
+
exports.GetAutoCheckingStockSellerPolicyHistoriesPayload = GetAutoCheckingStockSellerPolicyHistoriesPayload;
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsMongoId)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], GetAutoCheckingStockSellerPolicyHistoriesPayload.prototype, "sellerId", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
59
|
+
(0, class_validator_1.IsInt)(),
|
|
60
|
+
(0, class_validator_1.Min)(1),
|
|
61
|
+
(0, class_validator_1.Max)(100),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], GetAutoCheckingStockSellerPolicyHistoriesPayload.prototype, "limit", void 0);
|
|
64
|
+
class GetAutoCheckingStockSellerPolicyHistoriesResult {
|
|
65
|
+
}
|
|
66
|
+
exports.GetAutoCheckingStockSellerPolicyHistoriesResult = GetAutoCheckingStockSellerPolicyHistoriesResult;
|
|
@@ -10,5 +10,6 @@ export * from './export-crawler-proxy-order-cost-margin-csv.dto';
|
|
|
10
10
|
export * from './get-price-compare-affiliate-p-infos-for-admin.dto';
|
|
11
11
|
export * from './get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto';
|
|
12
12
|
export * from './get-crawler-forwarding-agents-for-admin.dto';
|
|
13
|
+
export * from './get-auto-checking-stock-seller-policies.dto';
|
|
13
14
|
export * from './get-shipping-forwarder-application-snapshot.dto';
|
|
14
15
|
export * from './lookup-shipping-forwarder-applications.dto';
|
|
@@ -26,5 +26,6 @@ __exportStar(require("./export-crawler-proxy-order-cost-margin-csv.dto"), export
|
|
|
26
26
|
__exportStar(require("./get-price-compare-affiliate-p-infos-for-admin.dto"), exports);
|
|
27
27
|
__exportStar(require("./get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto"), exports);
|
|
28
28
|
__exportStar(require("./get-crawler-forwarding-agents-for-admin.dto"), exports);
|
|
29
|
+
__exportStar(require("./get-auto-checking-stock-seller-policies.dto"), exports);
|
|
29
30
|
__exportStar(require("./get-shipping-forwarder-application-snapshot.dto"), exports);
|
|
30
31
|
__exportStar(require("./lookup-shipping-forwarder-applications.dto"), exports);
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetRefundWaitingPurchasedInfosForAdminPayload, GetRefundWaitingPurchasedInfosForAdminResult, GetRefundWaitingPurchasedInfoDetailForAdminPayload, GetRefundWaitingPurchasedInfoDetailForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, UpdateRefundWaitingMemoForAdminPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, CreateRefundWaitingAdditionalPaymentRequestPayload, CreateRefundWaitingAdditionalPaymentRequestResult, UpdateRefundWaitingAdditionalPaymentRequestPayload, UpdateRefundWaitingAdditionalPaymentRequestResult, CompleteAdditionalPaymentTransferPayload, RetryAdditionalPaymentTransferByAdminPayload, CompleteAdditionalPaymentTransferResult, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, ExportCrawlerProxyOrderCostMarginCsvPayload, ExportCrawlerProxyOrderCostMarginCsvResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload, LookupShippingForwarderApplicationsPayload, LookupShippingForwarderApplicationsResult, SyncShippingForwarderApplicationPayload, SyncShippingForwarderApplicationResult, GetShippingForwarderApplicationSnapshotPayload, GetShippingForwarderApplicationSnapshotResult, RegisterShippingForwarderDomesticInvoicePayload, RegisterShippingForwarderDomesticInvoiceResult } from '../../dto/purchased-info.modules/purchased-info-admin';
|
|
3
|
+
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetRefundWaitingPurchasedInfosForAdminPayload, GetRefundWaitingPurchasedInfosForAdminResult, GetRefundWaitingPurchasedInfoDetailForAdminPayload, GetRefundWaitingPurchasedInfoDetailForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, UpdateRefundWaitingMemoForAdminPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, CreateRefundWaitingAdditionalPaymentRequestPayload, CreateRefundWaitingAdditionalPaymentRequestResult, UpdateRefundWaitingAdditionalPaymentRequestPayload, UpdateRefundWaitingAdditionalPaymentRequestResult, CompleteAdditionalPaymentTransferPayload, RetryAdditionalPaymentTransferByAdminPayload, CompleteAdditionalPaymentTransferResult, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, ExportCrawlerProxyOrderCostMarginCsvPayload, ExportCrawlerProxyOrderCostMarginCsvResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload, LookupShippingForwarderApplicationsPayload, LookupShippingForwarderApplicationsResult, SyncShippingForwarderApplicationPayload, SyncShippingForwarderApplicationResult, GetShippingForwarderApplicationSnapshotPayload, GetShippingForwarderApplicationSnapshotResult, RegisterShippingForwarderDomesticInvoicePayload, RegisterShippingForwarderDomesticInvoiceResult, RegisterAutoCheckingStockSellerPoliciesPayload, RegisterAutoCheckingStockSellerPoliciesResult, ReleaseAutoCheckingStockSellerPolicyPayload, GetAutoCheckingStockSellerPoliciesPayload, GetAutoCheckingStockSellerPoliciesResult, GetAutoCheckingStockSellerPolicyHistoriesPayload, GetAutoCheckingStockSellerPolicyHistoriesResult } from '../../dto/purchased-info.modules/purchased-info-admin';
|
|
4
4
|
export declare class AmqpPurchasedInfoAdminService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -66,4 +66,12 @@ export declare class AmqpPurchasedInfoAdminService {
|
|
|
66
66
|
createCrawlerForwardingAgentForAdmin(payload: CreateCrawlerForwardingAgentForAdminPayload, param: AbstractParam): Promise<void>;
|
|
67
67
|
updateCrawlerForwardingAgentForAdmin(payload: UpdateCrawlerForwardingAgentForAdminPayload, param: AbstractParam): Promise<void>;
|
|
68
68
|
updateCrawlerForwardingAgentActiveForAdmin(payload: UpdateCrawlerForwardingAgentActiveForAdminPayload, param: AbstractParam): Promise<void>;
|
|
69
|
+
/** 관리자 입력으로 현지구매중 자동 변경 대상 셀러를 최대 100건 등록한다. */
|
|
70
|
+
registerAutoCheckingStockSellerPolicies(payload: RegisterAutoCheckingStockSellerPoliciesPayload, param: AbstractParam): Promise<RegisterAutoCheckingStockSellerPoliciesResult>;
|
|
71
|
+
/** 크론 대상에서 셀러를 즉시 제외하고 감사 이력을 남긴다. */
|
|
72
|
+
releaseAutoCheckingStockSellerPolicy(payload: ReleaseAutoCheckingStockSellerPolicyPayload, param: AbstractParam): Promise<void>;
|
|
73
|
+
/** 활성 정책 또는 해제 이력 포함 정책 목록을 조회한다. */
|
|
74
|
+
getAutoCheckingStockSellerPolicies(payload: GetAutoCheckingStockSellerPoliciesPayload, param: AbstractParam): Promise<GetAutoCheckingStockSellerPoliciesResult>;
|
|
75
|
+
/** 특정 셀러의 등록 및 해제 이력을 조회한다. */
|
|
76
|
+
getAutoCheckingStockSellerPolicyHistories(payload: GetAutoCheckingStockSellerPolicyHistoriesPayload, param: AbstractParam): Promise<GetAutoCheckingStockSellerPolicyHistoriesResult>;
|
|
69
77
|
}
|
|
@@ -177,6 +177,22 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
|
|
|
177
177
|
async updateCrawlerForwardingAgentActiveForAdmin(payload, param) {
|
|
178
178
|
return this.amqpManager.call('관리자용 배대지 활성 상태 수정', 'purchased-info-admin.update.crawler-forwarding-agent-active', payload, param, { isErrorThrowing: true });
|
|
179
179
|
}
|
|
180
|
+
/** 관리자 입력으로 현지구매중 자동 변경 대상 셀러를 최대 100건 등록한다. */
|
|
181
|
+
async registerAutoCheckingStockSellerPolicies(payload, param) {
|
|
182
|
+
return this.amqpManager.call('현지구매중 자동 변경 셀러 등록', 'purchased-info-admin.register.auto-checking-stock-sellers', payload, param, { isErrorThrowing: true });
|
|
183
|
+
}
|
|
184
|
+
/** 크론 대상에서 셀러를 즉시 제외하고 감사 이력을 남긴다. */
|
|
185
|
+
async releaseAutoCheckingStockSellerPolicy(payload, param) {
|
|
186
|
+
return this.amqpManager.call('현지구매중 자동 변경 셀러 해제', 'purchased-info-admin.release.auto-checking-stock-seller', payload, param, { isErrorThrowing: true });
|
|
187
|
+
}
|
|
188
|
+
/** 활성 정책 또는 해제 이력 포함 정책 목록을 조회한다. */
|
|
189
|
+
async getAutoCheckingStockSellerPolicies(payload, param) {
|
|
190
|
+
return this.amqpManager.call('현지구매중 자동 변경 셀러 목록 조회', 'purchased-info-admin.get.auto-checking-stock-sellers', payload, param, { isErrorThrowing: true });
|
|
191
|
+
}
|
|
192
|
+
/** 특정 셀러의 등록 및 해제 이력을 조회한다. */
|
|
193
|
+
async getAutoCheckingStockSellerPolicyHistories(payload, param) {
|
|
194
|
+
return this.amqpManager.call('현지구매중 자동 변경 셀러 이력 조회', 'purchased-info-admin.get.auto-checking-stock-seller-histories', payload, param, { isErrorThrowing: true });
|
|
195
|
+
}
|
|
180
196
|
};
|
|
181
197
|
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
|
|
182
198
|
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.370-sj",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@yolo-croket-dev/domain": "0.2.50",
|
|
24
24
|
"@yolo-croket-dev/dto-v2": "0.2.31",
|
|
25
25
|
"@yolo-croket-dev/entity": "0.2.109",
|
|
26
|
-
"@yolo-croket-dev/entity-v2": "0.3.
|
|
26
|
+
"@yolo-croket-dev/entity-v2": "0.3.57",
|
|
27
27
|
"class-transformer": "^0.5.1",
|
|
28
28
|
"class-validator": "^0.13.2",
|
|
29
29
|
"dotenv": "^16.3.1"
|
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -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" | "couponInfo" | "publicId" | "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" | "couponInfo" | "publicId" | "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: {
|
|
@@ -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;
|
|
@@ -8,10 +8,17 @@ import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberRes
|
|
|
8
8
|
import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
|
|
9
9
|
import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult, ReversalCreditByPInfoIdPayload } from './dto/user';
|
|
10
10
|
import { SendNotOpenAppNotificationResult } from './dto/user/command';
|
|
11
|
+
import { ConfirmEmailSignupVerificationPayload, ConfirmEmailSignupVerificationResult, CreateEmailSignupPayload, CreateEmailSignupResult, RequestEmailSignupVerificationPayload, RequestEmailSignupVerificationResult } from './dto/user/command';
|
|
11
12
|
export declare class AmqpUserService {
|
|
12
13
|
private readonly client;
|
|
13
14
|
private readonly amqpManager;
|
|
14
15
|
constructor(client: ClientProxy);
|
|
16
|
+
/** @author sj @description 이메일 전용 가입 인증 메일 발송 @process 가입 전 인증 상태는 user-service가 소유하고 gateway는 이 RPC 결과만 전달한다. */
|
|
17
|
+
requestEmailSignupVerification(payload: RequestEmailSignupVerificationPayload, param: AbstractParam): Promise<RequestEmailSignupVerificationResult>;
|
|
18
|
+
/** @author sj @description 이메일 전용 가입 인증번호 확인 @process 성공 시 User 생성 전에만 사용하는 일회성 token을 반환한다. */
|
|
19
|
+
confirmEmailSignupVerification(payload: ConfirmEmailSignupVerificationPayload, param: AbstractParam): Promise<ConfirmEmailSignupVerificationResult>;
|
|
20
|
+
/** @author sj @description 이메일 전용 회원가입 @process 인증 token 소비와 User 생성을 user-service 단일 경계에서 처리한다. */
|
|
21
|
+
createEmailSignup(payload: CreateEmailSignupPayload, param: AbstractParam): Promise<CreateEmailSignupResult>;
|
|
15
22
|
getUsersForAdmin(payload: GetUsersForAdminPayload, param: AbstractParam): Promise<GetUsersForAdminResult>;
|
|
16
23
|
getStoreItemsForAdminAmqp(payload: GetStoreItemsForAdminPayload, param: AbstractParam): Promise<GetStoreItemsForAdminResult>;
|
|
17
24
|
updateStoreItemSelectionConnectInfosBulkAmqp(payload: UpdateStoreItemSelectionConnectInfosBulkPayload, param: AbstractParam): Promise<void>;
|
|
@@ -21,6 +21,18 @@ let AmqpUserService = class AmqpUserService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
/** @author sj @description 이메일 전용 가입 인증 메일 발송 @process 가입 전 인증 상태는 user-service가 소유하고 gateway는 이 RPC 결과만 전달한다. */
|
|
25
|
+
async requestEmailSignupVerification(payload, param) {
|
|
26
|
+
return this.amqpManager.call('이메일 전용 가입 인증 메일 발송', 'user.email-signup.request-verification', payload, param, { isErrorThrowing: true });
|
|
27
|
+
}
|
|
28
|
+
/** @author sj @description 이메일 전용 가입 인증번호 확인 @process 성공 시 User 생성 전에만 사용하는 일회성 token을 반환한다. */
|
|
29
|
+
async confirmEmailSignupVerification(payload, param) {
|
|
30
|
+
return this.amqpManager.call('이메일 전용 가입 인증번호 확인', 'user.email-signup.confirm-verification', payload, param, { isErrorThrowing: true });
|
|
31
|
+
}
|
|
32
|
+
/** @author sj @description 이메일 전용 회원가입 @process 인증 token 소비와 User 생성을 user-service 단일 경계에서 처리한다. */
|
|
33
|
+
async createEmailSignup(payload, param) {
|
|
34
|
+
return this.amqpManager.call('이메일 전용 회원가입', 'user.email-signup.create', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
24
36
|
async getUsersForAdmin(payload, param) {
|
|
25
37
|
return this.amqpManager.call('관리자를 위한 유저 정보 리스트 조회', 'user.get.for-admin', payload, param, { isErrorThrowing: true });
|
|
26
38
|
}
|
|
@@ -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;
|
|
@@ -26,3 +26,4 @@ __exportStar(require("./update-guest-username.dto"), exports);
|
|
|
26
26
|
__exportStar(require("./reversal-credit-by-p-info-id.dto"), exports);
|
|
27
27
|
__exportStar(require("./app-switching-reward.dto"), exports);
|
|
28
28
|
__exportStar(require("./send-not-open-app-notification.dto"), exports);
|
|
29
|
+
__exportStar(require("./email-signup.dto"), exports);
|