@yolo-croket-dev/amqp-access 0.4.105-sj8 → 0.4.105
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/check-can-change-purchased-options-by-pay-try-log-id.dto.d.ts +10 -0
- package/{store-item-server/dto/store-item/query/get-store-item-count-for-brand.dto.js → order-server/dto/purchasedinfos/query/check-can-change-purchased-options-by-pay-try-log-id.dto.js} +10 -7
- package/order-server/dto/purchasedinfos/query/index.d.ts +1 -0
- package/order-server/dto/purchasedinfos/query/index.js +1 -0
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -1
- package/order-server/services/amqp.purchased-info.service.js +3 -0
- package/package.json +2 -2
- package/store-item-server/dto/index.d.ts +0 -1
- package/store-item-server/dto/index.js +0 -1
- package/store-item-server/dto/store-item/query/index.d.ts +0 -1
- package/store-item-server/dto/store-item/query/index.js +0 -1
- package/store-item-server/dto/brand/command/auto-create-brand.dto.d.ts +0 -8
- package/store-item-server/dto/brand/command/auto-create-brand.dto.js +0 -30
- package/store-item-server/dto/brand/command/index.d.ts +0 -1
- package/store-item-server/dto/brand/command/index.js +0 -17
- package/store-item-server/dto/brand/index.d.ts +0 -2
- package/store-item-server/dto/brand/index.js +0 -18
- package/store-item-server/dto/brand/query/get-brands-by-brand-names.dto.d.ts +0 -6
- package/store-item-server/dto/brand/query/get-brands-by-brand-names.dto.js +0 -21
- package/store-item-server/dto/brand/query/index.d.ts +0 -1
- package/store-item-server/dto/brand/query/index.js +0 -17
- package/store-item-server/dto/store-item/query/get-store-item-count-for-brand.dto.d.ts +0 -6
|
@@ -9,15 +9,18 @@ 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.
|
|
12
|
+
exports.CheckCanChangePurchasedOptionsByPayTryLogIdResult = exports.CheckCanChangePurchasedOptionsByPayTryLogIdPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class CheckCanChangePurchasedOptionsByPayTryLogIdPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.CheckCanChangePurchasedOptionsByPayTryLogIdPayload = CheckCanChangePurchasedOptionsByPayTryLogIdPayload;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
21
|
-
|
|
20
|
+
], CheckCanChangePurchasedOptionsByPayTryLogIdPayload.prototype, "PTLId", void 0);
|
|
21
|
+
/**
|
|
22
|
+
* isArray
|
|
23
|
+
* */
|
|
24
|
+
class CheckCanChangePurchasedOptionsByPayTryLogIdResult {
|
|
22
25
|
}
|
|
23
|
-
exports.
|
|
26
|
+
exports.CheckCanChangePurchasedOptionsByPayTryLogIdResult = CheckCanChangePurchasedOptionsByPayTryLogIdResult;
|
|
@@ -7,3 +7,4 @@ export * from './get-p-infos-for-before-delivery-excel.dto';
|
|
|
7
7
|
export * from './get-purchased-infos-for-unconfirmed-waiting-order-sellers-excel.dto';
|
|
8
8
|
export * from './is-purchase-store-item-by-user-bulk.dto';
|
|
9
9
|
export * from './check-can-change-purchased-option.dto';
|
|
10
|
+
export * from './check-can-change-purchased-options-by-pay-try-log-id.dto';
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./get-p-infos-for-before-delivery-excel.dto"), exports);
|
|
|
23
23
|
__exportStar(require("./get-purchased-infos-for-unconfirmed-waiting-order-sellers-excel.dto"), exports);
|
|
24
24
|
__exportStar(require("./is-purchase-store-item-by-user-bulk.dto"), exports);
|
|
25
25
|
__exportStar(require("./check-can-change-purchased-option.dto"), exports);
|
|
26
|
+
__exportStar(require("./check-can-change-purchased-options-by-pay-try-log-id.dto"), exports);
|
|
@@ -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 } from '../dto/purchasedinfos';
|
|
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 } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -32,4 +32,5 @@ export declare class AmqpPurchasedInfoService {
|
|
|
32
32
|
isPurchaseStoreItemByUserBulk(payload: IsPurchaseStoreItemByUserBulkPayload, param: AbstractParam): Promise<IsPurchaseStoreItemByUserBulkResponse>;
|
|
33
33
|
checkCanChangePurchasedOption(payload: CheckCanChangePurchasedOptionPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionResult>;
|
|
34
34
|
changePurchasedOption(payload: ChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
|
|
35
|
+
checkCanChangePurchasedOptionsByPayTryLogId(payload: CheckCanChangePurchasedOptionsByPayTryLogIdPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionsByPayTryLogIdResult>;
|
|
35
36
|
}
|
|
@@ -103,6 +103,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
103
103
|
async changePurchasedOption(payload, param) {
|
|
104
104
|
return this.amqpManager.call('구매 옵션 변경', 'purchased-info.change.purchased-option', payload, param, { isErrorThrowing: true });
|
|
105
105
|
}
|
|
106
|
+
async checkCanChangePurchasedOptionsByPayTryLogId(payload, param) {
|
|
107
|
+
return this.amqpManager.call('구매 옵션 변경 가능 여부 확인', 'purchased-info.check.can-change-purchased-options-by-pay-try-log-id', payload, param, { isErrorThrowing: true });
|
|
108
|
+
}
|
|
106
109
|
};
|
|
107
110
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
108
111
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.105
|
|
3
|
+
"version": "0.4.105",
|
|
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.1.4",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.7",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.2.10",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.1.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.1.46",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -21,4 +21,3 @@ __exportStar(require("./time-deal"), exports);
|
|
|
21
21
|
__exportStar(require("./auto-sold-out-store-item-log"), exports);
|
|
22
22
|
__exportStar(require("./store-item-log-v2"), exports);
|
|
23
23
|
__exportStar(require("./selling-info-log"), exports);
|
|
24
|
-
__exportStar(require("./brand"), exports);
|
|
@@ -16,4 +16,3 @@ export * from './get-stale-store-items-for-excel.dto';
|
|
|
16
16
|
export * from './get-store-item-tooltip-for-cart.dto';
|
|
17
17
|
export * from './get-store-items-by-brand-name.dto';
|
|
18
18
|
export * from './search-store-items-for-test-api.dto';
|
|
19
|
-
export * from './get-store-item-count-for-brand.dto';
|
|
@@ -32,4 +32,3 @@ __exportStar(require("./get-stale-store-items-for-excel.dto"), exports);
|
|
|
32
32
|
__exportStar(require("./get-store-item-tooltip-for-cart.dto"), exports);
|
|
33
33
|
__exportStar(require("./get-store-items-by-brand-name.dto"), exports);
|
|
34
34
|
__exportStar(require("./search-store-items-for-test-api.dto"), exports);
|
|
35
|
-
__exportStar(require("./get-store-item-count-for-brand.dto"), exports);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.AutoCreateBrandPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class AutoCreateBrandPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.AutoCreateBrandPayload = AutoCreateBrandPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], AutoCreateBrandPayload.prototype, "brandName", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], AutoCreateBrandPayload.prototype, "engBrandName", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsNumber)(),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], AutoCreateBrandPayload.prototype, "excelItemCount", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './auto-create-brand.dto';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./auto-create-brand.dto"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./query"), exports);
|
|
18
|
-
__exportStar(require("./command"), exports);
|
|
@@ -1,21 +0,0 @@
|
|
|
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.GetBrandsByBrandNamesPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GetBrandsByBrandNamesPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.GetBrandsByBrandNamesPayload = GetBrandsByBrandNamesPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], GetBrandsByBrandNamesPayload.prototype, "brandNames", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './get-brands-by-brand-names.dto';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-brands-by-brand-names.dto"), exports);
|