@yolo-croket-dev/amqp-access 0.7.72 → 0.7.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +11 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/get-reservation-list-for-admin.dto.d.ts +49 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/get-reservation-list-for-admin.dto.js +34 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/index.d.ts +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/query/index.js +1 -0
- package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.d.ts +3 -1
- package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.js +4 -0
- package/package.json +2 -2
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { PurchasedProcessEnum, CardQuotaEnum } from '@yolo-croket-dev/entity-v2/purchased-info';
|
|
3
|
+
/**
|
|
4
|
+
* @author jun
|
|
5
|
+
* @description 관리자용 예약 결제 정보 목록 조회 Payload
|
|
6
|
+
*/
|
|
7
|
+
export declare class GetReservationListForAdminPayload {
|
|
8
|
+
itemId: string;
|
|
9
|
+
page: number;
|
|
10
|
+
limit: number;
|
|
11
|
+
}
|
|
12
|
+
/** @description 예약 결제 정보 단건 */
|
|
13
|
+
export interface PInfoReservationForAdmin {
|
|
14
|
+
/** 결제 정보 아이디 */
|
|
15
|
+
pInfoId: string;
|
|
16
|
+
/** 상품 아이디 */
|
|
17
|
+
itemId: string;
|
|
18
|
+
/** 구매자 아이디 */
|
|
19
|
+
buyerId: string;
|
|
20
|
+
/** 구매자명 */
|
|
21
|
+
buyerUsername: string;
|
|
22
|
+
/** 예약 순서 */
|
|
23
|
+
reservationOrder: number;
|
|
24
|
+
/** 예약 일시 */
|
|
25
|
+
reservedDate: Date;
|
|
26
|
+
/** 취소 일시 */
|
|
27
|
+
cancelledDate?: Date;
|
|
28
|
+
/** 취소 사유 */
|
|
29
|
+
cancelReason?: string;
|
|
30
|
+
/** 빌링 데이터 ID */
|
|
31
|
+
userCardBillingId: Types.ObjectId;
|
|
32
|
+
/** 1차 결제 실패 일시 */
|
|
33
|
+
firstPaymentFailedDate?: Date;
|
|
34
|
+
/** 결제 실패 사유 */
|
|
35
|
+
paymentFailReason?: string;
|
|
36
|
+
/** 재시도 기한 */
|
|
37
|
+
retryDeadline?: Date;
|
|
38
|
+
/** 결제 진행 상태 */
|
|
39
|
+
process: PurchasedProcessEnum;
|
|
40
|
+
/** 할부 개월 */
|
|
41
|
+
cardQuota: CardQuotaEnum;
|
|
42
|
+
/** 결제 여부 */
|
|
43
|
+
isPaid: boolean;
|
|
44
|
+
}
|
|
45
|
+
/** @description 관리자용 예약 결제 정보 목록 조회 결과 */
|
|
46
|
+
export interface GetReservationListForAdminResult {
|
|
47
|
+
list: PInfoReservationForAdmin[];
|
|
48
|
+
allCount: number;
|
|
49
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.GetReservationListForAdminPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/**
|
|
15
|
+
* @author jun
|
|
16
|
+
* @description 관리자용 예약 결제 정보 목록 조회 Payload
|
|
17
|
+
*/
|
|
18
|
+
class GetReservationListForAdminPayload {
|
|
19
|
+
}
|
|
20
|
+
exports.GetReservationListForAdminPayload = GetReservationListForAdminPayload;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsMongoId)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], GetReservationListForAdminPayload.prototype, "itemId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_validator_1.Min)(1),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], GetReservationListForAdminPayload.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
|
+
], GetReservationListForAdminPayload.prototype, "limit", void 0);
|
|
@@ -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("./get-reservation-for-excel-by-admin.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-reservation-list-for-admin.dto"), exports);
|
package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.d.ts
CHANGED
|
@@ -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, GetReservationForExcelByAdminPayload, GetReservationForExcelByAdminResult } from '../../dto/purchased-info.modules/purchased-info-reservation';
|
|
3
|
+
import { ApproveReservationBillingPaymentBulkPayload, ApproveReservationBillingPaymentBulkResult, CancelReservationByBuyerPayload, CancelReservationResult, CancelReservationByAdminPayload, CancelReservationByAdminBulkPayload, CancelReservationByAdminBulkResult, ChangeReservationCardQuotaPayload, ChangeReservationBillingCardPayload, RetryReservationBillingPaymentPayload, RetryReservationBillingPaymentResult, GetReservationForExcelByAdminPayload, GetReservationForExcelByAdminResult, GetReservationListForAdminPayload, GetReservationListForAdminResult } from '../../dto/purchased-info.modules/purchased-info-reservation';
|
|
4
4
|
export declare class AmqpPurchasedInfoReservationService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -21,4 +21,6 @@ export declare class AmqpPurchasedInfoReservationService {
|
|
|
21
21
|
retryReservationBillingPayment(payload: RetryReservationBillingPaymentPayload, param: AbstractParam): Promise<RetryReservationBillingPaymentResult>;
|
|
22
22
|
/** 관리자용 예약 구매 정보 엑셀 조회 */
|
|
23
23
|
getReservationForExcelByAdmin(payload: GetReservationForExcelByAdminPayload, param: AbstractParam): Promise<GetReservationForExcelByAdminResult>;
|
|
24
|
+
/** 관리자용 예약 결제 정보 목록 조회 */
|
|
25
|
+
getReservationListForAdmin(payload: GetReservationListForAdminPayload, param: AbstractParam): Promise<GetReservationListForAdminResult>;
|
|
24
26
|
}
|
package/order-server/services/purchased-info.modules/amqp.purchased-info-reservation.service.js
CHANGED
|
@@ -58,6 +58,10 @@ let AmqpPurchasedInfoReservationService = class AmqpPurchasedInfoReservationServ
|
|
|
58
58
|
async getReservationForExcelByAdmin(payload, param) {
|
|
59
59
|
return this.amqpManager.call('관리자용 예약 구매 정보 엑셀 조회', 'purchased-info-reservation.get.reservation-for-excel-by-admin', payload, param, { isErrorThrowing: true });
|
|
60
60
|
}
|
|
61
|
+
/** 관리자용 예약 결제 정보 목록 조회 */
|
|
62
|
+
async getReservationListForAdmin(payload, param) {
|
|
63
|
+
return this.amqpManager.call('관리자용 예약 결제 정보 목록 조회', 'purchased-info-reservation.get.reservation-list-for-admin', payload, param, { isErrorThrowing: true });
|
|
64
|
+
}
|
|
61
65
|
};
|
|
62
66
|
exports.AmqpPurchasedInfoReservationService = AmqpPurchasedInfoReservationService;
|
|
63
67
|
exports.AmqpPurchasedInfoReservationService = AmqpPurchasedInfoReservationService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.73",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
2
|
import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
|
|
3
|
-
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "
|
|
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: {
|