@yolo-croket-dev/amqp-access 0.5.114 → 0.5.115-sj
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/query/check-purchase-receipt-exists-in-last-days.dto.d.ts +7 -0
- package/order-server/dto/purchase-receipt/query/check-purchase-receipt-exists-in-last-days.dto.js +23 -0
- package/order-server/dto/purchase-receipt/query/index.d.ts +1 -0
- package/order-server/dto/purchase-receipt/query/index.js +1 -0
- package/order-server/dto/purchasedinfos/query/{check-purchased-info-exists-in-last-days.dto.d.ts → check-purchase-info-exists-in-last-days.dto.d.ts} +0 -1
- package/order-server/dto/purchasedinfos/query/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/query/index.js +0 -1
- package/order-server/services/amqp.purchase-receipt.service.d.ts +2 -0
- package/order-server/services/amqp.purchase-receipt.service.js +3 -0
- package/order-server/services/amqp.purchased-info.service.d.ts +1 -2
- package/order-server/services/amqp.purchased-info.service.js +0 -3
- package/package.json +1 -1
- /package/order-server/dto/purchasedinfos/query/{check-purchased-info-exists-in-last-days.dto.js → check-purchase-info-exists-in-last-days.dto.js} +0 -0
package/order-server/dto/purchase-receipt/query/check-purchase-receipt-exists-in-last-days.dto.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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.CheckPurchaseReceiptExistsInLastDaysResult = exports.CheckPurchaseReceiptExistsInLastDaysPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CheckPurchaseReceiptExistsInLastDaysPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.CheckPurchaseReceiptExistsInLastDaysPayload = CheckPurchaseReceiptExistsInLastDaysPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CheckPurchaseReceiptExistsInLastDaysPayload.prototype, "days", void 0);
|
|
21
|
+
class CheckPurchaseReceiptExistsInLastDaysResult {
|
|
22
|
+
}
|
|
23
|
+
exports.CheckPurchaseReceiptExistsInLastDaysResult = CheckPurchaseReceiptExistsInLastDaysResult;
|
|
@@ -3,3 +3,4 @@ export * from './search-purchase-receipt-detail.dto';
|
|
|
3
3
|
export * from './reload-purchase-receipt.dto';
|
|
4
4
|
export * from './check-can-update-purchase-receipt-receive-info.dto';
|
|
5
5
|
export * from './search-purchase-receipt-receive-info.dto';
|
|
6
|
+
export * from './check-purchase-receipt-exists-in-last-days.dto';
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./search-purchase-receipt-detail.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./reload-purchase-receipt.dto"), exports);
|
|
20
20
|
__exportStar(require("./check-can-update-purchase-receipt-receive-info.dto"), exports);
|
|
21
21
|
__exportStar(require("./search-purchase-receipt-receive-info.dto"), exports);
|
|
22
|
+
__exportStar(require("./check-purchase-receipt-exists-in-last-days.dto"), exports);
|
|
@@ -11,4 +11,3 @@ export * from './check-can-change-purchased-options-by-pay-try-log-id.dto';
|
|
|
11
11
|
export * from './get-purchased-info-items-for-extraction-by-type.dto';
|
|
12
12
|
export * from './get-expect-settle-amount.dto';
|
|
13
13
|
export * from './get-changed-option-public-ids-by-ids.dto';
|
|
14
|
-
export * from './check-purchased-info-exists-in-last-days.dto';
|
|
@@ -27,4 +27,3 @@ __exportStar(require("./check-can-change-purchased-options-by-pay-try-log-id.dto
|
|
|
27
27
|
__exportStar(require("./get-purchased-info-items-for-extraction-by-type.dto"), exports);
|
|
28
28
|
__exportStar(require("./get-expect-settle-amount.dto"), exports);
|
|
29
29
|
__exportStar(require("./get-changed-option-public-ids-by-ids.dto"), exports);
|
|
30
|
-
__exportStar(require("./check-purchased-info-exists-in-last-days.dto"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { CheckCanUpdatePurchaseReceiptReceiveInfoPayload, CheckCanUpdatePurchaseReceiptReceiveInfoResult, CreatePurchaseReceiptPayload, ReloadPurchaseReceiptPayload, ReloadPurchaseReceiptResult, SearchPurchaseReceiptDetailPayload, SearchPurchaseReceiptDetailResult, SearchPurchaseReceiptReceiveInfoPayload, SearchPurchaseReceiptReceiveInfoResult, SearchPurchaseReceiptsPayload, SearchPurchaseReceiptsResult, UpdatePurchaseReceiptPayload, UpdatePurchaseReceiptProcessBulkPayload, UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, UpdatePurchaseReceiptReceiveInfoPayload } from '../dto/purchase-receipt';
|
|
4
|
+
import { CheckPurchasedInfoExistsInLastDaysPayload, CheckPurchasedInfoExistsInLastDaysResult } from '../dto/purchasedinfos/query/check-purchase-info-exists-in-last-days.dto';
|
|
4
5
|
export declare class AmqpPurchaseReceiptService {
|
|
5
6
|
private readonly client;
|
|
6
7
|
private readonly amqpManager;
|
|
@@ -17,4 +18,5 @@ export declare class AmqpPurchaseReceiptService {
|
|
|
17
18
|
syncPurchaseReceiptProcess(param: AbstractParam): Promise<void>;
|
|
18
19
|
updatePurchaseReceiptProcessBulk(payload: UpdatePurchaseReceiptProcessBulkPayload, param: AbstractParam): Promise<void>;
|
|
19
20
|
updatePurchaseReceiptReceiveInfoByPInfoIdAsAdmin(payload: UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, param: AbstractParam): Promise<any>;
|
|
21
|
+
checkPurchasedInfoExistsInLastDays(payload: CheckPurchasedInfoExistsInLastDaysPayload, param: AbstractParam): Promise<CheckPurchasedInfoExistsInLastDaysResult>;
|
|
20
22
|
}
|
|
@@ -59,6 +59,9 @@ let AmqpPurchaseReceiptService = class AmqpPurchaseReceiptService {
|
|
|
59
59
|
async updatePurchaseReceiptReceiveInfoByPInfoIdAsAdmin(payload, param) {
|
|
60
60
|
return this.amqpManager.call('구매자 주문서 수령 정보 수정 -관리자-', 'purchase-receipt.update.receive-info-by-pinfo-id-as-admin', payload, param, { isErrorThrowing: true });
|
|
61
61
|
}
|
|
62
|
+
async checkPurchasedInfoExistsInLastDays(payload, param) {
|
|
63
|
+
return this.amqpManager.call('특정 기간 동안 주문서 존재 여부 확인 -구매자-', 'purchase-receipt.check.exists-in-last-days', payload, param, { isErrorThrowing: true });
|
|
64
|
+
}
|
|
62
65
|
};
|
|
63
66
|
exports.AmqpPurchaseReceiptService = AmqpPurchaseReceiptService;
|
|
64
67
|
exports.AmqpPurchaseReceiptService = AmqpPurchaseReceiptService = __decorate([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, 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, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult, GetExpectSettleAmountResult, GetPInfoForExpectSettleByAtlasPayload, GetChangedOptionPublicIdsByIdsPayload, GetChangedOptionPublicIdsByIdsResult
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, 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, GetPNumsForShowAdCenterInflowPayload, 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;
|
|
@@ -37,5 +37,4 @@ export declare class AmqpPurchasedInfoService {
|
|
|
37
37
|
getPInfoForExpectSettleByAtlas(payload: GetPInfoForExpectSettleByAtlasPayload, param: AbstractParam): Promise<GetPInfoForExpectSettleByAtlasResult[]>;
|
|
38
38
|
getExpectSettleAmount(param: AbstractParam): Promise<GetExpectSettleAmountResult>;
|
|
39
39
|
getChangedOptionPublicIdsByIds(payload: GetChangedOptionPublicIdsByIdsPayload, param: AbstractParam): Promise<GetChangedOptionPublicIdsByIdsResult[]>;
|
|
40
|
-
checkPurchasedInfoExistsInLastDays(payload: CheckPurchasedInfoExistsInLastDaysPayload, param: AbstractParam): Promise<CheckPurchasedInfoExistsInLastDaysResult>;
|
|
41
40
|
}
|
|
@@ -118,9 +118,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
118
118
|
async getChangedOptionPublicIdsByIds(payload, param) {
|
|
119
119
|
return this.amqpManager.call('결제 아이디 리스트로 변경된 옵션 publicId 리스트 조회', 'purchased-info.get.changed-option-public-ids-by-ids', payload, param, { isErrorThrowing: true });
|
|
120
120
|
}
|
|
121
|
-
async checkPurchasedInfoExistsInLastDays(payload, param) {
|
|
122
|
-
return this.amqpManager.call('특정 기간 동안 구매 정보 존재 여부 확인 -구매자-', 'purchased-info.check.exists-in-last-days', payload, param, { isErrorThrowing: true });
|
|
123
|
-
}
|
|
124
121
|
};
|
|
125
122
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
126
123
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED