@yolo-croket-dev/amqp-access 0.7.164 → 0.7.165

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 (45) 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/update-crawler-proxy-order-info-for-admin.dto.d.ts +15 -0
  4. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/update-crawler-proxy-order-info-for-admin.dto.js +46 -0
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-crawler-proxy-order-list-for-admin.dto.d.ts +60 -0
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-crawler-proxy-order-list-for-admin.dto.js +80 -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/index.d.ts +1 -0
  10. package/order-server/dto/purchasedinfos/command/index.js +1 -0
  11. package/order-server/dto/purchasedinfos/command/update-price-compare-affiliate-settle-status.dto.d.ts +12 -0
  12. package/order-server/dto/purchasedinfos/command/update-price-compare-affiliate-settle-status.dto.js +32 -0
  13. package/order-server/dto/purchasedinfos/query/atlas/get-price-compare-affiliate-p-infos-for-admin.dto.d.ts +54 -0
  14. package/order-server/dto/purchasedinfos/query/atlas/get-price-compare-affiliate-p-infos-for-admin.dto.js +79 -0
  15. package/order-server/dto/purchasedinfos/query/atlas/index.d.ts +1 -0
  16. package/order-server/dto/purchasedinfos/query/atlas/index.js +1 -0
  17. package/order-server/services/amqp.purchased-info.service.d.ts +4 -1
  18. package/order-server/services/amqp.purchased-info.service.js +9 -0
  19. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +3 -1
  20. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +6 -0
  21. package/package.json +3 -3
  22. package/store-item-server/dto/store-item/query/index.d.ts +1 -0
  23. package/store-item-server/dto/store-item/query/index.js +1 -0
  24. package/store-item-server/dto/store-item/query/search-store-items-for-enuri-summary-ep.dto.d.ts +37 -0
  25. package/store-item-server/dto/store-item/query/search-store-items-for-enuri-summary-ep.dto.js +41 -0
  26. package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-filter.dto.d.ts +3 -0
  27. package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-info.dto.d.ts +1 -0
  28. package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-info.dto.js +5 -0
  29. package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/index.d.ts +1 -1
  30. package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/index.js +1 -1
  31. package/store-item-server/services/amqp.store-item.service.d.ts +2 -1
  32. package/store-item-server/services/amqp.store-item.service.js +3 -0
  33. package/store-item-server/services/summer-black-friday.modules/amqp.main-black-friday.service.d.ts +2 -2
  34. package/user-service/dto/cart/query/get-carts-for-write-pay.dto.d.ts +2 -1
  35. package/user-service/dto/cart/query/get-carts-for-write-pay.dto.js +1 -0
  36. package/user-service/dto/user.modules/shipping-address/command/create-user-shipping-address.dto.d.ts +0 -4
  37. package/user-service/dto/user.modules/shipping-address/command/create-user-shipping-address.dto.js +0 -10
  38. package/user-service/dto/user.modules/shipping-address/command/index.d.ts +0 -1
  39. package/user-service/dto/user.modules/shipping-address/command/index.js +0 -1
  40. package/user-service/dto/user.modules/shipping-address/command/update-user-shipping-address.dto.d.ts +0 -2
  41. package/user-service/dto/user.modules/shipping-address/command/update-user-shipping-address.dto.js +0 -5
  42. package/user-service/services/user.modules/amqp.user-shipping-address.service.d.ts +1 -3
  43. package/user-service/services/user.modules/amqp.user-shipping-address.service.js +0 -4
  44. package/user-service/dto/user.modules/shipping-address/command/delete-user-shipping-address.dto.d.ts +0 -7
  45. package/user-service/dto/user.modules/shipping-address/command/delete-user-shipping-address.dto.js +0 -20
@@ -12,3 +12,4 @@ export * from './delete-invoice-for-admin.dto';
12
12
  export * from './upsert-split-invoice-for-admin.dto';
13
13
  export * from './delete-split-invoice-for-admin.dto';
14
14
  export * from './transfer-p-info-seller.dto';
15
+ export * from './update-crawler-proxy-order-info-for-admin.dto';
@@ -28,3 +28,4 @@ __exportStar(require("./delete-invoice-for-admin.dto"), exports);
28
28
  __exportStar(require("./upsert-split-invoice-for-admin.dto"), exports);
29
29
  __exportStar(require("./delete-split-invoice-for-admin.dto"), exports);
30
30
  __exportStar(require("./transfer-p-info-seller.dto"), exports);
31
+ __exportStar(require("./update-crawler-proxy-order-info-for-admin.dto"), exports);
@@ -0,0 +1,15 @@
1
+ import { CrawlerProxyOrderStatusEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ export declare class UpdateCrawlerProxyOrderInfoForAdminPayload {
3
+ /** 결제정보 ID */
4
+ pInfoId: string;
5
+ /** 대신 주문 상태 */
6
+ status?: CrawlerProxyOrderStatusEnum;
7
+ /** 배대지 이름 */
8
+ forwardingAgentName?: string;
9
+ /** 사용할 배대지 주소 */
10
+ forwardingAddress?: string;
11
+ /** 배대지 금액 */
12
+ forwardingFee?: number;
13
+ /** 배대지 메모 */
14
+ forwardingMemo?: string;
15
+ }
@@ -0,0 +1,46 @@
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.UpdateCrawlerProxyOrderInfoForAdminPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
+ class UpdateCrawlerProxyOrderInfoForAdminPayload {
16
+ }
17
+ exports.UpdateCrawlerProxyOrderInfoForAdminPayload = UpdateCrawlerProxyOrderInfoForAdminPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsMongoId)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "pInfoId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.CrawlerProxyOrderStatusEnum),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "status", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingAgentName", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
36
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingAddress", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsNumber)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", Number)
41
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingFee", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.IsOptional)(),
45
+ __metadata("design:type", String)
46
+ ], UpdateCrawlerProxyOrderInfoForAdminPayload.prototype, "forwardingMemo", void 0);
@@ -0,0 +1,60 @@
1
+ import { CrawlerProxyOrderInfo, CrawlerProxyOrderStatusEnum, CrawlerPurchaseInfo, DeliveryData, PInfoBuyerInfo, PInfoPCCCInfo, PInfoPOptionInfo, PurchasedInfoOption, PurchasedProcessEnum, PurchasedProcessV2Enum, SplitDeliveryData } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ export declare enum GetCrawlerProxyOrderListForAdminSortTypeEnum {
3
+ '최근 결제일순' = "\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C",
4
+ '오래된 결제일순' = "\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C"
5
+ }
6
+ export declare class GetCrawlerProxyOrderListForAdminPayload {
7
+ /** 결제일 시작일 */
8
+ paymentStartDate?: string | Date;
9
+ /** 결제일 종료일 */
10
+ paymentEndDate?: string | Date;
11
+ /** 대신 주문 상태 */
12
+ status?: CrawlerProxyOrderStatusEnum;
13
+ /** 결제 아이디 */
14
+ pInfoId?: string;
15
+ /** 주문번호 */
16
+ publicId?: string;
17
+ /** 구매자 아이디 */
18
+ buyerId?: string;
19
+ /** 상품명 */
20
+ itemName?: string;
21
+ /** 상품 링크 또는 host 검색어 */
22
+ sourceUrlOrHost?: string;
23
+ /** 정렬 기준 */
24
+ sortType?: GetCrawlerProxyOrderListForAdminSortTypeEnum;
25
+ /** 페이지 */
26
+ page?: number;
27
+ /** 조회 건수 */
28
+ limit?: number;
29
+ }
30
+ export interface CrawlerProxyOrderBuyerInfoForAdmin {
31
+ buyerId: string;
32
+ buyerUsername?: string;
33
+ buyerPhoneNumber?: string;
34
+ receiverInfo?: PInfoBuyerInfo;
35
+ pcccInfo?: PInfoPCCCInfo;
36
+ }
37
+ export interface CrawlerProxyOrderListItemForAdmin {
38
+ pInfoId: string;
39
+ publicId?: string;
40
+ process: PurchasedProcessEnum;
41
+ process_v2?: PurchasedProcessV2Enum;
42
+ paymentDate: Date;
43
+ itemId: string;
44
+ itemName?: string;
45
+ brandName?: string;
46
+ purchaseNumber: number;
47
+ option: PurchasedInfoOption[];
48
+ pOptionInfo?: PInfoPOptionInfo;
49
+ buyerInfo: CrawlerProxyOrderBuyerInfoForAdmin;
50
+ crawlerPurchaseInfo: CrawlerPurchaseInfo;
51
+ crawlerProxyOrderInfo: CrawlerProxyOrderInfo;
52
+ deliveryData?: DeliveryData;
53
+ isSplitDelivery?: boolean;
54
+ splitDeliveryDataList?: SplitDeliveryData[];
55
+ remainingShipQuantity?: number;
56
+ }
57
+ export declare class GetCrawlerProxyOrderListForAdminResult {
58
+ allCount: number;
59
+ crawlerProxyOrders: CrawlerProxyOrderListItemForAdmin[];
60
+ }
@@ -0,0 +1,80 @@
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.GetCrawlerProxyOrderListForAdminResult = exports.GetCrawlerProxyOrderListForAdminPayload = exports.GetCrawlerProxyOrderListForAdminSortTypeEnum = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
+ var GetCrawlerProxyOrderListForAdminSortTypeEnum;
16
+ (function (GetCrawlerProxyOrderListForAdminSortTypeEnum) {
17
+ GetCrawlerProxyOrderListForAdminSortTypeEnum["\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C"] = "\uCD5C\uADFC \uACB0\uC81C\uC77C\uC21C";
18
+ GetCrawlerProxyOrderListForAdminSortTypeEnum["\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C"] = "\uC624\uB798\uB41C \uACB0\uC81C\uC77C\uC21C";
19
+ })(GetCrawlerProxyOrderListForAdminSortTypeEnum || (exports.GetCrawlerProxyOrderListForAdminSortTypeEnum = GetCrawlerProxyOrderListForAdminSortTypeEnum = {}));
20
+ class GetCrawlerProxyOrderListForAdminPayload {
21
+ }
22
+ exports.GetCrawlerProxyOrderListForAdminPayload = GetCrawlerProxyOrderListForAdminPayload;
23
+ __decorate([
24
+ (0, class_validator_1.IsDateString)(),
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", Object)
27
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "paymentStartDate", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsDateString)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ __metadata("design:type", Object)
32
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "paymentEndDate", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.CrawlerProxyOrderStatusEnum),
35
+ (0, class_validator_1.IsOptional)(),
36
+ __metadata("design:type", String)
37
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "status", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsMongoId)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ __metadata("design:type", String)
42
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "pInfoId", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ __metadata("design:type", String)
47
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "publicId", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsMongoId)(),
50
+ (0, class_validator_1.IsOptional)(),
51
+ __metadata("design:type", String)
52
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "buyerId", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsString)(),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "itemName", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "sourceUrlOrHost", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsEnum)(GetCrawlerProxyOrderListForAdminSortTypeEnum),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "sortType", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsNumber)(),
70
+ (0, class_validator_1.IsOptional)(),
71
+ __metadata("design:type", Number)
72
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "page", void 0);
73
+ __decorate([
74
+ (0, class_validator_1.IsNumber)(),
75
+ (0, class_validator_1.IsOptional)(),
76
+ __metadata("design:type", Number)
77
+ ], GetCrawlerProxyOrderListForAdminPayload.prototype, "limit", void 0);
78
+ class GetCrawlerProxyOrderListForAdminResult {
79
+ }
80
+ exports.GetCrawlerProxyOrderListForAdminResult = GetCrawlerProxyOrderListForAdminResult;
@@ -3,3 +3,4 @@ export * from './get-purchased-info-detail-for-admin-edit.dto';
3
3
  export * from './get-purchased-info-logs-for-coupon-info.dto';
