@yolo-croket-dev/amqp-access 0.7.366 → 0.7.367-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.
Files changed (18) hide show
  1. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +1 -0
  2. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +1 -0
  3. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/manage-auto-checking-stock-seller-policy.dto.d.ts +18 -0
  4. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/manage-auto-checking-stock-seller-policy.dto.js +35 -0
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-auto-checking-stock-seller-policies.dto.d.ts +36 -0
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-auto-checking-stock-seller-policies.dto.js +65 -0
  7. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +1 -0
  8. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +1 -0
  9. package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.d.ts +6 -0
  10. package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.js +10 -0
  11. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +9 -1
  12. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +16 -0
  13. package/package.json +2 -2
  14. package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
  15. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
  16. package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +57 -0
  17. package/user-service/services/amqp.signup-certification.service.d.ts +0 -14
  18. package/user-service/services/amqp.signup-certification.service.js +0 -38
@@ -25,5 +25,6 @@ export * from './check-crawler-proxy-order-stock-for-admin.dto';
25
25
  export * from './request-crawler-proxy-order-payment-for-admin.dto';
26
26
  export * from './update-price-compare-affiliate-settle-status.dto';
27
27
  export * from './manage-crawler-forwarding-agent.dto';
28
+ export * from './manage-auto-checking-stock-seller-policy.dto';
28
29
  export * from './register-shipping-forwarder-domestic-invoice.dto';
29
30
  export * from './sync-shipping-forwarder-application.dto';
@@ -41,5 +41,6 @@ __exportStar(require("./check-crawler-proxy-order-stock-for-admin.dto"), exports
41
41
  __exportStar(require("./request-crawler-proxy-order-payment-for-admin.dto"), exports);
42
42
  __exportStar(require("./update-price-compare-affiliate-settle-status.dto"), exports);
43
43
  __exportStar(require("./manage-crawler-forwarding-agent.dto"), exports);
44
+ __exportStar(require("./manage-auto-checking-stock-seller-policy.dto"), exports);
44
45
  __exportStar(require("./register-shipping-forwarder-domestic-invoice.dto"), exports);
45
46
  __exportStar(require("./sync-shipping-forwarder-application.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,35 @@
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.ArrayMaxSize)(100),
21
+ (0, class_validator_1.IsMongoId)({ each: true }),
22
+ __metadata("design:type", Array)
23
+ ], RegisterAutoCheckingStockSellerPoliciesPayload.prototype, "sellerIds", void 0);
24
+ /** @author sj @description 셀러별 일괄 등록 처리 결과다. */
25
+ class RegisterAutoCheckingStockSellerPoliciesResult {
26
+ }
27
+ exports.RegisterAutoCheckingStockSellerPoliciesResult = RegisterAutoCheckingStockSellerPoliciesResult;
28
+ /** @author sj @description 현지구매중 자동 변경 대상 셀러를 해제하는 요청이다. */
29
+ class ReleaseAutoCheckingStockSellerPolicyPayload {
30
+ }
31
+ exports.ReleaseAutoCheckingStockSellerPolicyPayload = ReleaseAutoCheckingStockSellerPolicyPayload;
32
+ __decorate([
33
+ (0, class_validator_1.IsMongoId)(),
34
+ __metadata("design:type", String)
35
+ ], ReleaseAutoCheckingStockSellerPolicyPayload.prototype, "sellerId", void 0);
@@ -0,0 +1,36 @@
1
+ /** @author sj @description 현지구매중 자동 변경 정책 목록 조회 조건이다. */
2
+ export declare class GetAutoCheckingStockSellerPoliciesPayload {
3
+ /** 스토어명 또는 셀러 유저 ID를 검색하는 통합 키워드다. */
4
+ keyword?: string;
5
+ /** 해제된 정책도 목록에 포함할지 결정한다. */
6
+ includeReleased?: boolean;
7
+ page?: number;
8
+ limit?: number;
9
+ }
10
+ export interface AutoCheckingStockSellerPolicyForAdmin {
11
+ sellerId: string;
12
+ storeName: string | null;
13
+ isActive: boolean;
14
+ registeredAt: Date;
15
+ releasedAt?: Date;
16
+ }
17
+ export declare class GetAutoCheckingStockSellerPoliciesResult {
18
+ policies: AutoCheckingStockSellerPolicyForAdmin[];
19
+ total: number;
20
+ }
21
+ /** @author sj @description 특정 셀러의 정책 이력을 조회하는 요청이다. */
22
+ export declare class GetAutoCheckingStockSellerPolicyHistoriesPayload {
23
+ sellerId: string;
24
+ limit?: number;
25
+ }
26
+ export declare enum AutoCheckingStockSellerPolicyHistoryActionEnum {
27
+ REGISTER = "REGISTER",
28
+ RELEASE = "RELEASE"
29
+ }
30
+ export interface AutoCheckingStockSellerPolicyHistoryForAdmin {
31
+ action: AutoCheckingStockSellerPolicyHistoryActionEnum;
32
+ changedAt: Date;
33
+ }
34
+ export declare class GetAutoCheckingStockSellerPolicyHistoriesResult {
35
+ histories: AutoCheckingStockSellerPolicyHistoryForAdmin[];
36
+ }
@@ -0,0 +1,65 @@
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.AutoCheckingStockSellerPolicyHistoryActionEnum = exports.GetAutoCheckingStockSellerPolicyHistoriesPayload = exports.GetAutoCheckingStockSellerPoliciesResult = exports.GetAutoCheckingStockSellerPoliciesPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /** @author sj @description 현지구매중 자동 변경 정책 목록 조회 조건이다. */
15
+ class GetAutoCheckingStockSellerPoliciesPayload {
16
+ }
17
+ exports.GetAutoCheckingStockSellerPoliciesPayload = GetAutoCheckingStockSellerPoliciesPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsOptional)(),
20
+ (0, class_validator_1.IsString)(),
21
+ __metadata("design:type", String)
22
+ ], GetAutoCheckingStockSellerPoliciesPayload.prototype, "keyword", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsOptional)(),
25
+ (0, class_validator_1.IsBoolean)(),
26
+ __metadata("design:type", Boolean)
27
+ ], GetAutoCheckingStockSellerPoliciesPayload.prototype, "includeReleased", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.IsInt)(),
31
+ (0, class_validator_1.Min)(1),
32
+ __metadata("design:type", Number)
33
+ ], GetAutoCheckingStockSellerPoliciesPayload.prototype, "page", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsInt)(),
37
+ (0, class_validator_1.Min)(1),
38
+ (0, class_validator_1.Max)(100),
39
+ __metadata("design:type", Number)
40
+ ], GetAutoCheckingStockSellerPoliciesPayload.prototype, "limit", void 0);
41
+ class GetAutoCheckingStockSellerPoliciesResult {
42
+ }
43
+ exports.GetAutoCheckingStockSellerPoliciesResult = GetAutoCheckingStockSellerPoliciesResult;
44
+ /** @author sj @description 특정 셀러의 정책 이력을 조회하는 요청이다. */
45
+ class GetAutoCheckingStockSellerPolicyHistoriesPayload {
46
+ }
47
+ exports.GetAutoCheckingStockSellerPolicyHistoriesPayload = GetAutoCheckingStockSellerPolicyHistoriesPayload;
48
+ __decorate([
49
+ (0, class_validator_1.IsMongoId)(),
50
+ __metadata("design:type", String)
51
+ ], GetAutoCheckingStockSellerPolicyHistoriesPayload.prototype, "sellerId", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsInt)(),
55
+ (0, class_validator_1.Min)(1),
56
+ __metadata("design:type", Number)
57
+ ], GetAutoCheckingStockSellerPolicyHistoriesPayload.prototype, "limit", void 0);
58
+ var AutoCheckingStockSellerPolicyHistoryActionEnum;
59
+ (function (AutoCheckingStockSellerPolicyHistoryActionEnum) {
60
+ AutoCheckingStockSellerPolicyHistoryActionEnum["REGISTER"] = "REGISTER";
61
+ AutoCheckingStockSellerPolicyHistoryActionEnum["RELEASE"] = "RELEASE";
62
+ })(AutoCheckingStockSellerPolicyHistoryActionEnum || (exports.AutoCheckingStockSellerPolicyHistoryActionEnum = AutoCheckingStockSellerPolicyHistoryActionEnum = {}));
63
+ class GetAutoCheckingStockSellerPolicyHistoriesResult {
64
+ }
65
+ 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,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;
@@ -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.366",
3
+ "version": "0.7.367-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -28,4 +28,4 @@
28
28
  "class-validator": "^0.13.2",
