@yolo-croket-dev/amqp-access 0.7.397 → 0.7.398
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/order-server/dto/purchased-info.modules/purchased-info-reservation/command/reservation-period-changed-notification-bulk.policy.d.ts +8 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/command/reservation-period-changed-notification-bulk.policy.js +11 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/command/reservation-period-changed-notification-by-ids.dto.d.ts +25 -0
- package/order-server/dto/purchased-info.modules/purchased-info-reservation/command/reservation-period-changed-notification-by-ids.dto.js +39 -0
- package/package.json +1 -1
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author 홍준
|
|
3
|
+
* @description 관리자 예약 기간 변경 알림의 입력·배치·간격 상한
|
|
4
|
+
* @process 클라이언트와 서버에서 동일한 제한 사용
|
|
5
|
+
*/
|
|
6
|
+
export declare const RESERVATION_NOTIFICATION_MAX_IDS = 2000;
|
|
7
|
+
export declare const RESERVATION_NOTIFICATION_BATCH_SIZE = 100;
|
|
8
|
+
export declare const RESERVATION_NOTIFICATION_CONCURRENCY = 5;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RESERVATION_NOTIFICATION_CONCURRENCY = exports.RESERVATION_NOTIFICATION_BATCH_SIZE = exports.RESERVATION_NOTIFICATION_MAX_IDS = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @author 홍준
|
|
6
|
+
* @description 관리자 예약 기간 변경 알림의 입력·배치·간격 상한
|
|
7
|
+
* @process 클라이언트와 서버에서 동일한 제한 사용
|
|
8
|
+
*/
|
|
9
|
+
exports.RESERVATION_NOTIFICATION_MAX_IDS = 2000;
|
|
10
|
+
exports.RESERVATION_NOTIFICATION_BATCH_SIZE = 100;
|
|
11
|
+
exports.RESERVATION_NOTIFICATION_CONCURRENCY = 5;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class PrepareReservationPeriodChangedNotificationByIdsPayload {
|
|
2
|
+
purchasedInfoIds: string[];
|
|
3
|
+
}
|
|
4
|
+
export declare class SendReservationPeriodChangedNotificationByIdsPayload {
|
|
5
|
+
purchasedInfoIds: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface ReservationPeriodChangedNotificationTarget {
|
|
8
|
+
purchasedInfoId: string;
|
|
9
|
+
buyerId: string;
|
|
10
|
+
itemId: string;
|
|
11
|
+
itemName: string;
|
|
12
|
+
buyerUsername: string;
|
|
13
|
+
purchaseReceiptId: string;
|
|
14
|
+
reservationPeriod: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PrepareReservationPeriodChangedNotificationByIdsResult {
|
|
17
|
+
inputCount: number;
|
|
18
|
+
targetCount: number;
|
|
19
|
+
targets: ReservationPeriodChangedNotificationTarget[];
|
|
20
|
+
}
|
|
21
|
+
export interface SendReservationPeriodChangedNotificationByIdsResult {
|
|
22
|
+
targetCount: number;
|
|
23
|
+
successCount: number;
|
|
24
|
+
failCount: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.SendReservationPeriodChangedNotificationByIdsPayload = exports.PrepareReservationPeriodChangedNotificationByIdsPayload = void 0;
|
|
13
|
+
/**
|
|
14
|
+
* @author 홍준
|
|
15
|
+
* @description 결제 ID 목록을 통한 예약 기간 변경 알림의 조회·발송 계약
|
|
16
|
+
* @process 전체 대상 미리보기 → 대표 결제 ID를 소량씩 발송
|
|
17
|
+
*/
|
|
18
|
+
const class_validator_1 = require("class-validator");
|
|
19
|
+
const reservation_period_changed_notification_bulk_policy_1 = require("./reservation-period-changed-notification-bulk.policy");
|
|
20
|
+
class PrepareReservationPeriodChangedNotificationByIdsPayload {
|
|
21
|
+
}
|
|
22
|
+
exports.PrepareReservationPeriodChangedNotificationByIdsPayload = PrepareReservationPeriodChangedNotificationByIdsPayload;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsArray)(),
|
|
25
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
26
|
+
(0, class_validator_1.ArrayMaxSize)(reservation_period_changed_notification_bulk_policy_1.RESERVATION_NOTIFICATION_MAX_IDS),
|
|
27
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], PrepareReservationPeriodChangedNotificationByIdsPayload.prototype, "purchasedInfoIds", void 0);
|
|
30
|
+
class SendReservationPeriodChangedNotificationByIdsPayload {
|
|
31
|
+
}
|
|
32
|
+
exports.SendReservationPeriodChangedNotificationByIdsPayload = SendReservationPeriodChangedNotificationByIdsPayload;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsArray)(),
|
|
35
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
36
|
+
(0, class_validator_1.ArrayMaxSize)(reservation_period_changed_notification_bulk_policy_1.RESERVATION_NOTIFICATION_BATCH_SIZE),
|
|
37
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], SendReservationPeriodChangedNotificationByIdsPayload.prototype, "purchasedInfoIds", void 0);
|
package/package.json
CHANGED
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" | "couponInfo" | "publicId" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
3
|
+
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "couponInfo" | "publicId" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
4
4
|
/** 구글 시트용 광고센터정산 데이터 */
|
|
5
5
|
export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
|
|
6
6
|
storeInfo: {
|