@yolo-croket-dev/amqp-access 0.7.71-sj1 → 0.7.71

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 (51) hide show
  1. package/.claude/settings.local.json +11 -0
  2. package/order-server/amqp.order-server.module.js +0 -2
  3. package/order-server/dto/purchased-info.modules/index.d.ts +0 -1
  4. package/order-server/dto/purchased-info.modules/index.js +0 -1
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +0 -4
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +0 -4
  7. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +0 -1
  8. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +0 -1
  9. package/order-server/dto/purchased-info.modules/purchased-info-reservation/index.d.ts +1 -0
  10. package/order-server/dto/purchased-info.modules/purchased-info-reservation/index.js +1 -0
  11. package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/get-reservation-for-excel-by-admin.dto.d.ts +51 -0
  12. package/order-server/dto/purchased-info.modules/{purchased-info-admin/command/delete-split-invoice-for-admin.dto.js → purchased-info-reservation/query/get-reservation-for-excel-by-admin.dto.js} +17 -7
  13. package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/index.d.ts +1 -0
  14. package/order-server/dto/purchased-info.modules/{purchased-info-split-delivery → purchased-info-reservation/query}/index.js +1 -1
  15. package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.d.ts +0 -3
  16. package/order-server/dto/purchasedinfos/query/atlas/get-p-infos-for-manage-buyer-by-atlas.dto.js +0 -5
  17. package/order-server/dto/purchasedinfos/query/search-seller-transaction-history-by-process.dto.d.ts +1 -7
  18. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +1 -6
  19. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +0 -15
  20. package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.d.ts +3 -1
  21. package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.js +4 -0
  22. package/order-server/services/purchased-info.modules/index.d.ts +0 -1
  23. package/order-server/services/purchased-info.modules/index.js +0 -1
  24. package/package.json +5 -5
  25. package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
  26. package/payment-service/dto/partial-refund/command/create-partial-refund.dto.d.ts +1 -3
  27. package/payment-service/dto/partial-refund/command/create-partial-refund.dto.js +0 -2
  28. package/user-service/dto/redis-db/command/index.d.ts +0 -1
  29. package/user-service/dto/redis-db/command/index.js +0 -1
  30. package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.d.ts +1 -16
  31. package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.js +0 -21
  32. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/delete-invoice-for-admin.dto.d.ts +0 -6
  33. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/delete-invoice-for-admin.dto.js +0 -25
  34. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/delete-split-invoice-for-admin.dto.d.ts +0 -6
  35. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-for-admin.dto.d.ts +0 -24
  36. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-for-admin.dto.js +0 -68
  37. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-split-invoice-for-admin.dto.d.ts +0 -26
  38. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-split-invoice-for-admin.dto.js +0 -72
  39. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-delivery-list-for-admin.dto.d.ts +0 -120
  40. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-delivery-list-for-admin.dto.js +0 -66
  41. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/index.d.ts +0 -2
  42. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/index.js +0 -18
  43. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/register-split-invoice-bulk.dto.d.ts +0 -38
  44. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/register-split-invoice-bulk.dto.js +0 -60
  45. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/upsert-split-invoice.dto.d.ts +0 -28
  46. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/command/upsert-split-invoice.dto.js +0 -71
  47. package/order-server/dto/purchased-info.modules/purchased-info-split-delivery/index.d.ts +0 -1
  48. package/order-server/services/purchased-info.modules/amqp.purchased-info-split-delivery.service.d.ts +0 -12
  49. package/order-server/services/purchased-info.modules/amqp.purchased-info-split-delivery.service.js +0 -43
  50. package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-split-delivery-shipping.dto.d.ts +0 -22
  51. package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-split-delivery-shipping.dto.js +0 -73
@@ -0,0 +1,11 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Read(//Users/jun/Desktop/code/work/monorepo/**)",
5
+ "Bash(npm ls:*)",
6
+ "Bash(cd:*)",
7
+ "WebFetch(domain:developers.nicepay.co.kr)",
8
+ "Bash(npx lerna:*)"
9
+ ]
10
+ }
11
+ }
@@ -40,7 +40,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
40
40
  services_1.AmqpUserCardBillingService,
41
41
  services_1.AmqpPayTryLogReservationService,