29
29
  "dotenv": "^16.3.1"
30
30
  }
31
- }
31
+ }
@@ -1,6 +1,6 @@
1
1
  import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
2
2
  import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
3
- declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "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;
@@ -1,14 +0,0 @@
1
- import { ClientProxy } from '@nestjs/microservices';
2
- import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { ClaimSignupCertificationPayload, ClaimSignupCertificationResult } from '../dto/signup-certification';
4
- /**
5
- * @author 홍준
6
- * @description 가입 전 본인인증 귀속 AMQP client
7
- * @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
8
- */
9
- export declare class AmqpSignupCertificationService {
10
- private readonly client;
11
- private readonly amqpManager;
12
- constructor(client: ClientProxy);
13
- claim(payload: ClaimSignupCertificationPayload, param: AbstractParam): Promise<ClaimSignupCertificationResult>;
14
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.AmqpSignupCertificationService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const microservices_1 = require("@nestjs/microservices");
18
- const functions_1 = require("@yolo-croket-dev/core/functions");
19
- /**
20
- * @author 홍준
21
- * @description 가입 전 본인인증 귀속 AMQP client
22
- * @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
23
- */
24
- let AmqpSignupCertificationService = class AmqpSignupCertificationService {
25
- constructor(client) {
26
- this.client = client;
27
- this.amqpManager = new functions_1.AmqpManagement(this.client);
28
- }
29
- async claim(payload, param) {
30
- return this.amqpManager.call('가입 전 본인인증 사용자 귀속', 'signup-certification.claim', payload, param, { isErrorThrowing: true });
31
- }
32
- };
33
- exports.AmqpSignupCertificationService = AmqpSignupCertificationService;
34
- exports.AmqpSignupCertificationService = AmqpSignupCertificationService = __decorate([
35
- (0, common_1.Injectable)(),
36
- __param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
37
- __metadata("design:paramtypes", [microservices_1.ClientProxy])
38
- ], AmqpSignupCertificationService);