@yolo-croket-dev/amqp-access 0.5.181-beta.13 → 0.5.181-beta.14
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/manage-service/dto/event-banner/query/get-event-banner-for-buyer.dto.d.ts +5 -2
- package/manage-service/dto/event-banner/query/get-event-banner-for-buyer.dto.js +10 -0
- package/order-server/dto/pay-try-log/query/get-pay-try-log-store-item-ids-for-event-banner.dto.d.ts +3 -0
- package/order-server/dto/pay-try-log/query/get-pay-try-log-store-item-ids-for-event-banner.dto.js +21 -0
- package/order-server/dto/pay-try-log/query/index.d.ts +1 -0
- package/order-server/dto/pay-try-log/query/index.js +1 -0
- package/order-server/services/amqp.pay-try-log.service.d.ts +2 -1
- package/order-server/services/amqp.pay-try-log.service.js +3 -0
- package/package.json +2 -2
- package/payment-service/dto/ad-center-settle/command/create-ad-center-settles.dto.d.ts +30 -0
- package/payment-service/dto/ad-center-settle/command/create-ad-center-settles.dto.js +101 -0
- package/payment-service/dto/ad-center-settle/command/edit-ad-center-settle-biz-memo.dto.d.ts +11 -0
- package/payment-service/dto/ad-center-settle/command/edit-ad-center-settle-biz-memo.dto.js +45 -0
- package/payment-service/dto/ad-center-settle/command/edit-ad-center-settle.dto.d.ts +13 -0
- package/payment-service/dto/ad-center-settle/command/edit-ad-center-settle.dto.js +55 -0
- package/payment-service/dto/ad-center-settle/command/sync-ad-center-settle-google-sheet-for-finance.dto.d.ts +6 -0
- package/payment-service/dto/ad-center-settle/command/sync-ad-center-settle-google-sheet-for-finance.dto.js +29 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settle-info.dto.d.ts +4 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settle-info.dto.js +26 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +21 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.js +33 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles.dto.d.ts +23 -0
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles.dto.js +73 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { BannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
|
|
2
|
-
import { EventBannerType } from '@yolo-croket-dev/entity-v2/event-banner';
|
|
3
|
-
import { EventBannerEntity } from '@yolo-croket-dev/entity-v2/event-banner';
|
|
2
|
+
import { EventBannerEntity, EventBannerType } from '@yolo-croket-dev/entity-v2/event-banner';
|
|
4
3
|
export declare class GetEventBannerForBuyerPayload {
|
|
5
4
|
type: EventBannerType;
|
|
5
|
+
/** @description 결제 로그 ID - type이 ORDER_COMPLETE 경우 필요 */
|
|
6
|
+
payTryLogId?: string;
|
|
7
|
+
/** @description 상품 ID - type이 STORE_ITEM_INFO인 경우 필요 */
|
|
8
|
+
storeItemId?: string;
|
|
6
9
|
}
|
|
7
10
|
export declare class GetEventBannerForBuyerResult implements Pick<EventBannerEntity, '_id' | 'type' | 'web' | 'app' | 'description'> {
|
|
8
11
|
_id: string;
|
|
@@ -19,6 +19,16 @@ __decorate([
|
|
|
19
19
|
(0, class_validator_1.IsEnum)(event_banner_1.EventBannerType),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], GetEventBannerForBuyerPayload.prototype, "type", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GetEventBannerForBuyerPayload.prototype, "payTryLogId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsMongoId)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], GetEventBannerForBuyerPayload.prototype, "storeItemId", void 0);
|
|
22
32
|
class GetEventBannerForBuyerResult {
|
|
23
33
|
}
|
|
24
34
|
exports.GetEventBannerForBuyerResult = GetEventBannerForBuyerResult;
|
package/order-server/dto/pay-try-log/query/get-pay-try-log-store-item-ids-for-event-banner.dto.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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.GetPayTryLogStoreItemIdsForEventBannerPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetPayTryLogStoreItemIdsForEventBannerPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPayTryLogStoreItemIdsForEventBannerPayload = GetPayTryLogStoreItemIdsForEventBannerPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetPayTryLogStoreItemIdsForEventBannerPayload.prototype, "payTryLogId", void 0);
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./get-direct-tosspayments-json.dto"), exports);
|
|
18
18
|
__exportStar(require("./store-item-payment"), exports);
|
|
19
19
|
__exportStar(require("./get-pay-try-log-for-issued-receipt-coupon.dto"), exports);
|
|
20
|
+
__exportStar(require("./get-pay-try-log-store-item-ids-for-event-banner.dto"), exports);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetPayTryLogsForEsPayload, GetPayTryLogsForEsResult, GetPayTryLogsForEsByIdsPayload, GetPayTryLogsForEsByIdsResult } from '@yolo-croket-dev/dto-v2/order-server/pay-try-log';
|
|
4
4
|
import { BindIssuedReceiptCouponForPayment } from '@yolo-croket-dev/domain';
|
|
5
|
-
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload, UpdateIssuedReceiptCouponPayload, GetAppliedIssuedCouponPayload, GetAppliedIssuedCouponResult, GetIssuedCouponsForPaymentPayload, GetIssuedCouponsForPaymentResult, GetMaxDiscountCouponsForPaymentsPayload, GetMaxDiscountCouponsForPaymentsResult, GetIssuedReceiptCouponsForPaymentPayload, CheckAppliedIssuedCouponPayload, UpdateMaxDiscountCouponsPayload, UpdateMaxDiscountCouponsResult } from '../dto/pay-try-log';
|
|
5
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult, UpdateIssuedCouponCartPayload, UpdateIssuedCouponNormalPayload, UpdateIssuedReceiptCouponPayload, GetAppliedIssuedCouponPayload, GetAppliedIssuedCouponResult, GetIssuedCouponsForPaymentPayload, GetIssuedCouponsForPaymentResult, GetMaxDiscountCouponsForPaymentsPayload, GetMaxDiscountCouponsForPaymentsResult, GetIssuedReceiptCouponsForPaymentPayload, CheckAppliedIssuedCouponPayload, UpdateMaxDiscountCouponsPayload, UpdateMaxDiscountCouponsResult, GetPayTryLogStoreItemIdsForEventBannerPayload } from '../dto/pay-try-log';
|
|
6
6
|
export declare class AmqpPayTryLogService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -23,4 +23,5 @@ export declare class AmqpPayTryLogService {
|
|
|
23
23
|
getMaxDiscountCouponsForPayments(payload: GetMaxDiscountCouponsForPaymentsPayload, param: AbstractParam): Promise<GetMaxDiscountCouponsForPaymentsResult>;
|
|
24
24
|
checkAppliedIssuedCoupon(payload: CheckAppliedIssuedCouponPayload, param: AbstractParam): Promise<void>;
|
|
25
25
|
updateMaxDiscountCoupons(payload: UpdateMaxDiscountCouponsPayload, param: AbstractParam): Promise<UpdateMaxDiscountCouponsResult>;
|
|
26
|
+
getPayTryLogStoreItemIdsByEventBanner(payload: GetPayTryLogStoreItemIdsForEventBannerPayload, param: AbstractParam): Promise<string[]>;
|
|
26
27
|
}
|
|
@@ -73,6 +73,9 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
73
73
|
async updateMaxDiscountCoupons(payload, param) {
|
|
74
74
|
return this.amqpManager.call('결제 시도 로그에 최대 할인 쿠폰 업데이트', 'pay-try-log.update.applied-max-discount-coupons', payload, param, { isErrorThrowing: true });
|
|
75
75
|
}
|
|
76
|
+
async getPayTryLogStoreItemIdsByEventBanner(payload, param) {
|
|
77
|
+
return this.amqpManager.call('결제 시도 로그의 스토어 상품 아이디 리스트 조회 (이벤트 배너용)', 'pay-try-log.get.store-item-ids-for-event-banner', payload, param, { isErrorThrowing: true });
|
|
78
|
+
}
|
|
76
79
|
};
|
|
77
80
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
78
81
|
exports.AmqpPayTryLogService = AmqpPayTryLogService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.5.181-beta.
|
|
3
|
+
"version": "0.5.181-beta.14",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.12",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.20",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.44",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "0.2.61",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AdTypeEnum } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
|
+
import { TransactionInfo, AdCenterSettleCouponInfo, ErrorSettleInfo } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema/index';
|
|
3
|
+
import { ManageUserInfo } from '@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema';
|
|
4
|
+
/** 광고센터 생성시 데이터 */
|
|
5
|
+
export declare class CreateAdCenterSettleData {
|
|
6
|
+
excelFileName?: string;
|
|
7
|
+
adType: AdTypeEnum;
|
|
8
|
+
adCenterStartDateString?: string;
|
|
9
|
+
adCenterEndDateString?: string;
|
|
10
|
+
/** 예상정산일 */
|
|
11
|
+
expectedSettleDateString: string;
|
|
12
|
+
/** 셀러의 유저 아이디 */
|
|
13
|
+
sellerId?: string;
|
|
14
|
+
PInfoId?: string;
|
|
15
|
+
transactionInfo?: TransactionInfo;
|
|
16
|
+
couponInfo?: AdCenterSettleCouponInfo;
|
|
17
|
+
errorSettleInfo?: ErrorSettleInfo;
|
|
18
|
+
bizMemo?: string;
|
|
19
|
+
isAdCenterCoupon?: boolean;
|
|
20
|
+
expectedAdCenterCouponSettlePrice?: number;
|
|
21
|
+
}
|
|
22
|
+
export declare class CreateAdCenterSettlePayload {
|
|
23
|
+
createAdCenterSettleDatas: CreateAdCenterSettleData[];
|
|
24
|
+
manageUserInfo: ManageUserInfo;
|
|
25
|
+
}
|
|
26
|
+
export declare class CreateAdCenterSettleResult {
|
|
27
|
+
errorList: any;
|
|
28
|
+
successNums: number;
|
|
29
|
+
tryNums: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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.CreateAdCenterSettleResult = exports.CreateAdCenterSettlePayload = exports.CreateAdCenterSettleData = void 0;
|
|
13
|
+
const ad_center_settle_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema");
|
|
14
|
+
const index_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema/index");
|
|
15
|
+
const manage_user_info_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const class_transformer_1 = require("class-transformer");
|
|
18
|
+
/** 광고센터 생성시 데이터 */
|
|
19
|
+
class CreateAdCenterSettleData {
|
|
20
|
+
}
|
|
21
|
+
exports.CreateAdCenterSettleData = CreateAdCenterSettleData;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateAdCenterSettleData.prototype, "excelFileName", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsEnum)(ad_center_settle_schema_1.AdTypeEnum),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateAdCenterSettleData.prototype, "adType", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateAdCenterSettleData.prototype, "adCenterStartDateString", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateAdCenterSettleData.prototype, "adCenterEndDateString", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateAdCenterSettleData.prototype, "expectedSettleDateString", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsMongoId)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreateAdCenterSettleData.prototype, "sellerId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsMongoId)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CreateAdCenterSettleData.prototype, "PInfoId", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsObject)(),
|
|
59
|
+
__metadata("design:type", index_1.TransactionInfo)
|
|
60
|
+
], CreateAdCenterSettleData.prototype, "transactionInfo", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsObject)(),
|
|
64
|
+
__metadata("design:type", index_1.AdCenterSettleCouponInfo)
|
|
65
|
+
], CreateAdCenterSettleData.prototype, "couponInfo", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsObject)(),
|
|
69
|
+
__metadata("design:type", index_1.ErrorSettleInfo)
|
|
70
|
+
], CreateAdCenterSettleData.prototype, "errorSettleInfo", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], CreateAdCenterSettleData.prototype, "bizMemo", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
(0, class_validator_1.IsBoolean)(),
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], CreateAdCenterSettleData.prototype, "isAdCenterCoupon", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
(0, class_validator_1.IsNumber)(),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], CreateAdCenterSettleData.prototype, "expectedAdCenterCouponSettlePrice", void 0);
|
|
86
|
+
class CreateAdCenterSettlePayload {
|
|
87
|
+
}
|
|
88
|
+
exports.CreateAdCenterSettlePayload = CreateAdCenterSettlePayload;
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsArray)(),
|
|
91
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
92
|
+
(0, class_transformer_1.Type)(() => CreateAdCenterSettleData),
|
|
93
|
+
__metadata("design:type", Array)
|
|
94
|
+
], CreateAdCenterSettlePayload.prototype, "createAdCenterSettleDatas", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_validator_1.IsObject)(),
|
|
97
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
98
|
+
], CreateAdCenterSettlePayload.prototype, "manageUserInfo", void 0);
|
|
99
|
+
class CreateAdCenterSettleResult {
|
|
100
|
+
}
|
|
101
|
+
exports.CreateAdCenterSettleResult = CreateAdCenterSettleResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class EditAdCenterSettleBizMemoManageUserInfo {
|
|
2
|
+
manageUserId: string;
|
|
3
|
+
username: string;
|
|
4
|
+
pastAuthLevel: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class EditAdCenterSettleBizMemoPayload {
|
|
7
|
+
adCenterSettleId: string;
|
|
8
|
+
bizMemo: string;
|
|
9
|
+
/** 관리자 정보 */
|
|
10
|
+
manageUserInfo: EditAdCenterSettleBizMemoManageUserInfo;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.EditAdCenterSettleBizMemoPayload = exports.EditAdCenterSettleBizMemoManageUserInfo = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class EditAdCenterSettleBizMemoManageUserInfo {
|
|
16
|
+
}
|
|
17
|
+
exports.EditAdCenterSettleBizMemoManageUserInfo = EditAdCenterSettleBizMemoManageUserInfo;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "manageUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "username", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "pastAuthLevel", void 0);
|
|
30
|
+
class EditAdCenterSettleBizMemoPayload {
|
|
31
|
+
}
|
|
32
|
+
exports.EditAdCenterSettleBizMemoPayload = EditAdCenterSettleBizMemoPayload;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "adCenterSettleId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "bizMemo", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.ValidateNested)(),
|
|
43
|
+
(0, class_transformer_1.Type)(() => EditAdCenterSettleBizMemoManageUserInfo),
|
|
44
|
+
__metadata("design:type", EditAdCenterSettleBizMemoManageUserInfo)
|
|
45
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "manageUserInfo", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TransactionInfo, ErrorSettleInfo } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema/index';
|
|
2
|
+
import { ManageUserInfo } from '@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema';
|
|
3
|
+
export declare class EditAdCenterSettlePayload {
|
|
4
|
+
adCenterSettleId: string;
|
|
5
|
+
adCenterStartDateString?: string;
|
|
6
|
+
adCenterEndDateString?: string;
|
|
7
|
+
/** 예상정산일 */
|
|
8
|
+
expectedSettleDateString: string;
|
|
9
|
+
transactionInfo?: TransactionInfo;
|
|
10
|
+
errorSettleInfo?: ErrorSettleInfo;
|
|
11
|
+
bizMemo?: string;
|
|
12
|
+
manageUserInfo: ManageUserInfo;
|
|
13
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.EditAdCenterSettlePayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const index_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema/index");
|
|
15
|
+
const manage_user_info_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema");
|
|
16
|
+
class EditAdCenterSettlePayload {
|
|
17
|
+
}
|
|
18
|
+
exports.EditAdCenterSettlePayload = EditAdCenterSettlePayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsMongoId)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], EditAdCenterSettlePayload.prototype, "adCenterSettleId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EditAdCenterSettlePayload.prototype, "adCenterStartDateString", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EditAdCenterSettlePayload.prototype, "adCenterEndDateString", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EditAdCenterSettlePayload.prototype, "expectedSettleDateString", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsObject)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", index_1.TransactionInfo)
|
|
41
|
+
], EditAdCenterSettlePayload.prototype, "transactionInfo", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsObject)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
__metadata("design:type", index_1.ErrorSettleInfo)
|
|
46
|
+
], EditAdCenterSettlePayload.prototype, "errorSettleInfo", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], EditAdCenterSettlePayload.prototype, "bizMemo", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsObject)(),
|
|
54
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
55
|
+
], EditAdCenterSettlePayload.prototype, "manageUserInfo", void 0);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ManageUserInfo } from '@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema';
|
|
2
|
+
export declare class SyncAdCenterSettleGoogleSheetForFinancePayload {
|
|
3
|
+
year: string;
|
|
4
|
+
quarter: 1 | 2 | 3 | 4;
|
|
5
|
+
manageUserInfo: ManageUserInfo;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.SyncAdCenterSettleGoogleSheetForFinancePayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const manage_user_info_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle-log/ad-center-settle-log.schema/manage-user-info.schema");
|
|
15
|
+
class SyncAdCenterSettleGoogleSheetForFinancePayload {
|
|
16
|
+
}
|
|
17
|
+
exports.SyncAdCenterSettleGoogleSheetForFinancePayload = SyncAdCenterSettleGoogleSheetForFinancePayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "year", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "quarter", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsObject)(),
|
|
28
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
29
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "manageUserInfo", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
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.GetAdCenterSettleInfoPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetAdCenterSettleInfoPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetAdCenterSettleInfoPayload = GetAdCenterSettleInfoPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetAdCenterSettleInfoPayload.prototype, "adCenterSettleId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GetAdCenterSettleInfoPayload.prototype, "publicId", void 0);
|
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
|
+
import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
|
|
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
|
+
/** 구글 시트용 광고센터정산 데이터 */
|
|
5
|
+
export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
|
|
6
|
+
storeInfo: {
|
|
7
|
+
storeTitle: string;
|
|
8
|
+
businessInfo?: BusinessInfo;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare class GetAdCenterSettlesForGoogleSheetPayload {
|
|
12
|
+
/** 예상정산일 시작일 */
|
|
13
|
+
expectedSettleSDate?: Date;
|
|
14
|
+
/** 예상정산일 마지막일 */
|
|
15
|
+
expectedSettleEDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
export declare class GetAdCenterSettlesForGoogleSheetResult {
|
|
18
|
+
adCenterSettleForGoogleSheetAllCount: number;
|
|
19
|
+
adCenterSettlesForGoogleSheet: AdCenterSettleForGoogleSheet[];
|
|
20
|
+
}
|
|
21
|
+
export {};
|
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdCenterSettlesForGoogleSheetResult = exports.GetAdCenterSettlesForGoogleSheetPayload = exports.AdCenterSettleForGoogleSheet = void 0;
|
|
4
|
+
const ad_center_settle_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema");
|
|
5
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
6
|
+
/** 구글 시트용 광고센터정산 데이터 */
|
|
7
|
+
class AdCenterSettleForGoogleSheet extends (0, swagger_1.PickType)(ad_center_settle_schema_1.AdCenterSettle, [
|
|
8
|
+
'_id',
|
|
9
|
+
'adType',
|
|
10
|
+
'pastStoreInfo',
|
|
11
|
+
'transactionInfo',
|
|
12
|
+
'couponInfo',
|
|
13
|
+
'subtractionSettleAmountInfo',
|
|
14
|
+
'settlementManagerInfo',
|
|
15
|
+
'googleSheetInfo',
|
|
16
|
+
'publicId',
|
|
17
|
+
'PInfoId',
|
|
18
|
+
'bizMemo',
|
|
19
|
+
'actualSettleDateString',
|
|
20
|
+
'financeMemo',
|
|
21
|
+
'expectedSettleDateString',
|
|
22
|
+
'adCenterStartDateString',
|
|
23
|
+
'adCenterEndDateString',
|
|
24
|
+
'sellerId',
|
|
25
|
+
]) {
|
|
26
|
+
}
|
|
27
|
+
exports.AdCenterSettleForGoogleSheet = AdCenterSettleForGoogleSheet;
|
|
28
|
+
class GetAdCenterSettlesForGoogleSheetPayload {
|
|
29
|
+
}
|
|
30
|
+
exports.GetAdCenterSettlesForGoogleSheetPayload = GetAdCenterSettlesForGoogleSheetPayload;
|
|
31
|
+
class GetAdCenterSettlesForGoogleSheetResult {
|
|
32
|
+
}
|
|
33
|
+
exports.GetAdCenterSettlesForGoogleSheetResult = GetAdCenterSettlesForGoogleSheetResult;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AdTypeEnum, AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
|
+
export declare enum GetAdCenterSettlesSortEnum {
|
|
3
|
+
'정산예정일_오름차순' = "\uC815\uC0B0\uC608\uC815\uC77C_\uC624\uB984\uCC28\uC21C",
|
|
4
|
+
'정산예정일_내림차순' = "\uC815\uC0B0\uC608\uC815\uC77C_\uB0B4\uB9BC\uCC28\uC21C"
|
|
5
|
+
}
|
|
6
|
+
export declare class GetAdCenterSettlesPayload {
|
|
7
|
+
/** 예상정산일 시작일 */
|
|
8
|
+
expectedSettleSDate?: string;
|
|
9
|
+
/** 예상정산일 마지막일 */
|
|
10
|
+
expectedSettleEDate?: string;
|
|
11
|
+
bizMemo?: string;
|
|
12
|
+
publicId?: string;
|
|
13
|
+
sellerId?: string;
|
|
14
|
+
page: number;
|
|
15
|
+
limit: number;
|
|
16
|
+
sort?: GetAdCenterSettlesSortEnum;
|
|
17
|
+
adType?: AdTypeEnum;
|
|
18
|
+
traceId?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class GetAdCenterSettlesResult {
|
|
21
|
+
adCenterSettleAllCount: number;
|
|
22
|
+
adCenterSettles: AdCenterSettle[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.GetAdCenterSettlesResult = exports.GetAdCenterSettlesPayload = exports.GetAdCenterSettlesSortEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const ad_center_settle_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema");
|
|
15
|
+
var GetAdCenterSettlesSortEnum;
|
|
16
|
+
(function (GetAdCenterSettlesSortEnum) {
|
|
17
|
+
GetAdCenterSettlesSortEnum["\uC815\uC0B0\uC608\uC815\uC77C_\uC624\uB984\uCC28\uC21C"] = "\uC815\uC0B0\uC608\uC815\uC77C_\uC624\uB984\uCC28\uC21C";
|
|
18
|
+
GetAdCenterSettlesSortEnum["\uC815\uC0B0\uC608\uC815\uC77C_\uB0B4\uB9BC\uCC28\uC21C"] = "\uC815\uC0B0\uC608\uC815\uC77C_\uB0B4\uB9BC\uCC28\uC21C";
|
|
19
|
+
})(GetAdCenterSettlesSortEnum || (exports.GetAdCenterSettlesSortEnum = GetAdCenterSettlesSortEnum = {}));
|
|
20
|
+
class GetAdCenterSettlesPayload {
|
|
21
|
+
}
|
|
22
|
+
exports.GetAdCenterSettlesPayload = GetAdCenterSettlesPayload;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetAdCenterSettlesPayload.prototype, "expectedSettleSDate", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GetAdCenterSettlesPayload.prototype, "expectedSettleEDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetAdCenterSettlesPayload.prototype, "bizMemo", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], GetAdCenterSettlesPayload.prototype, "publicId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetAdCenterSettlesPayload.prototype, "sellerId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsNumber)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], GetAdCenterSettlesPayload.prototype, "page", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsNumber)(),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], GetAdCenterSettlesPayload.prototype, "limit", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsEnum)(GetAdCenterSettlesSortEnum),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], GetAdCenterSettlesPayload.prototype, "sort", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsEnum)(ad_center_settle_schema_1.AdTypeEnum),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], GetAdCenterSettlesPayload.prototype, "adType", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], GetAdCenterSettlesPayload.prototype, "traceId", void 0);
|
|
71
|
+
class GetAdCenterSettlesResult {
|
|
72
|
+
}
|
|
73
|
+
exports.GetAdCenterSettlesResult = GetAdCenterSettlesResult;
|