42
42
  services_1.AmqpPurchasedInfoReservationService,
43
- services_1.AmqpPurchasedInfoSplitDeliveryService,
44
43
  ],
45
44
  exports: [
46
45
  amqp_order_server_provider_1.OrderServerProvider,
@@ -66,7 +65,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
66
65
  services_1.AmqpUserCardBillingService,
67
66
  services_1.AmqpPayTryLogReservationService,
68
67
  services_1.AmqpPurchasedInfoReservationService,
69
- services_1.AmqpPurchasedInfoSplitDeliveryService,
70
68
  ],
71
69
  })
72
70
  ], AmqpOrderServerModule);
@@ -2,4 +2,3 @@ export * from './purchased-info-admin';
2
2
  export * from './purchased-info-coupon';
3
3
  export * from './purchased-info-sabang';
4
4
  export * from './purchased-info-reservation';
5
- export * from './purchased-info-split-delivery';
@@ -18,4 +18,3 @@ __exportStar(require("./purchased-info-admin"), exports);
18
18
  __exportStar(require("./purchased-info-coupon"), exports);
19
19
  __exportStar(require("./purchased-info-sabang"), exports);
20
20
  __exportStar(require("./purchased-info-reservation"), exports);
21
- __exportStar(require("./purchased-info-split-delivery"), exports);
@@ -7,7 +7,3 @@ export * from './edit-p-info-waiting-receive-info.dto';
7
7
  export * from './edit-p-info-used-coupon.dto';
8
8
  export * from './delete-p-info-used-coupon.dto';
9
9
  export * from './process';
10
- export * from './upsert-invoice-for-admin.dto';
11
- export * from './delete-invoice-for-admin.dto';
12
- export * from './upsert-split-invoice-for-admin.dto';
13
- export * from './delete-split-invoice-for-admin.dto';
@@ -23,7 +23,3 @@ __exportStar(require("./edit-p-info-waiting-receive-info.dto"), exports);
23
23
  __exportStar(require("./edit-p-info-used-coupon.dto"), exports);
24
24
  __exportStar(require("./delete-p-info-used-coupon.dto"), exports);
25
25
  __exportStar(require("./process"), exports);
26
- __exportStar(require("./upsert-invoice-for-admin.dto"), exports);
27
- __exportStar(require("./delete-invoice-for-admin.dto"), exports);
28
- __exportStar(require("./upsert-split-invoice-for-admin.dto"), exports);
29
- __exportStar(require("./delete-split-invoice-for-admin.dto"), exports);
@@ -1,4 +1,3 @@
1
1
  export * from './get-purchased-infos-for-admin.dto';
2
2
  export * from './get-purchased-info-detail-for-admin-edit.dto';
3
3
  export * from './get-purchased-info-logs-for-coupon-info.dto';
4
- export * from './get-delivery-list-for-admin.dto';
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-purchased-infos-for-admin.dto"), exports);
18
18
  __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
- __exportStar(require("./get-delivery-list-for-admin.dto"), exports);
@@ -1 +1,2 @@
1
1
  export * from './command';