4
4
  export * from './get-delivery-list-for-admin.dto';
5
5
  export * from './get-p-infos-by-yg-type.dto';
6
+ export * from './get-crawler-proxy-order-list-for-admin.dto';
@@ -19,3 +19,4 @@ __exportStar(require("./get-purchased-info-detail-for-admin-edit.dto"), exports)
19
19
  __exportStar(require("./get-purchased-info-logs-for-coupon-info.dto"), exports);
20
20
  __exportStar(require("./get-delivery-list-for-admin.dto"), exports);
21
21
  __exportStar(require("./get-p-infos-by-yg-type.dto"), exports);
22
+ __exportStar(require("./get-crawler-proxy-order-list-for-admin.dto"), exports);
@@ -6,4 +6,5 @@ export * from './patch-process-v2-to-checking-stock.dto';
6
6
  export * from './change-purchased-option.dto';
7
7
  export * from './extend-waiting-receive-by-channel-talk.dto';
8
8
  export * from './update-p-info-attribution-history-id-bulk.dto';
9
+ export * from './update-price-compare-affiliate-settle-status.dto';
9
10
  export * from './send-store-seller-save-invoice-later-abroad-shipping-to-buyer.dto';
@@ -22,4 +22,5 @@ __exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
22
22
  __exportStar(require("./change-purchased-option.dto"), exports);
23
23
  __exportStar(require("./extend-waiting-receive-by-channel-talk.dto"), exports);
24
24
  __exportStar(require("./update-p-info-attribution-history-id-bulk.dto"), exports);
25
+ __exportStar(require("./update-price-compare-affiliate-settle-status.dto"), exports);
25
26
  __exportStar(require("./send-store-seller-save-invoice-later-abroad-shipping-to-buyer.dto"), exports);
