@yolo-croket-dev/amqp-access 0.0.201 → 0.0.202-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/order-server/dto/purchasedinfos/query/atlas/get-item-sale-infos-for-sales-team-by-atlas.dto.d.ts +19 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-item-sale-infos-for-sales-team-by-atlas.dto.js +39 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-item-sale-merge-data-for-sales-team-by-atlas.dto.d.ts +24 -0
- package/order-server/dto/purchasedinfos/query/atlas/get-item-sale-merge-data-for-sales-team-by-atlas.dto.js +42 -0
- package/order-server/dto/purchasedinfos/query/atlas/index.d.ts +2 -0
- package/order-server/dto/purchasedinfos/query/atlas/index.js +2 -0
- package/order-server/services/amqp.bundle-p-info.service.d.ts +1 -1
- package/order-server/services/amqp.bundle-p-info.service.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
|
|
2
|
+
import { StoreItem } from '@yolo-croket-dev/entity/src/store-item';
|
|
3
|
+
import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
4
|
+
export declare class GetItemSaleInfosForSalesTeamByAtlasPayload {
|
|
5
|
+
itemIds: string[];
|
|
6
|
+
selectPInfoProcessList: string[];
|
|
7
|
+
paymentSDate?: string;
|
|
8
|
+
paymentEDate?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetItemSaleInfosForSalesTeamByAtlasResult {
|
|
11
|
+
allCount: number;
|
|
12
|
+
datas: SearchedPurchasedInfoForSaleInfo[];
|
|
13
|
+
}
|
|
14
|
+
export type SearchedItemInfoForSaleInfo = Pick<StoreItem, '_id' | 'bookNums' | 'itemName'>;
|
|
15
|
+
export type SearchedSellerInfoForSaleInfo = Pick<UserEntity, '_id' | 'username'>;
|
|
16
|
+
export type SearchedPurchasedInfoForSaleInfo = Pick<PurchasedInfoEntity, '_id' | 'process' | 'itemId' | 'sellerId' | 'paidPrice' | 'pastName' | 'totalPrice' | 'paymentDate' | 'couponInfo' | 'usedCredit' | 'proceedsInfo'> & {
|
|
17
|
+
searchedItemInfo: SearchedItemInfoForSaleInfo;
|
|
18
|
+
searchedSellerInfo: SearchedSellerInfoForSaleInfo;
|
|
19
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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.GetItemSaleInfosForSalesTeamByAtlasResult = exports.GetItemSaleInfosForSalesTeamByAtlasPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetItemSaleInfosForSalesTeamByAtlasPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetItemSaleInfosForSalesTeamByAtlasPayload = GetItemSaleInfosForSalesTeamByAtlasPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "itemIds", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
24
|
+
(0, class_validator_1.IsArray)(),
|
|
25
|
+
__metadata("design:type", Array)
|
|
26
|
+
], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "selectPInfoProcessList", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsDateString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "paymentSDate", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsDateString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GetItemSaleInfosForSalesTeamByAtlasPayload.prototype, "paymentEDate", void 0);
|
|
37
|
+
class GetItemSaleInfosForSalesTeamByAtlasResult {
|
|
38
|
+
}
|
|
39
|
+
exports.GetItemSaleInfosForSalesTeamByAtlasResult = GetItemSaleInfosForSalesTeamByAtlasResult;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SearchedItemInfoForSaleInfo, SearchedSellerInfoForSaleInfo } from './get-item-sale-infos-for-sales-team-by-atlas.dto';
|
|
2
|
+
export declare class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
|
|
3
|
+
itemIds: string[];
|
|
4
|
+
selectPInfoProcessList: string[];
|
|
5
|
+
paymentSDate?: string;
|
|
6
|
+
paymentEDate?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class GetItemSaleMergeDataForSalesTeamByAtlasResult {
|
|
9
|
+
datas: ItemSaleInfoForSaleTeam[];
|
|
10
|
+
}
|
|
11
|
+
export declare class ItemSaleInfoForSaleTeam {
|
|
12
|
+
itemId: string;
|
|
13
|
+
customItemInfo: {
|
|
14
|
+
_id: string;
|
|
15
|
+
clickNumsBefore1day: number;
|
|
16
|
+
allPNums: number;
|
|
17
|
+
allPaidPrice: number;
|
|
18
|
+
allBasePrice: number;
|
|
19
|
+
allCouponPrice: number;
|
|
20
|
+
allUsedCredit: number;
|
|
21
|
+
};
|
|
22
|
+
searchedItemInfo: SearchedItemInfoForSaleInfo;
|
|
23
|
+
searchedSellerInfo: SearchedSellerInfoForSaleInfo;
|
|
24
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.ItemSaleInfoForSaleTeam = exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetItemSaleMergeDataForSalesTeamByAtlasPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetItemSaleMergeDataForSalesTeamByAtlasPayload = GetItemSaleMergeDataForSalesTeamByAtlasPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], GetItemSaleMergeDataForSalesTeamByAtlasPayload.prototype, "itemIds", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
24
|
+
(0, class_validator_1.IsArray)(),
|
|
25
|
+
__metadata("design:type", Array)
|
|
26
|
+
], GetItemSaleMergeDataForSalesTeamByAtlasPayload.prototype, "selectPInfoProcessList", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsDateString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], GetItemSaleMergeDataForSalesTeamByAtlasPayload.prototype, "paymentSDate", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsDateString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GetItemSaleMergeDataForSalesTeamByAtlasPayload.prototype, "paymentEDate", void 0);
|
|
37
|
+
class GetItemSaleMergeDataForSalesTeamByAtlasResult {
|
|
38
|
+
}
|
|
39
|
+
exports.GetItemSaleMergeDataForSalesTeamByAtlasResult = GetItemSaleMergeDataForSalesTeamByAtlasResult;
|
|
40
|
+
class ItemSaleInfoForSaleTeam {
|
|
41
|
+
}
|
|
42
|
+
exports.ItemSaleInfoForSaleTeam = ItemSaleInfoForSaleTeam;
|
|
@@ -6,3 +6,5 @@ export * from './get-p-info-expect-settle-amount-by-atlas.dto';
|
|
|
6
6
|
export * from './get-p-info-accumulated-settle-amount-by-atlas.dto';
|
|
7
7
|
export * from './get-p-infos-for-manage-buyer-by-atlas.dto';
|
|
8
8
|
export * from './get-facet-p-infos-for-manage-buyer-by-atlas.dto';
|
|
9
|
+
export * from './get-item-sale-infos-for-sales-team-by-atlas.dto';
|
|
10
|
+
export * from './get-item-sale-merge-data-for-sales-team-by-atlas.dto';
|
|
@@ -22,3 +22,5 @@ __exportStar(require("./get-p-info-expect-settle-amount-by-atlas.dto"), exports)
|
|
|
22
22
|
__exportStar(require("./get-p-info-accumulated-settle-amount-by-atlas.dto"), exports);
|
|
23
23
|
__exportStar(require("./get-p-infos-for-manage-buyer-by-atlas.dto"), exports);
|
|
24
24
|
__exportStar(require("./get-facet-p-infos-for-manage-buyer-by-atlas.dto"), exports);
|
|
25
|
+
__exportStar(require("./get-item-sale-infos-for-sales-team-by-atlas.dto"), exports);
|
|
26
|
+
__exportStar(require("./get-item-sale-merge-data-for-sales-team-by-atlas.dto"), exports);
|
|
@@ -9,5 +9,5 @@ export declare class AmqpBundlePInfoService {
|
|
|
9
9
|
regBundlePInfo(payload: RegBundlePInfoPayload, param: AbstractParam): Promise<void>;
|
|
10
10
|
getBundlePInfoForPayLog(payload: GetBundlePInfoForPayLogPayload, param: AbstractParam): Promise<GetBundlePInfoForPayLogResult>;
|
|
11
11
|
syncProcessBulk(payload: SyncProcessBulkPayload, param: AbstractParam): Promise<void>;
|
|
12
|
-
|
|
12
|
+
updateNotEqualPaymentDate(payload: UpdateNotEqualPaymentDatePayload, param: AbstractParam): Promise<void>;
|
|
13
13
|
}
|
|
@@ -35,8 +35,8 @@ let AmqpBundlePInfoService = class AmqpBundlePInfoService {
|
|
|
35
35
|
async syncProcessBulk(payload, param) {
|
|
36
36
|
return this.amqpManager.call('묶음 결제 process sync', 'bundle-p-info.sync.process-bulk', payload, param, { isErrorThrowing: true });
|
|
37
37
|
}
|
|
38
|
-
async
|
|
39
|
-
return this.amqpManager.call('묶음 결제 부모 결제 업데이트', 'bundle-p-info.update.not-equal-
|
|
38
|
+
async updateNotEqualPaymentDate(payload, param) {
|
|
39
|
+
return this.amqpManager.call('묶음 결제 부모 결제 업데이트', 'bundle-p-info.update.not-equal-payment-date', payload, param, { isErrorThrowing: true });
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
exports.AmqpBundlePInfoService = AmqpBundlePInfoService;
|