2
+ export * from './query';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./command"), exports);
18
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,51 @@
1
+ /**
2
+ * @author jun
3
+ * @description 관리자용 예약 구매 정보 엑셀 조회 Payload
4
+ */
5
+ export declare class GetReservationForExcelByAdminPayload {
6
+ itemId: string;
7
+ page: number;
8
+ limit: number;
9
+ }
10
+ /** @description 예약 구매 정보 엑셀 조회 결과 단건 */
11
+ export interface GetReservationForExcelByAdminResultItem {
12
+ /** 결제ID (purchasedInfo _id) */
13
+ pInfoId: string;
14
+ /** 주문번호 */
15
+ publicId: string;
16
+ /** 구매옵션 */
17
+ optionNames: string[];
18
+ /** 구매수량 */
19
+ purchaseNumber: number;
20
+ /** 구매자명 (user username) */
21
+ buyerUsername: string;
22
+ /** 구매자ID */
23
+ buyerId: string;
24
+ /** 예약 순서 */
25
+ reservationOrder: number;
26
+ /** 예약일 */
27
+ reservedDate: Date;
28
+ /** 취소일시 */
29
+ cancelledDate?: Date;
30
+ /** 취소사유 */
31
+ cancelReason?: string;
32
+ /** 수령인 이름 (buyerInfo.buyerName) */
33
+ receiverName: string;
34
+ /** 수령인 연락처 */
35
+ receiverPhoneNumber?: string;
36
+ /** 개인통관고유부호 */
37
+ PCCC?: string;
38
+ /** 우편번호 */
39
+ postCode: string;
40
+ /** 수령인주소 */
41
+ address: string;
42
+ /** 진행상태 */
43
+ process: string;
44
+ /** 결제여부 */
45
+ isPaid: boolean;
46
+ }
47
+ /** @description 예약 구매 정보 엑셀 조회 결과 */
48
+ export interface GetReservationForExcelByAdminResult {
49
+ list: GetReservationForExcelByAdminResultItem[];
50
+ allCount: number;
51
+ }
@@ -9,16 +9,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DeleteSplitInvoiceForAdminPayload = void 0;
12
+ exports.GetReservationForExcelByAdminPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class DeleteSplitInvoiceForAdminPayload {
14
+ /**
15
+ * @author jun
16
+ * @description 관리자용 예약 구매 정보 엑셀 조회 Payload
17
+ */
18
+ class GetReservationForExcelByAdminPayload {
15
19
  }
16
- exports.DeleteSplitInvoiceForAdminPayload = DeleteSplitInvoiceForAdminPayload;
20
+ exports.GetReservationForExcelByAdminPayload = GetReservationForExcelByAdminPayload;
17
21
  __decorate([
18
22
  (0, class_validator_1.IsMongoId)(),
19
23
  __metadata("design:type", String)
20
- ], DeleteSplitInvoiceForAdminPayload.prototype, "pInfoId", void 0);
24
+ ], GetReservationForExcelByAdminPayload.prototype, "itemId", void 0);
21
25
  __decorate([
22
- (0, class_validator_1.IsMongoId)(),
23
- __metadata("design:type", String)
24
- ], DeleteSplitInvoiceForAdminPayload.prototype, "splitDeliveryDataId", void 0);
26
+ (0, class_validator_1.IsNumber)(),
27
+ (0, class_validator_1.Min)(1),
28
+ __metadata("design:type", Number)
29
+ ], GetReservationForExcelByAdminPayload.prototype, "page", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsNumber)(),
32
+ (0, class_validator_1.Min)(1),
33
+ __metadata("design:type", Number)
34
+ ], GetReservationForExcelByAdminPayload.prototype, "limit", void 0);
@@ -0,0 +1 @@
1
+ export * from './get-reservation-for-excel-by-admin.dto';
@@ -14,4 +14,4 @@ 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("./command"), exports);
17
+ __exportStar(require("./get-reservation-for-excel-by-admin.dto"), exports);
@@ -19,12 +19,9 @@ export declare class GetPInfosForManageBuyerByAtlasPayload {
19
19
  searchBefore?: string;
20
20
  /** 예약 상품 모아보기 필터 여부 */
21
21
  isReservationItem?: boolean;
22
- /** 분할 배송 필터 여부 */
23
- isSplitDelivery?: boolean;
24
22
  }
25
23
  export declare class GetPInfosForManageBuyerByAtlasResult {
26
24
  allCount: number;
27
25
  datas: PurchasedInfoForSeller[];
28
26
  reservationPInfoNums?: number;
29
- splitDeliveryPInfoNums?: number;
30
27
  }
@@ -72,11 +72,6 @@ __decorate([
72
72
  (0, class_validator_1.IsOptional)(),
73
73
  __metadata("design:type", Boolean)
74
74
  ], GetPInfosForManageBuyerByAtlasPayload.prototype, "isReservationItem", void 0);
75
- __decorate([
76
- (0, class_validator_1.IsBoolean)(),
77
- (0, class_validator_1.IsOptional)(),
78
- __metadata("design:type", Boolean)
79
- ], GetPInfosForManageBuyerByAtlasPayload.prototype, "isSplitDelivery", void 0);
80
75
  class GetPInfosForManageBuyerByAtlasResult {
81
76
  }
82
77
  exports.GetPInfosForManageBuyerByAtlasResult = GetPInfosForManageBuyerByAtlasResult;