@@ -0,0 +1,12 @@
1
+ import { PriceCompareAffiliateSettleStatusEnum } from '@yolo-croket-dev/entity-v2/purchased-info';
2
+ export declare class UpdatePriceCompareAffiliateSettleStatusPayload {
3
+ pInfoIds: string[];
4
+ settleStatus: PriceCompareAffiliateSettleStatusEnum;
5
+ }
6
+ export declare class UpdatePriceCompareAffiliateSettleStatusErrorInfo {
7
+ errorReason: string;
8
+ pInfoIds: string[];
9
+ }
10
+ export declare class UpdatePriceCompareAffiliateSettleStatusResult {
11
+ errorList: UpdatePriceCompareAffiliateSettleStatusErrorInfo[];
12
+ }
@@ -0,0 +1,32 @@
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.UpdatePriceCompareAffiliateSettleStatusResult = exports.UpdatePriceCompareAffiliateSettleStatusErrorInfo = exports.UpdatePriceCompareAffiliateSettleStatusPayload = void 0;
13
+ const purchased_info_1 = require("@yolo-croket-dev/entity-v2/purchased-info");
14
+ const class_validator_1 = require("class-validator");
15
+ class UpdatePriceCompareAffiliateSettleStatusPayload {
16
+ }
17
+ exports.UpdatePriceCompareAffiliateSettleStatusPayload = UpdatePriceCompareAffiliateSettleStatusPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsArray)(),
20
+ (0, class_validator_1.IsMongoId)({ each: true }),
21
+ __metadata("design:type", Array)
22
+ ], UpdatePriceCompareAffiliateSettleStatusPayload.prototype, "pInfoIds", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsEnum)(purchased_info_1.PriceCompareAffiliateSettleStatusEnum),
25
+ __metadata("design:type", String)
26
+ ], UpdatePriceCompareAffiliateSettleStatusPayload.prototype, "settleStatus", void 0);
27
+ class UpdatePriceCompareAffiliateSettleStatusErrorInfo {
28
+ }
29
+ exports.UpdatePriceCompareAffiliateSettleStatusErrorInfo = UpdatePriceCompareAffiliateSettleStatusErrorInfo;
30
+ class UpdatePriceCompareAffiliateSettleStatusResult {
31
+ }
32
+ exports.UpdatePriceCompareAffiliateSettleStatusResult = UpdatePriceCompareAffiliateSettleStatusResult;
@@ -0,0 +1,54 @@
1
+ import { PriceCompareAffiliateSettleStatusEnum, PriceCompareAffiliateTypeEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ export declare enum PriceCompareAffiliateAdminDeviceTypeEnum {
3
+ ALL = "all",
4
+ PC = "pc",
5
+ MOBILE = "mobile"
6
+ }
7
+ export declare enum PriceCompareAffiliateAdminOrderStatusEnum {
8
+ PAID = "paid",
9
+ CANCELLED = "cancelled",
10
+ CONFIRMED = "confirmed"
11
+ }
12
+ export interface PriceCompareAffiliateAttributionHistoryForAdmin {
13
+ _id: string;
14
+ firstExternalTouch?: unknown;
15
+ lastExternalTouch?: unknown;
16
+ }
17
+ export interface PriceCompareAffiliatePInfoForAdmin {
18
+ pInfoId: string;
19
+ attributionHistory?: PriceCompareAffiliateAttributionHistoryForAdmin;
20
+ paymentDate: Date;
21
+ paymentDevice?: string;
22
+ settleStatus?: PriceCompareAffiliateSettleStatusEnum;
23
+ publicId: string;
24
+ process: string;
25
+ itemId: string;
26
+ itemName?: string;
27
+ purchaseNumber: number;
28
+ paidPrice: number;
29
+ paginationToken?: string;
30
+ }
31
+ export declare class GetPriceCompareAffiliatePInfosForAdminPayload {
32
+ /** 다나와/enuri 타입. 없으면 전체 타입 조회 */
33
+ type?: PriceCompareAffiliateTypeEnum;
34
+ /** 정산 상태. 없으면 전체 상태 조회 */
35
+ settleStatus?: PriceCompareAffiliateSettleStatusEnum;
36
+ /** 결제일 시작 */
37
+ sDate: string;
38
+ /** 결제일 종료 */
39
+ eDate: string;
40
+ /** PC/모바일 필터 */
41
+ deviceType?: PriceCompareAffiliateAdminDeviceTypeEnum;
42
+ /** 결제완료/취소/구매확정 필터 */
43
+ orderStatus?: PriceCompareAffiliateAdminOrderStatusEnum;
44
+ searchAfterToken?: string;
45
+ searchBeforeToken?: string;
46
+ limit?: number;
47
+ }
48
+ export declare class GetPriceCompareAffiliatePInfosForAdminResult {
49
+ allCount: number;
50
+ datas: PriceCompareAffiliatePInfoForAdmin[];
51
+ }
52
+ export declare class GetPriceCompareAffiliatePInfosForAdminExcelResult {
53
+ datas: Omit<PriceCompareAffiliatePInfoForAdmin, 'attributionHistory'>[];
54
+ }
@@ -0,0 +1,79 @@
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.GetPriceCompareAffiliatePInfosForAdminExcelResult = exports.GetPriceCompareAffiliatePInfosForAdminResult = exports.GetPriceCompareAffiliatePInfosForAdminPayload = exports.PriceCompareAffiliateAdminOrderStatusEnum = exports.PriceCompareAffiliateAdminDeviceTypeEnum = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
+ var PriceCompareAffiliateAdminDeviceTypeEnum;
16
+ (function (PriceCompareAffiliateAdminDeviceTypeEnum) {
17
+ PriceCompareAffiliateAdminDeviceTypeEnum["ALL"] = "all";
18
+ PriceCompareAffiliateAdminDeviceTypeEnum["PC"] = "pc";
19
+ PriceCompareAffiliateAdminDeviceTypeEnum["MOBILE"] = "mobile";
20
+ })(PriceCompareAffiliateAdminDeviceTypeEnum || (exports.PriceCompareAffiliateAdminDeviceTypeEnum = PriceCompareAffiliateAdminDeviceTypeEnum = {}));
21
+ var PriceCompareAffiliateAdminOrderStatusEnum;
22
+ (function (PriceCompareAffiliateAdminOrderStatusEnum) {
23
+ PriceCompareAffiliateAdminOrderStatusEnum["PAID"] = "paid";
24
+ PriceCompareAffiliateAdminOrderStatusEnum["CANCELLED"] = "cancelled";
25
+ PriceCompareAffiliateAdminOrderStatusEnum["CONFIRMED"] = "confirmed";
26
+ })(PriceCompareAffiliateAdminOrderStatusEnum || (exports.PriceCompareAffiliateAdminOrderStatusEnum = PriceCompareAffiliateAdminOrderStatusEnum = {}));
27
+ class GetPriceCompareAffiliatePInfosForAdminPayload {
28
+ }
29
+ exports.GetPriceCompareAffiliatePInfosForAdminPayload = GetPriceCompareAffiliatePInfosForAdminPayload;
30
+ __decorate([
31
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PriceCompareAffiliateTypeEnum),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", String)
34
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "type", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PriceCompareAffiliateSettleStatusEnum),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "settleStatus", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsDateString)(),
42
+ __metadata("design:type", String)
43
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "sDate", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsDateString)(),
46
+ __metadata("design:type", String)
47
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "eDate", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsEnum)(PriceCompareAffiliateAdminDeviceTypeEnum),
50
+ (0, class_validator_1.IsOptional)(),
51
+ __metadata("design:type", String)
52
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "deviceType", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsEnum)(PriceCompareAffiliateAdminOrderStatusEnum),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "orderStatus", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "searchAfterToken", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "searchBeforeToken", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.Max)(10000),
70
+ (0, class_validator_1.IsNumber)(),
71
+ (0, class_validator_1.IsOptional)(),
72
+ __metadata("design:type", Number)
73
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "limit", void 0);
74
+ class GetPriceCompareAffiliatePInfosForAdminResult {
75
+ }
76
+ exports.GetPriceCompareAffiliatePInfosForAdminResult = GetPriceCompareAffiliatePInfosForAdminResult;
77
+ class GetPriceCompareAffiliatePInfosForAdminExcelResult {
78
+ }
79
+ exports.GetPriceCompareAffiliatePInfosForAdminExcelResult = GetPriceCompareAffiliatePInfosForAdminExcelResult;
@@ -8,6 +8,7 @@ export * from './get-p-infos-for-manage-buyer-by-atlas.dto';
8
8
  export * from './get-facet-p-infos-for-manage-buyer-by-atlas.dto';
9
9
  export * from './get-item-sale-infos-for-sales-team-by-atlas.dto';
10
10
  export * from './get-item-sale-merge-data-for-sales-team-by-atlas.dto';
11
+ export * from './get-price-compare-affiliate-p-infos-for-admin.dto';
11
12
  export * from './store-item';
12
13
  export * from './settle';
13
14
  export * from './get-p-info-for-expect-settle-by-atlas.dto';
@@ -24,6 +24,7 @@ __exportStar(require("./get-p-infos-for-manage-buyer-by-atlas.dto"), exports);
24
24
  __exportStar(require("./get-facet-p-infos-for-manage-buyer-by-atlas.dto"), exports);
25
25
  __exportStar(require("./get-item-sale-infos-for-sales-team-by-atlas.dto"), exports);
26
26
  __exportStar(require("./get-item-sale-merge-data-for-sales-team-by-atlas.dto"), exports);
