@yolo-croket-dev/amqp-access 0.4.81-hj-10 → 0.4.82
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/amqp.order-server.module.js +0 -2
- package/order-server/dto/index.d.ts +0 -1
- package/order-server/dto/index.js +0 -1
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-etc-data.dto.d.ts +6 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-etc-data.dto.js +32 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-memo.dto.d.ts +4 -0
- package/order-server/dto/{purchasedinfos/query/check-can-change-purchased-option.dto.js → purchased-info.modules/purchased-info-admin/command/edit-p-info-memo.dto.js} +8 -7
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-price.dto.d.ts +25 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-price.dto.js +109 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-process.dto.d.ts +5 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-process.dto.js +26 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-receiver-info.dto.d.ts +8 -0
- package/order-server/dto/{purchasedinfos/command/change-purchased-option.dto.js → purchased-info.modules/purchased-info-admin/command/edit-p-info-receiver-info.dto.js} +20 -18
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-waiting-receive-info.dto.d.ts +5 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-waiting-receive-info.dto.js +29 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +6 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +22 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/index.d.ts +1 -0
- package/order-server/dto/purchased-info.modules/purchased-info-admin/index.js +1 -0
- package/order-server/dto/purchasedinfos/command/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/command/index.js +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.purchased-info.service.d.ts +1 -3
- package/order-server/services/amqp.purchased-info.service.js +0 -6
- package/order-server/services/index.d.ts +1 -2
- package/order-server/services/index.js +1 -2
- package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +16 -0
- package/order-server/services/{amqp.purchased-info-admin.service.js → purchased-info.modules/amqp.purchased-info-admin.service.js} +18 -0
- package/order-server/services/purchased-info.modules/index.d.ts +1 -0
- package/order-server/{dto/changed-purchased-option-log/command → services/purchased-info.modules}/index.js +1 -1
- package/package.json +2 -2
- package/store-item-server/amqp.store-item-server.module.js +2 -0
- package/store-item-server/dto/review/query/get-test-review.dto.d.ts +37 -0
- package/store-item-server/dto/review/query/get-test-review.dto.js +20 -0
- package/store-item-server/dto/review/query/index.d.ts +1 -0
- package/{order-server/dto/changed-purchased-option-log → store-item-server/dto/review/query}/index.js +1 -1
- package/store-item-server/dto/store-item/command/index.d.ts +0 -1
- package/store-item-server/dto/store-item/command/index.js +0 -1
- package/store-item-server/services/amqp.review.service.d.ts +9 -0
- package/{order-server/services/amqp-changed-purchased-option-log.service.js → store-item-server/services/amqp.review.service.js} +8 -8
- package/store-item-server/services/amqp.store-item.service.d.ts +1 -2
- package/store-item-server/services/amqp.store-item.service.js +0 -3
- package/store-item-server/services/index.d.ts +1 -0
- package/store-item-server/services/index.js +1 -0
- package/user-service/dto/redis-db/command/index.d.ts +0 -1
- package/user-service/dto/redis-db/command/index.js +0 -1
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.d.ts +1 -2
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.js +0 -3
- package/order-server/dto/changed-purchased-option-log/command/create-changed-purchased-option-log.dto.d.ts +0 -19
- package/order-server/dto/changed-purchased-option-log/command/create-changed-purchased-option-log.dto.js +0 -72
- package/order-server/dto/changed-purchased-option-log/command/index.d.ts +0 -1
- package/order-server/dto/changed-purchased-option-log/index.d.ts +0 -1
- package/order-server/dto/purchasedinfos/command/change-purchased-option.dto.d.ts +0 -8
- package/order-server/dto/purchasedinfos/query/check-can-change-purchased-option.dto.d.ts +0 -6
- package/order-server/services/amqp-changed-purchased-option-log.service.d.ts +0 -9
- package/order-server/services/amqp.purchased-info-admin.service.d.ts +0 -10
- package/store-item-server/dto/store-item/command/patch-store-item-option-remain-count-by-change-purchased-option.service.d.ts +0 -16
- package/store-item-server/dto/store-item/command/patch-store-item-option-remain-count-by-change-purchased-option.service.js +0 -67
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-change-purchased-options.dto.d.ts +0 -19
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-change-purchased-options.dto.js +0 -70
|
@@ -29,7 +29,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
29
29
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
30
30
|
services_1.AmqpPurchaseReceiptService,
|
|
31
31
|
services_1.AmqpPurchasedInfoAdminService,
|
|
32
|
-
services_1.AmqpChangedPurchasedOptionLogService,
|
|
33
32
|
],
|
|
34
33
|
exports: [
|
|
35
34
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -44,7 +43,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
44
43
|
services_1.AmqpDirectPaymentTosspaymentsService,
|
|
45
44
|
services_1.AmqpPurchaseReceiptService,
|
|
46
45
|
services_1.AmqpPurchasedInfoAdminService,
|
|
47
|
-
services_1.AmqpChangedPurchasedOptionLogService,
|
|
48
46
|
],
|
|
49
47
|
})
|
|
50
48
|
], AmqpOrderServerModule);
|
|
@@ -19,4 +19,3 @@ __exportStar(require("./purchasedinfos"), exports);
|
|
|
19
19
|
__exportStar(require("./pay-try-log"), exports);
|
|
20
20
|
__exportStar(require("./data-payment-method"), exports);
|
|
21
21
|
__exportStar(require("./direct-payment-tosspayments"), exports);
|
|
22
|
-
__exportStar(require("./changed-purchased-option-log"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
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.EditPInfoEtcDataPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EditPInfoEtcDataPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EditPInfoEtcDataPayload = EditPInfoEtcDataPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EditPInfoEtcDataPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], EditPInfoEtcDataPayload.prototype, "editPastName", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], EditPInfoEtcDataPayload.prototype, "editPastImg", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EditPInfoEtcDataPayload.prototype, "editRequirement", void 0);
|
|
@@ -9,15 +9,16 @@ 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.EditPInfoMemoPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class EditPInfoMemoPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.EditPInfoMemoPayload = EditPInfoMemoPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsMongoId)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
], EditPInfoMemoPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], EditPInfoMemoPayload.prototype, "editMemo", void 0);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class EditPInfoPriceOptionInfo {
|
|
2
|
+
optionName: string;
|
|
3
|
+
pNums: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class EditPInfoPricePayload {
|
|
6
|
+
pInfoId: string;
|
|
7
|
+
editAllPurchaseNumber: number;
|
|
8
|
+
editPastPrice: number;
|
|
9
|
+
editPastPriceForBuyer: number;
|
|
10
|
+
editInsurancePrice?: number;
|
|
11
|
+
editIsPrepay: boolean;
|
|
12
|
+
editShippingFee?: number;
|
|
13
|
+
editBundleShippingFee?: number;
|
|
14
|
+
editOptionInfoList: EditPInfoPriceOptionInfo[];
|
|
15
|
+
editUsedCredit: number;
|
|
16
|
+
editPaymentFeeNumber: number;
|
|
17
|
+
clientTotalPrice: number;
|
|
18
|
+
clientOriginPrice: number;
|
|
19
|
+
clientPaidPrice: number;
|
|
20
|
+
clientExpectedProceeds: number;
|
|
21
|
+
clientServiceFee: number;
|
|
22
|
+
clientServiceFeePercent: number;
|
|
23
|
+
clientProceedsVersion: string;
|
|
24
|
+
isRemoveIC: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.EditPInfoPricePayload = exports.EditPInfoPriceOptionInfo = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class EditPInfoPriceOptionInfo {
|
|
16
|
+
}
|
|
17
|
+
exports.EditPInfoPriceOptionInfo = EditPInfoPriceOptionInfo;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EditPInfoPriceOptionInfo.prototype, "optionName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], EditPInfoPriceOptionInfo.prototype, "pNums", void 0);
|
|
26
|
+
class EditPInfoPricePayload {
|
|
27
|
+
}
|
|
28
|
+
exports.EditPInfoPricePayload = EditPInfoPricePayload;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsMongoId)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EditPInfoPricePayload.prototype, "pInfoId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], EditPInfoPricePayload.prototype, "editAllPurchaseNumber", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsNumber)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], EditPInfoPricePayload.prototype, "editPastPrice", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], EditPInfoPricePayload.prototype, "editPastPriceForBuyer", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsNumber)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], EditPInfoPricePayload.prototype, "editInsurancePrice", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsBoolean)(),
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
53
|
+
], EditPInfoPricePayload.prototype, "editIsPrepay", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsNumber)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], EditPInfoPricePayload.prototype, "editShippingFee", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsNumber)(),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], EditPInfoPricePayload.prototype, "editBundleShippingFee", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsArray)(),
|
|
66
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
67
|
+
(0, class_transformer_1.Type)(() => EditPInfoPriceOptionInfo),
|
|
68
|
+
__metadata("design:type", Array)
|
|
69
|
+
], EditPInfoPricePayload.prototype, "editOptionInfoList", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsNumber)(),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], EditPInfoPricePayload.prototype, "editUsedCredit", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsNumber)(),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], EditPInfoPricePayload.prototype, "editPaymentFeeNumber", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsNumber)(),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], EditPInfoPricePayload.prototype, "clientTotalPrice", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsNumber)(),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], EditPInfoPricePayload.prototype, "clientOriginPrice", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsNumber)(),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], EditPInfoPricePayload.prototype, "clientPaidPrice", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsNumber)(),
|
|
92
|
+
__metadata("design:type", Number)
|
|
93
|
+
], EditPInfoPricePayload.prototype, "clientExpectedProceeds", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.IsNumber)(),
|
|
96
|
+
__metadata("design:type", Number)
|
|
97
|
+
], EditPInfoPricePayload.prototype, "clientServiceFee", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsNumber)(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], EditPInfoPricePayload.prototype, "clientServiceFeePercent", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsString)(),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], EditPInfoPricePayload.prototype, "clientProceedsVersion", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, class_validator_1.IsBoolean)(),
|
|
108
|
+
__metadata("design:type", Boolean)
|
|
109
|
+
], EditPInfoPricePayload.prototype, "isRemoveIC", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
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.EditPInfoProcessPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
|
|
15
|
+
class EditPInfoProcessPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.EditPInfoProcessPayload = EditPInfoProcessPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EditPInfoProcessPayload.prototype, "pInfoId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsEnum)(purchased_info_entity_1.PurchasedProcessEnum),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EditPInfoProcessPayload.prototype, "editProcess", void 0);
|
|
@@ -9,30 +9,32 @@ 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.
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
12
|
+
exports.EditPInfoReceiverInfoPayload = void 0;
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
class
|
|
14
|
+
class EditPInfoReceiverInfoPayload {
|
|
16
15
|
}
|
|
17
|
-
exports.
|
|
16
|
+
exports.EditPInfoReceiverInfoPayload = EditPInfoReceiverInfoPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EditPInfoReceiverInfoPayload.prototype, "pInfoId", void 0);
|
|
18
21
|
__decorate([
|
|
19
22
|
(0, class_validator_1.IsString)(),
|
|
20
23
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
24
|
+
], EditPInfoReceiverInfoPayload.prototype, "postCode", void 0);
|
|
22
25
|
__decorate([
|
|
23
|
-
(0, class_validator_1.
|
|
24
|
-
__metadata("design:type",
|
|
25
|
-
],
|
|
26
|
-
class ChangePurchasedOptionPayload {
|
|
27
|
-
}
|
|
28
|
-
exports.ChangePurchasedOptionPayload = ChangePurchasedOptionPayload;
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], EditPInfoReceiverInfoPayload.prototype, "address", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, class_validator_1.
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EditPInfoReceiverInfoPayload.prototype, "receiverName", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
36
|
+
], EditPInfoReceiverInfoPayload.prototype, "receiverPhoneNumber", void 0);
|
|
33
37
|
__decorate([
|
|
34
|
-
(0, class_validator_1.
|
|
35
|
-
(
|
|
36
|
-
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], ChangePurchasedOptionPayload.prototype, "changeOptions", void 0);
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EditPInfoReceiverInfoPayload.prototype, "PCCC", void 0);
|
|
@@ -0,0 +1,29 @@
|
|
|
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.EditPInfoWaitingReceiveInfoPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EditPInfoWaitingReceiveInfoPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EditPInfoWaitingReceiveInfoPayload = EditPInfoWaitingReceiveInfoPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EditPInfoWaitingReceiveInfoPayload.prototype, "pInfoId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsDateString)(),
|
|
23
|
+
__metadata("design:type", Date)
|
|
24
|
+
], EditPInfoWaitingReceiveInfoPayload.prototype, "autoReceiveExpectedDate", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], EditPInfoWaitingReceiveInfoPayload.prototype, "extendReason", void 0);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './edit-p-info-etc-data.dto';
|
|
2
|
+
export * from './edit-p-info-memo.dto';
|
|
3
|
+
export * from './edit-p-info-price.dto';
|
|
4
|
+
export * from './edit-p-info-process.dto';
|
|
5
|
+
export * from './edit-p-info-receiver-info.dto';
|
|
6
|
+
export * from './edit-p-info-waiting-receive-info.dto';
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./edit-p-info-etc-data.dto"), exports);
|
|
18
|
+
__exportStar(require("./edit-p-info-memo.dto"), exports);
|
|
19
|
+
__exportStar(require("./edit-p-info-price.dto"), exports);
|
|
20
|
+
__exportStar(require("./edit-p-info-process.dto"), exports);
|
|
21
|
+
__exportStar(require("./edit-p-info-receiver-info.dto"), exports);
|
|
22
|
+
__exportStar(require("./edit-p-info-waiting-receive-info.dto"), exports);
|
|
@@ -3,4 +3,3 @@ export * from './update-done-ad-center-coupon-infos.dto';
|
|
|
3
3
|
export * from './cancel-done-ad-center-coupon-infos.dto';
|
|
4
4
|
export * from './request-create-ad-center-coupon-settle.dto';
|
|
5
5
|
export * from './patch-process-v2-to-checking-stock.dto';
|
|
6
|
-
export * from './change-purchased-option.dto';
|
|
@@ -19,4 +19,3 @@ __exportStar(require("./update-done-ad-center-coupon-infos.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./cancel-done-ad-center-coupon-infos.dto"), exports);
|
|
20
20
|
__exportStar(require("./request-create-ad-center-coupon-settle.dto"), exports);
|
|
21
21
|
__exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
|
|
22
|
-
__exportStar(require("./change-purchased-option.dto"), exports);
|
|
@@ -6,4 +6,3 @@ export * from './get-p-nums-for-show-ad-center-inflow.dto';
|
|
|
6
6
|
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
|
-
export * from './check-can-change-purchased-option.dto';
|
|
@@ -22,4 +22,3 @@ __exportStar(require("./get-p-nums-for-show-ad-center-inflow.dto"), exports);
|
|
|
22
22
|
__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
|
-
__exportStar(require("./check-can-change-purchased-option.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
|
|
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 } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -30,6 +30,4 @@ export declare class AmqpPurchasedInfoService {
|
|
|
30
30
|
migrationPayTryLogIdV2(param: AbstractParam): Promise<void>;
|
|
31
31
|
getPurchasedInfosForUnconfirmedWaitingOrderSellersExcel(param: AbstractParam): Promise<GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult>;
|
|
32
32
|
isPurchaseStoreItemByUserBulk(payload: IsPurchaseStoreItemByUserBulkPayload, param: AbstractParam): Promise<IsPurchaseStoreItemByUserBulkResponse>;
|
|
33
|
-
checkCanChangePurchasedOption(payload: CheckCanChangePurchasedOptionPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionResult>;
|
|
34
|
-
changePurchasedOption(payload: ChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
|
|
35
33
|
}
|
|
@@ -97,12 +97,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
97
97
|
async isPurchaseStoreItemByUserBulk(payload, param) {
|
|
98
98
|
return this.amqpManager.call('해당 유저가 구매한 상품인지 확인 Bulk', 'purchased-info.is-purchase.store-item-by-user-bulk', payload, param, { isErrorThrowing: true });
|
|
99
99
|
}
|
|
100
|
-
async checkCanChangePurchasedOption(payload, param) {
|
|
101
|
-
return this.amqpManager.call('구매 옵션 변경 가능 여부 확인', 'purchased-info.check.can-change-purchased-option', payload, param, { isErrorThrowing: true });
|
|
102
|
-
}
|
|
103
|
-
async changePurchasedOption(payload, param) {
|
|
104
|
-
return this.amqpManager.call('구매 옵션 변경', 'purchased-info.change.purchased-option', payload, param, { isErrorThrowing: true });
|
|
105
|
-
}
|
|
106
100
|
};
|
|
107
101
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
|
108
102
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
|
|
@@ -7,5 +7,4 @@ export * from './amqp.pay-try-test-log.service';
|
|
|
7
7
|
export * from './amqp-data-payment-method.service';
|
|
8
8
|
export * from './amqp.direct-payment-tosspayments.service';
|
|
9
9
|
export * from './amqp.purchase-receipt.service';
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './amqp-changed-purchased-option-log.service';
|
|
10
|
+
export * from './purchased-info.modules';
|
|
@@ -23,5 +23,4 @@ __exportStar(require("./amqp.pay-try-test-log.service"), exports);
|
|
|
23
23
|
__exportStar(require("./amqp-data-payment-method.service"), exports);
|
|
24
24
|
__exportStar(require("./amqp.direct-payment-tosspayments.service"), exports);
|
|
25
25
|
__exportStar(require("./amqp.purchase-receipt.service"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./amqp-changed-purchased-option-log.service"), exports);
|
|
26
|
+
__exportStar(require("./purchased-info.modules"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload } from '../../dto/purchased-info.modules';
|
|
4
|
+
export declare class AmqpPurchasedInfoAdminService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
|
|
9
|
+
getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
|
|
10
|
+
editPInfoEtcData(payload: EditPInfoEtcDataPayload, param: AbstractParam): Promise<void>;
|
|
11
|
+
editPInfoMemo(payload: EditPInfoMemoPayload, param: AbstractParam): Promise<void>;
|
|
12
|
+
editPInfoPrice(payload: EditPInfoPricePayload, param: AbstractParam): Promise<void>;
|
|
13
|
+
editPInfoProcess(payload: EditPInfoProcessPayload, param: AbstractParam): Promise<void>;
|
|
14
|
+
editPInfoReceiverInfo(payload: EditPInfoReceiverInfoPayload, param: AbstractParam): Promise<void>;
|
|
15
|
+
editPInfoWaitingReceiveInfo(payload: EditPInfoWaitingReceiveInfoPayload, param: AbstractParam): Promise<void>;
|
|
16
|
+
}
|
|
@@ -27,6 +27,24 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
|
|
|
27
27
|
async getPurchasedInfoDetailForAdminEdit(payload, param) {
|
|
28
28
|
return this.amqpManager.call('결제 상세 조회 (관리자 수정용)', 'purchased-info-admin.get.detail-for-edit', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
+
async editPInfoEtcData(payload, param) {
|
|
31
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.etc-data', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
33
|
+
async editPInfoMemo(payload, param) {
|
|
34
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.memo', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async editPInfoPrice(payload, param) {
|
|
37
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.price', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
39
|
+
async editPInfoProcess(payload, param) {
|
|
40
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.process', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
42
|
+
async editPInfoReceiverInfo(payload, param) {
|
|
43
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.receiver-info', payload, param, { isErrorThrowing: true });
|
|
44
|
+
}
|
|
45
|
+
async editPInfoWaitingReceiveInfo(payload, param) {
|
|
46
|
+
return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.waiting-receive-info', payload, param, { isErrorThrowing: true });
|
|
47
|
+
}
|
|
30
48
|
};
|
|
31
49
|
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
|
|
32
50
|
exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './amqp.purchased-info-admin.service';
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./amqp.purchased-info-admin.service"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.82",
|
|
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.1",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.1.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.1.24",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -28,6 +28,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
28
28
|
services_1.AmqpSellingInfoLogService,
|
|
29
29
|
services_1.AmqpStoreItemBookmarkService,
|
|
30
30
|
services_1.AmqpStoreItemPriceFluctuationService,
|
|
31
|
+
services_1.AmqpReviewService,
|
|
31
32
|
],
|
|
32
33
|
exports: [
|
|
33
34
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
@@ -42,6 +43,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
42
43
|
services_1.AmqpSellingInfoLogService,
|
|
43
44
|
services_1.AmqpStoreItemBookmarkService,
|
|
44
45
|
services_1.AmqpStoreItemPriceFluctuationService,
|
|
46
|
+
services_1.AmqpReviewService,
|
|
45
47
|
],
|
|
46
48
|
})
|
|
47
49
|
], AmqpStoreItemServerModule);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare class GetTestReviewPayload {
|
|
2
|
+
/** 상품 아이디 */
|
|
3
|
+
storeItemId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GetTestReviewResult {
|
|
6
|
+
/** 상품명 */
|
|
7
|
+
itemName: string;
|
|
8
|
+
/** 옵션 */
|
|
9
|
+
pOptionList: {
|
|
10
|
+
/** 옵션명 */
|
|
11
|
+
optionName: string;
|
|
12
|
+
}[];
|
|
13
|
+
/** 발송 시작일 */
|
|
14
|
+
deliveryPreparationPeriod: number;
|
|
15
|
+
/** 리뷰 카테고리별 값 array */
|
|
16
|
+
categoryItemReviewTextList: string[];
|
|
17
|
+
/** 실제 리뷰 텍스트 */
|
|
18
|
+
reviewText: string;
|
|
19
|
+
/** 사진 리뷰 여부 */
|
|
20
|
+
isPhotoReview: boolean;
|
|
21
|
+
/** 사진 리뷰 리스트 */
|
|
22
|
+
reviewPhotoList: string[];
|
|
23
|
+
/** 상품 평점 */
|
|
24
|
+
itemScore: number;
|
|
25
|
+
/** 등록일 */
|
|
26
|
+
regDate: string;
|
|
27
|
+
/** 리뷰어 이름 */
|
|
28
|
+
reviewerName: string;
|
|
29
|
+
/** 판매자 답변 여부 */
|
|
30
|
+
isSellerAnswer: boolean;
|
|
31
|
+
/** 판매자 답변 가능 여부 */
|
|
32
|
+
isCanSellerAnswer: boolean;
|
|
33
|
+
/** 상품 아이디 */
|
|
34
|
+
itemId: string;
|
|
35
|
+
/** 리뷰 아이디 */
|
|
36
|
+
itemReviewId: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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.GetTestReviewPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetTestReviewPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetTestReviewPayload = GetTestReviewPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetTestReviewPayload.prototype, "storeItemId", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-test-review.dto';
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./get-test-review.dto"), exports);
|
|
@@ -19,4 +19,3 @@ __exportStar(require("./reg-store-item.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./edit-store-item.dto"), exports);
|
|
20
20
|
__exportStar(require("./update-brand-infos.dto"), exports);
|
|
21
21
|
__exportStar(require("./reg-store-item-bulk.dto"), exports);
|
|
22
|
-
__exportStar(require("./patch-store-item-option-remain-count-by-change-purchased-option.service"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core/interfaces';
|
|
3
|
+
import { GetTestReviewPayload, GetTestReviewResult } from '../dto/review/query';
|
|
4
|
+
export declare class AmqpReviewService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
getTestReview(payload: GetTestReviewPayload, param: AbstractParam): Promise<GetTestReviewResult>;
|
|
9
|
+
}
|
|
@@ -12,22 +12,22 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.AmqpReviewService = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const microservices_1 = require("@nestjs/microservices");
|
|
18
18
|
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
-
let
|
|
19
|
+
let AmqpReviewService = class AmqpReviewService {
|
|
20
20
|
constructor(client) {
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.amqpManager.call('
|
|
24
|
+
async getTestReview(payload, param) {
|
|
25
|
+
return this.amqpManager.call('테스트 리뷰 조회', 'test-review.get', payload, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
28
|
+
exports.AmqpReviewService = AmqpReviewService;
|
|
29
|
+
exports.AmqpReviewService = AmqpReviewService = __decorate([
|
|
30
30
|
(0, common_1.Injectable)(),
|
|
31
|
-
__param(0, (0, common_1.Inject)('
|
|
31
|
+
__param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
|
|
32
32
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
-
],
|
|
33
|
+
], AmqpReviewService);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult
|
|
3
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -39,5 +39,4 @@ export declare class AmqpStoreItemService {
|
|
|
39
39
|
getStoreItemTooltipForCart(payload: GetStoreItemTooltipForCartPayload, param: AbstractParam): Promise<GetStoreItemTooltipForCartResult>;
|
|
40
40
|
getStoreItemsByBrandName(payload: GetStoreItemsByBrandNamePayload, param: AbstractParam): Promise<GetStoreItemsByBrandNameResult>;
|
|
41
41
|
searchStoreItemsForTestApi(payload: SearchStoreItemsForTestApiPayload, param: AbstractParam): Promise<SearchStoreItemsForTestApiResult[]>;
|
|
42
|
-
patchStoreItemOptionRemainCountByChangePurchasedOption(payload: PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
|
|
43
42
|
}
|
|
@@ -117,9 +117,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
117
117
|
async searchStoreItemsForTestApi(payload, param) {
|
|
118
118
|
return this.amqpManager.call('과제용 외부 공개 API - 상품 리스트 호출 (페이징)', 'store-item.get.list-for-test-api', payload, param, { isErrorThrowing: true });
|
|
119
119
|
}
|
|
120
|
-
async patchStoreItemOptionRemainCountByChangePurchasedOption(payload, param) {
|
|
121
|
-
return this.amqpManager.call('상품 옵션 재고 수정 - 결제 후 옵션 변경', 'store-item.patch.store-item-option-remain-count-by-change-purchased-option', payload, param, { isErrorThrowing: true });
|
|
122
|
-
}
|
|
123
120
|
};
|
|
124
121
|
exports.AmqpStoreItemService = AmqpStoreItemService;
|
|
125
122
|
exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
|
|
@@ -25,3 +25,4 @@ __exportStar(require("./amqp.ban-word.service"), exports);
|
|
|
25
25
|
__exportStar(require("./amqp.selling-info-log.service"), exports);
|
|
26
26
|
__exportStar(require("./amqp.store-item-bookmark.service"), exports);
|
|
27
27
|
__exportStar(require("./amqp.store-item-price-fluctuation.service"), exports);
|
|
28
|
+
__exportStar(require("./amqp.review.service"), exports);
|
|
@@ -10,4 +10,3 @@ export * from './redis-db.app-batch-push.set-data-store-item-select-shipping.dto
|
|
|
10
10
|
export * from './redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto';
|
|
11
11
|
export * from './redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto';
|
|
12
12
|
export * from './delete-app-batch-push-data-by-key.dto';
|
|
13
|
-
export * from './redis-db.app-batch-push.set-data-change-purchased-options.dto';
|
|
@@ -26,4 +26,3 @@ __exportStar(require("./redis-db.app-batch-push.set-data-store-item-select-shipp
|
|
|
26
26
|
__exportStar(require("./redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto"), exports);
|
|
27
27
|
__exportStar(require("./redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto"), exports);
|
|
28
28
|
__exportStar(require("./delete-app-batch-push-data-by-key.dto"), exports);
|
|
29
|
-
__exportStar(require("./redis-db.app-batch-push.set-data-change-purchased-options.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult,
|
|
3
|
+
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
|
|
4
4
|
export declare class AmqpRedisDbAppBatchPushService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -14,5 +14,4 @@ export declare class AmqpRedisDbAppBatchPushService {
|
|
|
14
14
|
setDataStoreRefundToBuyerMethod(payload: SetDataStoreRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreRefundToBuyerMethodAppBatchPushResult>;
|
|
15
15
|
setDataStoreImmediateRefundToBuyerMethod(payload: SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult>;
|
|
16
16
|
setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload: SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult>;
|
|
17
|
-
setDataChangePurchasedOptionsMethod(payload: SetDataChangePurchasedOptionsMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataChangePurchasedOptionsMethodAppBatchPushResult>;
|
|
18
17
|
}
|
|
@@ -48,9 +48,6 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
|
|
|
48
48
|
async setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload, param) {
|
|
49
49
|
return this.amqpManager.call('redis에 askRefundPInfoNoReturnFromSellerToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-ask-refund-p-info-no-return-from-seller-to-buyer', payload, param, { isErrorThrowing: true });
|
|
50
50
|
}
|
|
51
|
-
async setDataChangePurchasedOptionsMethod(payload, param) {
|
|
52
|
-
return this.amqpManager.call('redis에 changePurchasedOptions method 등록 및 수정', 'redis-db.set-data.app-batch-push-change-purchased-options', payload, param, { isErrorThrowing: true });
|
|
53
|
-
}
|
|
54
51
|
};
|
|
55
52
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
|
|
56
53
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PInfoPOptionInfo, POption, POptionTypeEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
-
declare class POptionForCreateChangedPurchasedOptionLog implements POption {
|
|
3
|
-
optionName: string;
|
|
4
|
-
optionNameList: string[];
|
|
5
|
-
pNums?: number | undefined;
|
|
6
|
-
}
|
|
7
|
-
declare class PInfoPOptionInfoForCreateChangedPurchasedOptionLog implements PInfoPOptionInfo {
|
|
8
|
-
pOptionType: POptionTypeEnum;
|
|
9
|
-
pOptionList: POptionForCreateChangedPurchasedOptionLog[];
|
|
10
|
-
}
|
|
11
|
-
export declare class CreateChangedPurchasedOptionLogPayload {
|
|
12
|
-
PInfoId: string;
|
|
13
|
-
itemId: string;
|
|
14
|
-
sellerId: string;
|
|
15
|
-
buyerId: string;
|
|
16
|
-
beforeOptions: PInfoPOptionInfoForCreateChangedPurchasedOptionLog;
|
|
17
|
-
afterOptions: PInfoPOptionInfoForCreateChangedPurchasedOptionLog;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,72 +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.CreateChangedPurchasedOptionLogPayload = void 0;
|
|
13
|
-
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const class_validator_1 = require("class-validator");
|
|
16
|
-
class POptionForCreateChangedPurchasedOptionLog {
|
|
17
|
-
}
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], POptionForCreateChangedPurchasedOptionLog.prototype, "optionName", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsArray)(),
|
|
24
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
25
|
-
__metadata("design:type", Array)
|
|
26
|
-
], POptionForCreateChangedPurchasedOptionLog.prototype, "optionNameList", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsNumber)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
__metadata("design:type", Object)
|
|
31
|
-
], POptionForCreateChangedPurchasedOptionLog.prototype, "pNums", void 0);
|
|
32
|
-
class PInfoPOptionInfoForCreateChangedPurchasedOptionLog {
|
|
33
|
-
}
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsEnum)(entity_v2_1.POptionTypeEnum),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], PInfoPOptionInfoForCreateChangedPurchasedOptionLog.prototype, "pOptionType", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsArray)(),
|
|
40
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
41
|
-
(0, class_transformer_1.Type)(() => POptionForCreateChangedPurchasedOptionLog),
|
|
42
|
-
__metadata("design:type", Array)
|
|
43
|
-
], PInfoPOptionInfoForCreateChangedPurchasedOptionLog.prototype, "pOptionList", void 0);
|
|
44
|
-
class CreateChangedPurchasedOptionLogPayload {
|
|
45
|
-
}
|
|
46
|
-
exports.CreateChangedPurchasedOptionLogPayload = CreateChangedPurchasedOptionLogPayload;
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsMongoId)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "PInfoId", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsMongoId)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "itemId", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsMongoId)(),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "sellerId", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_validator_1.IsMongoId)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "buyerId", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.ValidateNested)(),
|
|
65
|
-
(0, class_transformer_1.Type)(() => PInfoPOptionInfoForCreateChangedPurchasedOptionLog),
|
|
66
|
-
__metadata("design:type", PInfoPOptionInfoForCreateChangedPurchasedOptionLog)
|
|
67
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "beforeOptions", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.ValidateNested)(),
|
|
70
|
-
(0, class_transformer_1.Type)(() => PInfoPOptionInfoForCreateChangedPurchasedOptionLog),
|
|
71
|
-
__metadata("design:type", PInfoPOptionInfoForCreateChangedPurchasedOptionLog)
|
|
72
|
-
], CreateChangedPurchasedOptionLogPayload.prototype, "afterOptions", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './create-changed-purchased-option-log.dto';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './command';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreateChangedPurchasedOptionLogPayload } from '../dto';
|
|
4
|
-
export declare class AmqpChangedPurchasedOptionLogService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
createChangedPurchasedOptionLog(payload: CreateChangedPurchasedOptionLogPayload, param: AbstractParam): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult } from '../dto/purchased-info.modules';
|
|
4
|
-
export declare class AmqpPurchasedInfoAdminService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
|
|
9
|
-
getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PInfoPOptionInfo, POption, POptionTypeEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
-
import { ChangePurchasedOptionInfo } from '../../../../order-server';
|
|
3
|
-
export declare class POptionByPatchStoreItemOptionRemainCount implements POption {
|
|
4
|
-
optionName: string;
|
|
5
|
-
optionNameList: string[];
|
|
6
|
-
pNums?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class PInfoPOptionInfoByPatchStoreItemOptionRemainCount implements PInfoPOptionInfo {
|
|
9
|
-
pOptionList: POptionByPatchStoreItemOptionRemainCount[];
|
|
10
|
-
pOptionType?: POptionTypeEnum;
|
|
11
|
-
}
|
|
12
|
-
export declare class PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload {
|
|
13
|
-
storeItemId: string;
|
|
14
|
-
changeOptions: ChangePurchasedOptionInfo[];
|
|
15
|
-
pOptionInfo?: PInfoPOptionInfoByPatchStoreItemOptionRemainCount;
|
|
16
|
-
}
|
|
@@ -1,67 +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.PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload = exports.PInfoPOptionInfoByPatchStoreItemOptionRemainCount = exports.POptionByPatchStoreItemOptionRemainCount = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
16
|
-
const order_server_1 = require("../../../../order-server");
|
|
17
|
-
class POptionByPatchStoreItemOptionRemainCount {
|
|
18
|
-
}
|
|
19
|
-
exports.POptionByPatchStoreItemOptionRemainCount = POptionByPatchStoreItemOptionRemainCount;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "optionName", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsArray)(),
|
|
27
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
28
|
-
__metadata("design:type", Array)
|
|
29
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "optionNameList", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], POptionByPatchStoreItemOptionRemainCount.prototype, "pNums", void 0);
|
|
35
|
-
class PInfoPOptionInfoByPatchStoreItemOptionRemainCount {
|
|
36
|
-
}
|
|
37
|
-
exports.PInfoPOptionInfoByPatchStoreItemOptionRemainCount = PInfoPOptionInfoByPatchStoreItemOptionRemainCount;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsArray)(),
|
|
40
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
41
|
-
(0, class_transformer_1.Type)(() => POptionByPatchStoreItemOptionRemainCount),
|
|
42
|
-
__metadata("design:type", Array)
|
|
43
|
-
], PInfoPOptionInfoByPatchStoreItemOptionRemainCount.prototype, "pOptionList", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsEnum)(entity_v2_1.POptionTypeEnum),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], PInfoPOptionInfoByPatchStoreItemOptionRemainCount.prototype, "pOptionType", void 0);
|
|
48
|
-
class PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload {
|
|
49
|
-
}
|
|
50
|
-
exports.PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload = PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload;
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsMongoId)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "storeItemId", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsArray)(),
|
|
57
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
58
|
-
(0, class_transformer_1.Type)(() => order_server_1.ChangePurchasedOptionInfo),
|
|
59
|
-
__metadata("design:type", Array)
|
|
60
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "changeOptions", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsObject)(),
|
|
63
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
64
|
-
(0, class_transformer_1.Type)(() => PInfoPOptionInfoByPatchStoreItemOptionRemainCount),
|
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
|
66
|
-
__metadata("design:type", PInfoPOptionInfoByPatchStoreItemOptionRemainCount)
|
|
67
|
-
], PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload.prototype, "pOptionInfo", void 0);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushActivityData {
|
|
2
|
-
otherUserId?: string;
|
|
3
|
-
relatePInfoId?: string;
|
|
4
|
-
previewImg?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushData {
|
|
7
|
-
userId: string;
|
|
8
|
-
PInfoId: string;
|
|
9
|
-
itemName: string;
|
|
10
|
-
buyerName: string;
|
|
11
|
-
activityData: SetDataChangePurchasedOptionsMethodAppBatchPushActivityData;
|
|
12
|
-
}
|
|
13
|
-
export declare class SetDataChangePurchasedOptionsMethodAppBatchPushPayload {
|
|
14
|
-
data: SetDataChangePurchasedOptionsMethodAppBatchPushData;
|
|
15
|
-
ttl: number;
|
|
16
|
-
}
|
|
17
|
-
export interface SetDataChangePurchasedOptionsMethodAppBatchPushResult {
|
|
18
|
-
result: string | null;
|
|
19
|
-
}
|
|
@@ -1,70 +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.SetDataChangePurchasedOptionsMethodAppBatchPushPayload = exports.SetDataChangePurchasedOptionsMethodAppBatchPushData = exports.SetDataChangePurchasedOptionsMethodAppBatchPushActivityData = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushActivityData {
|
|
16
|
-
}
|
|
17
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushActivityData = SetDataChangePurchasedOptionsMethodAppBatchPushActivityData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsMongoId)(),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsOptional)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
33
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushData {
|
|
34
|
-
}
|
|
35
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushData = SetDataChangePurchasedOptionsMethodAppBatchPushData;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsMongoId)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "userId", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsMongoId)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "PInfoId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsString)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "buyerName", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.IsObject)(),
|
|
54
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
55
|
-
(0, class_transformer_1.Type)(() => SetDataChangePurchasedOptionsMethodAppBatchPushActivityData),
|
|
56
|
-
__metadata("design:type", SetDataChangePurchasedOptionsMethodAppBatchPushActivityData)
|
|
57
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
58
|
-
class SetDataChangePurchasedOptionsMethodAppBatchPushPayload {
|
|
59
|
-
}
|
|
60
|
-
exports.SetDataChangePurchasedOptionsMethodAppBatchPushPayload = SetDataChangePurchasedOptionsMethodAppBatchPushPayload;
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsObject)(),
|
|
63
|
-
(0, class_validator_1.ValidateNested)({}),
|
|
64
|
-
(0, class_transformer_1.Type)(() => SetDataChangePurchasedOptionsMethodAppBatchPushData),
|
|
65
|
-
__metadata("design:type", SetDataChangePurchasedOptionsMethodAppBatchPushData)
|
|
66
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsNumber)(),
|
|
69
|
-
__metadata("design:type", Number)
|
|
70
|
-
], SetDataChangePurchasedOptionsMethodAppBatchPushPayload.prototype, "ttl", void 0);
|