@@ -1,5 +1,5 @@
1
1
  import { PurchasedProcessEnum } from '@yolo-croket-dev/entity';
2
- import { PurchasedProcessV2Enum, PInfoTypeEnum, SplitDeliveryData } from '@yolo-croket-dev/entity-v2';
2
+ import { PurchasedProcessV2Enum, PInfoTypeEnum } from '@yolo-croket-dev/entity-v2';
3
3
  import { StoreItemKeyword } from '@yolo-croket-dev/dto-v2/user-service';
4
4
  export declare class SearchSellerTransactionHistoryByProcessPayload {
5
5
  /** 시작 날짜 */
@@ -115,12 +115,6 @@ export declare class SellerTransactionHistory {
115
115
  itemKeywords?: StoreItemKeyword[];
116
116
  /** 결제 정보 타입 (예약 상품 구분) */
117
117
  pInfoType?: PInfoTypeEnum;
118
- /** 분할 배송 여부 */
119
- isSplitDelivery?: boolean;
120
- /** 분할 송장 목록 */
121
- splitDeliveryDataList?: SplitDeliveryData[];
122
- /** 남은 출고 수량 */
123
- remainingShipQuantity?: number;
124
118
  }
125
119
  export declare class SearchSellerTransactionHistoryByProcessResult {
126
120
  sellerTransactionHistories: SellerTransactionHistory[];
@@ -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 } 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 } from '../../dto/purchased-info.modules/purchased-info-admin';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -17,9 +17,4 @@ export declare class AmqpPurchasedInfoAdminService {
17
17
  deletePInfoUsedCouponInfo(payload: DeletePInfoUsedCouponInfoPayload, param: AbstractParam): Promise<void>;
18
18
  getPurchasedInfoLogsForCouponInfo(payload: GetPurchasedInfoLogsForCouponInfoPayload, param: AbstractParam): Promise<GetPurchasedInfoLogsForCouponInfoResult>;
19
19
  updateProcessFinishedToCancelled(payload: UpdateProcessFinishedToCancelledPayload, param: AbstractParam): Promise<void>;
20
- getDeliveryListForAdmin(payload: GetDeliveryListForAdminPayload, param: AbstractParam): Promise<GetDeliveryListForAdminResult>;
21
- upsertInvoiceForAdmin(payload: UpsertInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
22
- deleteInvoiceForAdmin(payload: DeleteInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
23
- upsertSplitInvoiceForAdmin(payload: UpsertSplitInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
24
- deleteSplitInvoiceForAdmin(payload: DeleteSplitInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
25
20
  }
@@ -57,21 +57,6 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
57
57
  async updateProcessFinishedToCancelled(payload, param) {
58
58
  return this.amqpManager.call('결제 상세 처리 상태 완료에서 취소로 변경 (관리자)', 'purchased-info-admin.update.process-finished-to-cancelled', payload, param, { isErrorThrowing: true });
59
59
  }
60
- async getDeliveryListForAdmin(payload, param) {
61
- return this.amqpManager.call('관리자용 배송 목록 조회', 'purchased-info-admin.get.delivery-list', payload, param, { isErrorThrowing: true });
62
- }
63
- async upsertInvoiceForAdmin(payload, param) {
64
- return this.amqpManager.call('관리자용 단일 송장 등록/수정', 'purchased-info-admin.upsert.invoice', payload, param, { isErrorThrowing: true });
65
- }
66
- async deleteInvoiceForAdmin(payload, param) {
67
- return this.amqpManager.call('관리자용 단일 송장 삭제', 'purchased-info-admin.delete.invoice', payload, param, { isErrorThrowing: true });
68
- }
69
- async upsertSplitInvoiceForAdmin(payload, param) {
70
- return this.amqpManager.call('관리자용 분할 송장 등록/수정', 'purchased-info-admin.upsert.split-invoice', payload, param, { isErrorThrowing: true });
71
- }
72
- async deleteSplitInvoiceForAdmin(payload, param) {
73
- return this.amqpManager.call('관리자용 분할 송장 삭제', 'purchased-info-admin.delete.split-invoice', payload, param, { isErrorThrowing: true });
74
- }
75
60
  };
76
61
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
77
62
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { ApproveReservationBillingPaymentBulkPayload, ApproveReservationBillingPaymentBulkResult, CancelReservationByBuyerPayload, CancelReservationResult, CancelReservationByAdminPayload, CancelReservationByAdminBulkPayload, CancelReservationByAdminBulkResult, ChangeReservationCardQuotaPayload, ChangeReservationBillingCardPayload, RetryReservationBillingPaymentPayload, RetryReservationBillingPaymentResult } from '../../dto/purchased-info.modules/purchased-info-reservation';
3
+ import { ApproveReservationBillingPaymentBulkPayload, ApproveReservationBillingPaymentBulkResult, CancelReservationByBuyerPayload, CancelReservationResult, CancelReservationByAdminPayload, CancelReservationByAdminBulkPayload, CancelReservationByAdminBulkResult, ChangeReservationCardQuotaPayload, ChangeReservationBillingCardPayload, RetryReservationBillingPaymentPayload, RetryReservationBillingPaymentResult, GetReservationForExcelByAdminPayload, GetReservationForExcelByAdminResult } from '../../dto/purchased-info.modules/purchased-info-reservation';
4
4
  export declare class AmqpPurchasedInfoReservationService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -19,4 +19,6 @@ export declare class AmqpPurchasedInfoReservationService {
19
19
  changeReservationCardQuota(payload: ChangeReservationCardQuotaPayload, param: AbstractParam): Promise<void>;
20
20
  /** 예약 상품 결제 재시도 */
21
21
  retryReservationBillingPayment(payload: RetryReservationBillingPaymentPayload, param: AbstractParam): Promise<RetryReservationBillingPaymentResult>;
22
+ /** 관리자용 예약 구매 정보 엑셀 조회 */
23
+ getReservationForExcelByAdmin(payload: GetReservationForExcelByAdminPayload, param: AbstractParam): Promise<GetReservationForExcelByAdminResult>;
22
24
  }
@@ -54,6 +54,10 @@ let AmqpPurchasedInfoReservationService = class AmqpPurchasedInfoReservationServ
54
54
  async retryReservationBillingPayment(payload, param) {
55
55
  return this.amqpManager.call('예약 상품 결제 재시도', 'purchased-info-reservation.retry.billing-payment', payload, param, { isErrorThrowing: true });
56
56
  }
57
+ /** 관리자용 예약 구매 정보 엑셀 조회 */
58
+ async getReservationForExcelByAdmin(payload, param) {
59
+ return this.amqpManager.call('관리자용 예약 구매 정보 엑셀 조회', 'purchased-info-reservation.get.reservation-for-excel-by-admin', payload, param, { isErrorThrowing: true });
60
+ }
57
61
  };
58
62
  exports.AmqpPurchasedInfoReservationService = AmqpPurchasedInfoReservationService;
59
63
  exports.AmqpPurchasedInfoReservationService = AmqpPurchasedInfoReservationService = __decorate([
@@ -3,4 +3,3 @@ export * from './amqp.purchased-info-analytics-aggregation.service';
3
3
  export * from './amqp.purchased-info-coupon.service';
4
4
  export * from './amqp.purchased-info-sabang.service';
5
5
  export * from './amqp.purchased-info-reservation.service';
6
- export * from './amqp.purchased-info-split-delivery.service';
@@ -19,4 +19,3 @@ __exportStar(require("./amqp.purchased-info-analytics-aggregation.service"), exp
19
19
  __exportStar(require("./amqp.purchased-info-coupon.service"), exports);
20
20
  __exportStar(require("./amqp.purchased-info-sabang.service"), exports);
21
21
  __exportStar(require("./amqp.purchased-info-reservation.service"), exports);
22
- __exportStar(require("./amqp.purchased-info-split-delivery.service"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.71-sj1",
3
+ "version": "0.7.71",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -19,12 +19,12 @@
19
19
  "dependencies": {
20
20
  "@nestjs/common": "^10.3.10",
21
21
  "@yolo-croket-dev/core": "^1.9.3",
22
- "@yolo-croket-dev/domain": "^0.2.29-sj",
22
+ "@yolo-croket-dev/domain": "^0.2.28",
23
23
  "@yolo-croket-dev/dto-v2": "^0.2.15",
24
- "@yolo-croket-dev/entity": "^0.2.68-sj",
25
- "@yolo-croket-dev/entity-v2": "0.2.136-sj",
24
+ "@yolo-croket-dev/entity": "^0.2.67",
25
+ "@yolo-croket-dev/entity-v2": "0.2.132",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -1,6 +1,6 @@
1
1
  import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
2
2
  import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
3
- declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "couponInfo" | "publicId" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -37,7 +37,5 @@ export declare enum CreatePartialRefundErrorTypeEnum {
37
37
  /** @description 반품비가 오버됨 */
38
38
  LIMIT_OVER_RETURN_FEE = "LIMIT_OVER_RETURN_FEE",
39
39
  /** @description 환불사유 기타 누락 */
40
- REFUND_REASON_ETC_EMPTY = "REFUND_REASON_ETC_EMPTY",
41
- /** @description 분할 배송 건은 부분환불 신청 불가 */
42
- SPLIT_DELIVERY_NOT_ALLOWED = "SPLIT_DELIVERY_NOT_ALLOWED"
40
+ REFUND_REASON_ETC_EMPTY = "REFUND_REASON_ETC_EMPTY"
43
41
  }
@@ -99,6 +99,4 @@ var CreatePartialRefundErrorTypeEnum;
99
99
  CreatePartialRefundErrorTypeEnum["LIMIT_OVER_RETURN_FEE"] = "LIMIT_OVER_RETURN_FEE";
100
100
  /** @description 환불사유 기타 누락 */
101
101
  CreatePartialRefundErrorTypeEnum["REFUND_REASON_ETC_EMPTY"] = "REFUND_REASON_ETC_EMPTY";
102
- /** @description 분할 배송 건은 부분환불 신청 불가 */
103
- CreatePartialRefundErrorTypeEnum["SPLIT_DELIVERY_NOT_ALLOWED"] = "SPLIT_DELIVERY_NOT_ALLOWED";
104
102
  })(CreatePartialRefundErrorTypeEnum || (exports.CreatePartialRefundErrorTypeEnum = CreatePartialRefundErrorTypeEnum = {}));
@@ -12,4 +12,3 @@ export * from './redis-db.app-batch-push.set-data-auto-change-waiting-receive-pr
12
12
  export * from './delete-app-batch-push-data-by-key.dto';
13
13
  export * from './redis-db.app-batch-push.set-data-change-purchased-options.dto';
14
14
  export * from './set-list-redis-db.dto';
15
- export * from './redis-db.app-batch-push.set-data-split-delivery-shipping.dto';
@@ -28,4 +28,3 @@ __exportStar(require("./redis-db.app-batch-push.set-data-auto-change-waiting-rec
28
28
  __exportStar(require("./delete-app-batch-push-data-by-key.dto"), exports);
29
29
  __exportStar(require("./redis-db.app-batch-push.set-data-change-purchased-options.dto"), exports);
30
30
  __exportStar(require("./set-list-redis-db.dto"), exports);
31
- __exportStar(require("./redis-db.app-batch-push.set-data-split-delivery-shipping.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult, SetDataSplitDeliveryShippingAppBatchPushPayload, SetDataSplitDeliveryShippingAppBatchPushResult } from '../../dto/redis-db';
3
+ import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
4
4
  export declare class AmqpRedisDbAppBatchPushService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -20,19 +20,4 @@ export declare class AmqpRedisDbAppBatchPushService {
20
20
  * @pattern redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method
21
21
  */
22
22
  setDataAcceptWaitingOrderToBuyerMethod(payload: SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult>;
23
- /**
24
- * @description 분할 배송 부분 발송 알림
25
- * @pattern redis-db.set-data.app-batch-push-split-delivery-partial-shipping
26
- */
27
- setDataSplitDeliveryPartialShipping(payload: SetDataSplitDeliveryShippingAppBatchPushPayload, param: AbstractParam): Promise<SetDataSplitDeliveryShippingAppBatchPushResult>;
28
- /**
29
- * @description 분할 배송 전체 발송 완료 알림
30
- * @pattern redis-db.set-data.app-batch-push-split-delivery-complete-shipping
31
- */
32
- setDataSplitDeliveryCompleteShipping(payload: SetDataSplitDeliveryShippingAppBatchPushPayload, param: AbstractParam): Promise<SetDataSplitDeliveryShippingAppBatchPushResult>;
33
- /**
34
- * @description 분할 배송 송장 수정 알림
35
- * @pattern redis-db.set-data.app-batch-push-split-delivery-modify-shipping
36
- */
37
- setDataSplitDeliveryModifyShipping(payload: SetDataSplitDeliveryShippingAppBatchPushPayload, param: AbstractParam): Promise<SetDataSplitDeliveryShippingAppBatchPushResult>;
38
23
  }
@@ -58,27 +58,6 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
58
58
  async setDataAcceptWaitingOrderToBuyerMethod(payload, param) {
59
59
  return this.amqpManager.call('redis에 acceptWaitingOrderToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method', payload, param, { isErrorThrowing: true });
60
60
  }
61
- /**
62
- * @description 분할 배송 부분 발송 알림
63
- * @pattern redis-db.set-data.app-batch-push-split-delivery-partial-shipping
64
- */
65
- async setDataSplitDeliveryPartialShipping(payload, param) {
66
- return this.amqpManager.call('redis에 splitDeliveryPartialShipping method 등록 및 수정', 'redis-db.set-data.app-batch-push-split-delivery-partial-shipping', payload, param, { isErrorThrowing: true });
67
- }
68
- /**
69
- * @description 분할 배송 전체 발송 완료 알림
70
- * @pattern redis-db.set-data.app-batch-push-split-delivery-complete-shipping
71
- */
72
- async setDataSplitDeliveryCompleteShipping(payload, param) {
73
- return this.amqpManager.call('redis에 splitDeliveryCompleteShipping method 등록 및 수정', 'redis-db.set-data.app-batch-push-split-delivery-complete-shipping', payload, param, { isErrorThrowing: true });
74
- }
75
- /**
76
- * @description 분할 배송 송장 수정 알림
77
- * @pattern redis-db.set-data.app-batch-push-split-delivery-modify-shipping
78
- */
79
- async setDataSplitDeliveryModifyShipping(payload, param) {
80
- return this.amqpManager.call('redis에 splitDeliveryModifyShipping method 등록 및 수정', 'redis-db.set-data.app-batch-push-split-delivery-modify-shipping', payload, param, { isErrorThrowing: true });
81
- }
82
61
  };
83
62
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
84
63
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([
@@ -1,6 +0,0 @@
1
- export declare class DeleteInvoiceForAdminPayload {
2
- /** 결제 정보 아이디 */
3
- pInfoId: string;
4
- /** 묶음이어도 단건만 처리 (레거시 동일) */
5
- isOneSaveInvoice?: boolean;
6
- }
@@ -1,25 +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.DeleteInvoiceForAdminPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class DeleteInvoiceForAdminPayload {
15
- }
16
- exports.DeleteInvoiceForAdminPayload = DeleteInvoiceForAdminPayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], DeleteInvoiceForAdminPayload.prototype, "pInfoId", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsOptional)(),
23
- (0, class_validator_1.IsBoolean)(),
24
- __metadata("design:type", Boolean)
25
- ], DeleteInvoiceForAdminPayload.prototype, "isOneSaveInvoice", void 0);
@@ -1,6 +0,0 @@
1
- export declare class DeleteSplitInvoiceForAdminPayload {
2
- /** 결제 정보 아이디 */
3
- pInfoId: string;
4
- /** 삭제할 분할 송장 항목 아이디 */
5
- splitDeliveryDataId: string;
6
- }
@@ -1,24 +0,0 @@
1
- export declare class UpsertInvoiceForAdminPayload {
2
- /** 결제정보 ID (레거시: data.pInfoId) */
3
- pInfoId: string;
4
- /** 택배사명 (레거시: data.SCompany) */
5
- SCompany: string;
6
- /** 송장번호 (레거시: data.invoice) */
7
- invoice: string;
8
- /** 배송 조회 URL (레거시: data.invoiceUrl) */
9
- invoiceUrl?: string;
10
- /** 택배사 직접 입력 여부 (레거시: data.isDirectInput) */
11
- isDirectInput?: boolean;
12
- /** 묶음이어도 단건만 처리 (레거시 동일) */
13
- isOneSaveInvoice?: boolean;
14
- /** 알림 발송 여부 (레거시: isNoti) */
15
- isNoti?: boolean;
16
- /** 해외 택배사명 (신규) */
17
- abroadCarrierName?: string;
18
- /** 해외 송장번호 (신규) */
19
- abroadInvoice?: string;
20
- /** 해외 배송 조회 URL (신규) */
21
- abroadInvoiceUrl?: string;
22
- /** 해외 택배사 직접 입력 여부 (신규) */
23
- isAbroadDirectInput?: boolean;
24
- }
@@ -1,68 +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.UpsertInvoiceForAdminPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class UpsertInvoiceForAdminPayload {
15
- }
16
- exports.UpsertInvoiceForAdminPayload = UpsertInvoiceForAdminPayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], UpsertInvoiceForAdminPayload.prototype, "pInfoId", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsString)(),
23
- __metadata("design:type", String)
24
- ], UpsertInvoiceForAdminPayload.prototype, "SCompany", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], UpsertInvoiceForAdminPayload.prototype, "invoice", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsOptional)(),
31
- (0, class_validator_1.IsString)(),
32
- __metadata("design:type", String)
33
- ], UpsertInvoiceForAdminPayload.prototype, "invoiceUrl", void 0);
34
- __decorate([
35
- (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsBoolean)(),
37
- __metadata("design:type", Boolean)
38
- ], UpsertInvoiceForAdminPayload.prototype, "isDirectInput", void 0);
39
- __decorate([
40
- (0, class_validator_1.IsOptional)(),
41
- (0, class_validator_1.IsBoolean)(),
42
- __metadata("design:type", Boolean)
43
- ], UpsertInvoiceForAdminPayload.prototype, "isOneSaveInvoice", void 0);
44
- __decorate([
45
- (0, class_validator_1.IsOptional)(),
46
- (0, class_validator_1.IsBoolean)(),
47
- __metadata("design:type", Boolean)
48
- ], UpsertInvoiceForAdminPayload.prototype, "isNoti", void 0);
49
- __decorate([
50
- (0, class_validator_1.IsOptional)(),
51
- (0, class_validator_1.IsString)(),
52
- __metadata("design:type", String)
53
- ], UpsertInvoiceForAdminPayload.prototype, "abroadCarrierName", void 0);
54
- __decorate([
55
- (0, class_validator_1.IsOptional)(),
56
- (0, class_validator_1.IsString)(),
57
- __metadata("design:type", String)
58
- ], UpsertInvoiceForAdminPayload.prototype, "abroadInvoice", void 0);
59
- __decorate([
60
- (0, class_validator_1.IsOptional)(),
61
- (0, class_validator_1.IsString)(),
62
- __metadata("design:type", String)
63
- ], UpsertInvoiceForAdminPayload.prototype, "abroadInvoiceUrl", void 0);
64
- __decorate([
65
- (0, class_validator_1.IsOptional)(),
66
- (0, class_validator_1.IsBoolean)(),
67
- __metadata("design:type", Boolean)
68
- ], UpsertInvoiceForAdminPayload.prototype, "isAbroadDirectInput", void 0);
@@ -1,26 +0,0 @@
1
- export declare class UpsertSplitInvoiceForAdminPayload {
2
- /** 결제정보 ID */
3
- pInfoId: string;
4
- /** 수정 시 분할 송장 항목 아이디 (없으면 신규 등록) */
5
- splitDeliveryDataId?: string;
6
- /** 출고 수량 (등록 시 필수, 수정 시에도 변경 가능) */
7
- quantity: number;
8
- /** 택배사명 */
9
- SCompany: string;
10
- /** 송장번호 */
11
- invoice: string;
12
- /** 배송 조회 URL */
13
- invoiceUrl?: string;
14
- /** 택배사 직접 입력 여부 */
15
- isDirectInput?: boolean;
16
- /** 해외 택배사명 */
17
- abroadCarrierName?: string;
18
- /** 해외 송장번호 */
19
- abroadInvoice?: string;
20
- /** 해외 배송 조회 URL */
21
- abroadInvoiceUrl?: string;
22
- /** 해외 택배사 직접 입력 여부 */
23
- isAbroadDirectInput?: boolean;
24
- /** 알림 발송 여부 */
25
- isNoti?: boolean;
26
- }