@yolo-croket-dev/amqp-access 0.7.318 → 0.7.320-beta.1

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 (20) hide show
  1. package/notification-service/services/amqp.notification-bulk-send.service.d.ts +0 -4
  2. package/notification-service/services/amqp.notification-bulk-send.service.js +0 -6
  3. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +1 -0
  4. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +1 -0
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/sync-shipping-forwarder-application.dto.d.ts +19 -0
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/sync-shipping-forwarder-application.dto.js +70 -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/purchased-info.modules/purchased-info-admin/query/lookup-shipping-forwarder-applications.dto.d.ts +15 -0
  10. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/lookup-shipping-forwarder-applications.dto.js +36 -0
  11. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +3 -1
  12. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +6 -0
  13. package/package.json +3 -3
  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-seller-owned-store-item-by-id.dto.d.ts +9 -0
  16. package/store-item-server/dto/store-item/query/get-seller-owned-store-item-by-id.dto.js +23 -0
  17. package/store-item-server/dto/store-item/query/index.d.ts +1 -0
  18. package/store-item-server/dto/store-item/query/index.js +1 -0
  19. package/store-item-server/services/amqp.store-item.service.d.ts +2 -1
  20. package/store-item-server/services/amqp.store-item.service.js +3 -0
@@ -1,13 +1,9 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { SendExpiredIssuedReceiptCouponPayload } from '../dto/notification-bulk-send/command/send-expired-issued-receipt-coupon.dto';
4
- import { SendExpiredIssuedCouponPayload } from '../dto/notification-bulk-send/command/send-expired-issued-coupon.dto';
5
3
  import { SendDailyRandomCouponOpenPayload } from '../dto/notification-bulk-send/command/send-daily-random-coupon-open.dto';
6
4
  export declare class AmqpNotificationBulkSendService {
7
5
  private readonly client;
8
6
  private readonly amqpManager;
9
7
  constructor(client: ClientProxy);
10
- sendExpiredIssuedReceiptCouponOnlyPublish(payload: SendExpiredIssuedReceiptCouponPayload, param: AbstractParam): Promise<boolean>;
11
- sendExpiredIssuedCouponOnlyPublish(payload: SendExpiredIssuedCouponPayload, param: AbstractParam): Promise<boolean>;
12
8
  sendDailyRandomCouponOpen(payload: SendDailyRandomCouponOpenPayload, param: AbstractParam): Promise<boolean>;
13
9
  }
@@ -21,12 +21,6 @@ let AmqpNotificationBulkSendService = class AmqpNotificationBulkSendService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
- async sendExpiredIssuedReceiptCouponOnlyPublish(payload, param) {
25
- return this.amqpManager.onlyPublish('만료 발급 쿠폰 알림 대량 보내기', 'notification-bulk-send.send.expired-issued-receipt-coupon', payload, param, { isInternal: true });
26
- }
27
- async sendExpiredIssuedCouponOnlyPublish(payload, param) {
28
- return this.amqpManager.onlyPublish('만료 발급 쿠폰 알림 대량 보내기', 'notification-bulk-send.send.expired-issued-coupon', payload, param, { isInternal: true });
29
- }
30
24
  async sendDailyRandomCouponOpen(payload, param) {
31
25
  return this.amqpManager.onlyPublish('데일리 랜덤 쿠폰 알림 오픈 가능 대량 보내기', 'notification-bulk-send.send.daily-random-coupon-open', payload, param, { isInternal: true });
32
26
  }
@@ -26,3 +26,4 @@ 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
28
  export * from './register-shipping-forwarder-domestic-invoice.dto';
