@yolo-croket-dev/amqp-access 0.7.304 → 0.7.305
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/package.json +1 -1
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/query/search-selling-store-items.dto.d.ts +3 -0
- package/store-item-server/dto/store-item/query/search-selling-store-items.dto.js +21 -1
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
|
|
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: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StoreItemOption, StoreItemOptionInfo } from '@yolo-croket-dev/entity/src/store-item';
|
|
2
|
+
export declare const STORE_ITEM_SELLER_MEMO_SEARCH_MIN_LENGTH = 2;
|
|
2
3
|
export declare enum SearchSellingStoreItemsSortTypeEnum {
|
|
3
4
|
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
4
5
|
'거래예정일순' = "\uAC70\uB798\uC608\uC815\uC77C\uC21C",
|
|
@@ -42,6 +43,8 @@ export declare class SearchSellingStoreItemsPayload {
|
|
|
42
43
|
sellingType: SearchSellingStoreItemsSellingTypeEnum;
|
|
43
44
|
/** 검색어 */
|
|
44
45
|
searchText?: string;
|
|
46
|
+
/** 셀러 메모 검색어 */
|
|
47
|
+
sellerMemoSearchText?: string;
|
|
45
48
|
/** true면 마감일이 있거나 예약 상품인 상품을 제외 (일괄 판매 개시 대상 조회용) */
|
|
46
49
|
isResumableOnly?: boolean;
|
|
47
50
|
}
|
|
@@ -9,8 +9,18 @@ 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.SearchSellingStoreItemsPayload = exports.SearchSellingStoreItemsSellingTypeEnum = exports.SearchSellingStoreItemsSortTypeEnum = void 0;
|
|
12
|
+
exports.SearchSellingStoreItemsPayload = exports.SearchSellingStoreItemsSellingTypeEnum = exports.SearchSellingStoreItemsSortTypeEnum = exports.STORE_ITEM_SELLER_MEMO_SEARCH_MIN_LENGTH = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const update_store_item_seller_memo_dto_1 = require("../command/update-store-item-seller-memo.dto");
|
|
16
|
+
exports.STORE_ITEM_SELLER_MEMO_SEARCH_MIN_LENGTH = 2;
|
|
17
|
+
function normalizeOptionalSearchText({ value }) {
|
|
18
|
+
if (typeof value !== 'string') {
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
const normalizedValue = value.trim();
|
|
22
|
+
return normalizedValue || undefined;
|
|
23
|
+
}
|
|
14
24
|
var SearchSellingStoreItemsSortTypeEnum;
|
|
15
25
|
(function (SearchSellingStoreItemsSortTypeEnum) {
|
|
16
26
|
SearchSellingStoreItemsSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
@@ -59,6 +69,16 @@ __decorate([
|
|
|
59
69
|
,
|
|
60
70
|
__metadata("design:type", String)
|
|
61
71
|
], SearchSellingStoreItemsPayload.prototype, "searchText", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Transform)(normalizeOptionalSearchText),
|
|
74
|
+
(0, class_validator_1.IsString)(),
|
|
75
|
+
(0, class_validator_1.MinLength)(exports.STORE_ITEM_SELLER_MEMO_SEARCH_MIN_LENGTH),
|
|
76
|
+
(0, class_validator_1.MaxLength)(update_store_item_seller_memo_dto_1.STORE_ITEM_SELLER_MEMO_MAX_LENGTH),
|
|
77
|
+
(0, class_validator_1.IsOptional)()
|
|
78
|
+
/** 셀러 메모 검색어 */
|
|
79
|
+
,
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], SearchSellingStoreItemsPayload.prototype, "sellerMemoSearchText", void 0);
|
|
62
82
|
__decorate([
|
|
63
83
|
(0, class_validator_1.IsBoolean)(),
|
|
64
84
|
(0, class_validator_1.IsOptional)()
|