@yolo-croket-dev/amqp-access 0.6.5 → 0.6.6-jun.1
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/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.d.ts +0 -3
- package/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.js +1 -5
- package/excel-upload-server/services/amqp.app-bulk-push-excel.service.d.ts +2 -2
- package/order-server/dto/purchasedinfos/query/atlas/get-p-info-all-settle-amount-by-atlas.dto.d.ts +0 -2
- package/order-server/dto/purchasedinfos/query/atlas/get-p-info-all-settle-amount-by-atlas.dto.js +1 -4
- package/order-server/dto/purchasedinfos/query/get-p-nums-for-show-ad-center-inflow.dto.d.ts +0 -2
- package/order-server/dto/purchasedinfos/query/get-p-nums-for-show-ad-center-inflow.dto.js +1 -4
- package/order-server/services/amqp.purchased-info.service.d.ts +3 -3
- package/package.json +1 -1
- 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.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/index.d.ts +2 -0
- package/payment-service/dto/ad-center-settle/command/index.js +2 -0
- package/payment-service/services/amqp.ad-center-settle.service.d.ts +3 -1
- package/payment-service/services/amqp.ad-center-settle.service.js +8 -0
- package/user-service/dto/ask/query/atlas/get-ask-all-settle-amount-by-atlas.dto.d.ts +0 -2
- package/user-service/dto/ask/query/atlas/get-ask-all-settle-amount-by-atlas.dto.js +1 -4
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.d.ts +0 -2
- package/user-service/dto/store/query/check-show-ad-center-inflow.dto.js +1 -4
- package/user-service/services/amqp.store.service.d.ts +2 -2
- package/user-service/services/ask/amqp.ask.service.d.ts +2 -2
package/excel-upload-server/dto/app-bulk-push-excel/query/get-app-bulk-push-jobs-status.dto.js
CHANGED
|
@@ -9,12 +9,8 @@ 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.AppBulkPushJobsStatus =
|
|
12
|
+
exports.AppBulkPushJobsStatus = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
/** 앱 푸시 상태 조회 Payload */
|
|
15
|
-
class GetAppBulkPushJobsStatusPayload {
|
|
16
|
-
}
|
|
17
|
-
exports.GetAppBulkPushJobsStatusPayload = GetAppBulkPushJobsStatusPayload;
|
|
18
14
|
/** 앱 푸시 작업 진행 상태 */
|
|
19
15
|
class AppBulkPushJobsStatus {
|
|
20
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
|
|
3
3
|
import { CreateAppBulkPushResultExcelPayload, CreateAppBulkPushResultExcelResult, CreateAppBulkPushJobPayload, CreateAppBulkPushJobResult } from '../dto/app-bulk-push-excel/command';
|
|
4
|
-
import {
|
|
4
|
+
import { GetAppBulkPushJobsStatusResult } from '../dto/app-bulk-push-excel/query';
|
|
5
5
|
export declare class AmqpAppBulkPushExcelService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -10,5 +10,5 @@ export declare class AmqpAppBulkPushExcelService {
|
|
|
10
10
|
/** 앱 푸시 작업 생성 */
|
|
11
11
|
createAppBulkPushExcelJob(payload: CreateAppBulkPushJobPayload, param: AbstractParam): Promise<CreateAppBulkPushJobResult>;
|
|
12
12
|
/** 앱 푸시 작업 진행 상태 조회 */
|
|
13
|
-
getAppBulkPushJobsStatus(payload:
|
|
13
|
+
getAppBulkPushJobsStatus(payload: void, param: AbstractParam): Promise<GetAppBulkPushJobsStatusResult>;
|
|
14
14
|
}
|
package/order-server/dto/purchasedinfos/query/atlas/get-p-info-all-settle-amount-by-atlas.dto.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPInfoAllSettleAmountByAtlasResult =
|
|
4
|
-
class GetPInfoAllSettleAmountByAtlasPayload {
|
|
5
|
-
}
|
|
6
|
-
exports.GetPInfoAllSettleAmountByAtlasPayload = GetPInfoAllSettleAmountByAtlasPayload;
|
|
3
|
+
exports.GetPInfoAllSettleAmountByAtlasResult = void 0;
|
|
7
4
|
class GetPInfoAllSettleAmountByAtlasResult {
|
|
8
5
|
}
|
|
9
6
|
exports.GetPInfoAllSettleAmountByAtlasResult = GetPInfoAllSettleAmountByAtlasResult;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPNumsForShowAdCenterInflowResult =
|
|
4
|
-
class GetPNumsForShowAdCenterInflowPayload {
|
|
5
|
-
}
|
|
6
|
-
exports.GetPNumsForShowAdCenterInflowPayload = GetPNumsForShowAdCenterInflowPayload;
|
|
3
|
+
exports.GetPNumsForShowAdCenterInflowResult = void 0;
|
|
7
4
|
class GetPNumsForShowAdCenterInflowResult {
|
|
8
5
|
}
|
|
9
6
|
exports.GetPNumsForShowAdCenterInflowResult = GetPNumsForShowAdCenterInflowResult;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult,
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getPInfoSettleAmountInfoByAtlas(payload: GetPInfoSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountInfoByAtlasResult>;
|
|
9
|
-
getPInfoAllSettleAmountByAtlas(payload:
|
|
9
|
+
getPInfoAllSettleAmountByAtlas(payload: void, param: AbstractParam): Promise<GetPInfoAllSettleAmountByAtlasResult>;
|
|
10
10
|
getPInfoLegacySettleLogsByAtlas(payload: GetPInfoLegacySettleLogsByAtlasPayload, param: AbstractParam): Promise<GetPInfoLegacySettleLogsByAtlasResult>;
|
|
11
11
|
getPInfoDoneSettleAmountByAtlas(payload: GetPInfoDoneSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetPInfoDoneSettleAmountByAtlasResult>;
|
|
12
12
|
getPInfoExpectSettleAmountByAtlas(payload: GetPInfoExpectSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetPInfoExpectSettleAmountByAtlasResult>;
|
|
@@ -23,7 +23,7 @@ export declare class AmqpPurchasedInfoService {
|
|
|
23
23
|
getItemSaleInfosForSalesTeamByAtlas(payload: GetItemSaleInfosForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleInfosForSalesTeamByAtlasResult>;
|
|
24
24
|
getItemSaleMergeDataForSalesTeamByAtlas(payload: GetItemSaleMergeDataForSalesTeamByAtlasPayload, param: AbstractParam): Promise<GetItemSaleMergeDataForSalesTeamByAtlasResult>;
|
|
25
25
|
autoChangeWaitingReceive(payload: void, param: AbstractParam): Promise<void>;
|
|
26
|
-
getPNumsForShowAdCenterInflow(payload:
|
|
26
|
+
getPNumsForShowAdCenterInflow(payload: void, param: AbstractParam): Promise<GetPNumsForShowAdCenterInflowResult>;
|
|
27
27
|
getPNumsGroupItemId(payload: GetPNumsGroupItemIdPayload, param: AbstractParam): Promise<GetPNumsGroupItemIdResult>;
|
|
28
28
|
getPInfoIdsForPredictSettle(payload: GetPInfoIdsForPredictSettlePayload, param: AbstractParam): Promise<GetPInfoIdsForPredictSettleResult>;
|
|
29
29
|
getPInfosForBeforeDeliveryExcel(payload: GetPInfosForBeforeDeliveryExcelPayload, param: AbstractParam): Promise<GetPInfosForBeforeDeliveryExcelResult[]>;
|
package/package.json
CHANGED
|
@@ -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,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);
|
|
@@ -2,3 +2,5 @@ export * from './create-ad-center-coupon-settles.dto';
|
|
|
2
2
|
export * from './edit-ad-center-coupon-settle.dto';
|
|
3
3
|
export * from './delete-ad-center-settles.dto';
|
|
4
4
|
export * from './delete-ad-center-coupon-settle.dto';
|
|
5
|
+
export * from './create-ad-center-settles.dto';
|
|
6
|
+
export * from './edit-ad-center-settle.dto';
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./create-ad-center-coupon-settles.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./edit-ad-center-coupon-settle.dto"), exports);
|
|
19
19
|
__exportStar(require("./delete-ad-center-settles.dto"), exports);
|
|
20
20
|
__exportStar(require("./delete-ad-center-coupon-settle.dto"), exports);
|
|
21
|
+
__exportStar(require("./create-ad-center-settles.dto"), exports);
|
|
22
|
+
__exportStar(require("./edit-ad-center-settle.dto"), exports);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateAdCenterCouponSettlesPayload, EditAdCenterCouponSettlePayload, DeleteAdCenterSettlesPayload, DeleteAdCenterCouponSettlePayload, GetAdCenterSettlesForSellerTransactionPayload, GetAdCenterSettlesForSellerTransactionResult } from '../dto/ad-center-settle';
|
|
3
|
+
import { CreateAdCenterCouponSettlesPayload, EditAdCenterCouponSettlePayload, DeleteAdCenterSettlesPayload, DeleteAdCenterCouponSettlePayload, GetAdCenterSettlesForSellerTransactionPayload, GetAdCenterSettlesForSellerTransactionResult, CreateAdCenterSettlePayload, CreateAdCenterSettleResult, EditAdCenterSettlePayload } from '../dto/ad-center-settle';
|
|
4
4
|
export declare class AmqpAdCenterSettleService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
+
createAdCenterSettles(payload: CreateAdCenterSettlePayload, param: AbstractParam): Promise<CreateAdCenterSettleResult>;
|
|
9
|
+
editAdCenterSettles(payload: EditAdCenterSettlePayload, param: AbstractParam): Promise<void>;
|
|
8
10
|
createAdCenterCouponSettles(payload: CreateAdCenterCouponSettlesPayload, param: AbstractParam): Promise<void>;
|
|
9
11
|
deleteAdCenterSettles(payload: DeleteAdCenterSettlesPayload, param: AbstractParam): Promise<void>;
|
|
10
12
|
editAdCenterCouponSettle(payload: EditAdCenterCouponSettlePayload, param: AbstractParam): Promise<void>;
|
|
@@ -21,6 +21,14 @@ let AmqpAdCenterSettleService = class AmqpAdCenterSettleService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
async createAdCenterSettles(payload, param) {
|
|
25
|
+
// eslint-disable-next-line max-len
|
|
26
|
+
return this.amqpManager.call('광고센터 정산 데이터 생성', 'ad-center-settle.create', payload, param, { isErrorThrowing: true });
|
|
27
|
+
}
|
|
28
|
+
async editAdCenterSettles(payload, param) {
|
|
29
|
+
// eslint-disable-next-line max-len
|
|
30
|
+
return this.amqpManager.call('광고센터 정산 데이터 생성', 'ad-center-settle.edit', payload, param, { isErrorThrowing: true });
|
|
31
|
+
}
|
|
24
32
|
async createAdCenterCouponSettles(payload, param) {
|
|
25
33
|
// eslint-disable-next-line max-len
|
|
26
34
|
return this.amqpManager.call('광고센터쿠폰 정산 데이터 생성', 'ad-center-settle.create.ad-center-coupon', payload, param, { isErrorThrowing: true });
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAskAllSettleAmountByAtlasResult =
|
|
4
|
-
class GetAskAllSettleAmountByAtlasPayload {
|
|
5
|
-
}
|
|
6
|
-
exports.GetAskAllSettleAmountByAtlasPayload = GetAskAllSettleAmountByAtlasPayload;
|
|
3
|
+
exports.GetAskAllSettleAmountByAtlasResult = void 0;
|
|
7
4
|
class GetAskAllSettleAmountByAtlasResult {
|
|
8
5
|
}
|
|
9
6
|
exports.GetAskAllSettleAmountByAtlasResult = GetAskAllSettleAmountByAtlasResult;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CheckShowAdCenterInflowResult = exports.
|
|
3
|
+
exports.CheckShowAdCenterInflowResult = exports.CheckCaseEnum = void 0;
|
|
4
4
|
var CheckCaseEnum;
|
|
5
5
|
(function (CheckCaseEnum) {
|
|
6
6
|
CheckCaseEnum["case1"] = "case1";
|
|
7
7
|
CheckCaseEnum["case2"] = "case2";
|
|
8
8
|
})(CheckCaseEnum || (exports.CheckCaseEnum = CheckCaseEnum = {}));
|
|
9
|
-
class CheckShowAdCenterInflowPayload {
|
|
10
|
-
}
|
|
11
|
-
exports.CheckShowAdCenterInflowPayload = CheckShowAdCenterInflowPayload;
|
|
12
9
|
class CheckShowAdCenterInflowResult {
|
|
13
10
|
}
|
|
14
11
|
exports.CheckShowAdCenterInflowResult = CheckShowAdCenterInflowResult;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { DomesticAccountStoreEntity, StoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult,
|
|
4
|
+
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload, GetStoresBySellerIdsPayload, StoreBySellerId, GetStoreIdBySellerIdPayload, GetStoreIdBySellerIdResult, BulkWriteStoreAdminDesignatedAutoReplyMessagePayload, BulkWriteStoreAdminDesignatedAutoReplyMessageResult, GetStoreByIdPayload, BulkWriteLastProceedsGoalSettleDatePayload, BulkWriteLastProceedsGoalSettleDateResult } from '../dto/store';
|
|
5
5
|
import { GetStoresForTossPaymentPayload } from '../dto/store/query/get-stores-for-toss-payment.dto';
|
|
6
6
|
export declare class AmqpStoreService {
|
|
7
7
|
private readonly client;
|
|
@@ -16,7 +16,7 @@ export declare class AmqpStoreService {
|
|
|
16
16
|
getStoreIdsByStoreTitle(payload: GetStoreIdsByStoreTitlePayload, param: AbstractParam): Promise<GetStoreIdsByStoreTitleResult>;
|
|
17
17
|
getStoreTitlesByStoreIds(payload: GetStoreTitlesByStoreIdsPayload, param: AbstractParam): Promise<GetStoreTitlesByStoreIdsResult>;
|
|
18
18
|
getStoreIdsByAtlas(payload: GetStoreIdsByAtlasPayload, param: AbstractParam): Promise<GetStoreIdsByAtlasResult>;
|
|
19
|
-
checkShowAdCenterInflow(payload:
|
|
19
|
+
checkShowAdCenterInflow(payload: void, param: AbstractParam): Promise<boolean>;
|
|
20
20
|
getStoreTitlesBySellerIds(payload: GetStoreTitlesBySellerIdsPayload, param: AbstractParam): Promise<GetStoreTitlesBySellerIdsResult>;
|
|
21
21
|
updateLastActivityDate(payload: UpdateLastActivityDatePayload, param: AbstractParam): Promise<void>;
|
|
22
22
|
getStoresBySellerIds(payload: GetStoresBySellerIdsPayload, param: AbstractParam): Promise<StoreBySellerId[]>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult,
|
|
3
|
+
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasResult, GetAskLegacySettleLogsByAtlasPayload, GetAskLegacySettleLogsByAtlasResult, GetAskAccumulatedSettleAmountByAtlasPayload, GetAskAccumulatedSettleAmountByAtlasResult, GetAskDoneSettleAmountByAtlasPayload, GetAskDoneSettleAmountByAtlasResult, GetAskExpectSettleAmountByAtlasPayload, GetAskExpectSettleAmountByAtlasResult, GetAskForExpectSettleByAtlasResult, GetAskForExpectSettleByAtlasPayload } from '../../dto/ask';
|
|
4
4
|
export declare class AmqpAskService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getAskIdsByAtlasSearch(payload: GetAskIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetAskIdsByAtlasSearchResult>;
|
|
9
9
|
getAskSettleAmountInfoByAtlas(payload: GetAskSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountInfoByAtlasResult>;
|
|
10
|
-
getAskAllSettleAmountByAtlas(payload:
|
|
10
|
+
getAskAllSettleAmountByAtlas(payload: void, param: AbstractParam): Promise<GetAskAllSettleAmountByAtlasResult>;
|
|
11
11
|
getAskLegacySettleLogsByAtlas(payload: GetAskLegacySettleLogsByAtlasPayload, param: AbstractParam): Promise<GetAskLegacySettleLogsByAtlasResult>;
|
|
12
12
|
getAskDoneSettleAmountByAtlas(payload: GetAskDoneSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskDoneSettleAmountByAtlasResult>;
|
|
13
13
|
getAskExpectSettleAmountByAtlas(payload: GetAskExpectSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskExpectSettleAmountByAtlasResult>;
|