29
+ export * from './sync-shipping-forwarder-application.dto';
@@ -42,3 +42,4 @@ __exportStar(require("./request-crawler-proxy-order-payment-for-admin.dto"), exp
42
42
  __exportStar(require("./update-price-compare-affiliate-settle-status.dto"), exports);
43
43
  __exportStar(require("./manage-crawler-forwarding-agent.dto"), exports);
44
44
  __exportStar(require("./register-shipping-forwarder-domestic-invoice.dto"), exports);
45
+ __exportStar(require("./sync-shipping-forwarder-application.dto"), exports);
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @author jun
3
+ * @description 신청서 상세 대조 후 신청번호와 국내 송장을 함께 저장합니다.
4
+ * @process 계정/주문/상품 검증 → 조건부 갱신 → 동일 결과의 재시도 허용
5
+ */
6
+ export declare class SyncShippingForwarderApplicationPayload {
7
+ pInfoId: string;
8
+ applicationJobId: string;
9
+ shippingForwarderId: string;
10
+ providerApplicationId: string;
11
+ orderNumber: string;
12
+ trackingNumber: string;
13
+ productName: string;
14
+ quantity: number;
15
+ invoice: string;
16
+ }
17
+ export declare class SyncShippingForwarderApplicationResult {
18
+ status: 'SYNCED' | 'ALREADY_SYNCED';
19
+ }
@@ -0,0 +1,70 @@
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.SyncShippingForwarderApplicationResult = exports.SyncShippingForwarderApplicationPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author jun
16
+ * @description 신청서 상세 대조 후 신청번호와 국내 송장을 함께 저장합니다.
17
+ * @process 계정/주문/상품 검증 → 조건부 갱신 → 동일 결과의 재시도 허용
18
+ */
19
+ class SyncShippingForwarderApplicationPayload {
20
+ }
21
+ exports.SyncShippingForwarderApplicationPayload = SyncShippingForwarderApplicationPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], SyncShippingForwarderApplicationPayload.prototype, "pInfoId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsUUID)(),
28
+ __metadata("design:type", String)
29
+ ], SyncShippingForwarderApplicationPayload.prototype, "applicationJobId", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsMongoId)(),
32
+ __metadata("design:type", String)
33
+ ], SyncShippingForwarderApplicationPayload.prototype, "shippingForwarderId", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.Matches)(/^[A-Z]{2}\d{8}$/),
37
+ __metadata("design:type", String)
38
+ ], SyncShippingForwarderApplicationPayload.prototype, "providerApplicationId", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsString)(),
41
+ (0, class_validator_1.Matches)(/^C[A-Z0-9]+$/),
42
+ (0, class_validator_1.MaxLength)(100),
43
+ __metadata("design:type", String)
44
+ ], SyncShippingForwarderApplicationPayload.prototype, "orderNumber", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsString)(),
47
+ (0, class_validator_1.IsNotEmpty)(),
48
+ (0, class_validator_1.MaxLength)(200),
49
+ __metadata("design:type", String)
50
+ ], SyncShippingForwarderApplicationPayload.prototype, "trackingNumber", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ (0, class_validator_1.MaxLength)(1000),
55
+ __metadata("design:type", String)
56
+ ], SyncShippingForwarderApplicationPayload.prototype, "productName", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsInt)(),
59
+ (0, class_validator_1.Min)(1),
60
+ (0, class_validator_1.Max)(10000),
61
+ __metadata("design:type", Number)
62
+ ], SyncShippingForwarderApplicationPayload.prototype, "quantity", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.Matches)(/^\d{13}$/),
66
+ __metadata("design:type", String)
67
+ ], SyncShippingForwarderApplicationPayload.prototype, "invoice", void 0);
68
+ class SyncShippingForwarderApplicationResult {
69
+ }
70
+ exports.SyncShippingForwarderApplicationResult = SyncShippingForwarderApplicationResult;
@@ -10,3 +10,4 @@ export * from './get-price-compare-affiliate-p-infos-for-admin.dto';
10
10
  export * from './get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto';
11
11
  export * from './get-crawler-forwarding-agents-for-admin.dto';
12
12
  export * from './get-shipping-forwarder-application-snapshot.dto';
