@yolo-croket-dev/amqp-access 0.5.181-beta.40 → 0.5.181-beta.41
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/purchase-receipt/command/update-purchase-receipt-receive-info.dto.d.ts +2 -0
- package/order-server/dto/purchase-receipt/command/update-purchase-receipt-receive-info.dto.js +10 -0
- package/order-server/dto/purchase-receipt/query/search-purchase-receipt-receive-info.dto.d.ts +2 -0
- package/package.json +3 -3
- 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 +53 -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
package/order-server/dto/purchase-receipt/command/update-purchase-receipt-receive-info.dto.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare class PurchaseReceiptReceiveInfo {
|
|
|
6
6
|
buyerAddress2?: string;
|
|
7
7
|
buyerDirectAddress?: string;
|
|
8
8
|
PCCC?: string;
|
|
9
|
+
buyerEngFirstName?: string;
|
|
10
|
+
buyerEngLastName?: string;
|
|
9
11
|
}
|
|
10
12
|
export declare class UpdatePurchaseReceiptReceiveInfoPayload {
|
|
11
13
|
purchaseReceiptId: string;
|
package/order-server/dto/purchase-receipt/command/update-purchase-receipt-receive-info.dto.js
CHANGED
|
@@ -49,6 +49,16 @@ __decorate([
|
|
|
49
49
|
(0, class_validator_1.IsOptional)(),
|
|
50
50
|
__metadata("design:type", String)
|
|
51
51
|
], PurchaseReceiptReceiveInfo.prototype, "PCCC", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], PurchaseReceiptReceiveInfo.prototype, "buyerEngFirstName", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], PurchaseReceiptReceiveInfo.prototype, "buyerEngLastName", void 0);
|
|
52
62
|
class UpdatePurchaseReceiptReceiveInfoPayload {
|
|
53
63
|
}
|
|
54
64
|
exports.UpdatePurchaseReceiptReceiveInfoPayload = UpdatePurchaseReceiptReceiveInfoPayload;
|
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.41",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "1.7.46-beta.5",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.2.
|
|
22
|
+
"@yolo-croket-dev/domain": "^0.2.25",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.2.2",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.47",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.2.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.2.73",
|
|
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
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateAdCenterSettleData.prototype, "excelFileName", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsEnum)(ad_center_settle_schema_1.AdTypeEnum),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateAdCenterSettleData.prototype, "adType", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateAdCenterSettleData.prototype, "adCenterStartDateString", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateAdCenterSettleData.prototype, "adCenterEndDateString", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateAdCenterSettleData.prototype, "expectedSettleDateString", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsMongoId)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreateAdCenterSettleData.prototype, "sellerId", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsMongoId)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreateAdCenterSettleData.prototype, "PInfoId", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsObject)(),
|
|
58
|
+
__metadata("design:type", index_1.TransactionInfo)
|
|
59
|
+
], CreateAdCenterSettleData.prototype, "transactionInfo", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsObject)(),
|
|
63
|
+
__metadata("design:type", index_1.AdCenterSettleCouponInfo)
|
|
64
|
+
], CreateAdCenterSettleData.prototype, "couponInfo", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsObject)(),
|
|
68
|
+
__metadata("design:type", index_1.ErrorSettleInfo)
|
|
69
|
+
], CreateAdCenterSettleData.prototype, "errorSettleInfo", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], CreateAdCenterSettleData.prototype, "bizMemo", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
(0, class_validator_1.IsBoolean)(),
|
|
78
|
+
__metadata("design:type", Boolean)
|
|
79
|
+
], CreateAdCenterSettleData.prototype, "isAdCenterCoupon", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, class_validator_1.IsNumber)(),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], CreateAdCenterSettleData.prototype, "expectedAdCenterCouponSettlePrice", void 0);
|
|
85
|
+
exports.CreateAdCenterSettleData = CreateAdCenterSettleData;
|
|
86
|
+
class CreateAdCenterSettlePayload {
|
|
87
|
+
}
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_validator_1.IsArray)(),
|
|
90
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
91
|
+
(0, class_transformer_1.Type)(() => CreateAdCenterSettleData),
|
|
92
|
+
__metadata("design:type", Array)
|
|
93
|
+
], CreateAdCenterSettlePayload.prototype, "createAdCenterSettleDatas", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.IsObject)(),
|
|
96
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
97
|
+
], CreateAdCenterSettlePayload.prototype, "manageUserInfo", void 0);
|
|
98
|
+
exports.CreateAdCenterSettlePayload = CreateAdCenterSettlePayload;
|
|
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
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "manageUserId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "username", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], EditAdCenterSettleBizMemoManageUserInfo.prototype, "pastAuthLevel", void 0);
|
|
29
|
+
exports.EditAdCenterSettleBizMemoManageUserInfo = EditAdCenterSettleBizMemoManageUserInfo;
|
|
30
|
+
class EditAdCenterSettleBizMemoPayload {
|
|
31
|
+
}
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsMongoId)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "adCenterSettleId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "bizMemo", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.ValidateNested)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => EditAdCenterSettleBizMemoManageUserInfo),
|
|
43
|
+
__metadata("design:type", EditAdCenterSettleBizMemoManageUserInfo)
|
|
44
|
+
], EditAdCenterSettleBizMemoPayload.prototype, "manageUserInfo", void 0);
|
|
45
|
+
exports.EditAdCenterSettleBizMemoPayload = EditAdCenterSettleBizMemoPayload;
|
|
@@ -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
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EditAdCenterSettlePayload.prototype, "adCenterSettleId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EditAdCenterSettlePayload.prototype, "adCenterStartDateString", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], EditAdCenterSettlePayload.prototype, "adCenterEndDateString", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EditAdCenterSettlePayload.prototype, "expectedSettleDateString", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsObject)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", index_1.TransactionInfo)
|
|
40
|
+
], EditAdCenterSettlePayload.prototype, "transactionInfo", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsObject)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", index_1.ErrorSettleInfo)
|
|
45
|
+
], EditAdCenterSettlePayload.prototype, "errorSettleInfo", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], EditAdCenterSettlePayload.prototype, "bizMemo", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsObject)(),
|
|
53
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
54
|
+
], EditAdCenterSettlePayload.prototype, "manageUserInfo", void 0);
|
|
55
|
+
exports.EditAdCenterSettlePayload = EditAdCenterSettlePayload;
|
|
@@ -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
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "year", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "quarter", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsObject)(),
|
|
27
|
+
__metadata("design:type", manage_user_info_schema_1.ManageUserInfo)
|
|
28
|
+
], SyncAdCenterSettleGoogleSheetForFinancePayload.prototype, "manageUserInfo", void 0);
|
|
29
|
+
exports.SyncAdCenterSettleGoogleSheetForFinancePayload = SyncAdCenterSettleGoogleSheetForFinancePayload;
|
|
@@ -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
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetAdCenterSettleInfoPayload.prototype, "adCenterSettleId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], GetAdCenterSettleInfoPayload.prototype, "publicId", void 0);
|
|
26
|
+
exports.GetAdCenterSettleInfoPayload = GetAdCenterSettleInfoPayload;
|
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,53 @@
|
|
|
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.GetAdCenterSettlesForGoogleSheetResult = exports.GetAdCenterSettlesForGoogleSheetPayload = exports.AdCenterSettleForGoogleSheet = void 0;
|
|
13
|
+
const ad_center_settle_schema_1 = require("@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
/** 구글 시트용 광고센터정산 데이터 */
|
|
17
|
+
class AdCenterSettleForGoogleSheet extends (0, swagger_1.PickType)(ad_center_settle_schema_1.AdCenterSettle, [
|
|
18
|
+
'_id',
|
|
19
|
+
'adType',
|
|
20
|
+
'pastStoreInfo',
|
|
21
|
+
'transactionInfo',
|
|
22
|
+
'couponInfo',
|
|
23
|
+
'subtractionSettleAmountInfo',
|
|
24
|
+
'settlementManagerInfo',
|
|
25
|
+
'googleSheetInfo',
|
|
26
|
+
'publicId',
|
|
27
|
+
'PInfoId',
|
|
28
|
+
'bizMemo',
|
|
29
|
+
'actualSettleDateString',
|
|
30
|
+
'financeMemo',
|
|
31
|
+
'expectedSettleDateString',
|
|
32
|
+
'adCenterStartDateString',
|
|
33
|
+
'adCenterEndDateString',
|
|
34
|
+
'sellerId',
|
|
35
|
+
]) {
|
|
36
|
+
}
|
|
37
|
+
exports.AdCenterSettleForGoogleSheet = AdCenterSettleForGoogleSheet;
|
|
38
|
+
class GetAdCenterSettlesForGoogleSheetPayload {
|
|
39
|
+
}
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsDateString)(),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], GetAdCenterSettlesForGoogleSheetPayload.prototype, "expectedSettleSDate", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsDateString)(),
|
|
48
|
+
__metadata("design:type", Date)
|
|
49
|
+
], GetAdCenterSettlesForGoogleSheetPayload.prototype, "expectedSettleEDate", void 0);
|
|
50
|
+
exports.GetAdCenterSettlesForGoogleSheetPayload = GetAdCenterSettlesForGoogleSheetPayload;
|
|
51
|
+
class GetAdCenterSettlesForGoogleSheetResult {
|
|
52
|
+
}
|
|
53
|
+
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 || (exports.GetAdCenterSettlesSortEnum = {}));
|
|
20
|
+
class GetAdCenterSettlesPayload {
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GetAdCenterSettlesPayload.prototype, "expectedSettleSDate", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], GetAdCenterSettlesPayload.prototype, "expectedSettleEDate", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GetAdCenterSettlesPayload.prototype, "bizMemo", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], GetAdCenterSettlesPayload.prototype, "publicId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], GetAdCenterSettlesPayload.prototype, "sellerId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], GetAdCenterSettlesPayload.prototype, "page", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsNumber)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], GetAdCenterSettlesPayload.prototype, "limit", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsEnum)(GetAdCenterSettlesSortEnum),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], GetAdCenterSettlesPayload.prototype, "sort", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsEnum)(ad_center_settle_schema_1.AdTypeEnum),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], GetAdCenterSettlesPayload.prototype, "adType", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], GetAdCenterSettlesPayload.prototype, "traceId", void 0);
|
|
70
|
+
exports.GetAdCenterSettlesPayload = GetAdCenterSettlesPayload;
|
|
71
|
+
class GetAdCenterSettlesResult {
|
|
72
|
+
}
|
|
73
|
+
exports.GetAdCenterSettlesResult = GetAdCenterSettlesResult;
|