@yolo-croket-dev/amqp-access 0.0.90-jun.31 → 0.0.90-jun.33
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/pay-try-log/index.d.ts +1 -0
- package/order-server/dto/pay-try-log/index.js +1 -0
- package/order-server/dto/pay-try-log/write-normal-store-item-pay-try-log-after.dto.d.ts +26 -0
- package/order-server/dto/pay-try-log/write-normal-store-item-pay-try-log-after.dto.js +105 -0
- package/package.json +1 -1
- 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
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./write-normal-store-item-pay-try-log-init.dto"), exports);
|
|
18
|
+
__exportStar(require("./write-normal-store-item-pay-try-log-after.dto"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PayTryLogPayMethodTypeEnum } from '@yolo-croket-dev/entity/src/pay-try-log/pay-try-log.entity';
|
|
2
|
+
export declare enum WriteNormalStoreItemPayTryLogAfterDTypeEnum {
|
|
3
|
+
'bundle' = "bundle",
|
|
4
|
+
'shipping' = "shipping",
|
|
5
|
+
'direct' = "direct"
|
|
6
|
+
}
|
|
7
|
+
export declare class WriteNormalStoreItemPayTryLogAfterPayload {
|
|
8
|
+
payTryLogId: string;
|
|
9
|
+
payMethod: PayTryLogPayMethodTypeEnum;
|
|
10
|
+
paidPrice: number;
|
|
11
|
+
paidPrice_exceptPaymentFee: number;
|
|
12
|
+
DType: WriteNormalStoreItemPayTryLogAfterDTypeEnum;
|
|
13
|
+
buyerId: string;
|
|
14
|
+
usedCredit?: number;
|
|
15
|
+
requirement?: string;
|
|
16
|
+
bundlePInfoId?: string;
|
|
17
|
+
ICId?: string;
|
|
18
|
+
isAbroadShipping?: boolean;
|
|
19
|
+
PCCC?: string;
|
|
20
|
+
buyerName: string;
|
|
21
|
+
buyerPhoneNumber: string;
|
|
22
|
+
buyerPostCode?: string;
|
|
23
|
+
buyerAddress1?: string;
|
|
24
|
+
buyerAddress2?: string;
|
|
25
|
+
buyerDirectAddress?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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.WriteNormalStoreItemPayTryLogAfterPayload = exports.WriteNormalStoreItemPayTryLogAfterDTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const pay_try_log_entity_1 = require("@yolo-croket-dev/entity/src/pay-try-log/pay-try-log.entity");
|
|
15
|
+
var WriteNormalStoreItemPayTryLogAfterDTypeEnum;
|
|
16
|
+
(function (WriteNormalStoreItemPayTryLogAfterDTypeEnum) {
|
|
17
|
+
WriteNormalStoreItemPayTryLogAfterDTypeEnum["bundle"] = "bundle";
|
|
18
|
+
WriteNormalStoreItemPayTryLogAfterDTypeEnum["shipping"] = "shipping";
|
|
19
|
+
WriteNormalStoreItemPayTryLogAfterDTypeEnum["direct"] = "direct";
|
|
20
|
+
})(WriteNormalStoreItemPayTryLogAfterDTypeEnum = exports.WriteNormalStoreItemPayTryLogAfterDTypeEnum || (exports.WriteNormalStoreItemPayTryLogAfterDTypeEnum = {}));
|
|
21
|
+
class WriteNormalStoreItemPayTryLogAfterPayload {
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsMongoId)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "payTryLogId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsEnum)(pay_try_log_entity_1.PayTryLogPayMethodTypeEnum),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "payMethod", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "paidPrice", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsNumber)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "paidPrice_exceptPaymentFee", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsEnum)(WriteNormalStoreItemPayTryLogAfterDTypeEnum),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "DType", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsMongoId)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "usedCredit", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsNumber)(),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "requirement", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsMongoId)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "bundlePInfoId", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsMongoId)(),
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "ICId", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsBoolean)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
__metadata("design:type", Boolean)
|
|
71
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "isAbroadShipping", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "PCCC", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsString)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerName", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerPhoneNumber", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerPostCode", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsString)(),
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerAddress1", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_validator_1.IsString)(),
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerAddress2", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, class_validator_1.IsString)(),
|
|
102
|
+
(0, class_validator_1.IsOptional)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], WriteNormalStoreItemPayTryLogAfterPayload.prototype, "buyerDirectAddress", void 0);
|
|
105
|
+
exports.WriteNormalStoreItemPayTryLogAfterPayload = WriteNormalStoreItemPayTryLogAfterPayload;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ declare type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
|
|
|
5
5
|
declare type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId'> & {
|
|
6
6
|
_seller: SearchedUserForWritePay;
|
|
7
7
|
};
|
|
8
|
-
export declare type CartForWritePay = Pick<CartEntity, '_id' | 'itemId' | 'storeId' | 'pOption' | 'pOptionInfo' | 'itemName_past' | 'itemPrice_past' | 'sellingInfo_past' | 'cartType' | 'ownerId' | 'isChecked' | 'requirement' | 'lastModifyDate'> & {
|
|
8
|
+
export declare type CartForWritePay = Pick<CartEntity, '_id' | 'itemId' | 'storeId' | 'pOption' | 'pOptionInfo' | 'itemName_past' | 'itemPrice_past' | 'sellingInfo_past' | 'cartType' | 'ownerId' | 'isChecked' | 'requirement' | 'lastModifyDate' | 'directAddress_custom'> & {
|
|
9
9
|
_item: SearchedStoreItemForWritePay;
|
|
10
10
|
};
|
|
11
11
|
export declare const SearchedUserForWritePaySelect: {
|
|
@@ -44,6 +44,7 @@ export declare const CartForWritePaySelect: {
|
|
|
44
44
|
isChecked: number;
|
|
45
45
|
requirement: number;
|
|
46
46
|
lastModifyDate: number;
|
|
47
|
+
directAddress_custom: number;
|
|
47
48
|
};
|
|
48
49
|
export declare class GetCartsForWritePayPayload {
|
|
49
50
|
/** 장바구니 아이디 리스트 */
|