27
+ __exportStar(require("./get-price-compare-affiliate-p-infos-for-admin.dto"), exports);
27
28
  __exportStar(require("./store-item"), exports);
28
29
  __exportStar(require("./settle"), exports);
29
30
  __exportStar(require("./get-p-info-for-expect-settle-by-atlas.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult, GetPInfosByIdsPayload, GetPInfosByIdsResult, GetPInfosForLuxuryAppraisalPayload, GetPInfosForLuxuryAppraisalResult, GetRefundRatePayload, GetRefundRateResult, ExtendWaitingReceiveByChannelTalkPayload, UpdatePInfoAttributionHistoryIdBulkPayload, CheckBuyerStorePaymentHistoryPayload, SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult } from '../dto/purchasedinfos';
3
+ import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult, GetPInfosByIdsPayload, GetPInfosByIdsResult, GetPInfosForLuxuryAppraisalPayload, GetPInfosForLuxuryAppraisalResult, GetRefundRatePayload, GetRefundRateResult, ExtendWaitingReceiveByChannelTalkPayload, UpdatePInfoAttributionHistoryIdBulkPayload, CheckBuyerStorePaymentHistoryPayload, SendStoreSellerSaveInvoiceLaterAbroadShippingToBuyerResult, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -43,6 +43,9 @@ export declare class AmqpPurchasedInfoService {
43
43
  getRefundRate(payload: GetRefundRatePayload, param: AbstractParam): Promise<GetRefundRateResult>;
44
44
  extendWaitingReceiveByChannelTalk(payload: ExtendWaitingReceiveByChannelTalkPayload, param: AbstractParam): Promise<string>;
45
45
  updatePInfoAttributionHistoryIdBulk(payload: UpdatePInfoAttributionHistoryIdBulkPayload, param: AbstractParam): Promise<void>;
46
+ getPriceCompareAffiliatePInfosForAdmin(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminResult>;
47
+ getPriceCompareAffiliatePInfosForAdminExcel(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminExcelResult>;
48
+ updatePriceCompareAffiliateSettleStatus(payload: UpdatePriceCompareAffiliateSettleStatusPayload, param: AbstractParam): Promise<void>;
46
49
  extendWaitingReceiveByChannelTalkSlackWebhook(payload: any, param: AbstractParam): Promise<string>;
47
50
  getPublicIdsByReceiveInfoChangedInBeforeDelivery(param: AbstractParam): Promise<string>;
48
51
  checkBuyerTotalPaymentHistory(param: AbstractParam): Promise<boolean>;
@@ -136,6 +136,15 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
136
136
  async updatePInfoAttributionHistoryIdBulk(payload, param) {
137
137
  return this.amqpManager.call('결제 내역 어트리뷰션 히스토리 아이디 업데이트 - bulk', 'purchased-info.update.attribution-history-id-bulk', payload, param, { isErrorThrowing: true });
138
138
  }
139
+ async getPriceCompareAffiliatePInfosForAdmin(payload, param) {
140
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin', payload, param, { isErrorThrowing: true });
141
+ }
142
+ async getPriceCompareAffiliatePInfosForAdminExcel(payload, param) {
143
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
144
+ }
145
+ async updatePriceCompareAffiliateSettleStatus(payload, param) {
146
+ return this.amqpManager.call('가격비교 제휴 유입 결제건 정산 상태 변경', 'purchased-info.update.price-compare-affiliate-settle-status', payload, param, { isErrorThrowing: true });
147
+ }
139
148
  async extendWaitingReceiveByChannelTalkSlackWebhook(
140
149
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
141
150
  payload, param) {
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult } from '../../dto/purchased-info.modules/purchased-info-admin';
3
+ import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload } from '../../dto/purchased-info.modules/purchased-info-admin';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -24,4 +24,6 @@ export declare class AmqpPurchasedInfoAdminService {
24
24
  deleteSplitInvoiceForAdmin(payload: DeleteSplitInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
25
25
  transferPInfoSeller(payload: TransferPInfoSellerPayload, param: AbstractParam): Promise<void>;
26
26
  getPInfosByYgType(payload: GetPInfosByYgTypePayload, param: AbstractParam): Promise<GetPInfosByYgTypeResult>;
27
+ getCrawlerProxyOrderListForAdmin(payload: GetCrawlerProxyOrderListForAdminPayload, param: AbstractParam): Promise<GetCrawlerProxyOrderListForAdminResult>;
28
+ updateCrawlerProxyOrderInfoForAdmin(payload: UpdateCrawlerProxyOrderInfoForAdminPayload, param: AbstractParam): Promise<void>;
27
29
  }
@@ -78,6 +78,12 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
78
78
  async getPInfosByYgType(payload, param) {
79
79
  return this.amqpManager.call('yg_type/yg_method 기반 결제정보 조회 (관리자)', 'purchased-info-admin.get.p-infos-by-yg-type', payload, param, { isErrorThrowing: true });
80
80
  }
81
+ async getCrawlerProxyOrderListForAdmin(payload, param) {
82
+ return this.amqpManager.call('관리자용 크롤러 대신 주문 목록 조회', 'purchased-info-admin.get.crawler-proxy-order-list', payload, param, { isErrorThrowing: true });
83
+ }
84
+ async updateCrawlerProxyOrderInfoForAdmin(payload, param) {
85
+ return this.amqpManager.call('관리자용 크롤러 대신 주문 정보 수정', 'purchased-info-admin.update.crawler-proxy-order-info', payload, param, { isErrorThrowing: true });
86
+ }
81
87
  };
82
88
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
83
89
  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.164",
3
+ "version": "0.7.165",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -21,8 +21,8 @@
21
21
  "@yolo-croket-dev/core": "^1.9.3",
22
22
  "@yolo-croket-dev/domain": "0.2.38",
23
23
  "@yolo-croket-dev/dto-v2": "^0.2.15",
24
- "@yolo-croket-dev/entity": "0.2.74",
25
- "@yolo-croket-dev/entity-v2": "0.2.155",
24
+ "@yolo-croket-dev/entity": "0.2.83",
25
+ "@yolo-croket-dev/entity-v2": "0.2.158",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -28,3 +28,4 @@ export * from './search-regular-price-items-for-admin.dto';
28
28
  export * from './search-secret-items-for-admin.dto';
29
29
  export * from './get-cro-care-store-item-info.dto';
30
30
  export * from './get-meta-product-feed-sync-status-by-item-ids.dto';
31
+ export * from './search-store-items-for-enuri-summary-ep.dto';
@@ -44,3 +44,4 @@ __exportStar(require("./search-regular-price-items-for-admin.dto"), exports);
44
44
  __exportStar(require("./search-secret-items-for-admin.dto"), exports);
45
45
  __exportStar(require("./get-cro-care-store-item-info.dto"), exports);
46
46
  __exportStar(require("./get-meta-product-feed-sync-status-by-item-ids.dto"), exports);
47
+ __exportStar(require("./search-store-items-for-enuri-summary-ep.dto"), exports);
@@ -0,0 +1,37 @@
1
+ import { StoreItem } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
2
+ export type EnuriSummaryClass = 'I' | 'U' | 'D';
3
+ export declare class SearchStoreItemsForEnuriSummaryEpPayload {
4
+ /** @description 마지막 전체 EP 생성 시각 */
5
+ from: Date;
6
+ /** @description 요약 EP 생성 시각 */
7
+ to: Date;
8
+ /** @description 한 번에 조회할 상품 수 */
9
+ limit?: number;
10
+ /** @description 다음 페이지 조회를 위한 마지막 상품 ObjectId */
11
+ lastId?: string;
12
+ }
13
+ export interface SearchStoreItemsForEnuriSummaryEpNaverFeed {
14
+ itemId: string;
15
+ isShow: boolean;
16
+ nvMid?: string;
17
+ brand?: string;
18
+ maker?: string;
19
+ shippingOrigin?: string;
20
+ condition?: string;
21
+ naverCategory?: string;
22
+ customItemName?: string;
23
+ editEventWords?: string;
24
+ }
25
+ export interface SearchStoreItemsForEnuriSummaryEpItem extends Pick<StoreItem, '_id' | 'regDate' | 'lastModifyDate' | 'isSelling' | 'isDelete' | 'remainCount' | 'sellingInfo' | 'reservationInfo' | 'sortInfo' | 'itemImg' | 'optionInfo' | 'sellerId' | 'nation' | 'storeId' | 'itemName' | 'itemPrice' | 'itemPriceForBuyer' | 'mainCategory' | 'subCategory' | 'itemNameKeyForNaver' | 'adultItemInfo' | 'contents' | 'selectionInfos' | 'brandInfo' | 'isSecret' | 'isSabang' | 'regularPrice' | 'isNaverEnabled' | 'integrationSortInfo'> {
26
+ store?: {
27
+ _id: string;
28
+ avgRating: number;
29
+ };
30
+ naverFeed: SearchStoreItemsForEnuriSummaryEpNaverFeed;
31
+ enuriSummaryClass: EnuriSummaryClass;
32
+ enuriSummaryUpdatedAt: Date;
33
+ }
34
+ export declare class SearchStoreItemsForEnuriSummaryEpResult {
35
+ storeItems: SearchStoreItemsForEnuriSummaryEpItem[];
36
+ lastId?: string;
37
+ }
@@ -0,0 +1,41 @@
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.SearchStoreItemsForEnuriSummaryEpResult = exports.SearchStoreItemsForEnuriSummaryEpPayload = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class SearchStoreItemsForEnuriSummaryEpPayload {
16
+ }
17
+ exports.SearchStoreItemsForEnuriSummaryEpPayload = SearchStoreItemsForEnuriSummaryEpPayload;
18
+ __decorate([
19
+ (0, class_transformer_1.Type)(() => Date),
20
+ (0, class_validator_1.IsDate)(),
21
+ __metadata("design:type", Date)
22
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "from", void 0);
23
+ __decorate([
24
+ (0, class_transformer_1.Type)(() => Date),
25
+ (0, class_validator_1.IsDate)(),
26
+ __metadata("design:type", Date)
27
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "to", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.Min)(1),
31
+ (0, class_validator_1.Max)(10000),
32
+ __metadata("design:type", Number)
33
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "limit", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsString)(),
37
+ __metadata("design:type", String)
38
+ ], SearchStoreItemsForEnuriSummaryEpPayload.prototype, "lastId", void 0);
39
+ class SearchStoreItemsForEnuriSummaryEpResult {
40
+ }
41
+ exports.SearchStoreItemsForEnuriSummaryEpResult = SearchStoreItemsForEnuriSummaryEpResult;
@@ -1,3 +1,6 @@
1
1
  export declare class GetBlackFridayLiveTabFilterPayload {
2
2
  blackFridayLiveTabId: string;
3
3
  }
4
+ export interface GetBlackFridayLiveTabFilterResult {
5
+ mainCategories: string[];
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { WeeklyMegaDealCouponHotDealItemData } from '../../../weekly-mega-deal';
2
2
  export declare class GetBlackFridayLiveTabInfoPayload {
3
3
  blackFridayLiveTabId: string;
4
+ mainCategory?: string;
4
5
  }
5
6
  export interface GetBlackFridayLiveTabInfoResult {
6
7
  bannerImgUrl?: string;
@@ -18,3 +18,8 @@ __decorate([
18
18
  (0, class_validator_1.IsMongoId)(),
19
19
  __metadata("design:type", String)
20
20
  ], GetBlackFridayLiveTabInfoPayload.prototype, "blackFridayLiveTabId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", String)
25
+ ], GetBlackFridayLiveTabInfoPayload.prototype, "mainCategory", void 0);
@@ -1,2 +1,2 @@
1
- export * from './get-black-friday-live-tab-filter.dto';
2
1
  export * from './get-black-friday-live-tab-info.dto';
2
+ export * from './get-black-friday-live-tab-filter.dto';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./get-black-friday-live-tab-filter.dto"), exports);
18
17
  __exportStar(require("./get-black-friday-live-tab-info.dto"), exports);
18
+ __exportStar(require("./get-black-friday-live-tab-filter.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, 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, 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, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, 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, 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, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -69,6 +69,7 @@ export declare class AmqpStoreItemService {
69
69
  updateNaverEnabledBulk(payload: UpdateNaverEnabledBulkPayload, param: AbstractParam): Promise<void>;
70
70
  getCroCareStoreItemInfo(payload: GetCroCareStoreItemInfoPayload, param: AbstractParam): Promise<GetCroCareStoreItemInfoResult>;
71
71
  getStoreItemsForProductFeed(payload: GetStoreItemsForProductFeedPayload, param: AbstractParam): Promise<GetStoreItemsForProductFeedResult>;
72
+ searchStoreItemsForEnuriSummaryEp(payload: SearchStoreItemsForEnuriSummaryEpPayload, param: AbstractParam): Promise<SearchStoreItemsForEnuriSummaryEpResult>;
72
73
  getMetaLabelStoreItemIds(param: AbstractParam): Promise<string[]>;
73
74
  getMetaProductFeedSyncStatusByItemIds(payload: GetMetaProductFeedSyncStatusByItemIdsPayload, param: AbstractParam): Promise<GetMetaProductFeedSyncStatusByItemIdsResult>;
74
75
  updateItemKeywordsBulk(payload: UpdateItemKeywordsBulkPayload, param: AbstractParam): Promise<UpdateItemKeywordsBulkResult>;
@@ -207,6 +207,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
207
207
  async getStoreItemsForProductFeed(payload, param) {
208
208
  return this.amqpManager.call('광고 플랫폼(메타, 구글) 연동용 상품 목록 조회', 'store-item.get.store-items-for-product-feed', payload, param, { isErrorThrowing: true });
209
209
  }
210
+ async searchStoreItemsForEnuriSummaryEp(payload, param) {
211
+ return this.amqpManager.call('에누리 요약 EP 변경 상품 조회', 'store-item.search.store-items-for-enuri-summary-ep', payload, param, { isErrorThrowing: true });
212
+ }
210
213
  async getMetaLabelStoreItemIds(param) {
211
214
  return this.amqpManager.call('메타 라벨 상품 아이디 조회', 'store-item.get.meta-label-item-ids', {}, param, { isErrorThrowing: true });
212
215
  }
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabFilterPayload, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload } from '../../dto';
3
+ import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload, GetBlackFridayLiveTabFilterPayload, GetBlackFridayLiveTabFilterResult } from '../../dto';
4
4
  export declare class AmqpMainBlackFridayService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -9,7 +9,7 @@ export declare class AmqpMainBlackFridayService {
9
9
  getBlackFridayCouponItemTabFilter(payload: GetBlackFridayCouponItemTabFilterPayload, param: AbstractParam): Promise<GetBlackFridayCouponItemTabFilterResult>;
10
10
  getStoreItemsByCouponItemTab(payload: GetStoreItemsByCouponItemTabPayload, param: AbstractParam): Promise<GetStoreItemsByCouponItemTabResult>;
11
11
  updateBlackFridayLiveTab(payload: void, param: AbstractParam): Promise<string>;
12
- getBlackFridayLiveTabFilter(payload: GetBlackFridayLiveTabFilterPayload, param: AbstractParam): Promise<string[]>;
12
+ getBlackFridayLiveTabFilter(payload: GetBlackFridayLiveTabFilterPayload, param: AbstractParam): Promise<GetBlackFridayLiveTabFilterResult>;
13
13
  getBlackFridayLiveTabInfo(payload: GetBlackFridayLiveTabInfoPayload, param: AbstractParam): Promise<GetBlackFridayLiveTabInfoResult>;
14
14
  updateBlackFridayThisWeekHotDealTab(payload: void, param: AbstractParam): Promise<string>;
15
15
  getBlackFridayThisWeekHotDealTabLiveDeals(payload: GetBlackFridayThisWeekHotDealTabLiveDealsPayload, param: AbstractParam): Promise<GetBlackFridayThisWeekHotDealTabLiveDealsResult>;
@@ -4,7 +4,7 @@ import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
4
4
  import { StoreEntity } from '@yolo-croket-dev/entity-v2';
5
5
  import { BindCartsForWritePay } from '@yolo-croket-dev/entity/src/pay-try-log';
6
6
  type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
7
- type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'option'> & {
7
+ type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'option' | 'crawling'> & {
8
8
  _seller: SearchedUserForWritePay;
9
9
  };
10
10
  type SearchedStoreForWritePay = Pick<StoreEntity, '_id' | 'storeTitle' | 'storeImg'>;
@@ -40,6 +40,7 @@ export declare const SearchedStoreItemForWritePaySelect: {
40
40
  isDelete: number;
41
41
  brandInfo: number;
42
42
  option: number;
43
+ crawling: number;
43
44
  };
44
45
  export declare const SearchedStoreForWritePaySelect: {
45
46
  _id: number;
@@ -39,6 +39,7 @@ exports.SearchedStoreItemForWritePaySelect = {
39
39
  isDelete: 1,
40
40
  brandInfo: 1,
41
41
  option: 1,
42
+ crawling: 1,
42
43
  };
43
44
  exports.SearchedStoreForWritePaySelect = {
44
45
  _id: 1,
@@ -18,9 +18,5 @@ export declare class CreateUserShippingAddressPayload implements Omit<UserShippi
18
18
  PCCC?: string;
19
19
  /** 별칭 */
20
20
  alias?: string;
21
- /** 기본 배송지 여부 */
22
- isDefault?: boolean;
23
- /** true이면 신규 생성, false/미전송이면 기본배송지 UPDATE */
24
- createNew?: boolean;
25
21
  }
26
22
  export type CreateUserShippingAddressResult = UserShippingAddressesEntity;
@@ -54,13 +54,3 @@ __decorate([
54
54
  (0, class_validator_1.IsOptional)(),
55
55
  __metadata("design:type", String)
56
56
  ], CreateUserShippingAddressPayload.prototype, "alias", void 0);
57
- __decorate([
58
- (0, class_validator_1.IsBoolean)(),
59
- (0, class_validator_1.IsOptional)(),
60
- __metadata("design:type", Boolean)
61
- ], CreateUserShippingAddressPayload.prototype, "isDefault", void 0);
62
- __decorate([
63
- (0, class_validator_1.IsBoolean)(),
64
- (0, class_validator_1.IsOptional)(),
65
- __metadata("design:type", Boolean)
66
- ], CreateUserShippingAddressPayload.prototype, "createNew", void 0);
@@ -1,3 +1,2 @@
1
1
  export * from './create-user-shipping-address.dto';
2
2
  export * from './update-user-shipping-address.dto';
3
- export * from './delete-user-shipping-address.dto';
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-user-shipping-address.dto"), exports);
18
18
  __exportStar(require("./update-user-shipping-address.dto"), exports);
19
- __exportStar(require("./delete-user-shipping-address.dto"), exports);
@@ -20,7 +20,5 @@ export declare class UpdateUserShippingAddressPayload implements Omit<UserShippi
20
20
  PCCC?: string;
21
21
  /** 별칭 */
22
22
  alias?: string;
23
- /** 기본 배송지 여부 */
24
- isDefault?: boolean;
25
23
  }
26
24
  export type UpdateUserShippingAddressResult = UserShippingAddressesEntity;
@@ -58,8 +58,3 @@ __decorate([
58
58
  (0, class_validator_1.IsOptional)(),
59
59
  __metadata("design:type", String)
60
60
  ], UpdateUserShippingAddressPayload.prototype, "alias", void 0);
61
- __decorate([
62
- (0, class_validator_1.IsBoolean)(),
63
- (0, class_validator_1.IsOptional)(),
64
- __metadata("design:type", Boolean)
65
- ], UpdateUserShippingAddressPayload.prototype, "isDefault", void 0);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
3
- import { CreateUserShippingAddressPayload, CreateUserShippingAddressResult, DeleteUserShippingAddressPayload, DeleteUserShippingAddressResult, UpdateUserShippingAddressPayload, UpdateUserShippingAddressResult } from '../../dto/user.modules/shipping-address/command';
3
+ import { CreateUserShippingAddressPayload, CreateUserShippingAddressResult, UpdateUserShippingAddressPayload, UpdateUserShippingAddressResult } from '../../dto/user.modules/shipping-address/command';
4
4
  import { CheckPcccDeferralEligibilityResult, GetUserShippingAddressPayload, GetUserShippingAddressResult } from '../../dto/user.modules/shipping-address/query';
5
5
  export declare class AmqpUserShippingAddressService {
6
6
  private readonly client;
@@ -12,8 +12,6 @@ export declare class AmqpUserShippingAddressService {
12
12
  updateUserShippingAddress(payload: UpdateUserShippingAddressPayload, param: AbstractParam): Promise<UpdateUserShippingAddressResult>;
13
13
  /** 유저 배송지 정보 조회 */
14
14
  getUserShippingAddress(payload: GetUserShippingAddressPayload, param: AbstractParam): Promise<GetUserShippingAddressResult>;
15
- /** 유저 배송지 정보 삭제 */
16
- deleteUserShippingAddress(payload: DeleteUserShippingAddressPayload, param: AbstractParam): Promise<DeleteUserShippingAddressResult>;
17
15
  /** 개인통관고유부호번호 나중에 받기 노출 여부 반환 */
18
16
  checkPcccDeferralEligibility(param: AbstractParam): Promise<CheckPcccDeferralEligibilityResult>;
19
17
  }
@@ -33,10 +33,6 @@ let AmqpUserShippingAddressService = class AmqpUserShippingAddressService {
33
33
  async getUserShippingAddress(payload, param) {
34
34
  return this.amqpManager.call('유저 배송지 정보 조회', 'user.shipping-address.get', payload, param, { isErrorThrowing: true });
35
35
  }
36
- /** 유저 배송지 정보 삭제 */
37
- async deleteUserShippingAddress(payload, param) {
38
- return this.amqpManager.call('유저 배송지 정보 삭제', 'user.shipping-address.delete', payload, param, { isErrorThrowing: true });
39
- }
40
36
  /** 개인통관고유부호번호 나중에 받기 노출 여부 반환 */
41
37
  async checkPcccDeferralEligibility(param) {
42
38
  return this.amqpManager.call('개인통관고유부호번호 나중에 받기 노출 여부 반환', 'user.shipping-address.check-pccc-deferral-eligibility', {}, param, { isErrorThrowing: true });
@@ -1,7 +0,0 @@
1
- export declare class DeleteUserShippingAddressPayload {
2
- /** 유저 배송지 아이디 */
3
- _id: string;
4
- }
5
- export type DeleteUserShippingAddressResult = {
6
- _id: string;
7
- };
@@ -1,20 +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.DeleteUserShippingAddressPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class DeleteUserShippingAddressPayload {
15
- }
16
- exports.DeleteUserShippingAddressPayload = DeleteUserShippingAddressPayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], DeleteUserShippingAddressPayload.prototype, "_id", void 0);