13
+ export * from './lookup-shipping-forwarder-applications.dto';
@@ -26,3 +26,4 @@ __exportStar(require("./get-price-compare-affiliate-p-infos-for-admin.dto"), exp
26
26
  __exportStar(require("./get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto"), exports);
27
27
  __exportStar(require("./get-crawler-forwarding-agents-for-admin.dto"), exports);
28
28
  __exportStar(require("./get-shipping-forwarder-application-snapshot.dto"), exports);
29
+ __exportStar(require("./lookup-shipping-forwarder-applications.dto"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @author jun
3
+ * @description 배대지 계정에 이미 저장된 신청번호를 최대 100개씩 대조합니다.
4
+ * @process 계정 범위 조회 → 완료/미완료/중복 상태 반환
5
+ */
6
+ export declare class LookupShippingForwarderApplicationsPayload {
7
+ shippingForwarderId: string;
8
+ providerApplicationIds: string[];
9
+ }
10
+ export declare class LookupShippingForwarderApplicationsResult {
11
+ applications: {
12
+ providerApplicationId: string;
13
+ status: 'COMPLETE' | 'INCOMPLETE' | 'UNKNOWN' | 'CONFLICT';
14
+ }[];
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.LookupShippingForwarderApplicationsResult = exports.LookupShippingForwarderApplicationsPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @author jun
16
+ * @description 배대지 계정에 이미 저장된 신청번호를 최대 100개씩 대조합니다.
17
+ * @process 계정 범위 조회 → 완료/미완료/중복 상태 반환
18
+ */
19
+ class LookupShippingForwarderApplicationsPayload {
20
+ }
21
+ exports.LookupShippingForwarderApplicationsPayload = LookupShippingForwarderApplicationsPayload;
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], LookupShippingForwarderApplicationsPayload.prototype, "shippingForwarderId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsArray)(),
28
+ (0, class_validator_1.ArrayMaxSize)(100),
29
+ (0, class_validator_1.ArrayUnique)(),
30
+ (0, class_validator_1.IsString)({ each: true }),
31
+ (0, class_validator_1.Matches)(/^[A-Z]{2}\d{8}$/, { each: true }),
32
+ __metadata("design:type", Array)
33
+ ], LookupShippingForwarderApplicationsPayload.prototype, "providerApplicationIds", void 0);
34
+ class LookupShippingForwarderApplicationsResult {
35
+ }
36
+ exports.LookupShippingForwarderApplicationsResult = LookupShippingForwarderApplicationsResult;
@@ -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, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload, 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, 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';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -46,6 +46,8 @@ export declare class AmqpPurchasedInfoAdminService {
46
46
  retryAdditionalPaymentTransferByAdmin(payload: RetryAdditionalPaymentTransferByAdminPayload, param: AbstractParam): Promise<CompleteAdditionalPaymentTransferResult>;
47
47
  getPInfosByYgType(payload: GetPInfosByYgTypePayload, param: AbstractParam): Promise<GetPInfosByYgTypeResult>;
48
48
  getCrawlerProxyOrderListForAdmin(payload: GetCrawlerProxyOrderListForAdminPayload, param: AbstractParam): Promise<GetCrawlerProxyOrderListForAdminResult>;
49
+ lookupShippingForwarderApplications(payload: LookupShippingForwarderApplicationsPayload, param: AbstractParam): Promise<LookupShippingForwarderApplicationsResult>;
50
+ syncShippingForwarderApplication(payload: SyncShippingForwarderApplicationPayload, param: AbstractParam): Promise<SyncShippingForwarderApplicationResult>;
49
51
  getShippingForwarderApplicationSnapshot(payload: GetShippingForwarderApplicationSnapshotPayload, param: AbstractParam): Promise<GetShippingForwarderApplicationSnapshotResult>;
50
52
  registerShippingForwarderDomesticInvoice(payload: RegisterShippingForwarderDomesticInvoicePayload, param: AbstractParam): Promise<RegisterShippingForwarderDomesticInvoiceResult>;
51
53
  updateCrawlerProxyOrderInfoForAdmin(payload: UpdateCrawlerProxyOrderInfoForAdminPayload, param: AbstractParam): Promise<void>;
@@ -119,6 +119,12 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
119
119
  async getCrawlerProxyOrderListForAdmin(payload, param) {
120
120
  return this.amqpManager.call('관리자용 크롤러 대신 주문 목록 조회', 'purchased-info-admin.get.crawler-proxy-order-list', payload, param, { isErrorThrowing: true });
121
121
  }
122
+ async lookupShippingForwarderApplications(payload, param) {
123
+ return this.amqpManager.call('배대지 신청번호 일괄 대조', 'purchased-info-admin.lookup.shipping-forwarder-applications', payload, param, { isErrorThrowing: true });
124
+ }
125
+ async syncShippingForwarderApplication(payload, param) {
126
+ return this.amqpManager.call('배대지 신청번호와 국내 송장 동기화', 'purchased-info-admin.sync.shipping-forwarder-application', payload, param, { isErrorThrowing: true });
127
+ }
122
128
  async getShippingForwarderApplicationSnapshot(payload, param) {
123
129
  return this.amqpManager.call('Shipping Forwarder 신청 snapshot 조회', 'purchased-info-admin.get.shipping-forwarder-application-snapshot', payload, param, { isErrorThrowing: true });
124
130
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.318",
3
+ "version": "0.7.320-beta.1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
- "description": "크로켓 amqp-access npm",
6
+ "description": "\ud06c\ub85c\ucf13 amqp-access npm",
7
7
  "keywords": [
8
8
  "croket"
9
9
  ],
@@ -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/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "PInfoId" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "transactionInfo" | "bizMemo" | "subtractionSettleAmountInfo" | "settlementManagerInfo" | "googleSheetInfo" | "actualSettleDateString" | "financeMemo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -0,0 +1,9 @@
1
+ export declare class GetSellerOwnedStoreItemByIdPayload {
2
+ /** 상품 아이디 */
3
+ itemId: string;
4
+ }
5
+ export declare class GetSellerOwnedStoreItemByIdResult {
6
+ itemId: string;
7
+ itemName: string;
8
+ storeId: string;
9
+ }
@@ -0,0 +1,23 @@
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.GetSellerOwnedStoreItemByIdResult = exports.GetSellerOwnedStoreItemByIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetSellerOwnedStoreItemByIdPayload {
15
+ }
16
+ exports.GetSellerOwnedStoreItemByIdPayload = GetSellerOwnedStoreItemByIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetSellerOwnedStoreItemByIdPayload.prototype, "itemId", void 0);
21
+ class GetSellerOwnedStoreItemByIdResult {
22
+ }
23
+ exports.GetSellerOwnedStoreItemByIdResult = GetSellerOwnedStoreItemByIdResult;
@@ -7,6 +7,7 @@ export * from './atlas-search';
7
7
  export * from './get-store-item-info-by-id.dto';
8
8
  export * from './get-selling-item-ids-by-theme-id.dto';
9
9
  export * from './search-store-item-name-by-id.dto';
10
+ export * from './get-seller-owned-store-item-by-id.dto';
10
11
  export * from './atlas-search';
11
12
  export * from './get-selling-item-ids-by-catagory.dto';
12
13
  export * from './get-store-items-for-update-brand.dto';
@@ -23,6 +23,7 @@ __exportStar(require("./atlas-search"), exports);
23
23
  __exportStar(require("./get-store-item-info-by-id.dto"), exports);
24
24
  __exportStar(require("./get-selling-item-ids-by-theme-id.dto"), exports);
25
25
  __exportStar(require("./search-store-item-name-by-id.dto"), exports);
26
+ __exportStar(require("./get-seller-owned-store-item-by-id.dto"), exports);
26
27
  __exportStar(require("./atlas-search"), exports);
27
28
  __exportStar(require("./get-selling-item-ids-by-catagory.dto"), exports);
28
29
  __exportStar(require("./get-store-items-for-update-brand.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, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, 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, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -50,6 +50,7 @@ export declare class AmqpStoreItemService {
50
50
  getStoreItemsForEs(payload: GetStoreItemsForESPayload, param: AbstractParam): Promise<GetStoreItemsForESResult>;
51
51
  getStoreItemInfoById(payload: GetStoreItemInfoByIdPayload, param: AbstractParam): Promise<GetStoreItemInfoByIdResult>;
52
52
  searchStoreItemNameById(payload: SearchStoreItemNameByIdPayload, param: AbstractParam): Promise<SearchStoreItemNameByIdResult>;
53
+ getSellerOwnedStoreItemById(payload: GetSellerOwnedStoreItemByIdPayload, param: AbstractParam): Promise<GetSellerOwnedStoreItemByIdResult>;
53
54
  migrationStoreItemBrandInfo(param: AbstractParam): Promise<void>;
54
55
  processSoldNumsLastNDays(param: AbstractParam): Promise<void>;
55
56
  processBookNumsLastNDays(param: AbstractParam): Promise<void>;
@@ -106,6 +106,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
106
106
  async searchStoreItemNameById(payload, param) {
107
107
  return this.amqpManager.call('상품 이름 조회', 'store-item.get.item-name-by-id', payload, param, { isErrorThrowing: true });
108
108
  }
109
+ async getSellerOwnedStoreItemById(payload, param) {
110
+ return this.amqpManager.call('셀러 본인 상품 여부 및 상품명 조회', 'store-item.get.seller-owned-by-id', payload, param, { isErrorThrowing: true });
111
+ }
109
112
  async migrationStoreItemBrandInfo(param) {
110
113
  return this.amqpManager.call('상품 브랜드 정보 마이그레이션', 'store-item.migration.brand-info', {}, param, { isErrorThrowing: true });
111
114
  }