@yolo-croket-dev/amqp-access 0.7.226 → 0.7.228
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/package.json +5 -4
- package/payment-service/dto/partial-refund/command/create-partial-refund.dto.d.ts +2 -0
- package/payment-service/dto/partial-refund/command/create-partial-refund.dto.js +2 -0
- package/store-item-server/dto/store-item/command/edit-store-item.dto.d.ts +36 -3
- package/store-item-server/dto/store-item/command/edit-store-item.dto.js +107 -5
- package/store-item-server/dto/store-item/query/atlas-search/get-legacy-store-items-by-atlas-search.dto.d.ts +3 -0
- package/store-item-server/dto/store-item/query/atlas-search/get-legacy-store-items-by-atlas-search.dto.js +6 -0
- package/store-item-server/dto/store-item/query/atlas-search/get-store-item-ids-by-atlas-search.dto.d.ts +3 -0
- package/store-item-server/dto/store-item/query/atlas-search/get-store-item-ids-by-atlas-search.dto.js +6 -0
- package/store-item-server/services/amqp.store-item.service.d.ts +6 -0
- package/store-item-server/services/amqp.store-item.service.js +8 -0
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.d.ts +2 -1
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.228",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
"license": "UNLICENSED",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
|
+
"@nestjs/mapped-types": "2.0.2",
|
|
21
22
|
"@yolo-croket-dev/core": "^1.9.3",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.2.
|
|
23
|
+
"@yolo-croket-dev/domain": "0.2.40",
|
|
23
24
|
"@yolo-croket-dev/dto-v2": "0.2.22",
|
|
24
|
-
"@yolo-croket-dev/entity": "0.2.
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.3.
|
|
25
|
+
"@yolo-croket-dev/entity": "0.2.93",
|
|
26
|
+
"@yolo-croket-dev/entity-v2": "0.3.6",
|
|
26
27
|
"class-transformer": "^0.5.1",
|
|
27
28
|
"class-validator": "^0.13.2",
|
|
28
29
|
"dotenv": "^16.3.1"
|
|
@@ -18,6 +18,8 @@ export declare class CreatePartialRefundPayload {
|
|
|
18
18
|
negotiated: boolean;
|
|
19
19
|
}
|
|
20
20
|
export declare enum CreatePartialRefundErrorTypeEnum {
|
|
21
|
+
/** @description USED 상품 구매자의 환불 신청 불가 */
|
|
22
|
+
USED_ITEM_BUYER_REFUND_NOT_ALLOWED = "USED_ITEM_BUYER_REFUND_NOT_ALLOWED",
|
|
21
23
|
/** @description 이미 부분환불 진행중 */
|
|
22
24
|
ALREADY_PROGRESS = "ALREADY_PROGRESS",
|
|
23
25
|
/** @description 결제정보 없음 */
|
|
@@ -79,6 +79,8 @@ __decorate([
|
|
|
79
79
|
], CreatePartialRefundPayload.prototype, "negotiated", void 0);
|
|
80
80
|
var CreatePartialRefundErrorTypeEnum;
|
|
81
81
|
(function (CreatePartialRefundErrorTypeEnum) {
|
|
82
|
+
/** @description USED 상품 구매자의 환불 신청 불가 */
|
|
83
|
+
CreatePartialRefundErrorTypeEnum["USED_ITEM_BUYER_REFUND_NOT_ALLOWED"] = "USED_ITEM_BUYER_REFUND_NOT_ALLOWED";
|
|
82
84
|
/** @description 이미 부분환불 진행중 */
|
|
83
85
|
CreatePartialRefundErrorTypeEnum["ALREADY_PROGRESS"] = "ALREADY_PROGRESS";
|
|
84
86
|
/** @description 결제정보 없음 */
|
|
@@ -1,8 +1,41 @@
|
|
|
1
|
+
import { StoreItemTypeEnum, StoreItemUsedConditionGradeEnum, StoreItemUsedCurrencyCodeEnum, StoreItemUsedRarityEnum } from '@yolo-croket-dev/entity-v2/store-item';
|
|
1
2
|
import { RegStoreItemPayload } from './reg-store-item.dto';
|
|
2
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @author jun
|
|
5
|
+
* @description 상품 수정용 USED 발매 가격 입력값
|
|
6
|
+
* @process 빈 객체는 삭제로 허용하고 값이 있으면 통화와 금액을 함께 검증한다.
|
|
7
|
+
*/
|
|
8
|
+
export declare class EditStoreItemUsedReleasePriceInfo {
|
|
9
|
+
currencyCode?: StoreItemUsedCurrencyCodeEnum | null;
|
|
10
|
+
amount?: number | null;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @author jun
|
|
14
|
+
* @description 상품 수정용 USED 추가 정보 입력값
|
|
15
|
+
* @process 미전달 필드는 보존하고 null 또는 공백 필드는 삭제할 수 있게 검증한다.
|
|
16
|
+
*/
|
|
17
|
+
export declare class EditStoreItemUsedInfo {
|
|
18
|
+
productionYear?: number | null;
|
|
19
|
+
discoveryCountryCode?: string | null;
|
|
20
|
+
rarity?: StoreItemUsedRarityEnum | null;
|
|
21
|
+
conditionGrade?: StoreItemUsedConditionGradeEnum | null;
|
|
22
|
+
releasePriceInfo?: EditStoreItemUsedReleasePriceInfo | null;
|
|
23
|
+
}
|
|
24
|
+
declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "mainSku" | "usedItemInfo">>;
|
|
25
|
+
declare class EditStoreItemBasePayload extends EditStoreItemBasePayload_base {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @author jun
|
|
29
|
+
* @description 기존 상품 수정 요청값
|
|
30
|
+
* @process 공통 상품 정보와 USED 상품의 필드별 수정 입력값을 검증한다.
|
|
31
|
+
*/
|
|
32
|
+
export declare class EditStoreItemPayload extends EditStoreItemBasePayload {
|
|
3
33
|
itemId: string;
|
|
4
34
|
/** html 변경 여부 */
|
|
5
35
|
isHtmlContentEdit?: boolean;
|
|
36
|
+
itemType?: StoreItemTypeEnum.normal | StoreItemTypeEnum.used | null;
|
|
37
|
+
mainSku?: string | null;
|
|
38
|
+
usedItemInfo?: EditStoreItemUsedInfo | null;
|
|
6
39
|
}
|
|
7
|
-
export
|
|
8
|
-
}
|
|
40
|
+
export type EditItemResult = null;
|
|
41
|
+
export {};
|
|
@@ -9,10 +9,95 @@ 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.EditStoreItemPayload = exports.EditStoreItemUsedInfo = exports.EditStoreItemUsedReleasePriceInfo = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
16
|
+
const store_item_1 = require("@yolo-croket-dev/entity-v2/store-item");
|
|
14
17
|
const reg_store_item_dto_1 = require("./reg-store-item.dto");
|
|
15
|
-
|
|
18
|
+
function normalizeNullableString({ value }) {
|
|
19
|
+
if (typeof value !== 'string') {
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
const normalizedValue = value.trim();
|
|
23
|
+
return normalizedValue || null;
|
|
24
|
+
}
|
|
25
|
+
function hasReleasePriceInfoField(object) {
|
|
26
|
+
return Object.keys(object).length > 0;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @author jun
|
|
30
|
+
* @description 상품 수정용 USED 발매 가격 입력값
|
|
31
|
+
* @process 빈 객체는 삭제로 허용하고 값이 있으면 통화와 금액을 함께 검증한다.
|
|
32
|
+
*/
|
|
33
|
+
class EditStoreItemUsedReleasePriceInfo {
|
|
34
|
+
}
|
|
35
|
+
exports.EditStoreItemUsedReleasePriceInfo = EditStoreItemUsedReleasePriceInfo;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.ValidateIf)(hasReleasePriceInfoField),
|
|
38
|
+
(0, class_validator_1.IsDefined)(),
|
|
39
|
+
(0, class_validator_1.IsEnum)(store_item_1.StoreItemUsedCurrencyCodeEnum),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], EditStoreItemUsedReleasePriceInfo.prototype, "currencyCode", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.ValidateIf)(hasReleasePriceInfoField),
|
|
44
|
+
(0, class_validator_1.IsDefined)(),
|
|
45
|
+
(0, class_validator_1.IsNumber)({ maxDecimalPlaces: 2 }),
|
|
46
|
+
(0, class_validator_1.IsPositive)(),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], EditStoreItemUsedReleasePriceInfo.prototype, "amount", void 0);
|
|
49
|
+
/**
|
|
50
|
+
* @author jun
|
|
51
|
+
* @description 상품 수정용 USED 추가 정보 입력값
|
|
52
|
+
* @process 미전달 필드는 보존하고 null 또는 공백 필드는 삭제할 수 있게 검증한다.
|
|
53
|
+
*/
|
|
54
|
+
class EditStoreItemUsedInfo {
|
|
55
|
+
}
|
|
56
|
+
exports.EditStoreItemUsedInfo = EditStoreItemUsedInfo;
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsInt)(),
|
|
59
|
+
(0, class_validator_1.Min)(1000),
|
|
60
|
+
(0, class_validator_1.Max)(new Date().getFullYear()),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], EditStoreItemUsedInfo.prototype, "productionYear", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Transform)(normalizeNullableString),
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
__metadata("design:type", Object)
|
|
69
|
+
], EditStoreItemUsedInfo.prototype, "discoveryCountryCode", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Transform)(normalizeNullableString),
|
|
72
|
+
(0, class_validator_1.IsEnum)(store_item_1.StoreItemUsedRarityEnum),
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], EditStoreItemUsedInfo.prototype, "rarity", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Transform)(normalizeNullableString),
|
|
78
|
+
(0, class_validator_1.IsEnum)(store_item_1.StoreItemUsedConditionGradeEnum),
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
__metadata("design:type", Object)
|
|
81
|
+
], EditStoreItemUsedInfo.prototype, "conditionGrade", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsObject)(),
|
|
84
|
+
(0, class_validator_1.ValidateNested)(),
|
|
85
|
+
(0, class_transformer_1.Type)(() => EditStoreItemUsedReleasePriceInfo),
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
|
+
], EditStoreItemUsedInfo.prototype, "releasePriceInfo", void 0);
|
|
89
|
+
class EditStoreItemBasePayload extends (0, mapped_types_1.OmitType)(reg_store_item_dto_1.RegStoreItemPayload, [
|
|
90
|
+
'itemType',
|
|
91
|
+
'mainSku',
|
|
92
|
+
'usedItemInfo',
|
|
93
|
+
]) {
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @author jun
|
|
97
|
+
* @description 기존 상품 수정 요청값
|
|
98
|
+
* @process 공통 상품 정보와 USED 상품의 필드별 수정 입력값을 검증한다.
|
|
99
|
+
*/
|
|
100
|
+
class EditStoreItemPayload extends EditStoreItemBasePayload {
|
|
16
101
|
}
|
|
17
102
|
exports.EditStoreItemPayload = EditStoreItemPayload;
|
|
18
103
|
__decorate([
|
|
@@ -26,6 +111,23 @@ __decorate([
|
|
|
26
111
|
,
|
|
27
112
|
__metadata("design:type", Boolean)
|
|
28
113
|
], EditStoreItemPayload.prototype, "isHtmlContentEdit", void 0);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_validator_1.IsIn)([
|
|
116
|
+
store_item_1.StoreItemTypeEnum.normal,
|
|
117
|
+
store_item_1.StoreItemTypeEnum.used,
|
|
118
|
+
]),
|
|
119
|
+
(0, class_validator_1.IsOptional)(),
|
|
120
|
+
__metadata("design:type", Object)
|
|
121
|
+
], EditStoreItemPayload.prototype, "itemType", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.IsOptional)(),
|
|
125
|
+
__metadata("design:type", Object)
|
|
126
|
+
], EditStoreItemPayload.prototype, "mainSku", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_validator_1.IsObject)(),
|
|
129
|
+
(0, class_validator_1.ValidateNested)(),
|
|
130
|
+
(0, class_transformer_1.Type)(() => EditStoreItemUsedInfo),
|
|
131
|
+
(0, class_validator_1.IsOptional)(),
|
|
132
|
+
__metadata("design:type", Object)
|
|
133
|
+
], EditStoreItemPayload.prototype, "usedItemInfo", void 0);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
+
import { StoreItemTypeEnum } from '@yolo-croket-dev/entity/src/store-item';
|
|
2
3
|
import { GetStoreItemByAtlasSortTypeEnum, GetStoreItemByAtlasDTypeEnum, GetStoreItemByAtlasCategoryInfo } from './get-store-item-ids-by-atlas-search.dto';
|
|
3
4
|
export { GetStoreItemByAtlasSortTypeEnum, GetStoreItemByAtlasDTypeEnum, GetStoreItemByAtlasCategoryInfo, };
|
|
4
5
|
export declare class GetLegacyStoreItemsByAtlasSearchPayload {
|
|
6
|
+
/** 중고 상품만 조회할지 여부 (미전달 시 중고 상품 제외) */
|
|
7
|
+
itemType?: StoreItemTypeEnum.used;
|
|
5
8
|
/** 다음 페이징 토큰 */
|
|
6
9
|
searchAfter?: string;
|
|
7
10
|
/** 이전 페이징 토큰 */
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.GetLegacyStoreItemsByAtlasSearchPayload = exports.GetStoreItemByAtlasCategoryInfo = exports.GetStoreItemByAtlasDTypeEnum = exports.GetStoreItemByAtlasSortTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const store_item_1 = require("@yolo-croket-dev/entity/src/store-item");
|
|
15
16
|
const get_store_item_ids_by_atlas_search_dto_1 = require("./get-store-item-ids-by-atlas-search.dto");
|
|
16
17
|
Object.defineProperty(exports, "GetStoreItemByAtlasSortTypeEnum", { enumerable: true, get: function () { return get_store_item_ids_by_atlas_search_dto_1.GetStoreItemByAtlasSortTypeEnum; } });
|
|
17
18
|
Object.defineProperty(exports, "GetStoreItemByAtlasDTypeEnum", { enumerable: true, get: function () { return get_store_item_ids_by_atlas_search_dto_1.GetStoreItemByAtlasDTypeEnum; } });
|
|
@@ -19,6 +20,11 @@ Object.defineProperty(exports, "GetStoreItemByAtlasCategoryInfo", { enumerable:
|
|
|
19
20
|
class GetLegacyStoreItemsByAtlasSearchPayload {
|
|
20
21
|
}
|
|
21
22
|
exports.GetLegacyStoreItemsByAtlasSearchPayload = GetLegacyStoreItemsByAtlasSearchPayload;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.Equals)(store_item_1.StoreItemTypeEnum.used),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "itemType", void 0);
|
|
22
28
|
__decorate([
|
|
23
29
|
(0, class_validator_1.IsString)(),
|
|
24
30
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StoreItemTypeEnum } from '@yolo-croket-dev/entity/src/store-item';
|
|
1
2
|
/** atlas 상품 검색 시 DType */
|
|
2
3
|
export declare enum GetStoreItemByAtlasDTypeEnum {
|
|
3
4
|
'직거래' = "\uC9C1\uAC70\uB798",
|
|
@@ -22,6 +23,8 @@ export declare class GetStoreItemByAtlasCategoryInfo {
|
|
|
22
23
|
subCategory?: string;
|
|
23
24
|
}
|
|
24
25
|
export declare class GetStoreItemIdsByAtlasSearchPayload {
|
|
26
|
+
/** 중고 상품만 조회할지 여부 (미전달 시 중고 상품 제외) */
|
|
27
|
+
itemType?: StoreItemTypeEnum.used;
|
|
25
28
|
/**
|
|
26
29
|
* @deprecated 페이지 (성능 이슈로 페이징 토큰 사용을 권장)
|
|
27
30
|
* */
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.GetStoreItemIdsByAtlasSearchPayload = exports.GetStoreItemByAtlasCategoryInfo = exports.GetStoreItemByAtlasSortTypeEnum = exports.GetStoreItemByAtlasDTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const store_item_1 = require("@yolo-croket-dev/entity/src/store-item");
|
|
15
16
|
/** atlas 상품 검색 시 DType */
|
|
16
17
|
var GetStoreItemByAtlasDTypeEnum;
|
|
17
18
|
(function (GetStoreItemByAtlasDTypeEnum) {
|
|
@@ -48,6 +49,11 @@ __decorate([
|
|
|
48
49
|
class GetStoreItemIdsByAtlasSearchPayload {
|
|
49
50
|
}
|
|
50
51
|
exports.GetStoreItemIdsByAtlasSearchPayload = GetStoreItemIdsByAtlasSearchPayload;
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.Equals)(store_item_1.StoreItemTypeEnum.used),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], GetStoreItemIdsByAtlasSearchPayload.prototype, "itemType", void 0);
|
|
51
57
|
__decorate([
|
|
52
58
|
(0, class_validator_1.IsNumber)(),
|
|
53
59
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -14,6 +14,12 @@ export declare class AmqpStoreItemService {
|
|
|
14
14
|
getSellingItemIdsByStoreId(payload: GetSellingItemIdsByStoreIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByStoreIdResult>;
|
|
15
15
|
getSellingItemIdsByThemeId(payload: GetSellingItemIdsByThemeIdPayload, param: AbstractParam): Promise<GetSellingItemIdsByThemeIdResult>;
|
|
16
16
|
searchSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* @author jun
|
|
19
|
+
* @description 셀러의 USED 상품 관리 목록을 조회한다.
|
|
20
|
+
* @process 기존 상품 관리 목록 계약으로 USED 전용 RPC를 호출한다.
|
|
21
|
+
*/
|
|
22
|
+
searchUsedSellingStoreItems(payload: SearchSellingStoreItemsPayload, param: AbstractParam): Promise<SearchSellingStoreItemsResult>;
|
|
17
23
|
/** 셀러 상품 관리 메모를 조회한다. */
|
|
18
24
|
getStoreItemSellerMemo(payload: GetStoreItemSellerMemoPayload, param: AbstractParam): Promise<GetStoreItemSellerMemoResult>;
|
|
19
25
|
/** 셀러 상품 관리 메모를 수정한다. */
|
|
@@ -42,6 +42,14 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
42
42
|
async searchSellingStoreItems(payload, param) {
|
|
43
43
|
return this.amqpManager.call('셀러 판매 상품 관리 리스트 호출', 'store-item.get.selling-store-item-list', payload, param, { isErrorThrowing: true });
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @author jun
|
|
47
|
+
* @description 셀러의 USED 상품 관리 목록을 조회한다.
|
|
48
|
+
* @process 기존 상품 관리 목록 계약으로 USED 전용 RPC를 호출한다.
|
|
49
|
+
*/
|
|
50
|
+
async searchUsedSellingStoreItems(payload, param) {
|
|
51
|
+
return this.amqpManager.call('셀러 USED 상품 관리 리스트 호출', 'store-item.get.used-selling-store-item-list', payload, param, { isErrorThrowing: true });
|
|
52
|
+
}
|
|
45
53
|
/** 셀러 상품 관리 메모를 조회한다. */
|
|
46
54
|
async getStoreItemSellerMemo(payload, param) {
|
|
47
55
|
return this.amqpManager.call('셀러 상품 관리 메모 조회', 'store-item.get.seller-memo', payload, param, { isErrorThrowing: true });
|
|
@@ -4,7 +4,7 @@ import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
|
4
4
|
import { StoreEntity } from '@yolo-croket-dev/entity-v2';
|
|
5
5
|
import { BindCartsForWritePay } from '@yolo-croket-dev/entity/src/pay-try-log';
|
|
6
6
|
type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
|
|
7
|
-
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'itemKeywords' | 'option' | 'crawling' | 'isRequiredPCCC'> & {
|
|
7
|
+
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'itemKeywords' | 'itemType' | 'option' | 'crawling' | 'isRequiredPCCC'> & {
|
|
8
8
|
_seller: SearchedUserForWritePay;
|
|
9
9
|
};
|
|
10
10
|
type SearchedStoreForWritePay = Pick<StoreEntity, '_id' | 'storeTitle' | 'storeImg'>;
|
|
@@ -40,6 +40,7 @@ export declare const SearchedStoreItemForWritePaySelect: {
|
|
|
40
40
|
isDelete: number;
|
|
41
41
|
brandInfo: number;
|
|
42
42
|
itemKeywords: number;
|
|
43
|
+
itemType: number;
|
|
43
44
|
option: number;
|
|
44
45
|
crawling: number;
|
|
45
46
|
isRequiredPCCC: number;
|