@yolo-croket-dev/amqp-access 0.7.361 → 0.7.362
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/command/index.d.ts +1 -0
- package/payment-service/dto/ad-center-settle/command/index.js +1 -0
- package/payment-service/dto/ad-center-settle/command/update-ad-center-coupon-rates.dto.d.ts +34 -0
- package/payment-service/dto/ad-center-settle/command/update-ad-center-coupon-rates.dto.js +64 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/payment-service/services/amqp.ad-center-settle.service.d.ts +3 -1
- package/payment-service/services/amqp.ad-center-settle.service.js +4 -0
- package/user-service/services/amqp.signup-certification.service.d.ts +14 -0
- package/user-service/services/amqp.signup-certification.service.js +38 -0
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.d.ts +0 -6
- package/order-server/dto/purchasedinfos/command/auto-change-agreed-seller-waiting-orders-to-checking-stock.dto.js +0 -10
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +0 -20
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +0 -57
package/package.json
CHANGED
|
@@ -6,3 +6,4 @@ export * from './create-ad-center-settles.dto';
|
|
|
6
6
|
export * from './edit-ad-center-settle.dto';
|
|
7
7
|
export * from './sync-ad-center-settle-google-sheet-for-finance.dto';
|
|
8
8
|
export * from './edit-ad-center-settle-biz-memo.dto';
|
|
9
|
+
export * from './update-ad-center-coupon-rates.dto';
|
|
@@ -22,3 +22,4 @@ __exportStar(require("./create-ad-center-settles.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./edit-ad-center-settle.dto"), exports);
|
|
23
23
|
__exportStar(require("./sync-ad-center-settle-google-sheet-for-finance.dto"), exports);
|
|
24
24
|
__exportStar(require("./edit-ad-center-settle-biz-memo.dto"), exports);
|
|
25
|
+
__exportStar(require("./update-ad-center-coupon-rates.dto"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EditAdCenterSettleBizMemoManageUserInfo } from './edit-ad-center-settle-biz-memo.dto';
|
|
2
|
+
export declare const MAX_AD_CENTER_COUPON_RATE_UPDATES = 100;
|
|
3
|
+
/**
|
|
4
|
+
* @author 홍준
|
|
5
|
+
* @description 광고센터 publicId 목록의 판매자 부담 할인율 변경 계약
|
|
6
|
+
* @process 전체 할인율을 유지하고 입력한 두 부담 할인율을 저장하고 판매자 부담금을 재계산한다.
|
|
7
|
+
*/
|
|
8
|
+
export declare class UpdateAdCenterCouponRatesPayload {
|
|
9
|
+
publicIds: string[];
|
|
10
|
+
/** 전체 할인율 중 판매자가 부담하는 할인율. 전체 할인율 10, 판매자 3이면 할인금액의 30%를 부담한다. */
|
|
11
|
+
sellerRate: number;
|
|
12
|
+
/** 크로켓 부담 할인율. sellerRate와의 합은 각 주문의 전체 할인율 이하여야 한다. */
|
|
13
|
+
croketRate: number;
|
|
14
|
+
dryRun?: boolean;
|
|
15
|
+
manageUserInfo: EditAdCenterSettleBizMemoManageUserInfo;
|
|
16
|
+
}
|
|
17
|
+
/** @author 홍준 @description 주문과 광고센터 정산의 변경 전후 정보 @process 검증·재계산 결과를 반환한다. */
|
|
18
|
+
export declare class UpdateAdCenterCouponRatesItemResult {
|
|
19
|
+
publicId: string;
|
|
20
|
+
pInfoId: string;
|
|
21
|
+
allRate: number;
|
|
22
|
+
previousSellerRate: number;
|
|
23
|
+
sellerRate: number;
|
|
24
|
+
croketRate: number;
|
|
25
|
+
previousExpectedAmount: number;
|
|
26
|
+
previousSettleAmount: number;
|
|
27
|
+
expectedAmount: number;
|
|
28
|
+
}
|
|
29
|
+
/** @author 홍준 @description 일괄 분담율 변경 결과 @process 미리보기 또는 전체 반영 결과를 반환한다. */
|
|
30
|
+
export declare class UpdateAdCenterCouponRatesResult {
|
|
31
|
+
dryRun: boolean;
|
|
32
|
+
updatedCount: number;
|
|
33
|
+
items: UpdateAdCenterCouponRatesItemResult[];
|
|
34
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.UpdateAdCenterCouponRatesResult = exports.UpdateAdCenterCouponRatesItemResult = exports.UpdateAdCenterCouponRatesPayload = exports.MAX_AD_CENTER_COUPON_RATE_UPDATES = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const edit_ad_center_settle_biz_memo_dto_1 = require("./edit-ad-center-settle-biz-memo.dto");
|
|
16
|
+
exports.MAX_AD_CENTER_COUPON_RATE_UPDATES = 100;
|
|
17
|
+
/**
|
|
18
|
+
* @author 홍준
|
|
19
|
+
* @description 광고센터 publicId 목록의 판매자 부담 할인율 변경 계약
|
|
20
|
+
* @process 전체 할인율을 유지하고 입력한 두 부담 할인율을 저장하고 판매자 부담금을 재계산한다.
|
|
21
|
+
*/
|
|
22
|
+
class UpdateAdCenterCouponRatesPayload {
|
|
23
|
+
}
|
|
24
|
+
exports.UpdateAdCenterCouponRatesPayload = UpdateAdCenterCouponRatesPayload;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsArray)(),
|
|
27
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.ArrayMaxSize)(exports.MAX_AD_CENTER_COUPON_RATE_UPDATES),
|
|
29
|
+
(0, class_validator_1.ArrayUnique)(),
|
|
30
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
+
(0, class_validator_1.Matches)(/^AD_\d{6}_[A-Z0-9]{4}$/, { each: true }),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], UpdateAdCenterCouponRatesPayload.prototype, "publicIds", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
(0, class_validator_1.Min)(0),
|
|
37
|
+
(0, class_validator_1.Max)(100),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], UpdateAdCenterCouponRatesPayload.prototype, "sellerRate", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
(0, class_validator_1.Min)(0),
|
|
43
|
+
(0, class_validator_1.Max)(100),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], UpdateAdCenterCouponRatesPayload.prototype, "croketRate", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsBoolean)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], UpdateAdCenterCouponRatesPayload.prototype, "dryRun", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsDefined)(),
|
|
53
|
+
(0, class_validator_1.ValidateNested)(),
|
|
54
|
+
(0, class_transformer_1.Type)(() => edit_ad_center_settle_biz_memo_dto_1.EditAdCenterSettleBizMemoManageUserInfo),
|
|
55
|
+
__metadata("design:type", edit_ad_center_settle_biz_memo_dto_1.EditAdCenterSettleBizMemoManageUserInfo)
|
|
56
|
+
], UpdateAdCenterCouponRatesPayload.prototype, "manageUserInfo", void 0);
|
|
57
|
+
/** @author 홍준 @description 주문과 광고센터 정산의 변경 전후 정보 @process 검증·재계산 결과를 반환한다. */
|
|
58
|
+
class UpdateAdCenterCouponRatesItemResult {
|
|
59
|
+
}
|
|
60
|
+
exports.UpdateAdCenterCouponRatesItemResult = UpdateAdCenterCouponRatesItemResult;
|
|
61
|
+
/** @author 홍준 @description 일괄 분담율 변경 결과 @process 미리보기 또는 전체 반영 결과를 반환한다. */
|
|
62
|
+
class UpdateAdCenterCouponRatesResult {
|
|
63
|
+
}
|
|
64
|
+
exports.UpdateAdCenterCouponRatesResult = UpdateAdCenterCouponRatesResult;
|
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" | "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: {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
4
|
-
import { CreateAdCenterCouponSettlesPayload, EditAdCenterCouponSettlePayload, DeleteAdCenterSettlesPayload, DeleteAdCenterCouponSettlePayload, GetAdCenterSettlesForSellerTransactionPayload, GetAdCenterSettlesForSellerTransactionResult, CreateAdCenterSettlePayload, CreateAdCenterSettleResult, EditAdCenterSettlePayload, GetAdCenterSettlesPayload, GetAdCenterSettlesResult, GetAdCenterSettleInfoPayload, SyncAdCenterSettleGoogleSheetForFinancePayload, EditAdCenterSettleBizMemoPayload } from '../dto/ad-center-settle';
|
|
4
|
+
import { CreateAdCenterCouponSettlesPayload, EditAdCenterCouponSettlePayload, DeleteAdCenterSettlesPayload, DeleteAdCenterCouponSettlePayload, GetAdCenterSettlesForSellerTransactionPayload, GetAdCenterSettlesForSellerTransactionResult, CreateAdCenterSettlePayload, CreateAdCenterSettleResult, EditAdCenterSettlePayload, GetAdCenterSettlesPayload, GetAdCenterSettlesResult, GetAdCenterSettleInfoPayload, SyncAdCenterSettleGoogleSheetForFinancePayload, EditAdCenterSettleBizMemoPayload, UpdateAdCenterCouponRatesPayload, UpdateAdCenterCouponRatesResult } from '../dto/ad-center-settle';
|
|
5
5
|
export declare class AmqpAdCenterSettleService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
8
8
|
constructor(client: ClientProxy);
|
|
9
|
+
/** @author 홍준 @description publicId 목록의 쿠폰 분담율을 변경한다. @process 결제 서비스의 일괄 변경 RPC를 호출한다. */
|
|
10
|
+
updateAdCenterCouponRates(payload: UpdateAdCenterCouponRatesPayload, param: AbstractParam): Promise<UpdateAdCenterCouponRatesResult>;
|
|
9
11
|
createAdCenterSettles(payload: CreateAdCenterSettlePayload, param: AbstractParam): Promise<CreateAdCenterSettleResult>;
|
|
10
12
|
editAdCenterSettle(payload: EditAdCenterSettlePayload, param: AbstractParam): Promise<void>;
|
|
11
13
|
editAdCenterSettleBizMemo(payload: EditAdCenterSettleBizMemoPayload, param: AbstractParam): Promise<void>;
|
|
@@ -21,6 +21,10 @@ let AmqpAdCenterSettleService = class AmqpAdCenterSettleService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
/** @author 홍준 @description publicId 목록의 쿠폰 분담율을 변경한다. @process 결제 서비스의 일괄 변경 RPC를 호출한다. */
|
|
25
|
+
async updateAdCenterCouponRates(payload, param) {
|
|
26
|
+
return this.amqpManager.call('광고센터 쿠폰 분담율 일괄 변경', 'ad-center-settle.update.coupon-rates', payload, param, { isErrorThrowing: true });
|
|
27
|
+
}
|
|
24
28
|
async createAdCenterSettles(payload, param) {
|
|
25
29
|
// eslint-disable-next-line max-len
|
|
26
30
|
return this.amqpManager.call('광고센터 정산 데이터 생성', 'ad-center-settle.create', payload, param, { isErrorThrowing: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { ClaimSignupCertificationPayload, ClaimSignupCertificationResult } from '../dto/signup-certification';
|
|
4
|
+
/**
|
|
5
|
+
* @author 홍준
|
|
6
|
+
* @description 가입 전 본인인증 귀속 AMQP client
|
|
7
|
+
* @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AmqpSignupCertificationService {
|
|
10
|
+
private readonly client;
|
|
11
|
+
private readonly amqpManager;
|
|
12
|
+
constructor(client: ClientProxy);
|
|
13
|
+
claim(payload: ClaimSignupCertificationPayload, param: AbstractParam): Promise<ClaimSignupCertificationResult>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpSignupCertificationService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
/**
|
|
20
|
+
* @author 홍준
|
|
21
|
+
* @description 가입 전 본인인증 귀속 AMQP client
|
|
22
|
+
* @process 가입 완료 후 로그인된 사용자에게 일회성 인증 결과를 연결한다.
|
|
23
|
+
*/
|
|
24
|
+
let AmqpSignupCertificationService = class AmqpSignupCertificationService {
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
28
|
+
}
|
|
29
|
+
async claim(payload, param) {
|
|
30
|
+
return this.amqpManager.call('가입 전 본인인증 사용자 귀속', 'signup-certification.claim', payload, param, { isErrorThrowing: true });
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.AmqpSignupCertificationService = AmqpSignupCertificationService;
|
|
34
|
+
exports.AmqpSignupCertificationService = AmqpSignupCertificationService = __decorate([
|
|
35
|
+
(0, common_1.Injectable)(),
|
|
36
|
+
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
37
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
38
|
+
], AmqpSignupCertificationService);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @author sj
|
|
6
|
-
* @description 사전 협의 셀러 주문의 재고 확인중 자동 전환 요청이다.
|
|
7
|
-
*/
|
|
8
|
-
class AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload {
|
|
9
|
-
}
|
|
10
|
-
exports.AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload = AutoChangeAgreedSellerWaitingOrdersToCheckingStockPayload;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoreItemEntity as StoreItem } from '@yolo-croket-dev/entity-v2/store-item';
|
|
2
|
-
export declare enum GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum {
|
|
3
|
-
PHRASE = "PHRASE"
|
|
4
|
-
}
|
|
5
|
-
export declare class GetStoreItemsForKakaoCatalogPayload {
|
|
6
|
-
mainCategories?: string[];
|
|
7
|
-
excludedSubCategories?: string[];
|
|
8
|
-
itemNameKeywords?: string[];
|
|
9
|
-
itemNameKeywordMatchType?: GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
10
|
-
limit: number;
|
|
11
|
-
paginationToken?: string;
|
|
12
|
-
}
|
|
13
|
-
export type GetStoreItemsForKakaoCatalogItem = Pick<StoreItem, '_id' | 'itemName' | 'contents' | 'itemPriceForBuyer' | 'itemPrice' | 'itemImg' | 'mainCategory' | 'subCategory' | 'brandInfo' | 'mainSku' | 'nation' | 'isSelling' | 'isDelete' | 'remainCount' | 'itemType' | 'isSecret'> & {
|
|
14
|
-
paginationToken?: string;
|
|
15
|
-
};
|
|
16
|
-
export declare class GetStoreItemsForKakaoCatalogResult {
|
|
17
|
-
storeItems: GetStoreItemsForKakaoCatalogItem[];
|
|
18
|
-
lastPaginationToken?: string;
|
|
19
|
-
maxPage?: number;
|
|
20
|
-
}
|
|
@@ -1,57 +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.GetStoreItemsForKakaoCatalogResult = exports.GetStoreItemsForKakaoCatalogPayload = exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
var GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
16
|
-
(function (GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum) {
|
|
17
|
-
GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum["PHRASE"] = "PHRASE";
|
|
18
|
-
})(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum || (exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = {}));
|
|
19
|
-
class GetStoreItemsForKakaoCatalogPayload {
|
|
20
|
-
}
|
|
21
|
-
exports.GetStoreItemsForKakaoCatalogPayload = GetStoreItemsForKakaoCatalogPayload;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsArray)(),
|
|
24
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", Array)
|
|
27
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "mainCategories", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsArray)(),
|
|
30
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", Array)
|
|
33
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "excludedSubCategories", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsArray)(),
|
|
36
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
__metadata("design:type", Array)
|
|
39
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywords", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsEnum)(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywordMatchType", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsNumber)(),
|
|
47
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "limit", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsString)(),
|
|
52
|
-
(0, class_validator_1.IsOptional)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], GetStoreItemsForKakaoCatalogPayload.prototype, "paginationToken", void 0);
|
|
55
|
-
class GetStoreItemsForKakaoCatalogResult {
|
|
56
|
-
}
|
|
57
|
-
exports.GetStoreItemsForKakaoCatalogResult = GetStoreItemsForKakaoCatalogResult;
|