@yolo-croket-dev/entity-v2 0.0.24 → 0.0.25-jun.1
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/app-bulk-push-log/app-bulk-push-log.entity.js +2 -2
- package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.js +1 -1
- package/bundle-purchased-info/bundle-purchased-info.entity.d.ts +15 -0
- package/bundle-purchased-info/bundle-purchased-info.entity.js +2 -0
- package/bundle-purchased-info/index.d.ts +1 -0
- package/bundle-purchased-info/index.js +17 -0
- package/es-purchased-info-for-search/es-purchased-info-for-search.entity.d.ts +17 -0
- package/es-purchased-info-for-search/es-purchased-info-for-search.entity.js +2 -0
- package/es-purchased-info-for-search/index.d.ts +1 -0
- package/es-purchased-info-for-search/index.js +17 -0
- package/lologin/lologin-for-admin.entity.d.ts +1 -1
- package/package.json +1 -1
- package/purchased-info/purchased-info-for-seller.entity.d.ts +25 -0
- package/purchased-info/purchased-info-for-seller.entity.js +2 -0
- package/refund/index.d.ts +1 -0
- package/refund/index.js +17 -0
- package/refund/refund.entity.d.ts +223 -0
- package/refund/refund.entity.js +43 -0
- package/remote-config/remote-config-for-business-info-not-editable-days.entity.js +1 -1
- package/selection-frame-data/selection-frame-data.entity.d.ts +2 -1
- package/selection-frame-data/selection-frame-data.entity.js +3 -2
- package/selection-frame-guide/selection-frame-guide.entity.js +1 -1
- package/selection-frame-vote/selection-frame-vote.entity.js +1 -1
- package/selection-item-connect/selection-item-connect-for-admin.entity.js +1 -1
- package/store-item-connected-coupon/store-item-connected-coupon.entity.js +1 -1
- package/user/user-for-admin.entity.d.ts +1 -1
- package/user/user.entity.js +2 -2
- package/yolo-deposit-history-by-pg/yolo-deposit-history-by-pg.entity.js +4 -4
|
@@ -5,10 +5,10 @@ var AppBulkPushLogTypeEnum;
|
|
|
5
5
|
(function (AppBulkPushLogTypeEnum) {
|
|
6
6
|
AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
|
|
7
7
|
AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
|
|
8
|
-
})(AppBulkPushLogTypeEnum
|
|
8
|
+
})(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
|
|
9
9
|
var AppBulkPushLogProcessEnum;
|
|
10
10
|
(function (AppBulkPushLogProcessEnum) {
|
|
11
11
|
AppBulkPushLogProcessEnum["\uB300\uAE30"] = "ready";
|
|
12
12
|
AppBulkPushLogProcessEnum["\uC9C4\uD589\uC911"] = "ing";
|
|
13
13
|
AppBulkPushLogProcessEnum["\uC644\uB8CC"] = "done";
|
|
14
|
-
})(AppBulkPushLogProcessEnum
|
|
14
|
+
})(AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = AppBulkPushLogProcessEnum = {}));
|
|
@@ -5,4 +5,4 @@ var AppPushSubscribeSelectionVoteTypeEnum;
|
|
|
5
5
|
(function (AppPushSubscribeSelectionVoteTypeEnum) {
|
|
6
6
|
AppPushSubscribeSelectionVoteTypeEnum["A"] = "A";
|
|
7
7
|
AppPushSubscribeSelectionVoteTypeEnum["B"] = "B";
|
|
8
|
-
})(AppPushSubscribeSelectionVoteTypeEnum
|
|
8
|
+
})(AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = AppPushSubscribeSelectionVoteTypeEnum = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export interface BundleChildPurchasedInfo {
|
|
3
|
+
PInfoId: Types.ObjectId;
|
|
4
|
+
sellerId: Types.ObjectId;
|
|
5
|
+
}
|
|
6
|
+
export default interface BundlePurchasedInfoEntity {
|
|
7
|
+
_id: Types.ObjectId;
|
|
8
|
+
/** 현재 DB에 4개정도 이상한 데이터가 있지만 */
|
|
9
|
+
parentPInfoId: Types.ObjectId;
|
|
10
|
+
process: string;
|
|
11
|
+
buyerId: Types.ObjectId;
|
|
12
|
+
PInfoList: BundleChildPurchasedInfo[];
|
|
13
|
+
log: any;
|
|
14
|
+
}
|
|
15
|
+
export { BundlePurchasedInfoEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './bundle-purchased-info.entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./bundle-purchased-info.entity"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default interface ESPurchasedInfoForSearch {
|
|
2
|
+
_id: string;
|
|
3
|
+
detail: PInfoDetailForSearch;
|
|
4
|
+
childDetails: PInfoDetailForSearch[];
|
|
5
|
+
buyerId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PInfoDetailForSearch {
|
|
8
|
+
_id: string;
|
|
9
|
+
process: string;
|
|
10
|
+
publicId: string;
|
|
11
|
+
paymentDate: Date;
|
|
12
|
+
pastItemName: string;
|
|
13
|
+
pOptionNames: string[];
|
|
14
|
+
buyerName: string;
|
|
15
|
+
sellerId: string;
|
|
16
|
+
}
|
|
17
|
+
export { ESPurchasedInfoForSearch };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './es-purchased-info-for-search.entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./es-purchased-info-for-search.entity"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LologinEntity } from './lologin.entity';
|
|
2
|
-
export
|
|
2
|
+
export type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
|
|
3
3
|
loginUserInfo: {
|
|
4
4
|
userId: string;
|
|
5
5
|
username: string;
|
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { PurchasedInfoEntity, PInfoBuyerInfo } from '@yolo-croket-dev/entity/src/purchased-info/purchased-info.entity';
|
|
3
|
+
import { UserSubContactList } from '../user/user.entity';
|
|
4
|
+
import { RefundEntity } from '../refund/refund.entity';
|
|
5
|
+
export default interface PurchasedInfoForSeller {
|
|
6
|
+
_id: Types.ObjectId;
|
|
7
|
+
childDetails: PInfoDetailForSeller[];
|
|
8
|
+
detail: PInfoDetailForSeller;
|
|
9
|
+
}
|
|
10
|
+
export type PInfoRefundInfo = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
|
|
11
|
+
export interface PInfoWaitingReceiveInfo {
|
|
12
|
+
isCanExtend: boolean;
|
|
13
|
+
extendNums: number;
|
|
14
|
+
autoReceiveExpectedDate?: Date;
|
|
15
|
+
extendReason?: string;
|
|
16
|
+
}
|
|
17
|
+
export type PInfoDetailForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'buyerId' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice'> & {
|
|
18
|
+
buyerName: string;
|
|
19
|
+
buyerPhoneNumber: string;
|
|
20
|
+
receiverInfo?: PInfoBuyerInfo;
|
|
21
|
+
subContactList?: UserSubContactList[];
|
|
22
|
+
refundInfo?: PInfoRefundInfo;
|
|
23
|
+
waitingReceiveInfo?: PInfoWaitingReceiveInfo;
|
|
24
|
+
};
|
|
25
|
+
export { PurchasedInfoForSeller };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './refund.entity';
|
package/refund/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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("./refund.entity"), exports);
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { PurchasedProcessEnum } from '@yolo-croket-dev/entity/src/purchased-info/purchased-info.entity';
|
|
3
|
+
export declare enum REFUND_AUTHOR_TYPE {
|
|
4
|
+
SELLER = "seller",
|
|
5
|
+
BUYER = "buyer"
|
|
6
|
+
}
|
|
7
|
+
export declare enum RefundProcessEnum {
|
|
8
|
+
환불중 = "ing",
|
|
9
|
+
환불완료 = "done",
|
|
10
|
+
환불취소 = "cancel"
|
|
11
|
+
}
|
|
12
|
+
export declare enum TransactionProcessEnum {
|
|
13
|
+
WAITING_ORDER = "waitingOrder",
|
|
14
|
+
BEFORE_DEPOSIT = "beforeDeposit",
|
|
15
|
+
AFTER_DELIVERY = "afterDelivery",
|
|
16
|
+
WAITING_RECEIVE = "waitingReceive",
|
|
17
|
+
BEFORE_DELIVERY = "beforeDelivery"
|
|
18
|
+
}
|
|
19
|
+
export declare enum RefundTypeEnum {
|
|
20
|
+
ASK = "ask",
|
|
21
|
+
STORE = "store"
|
|
22
|
+
}
|
|
23
|
+
export declare enum AuthorTypeEnum {
|
|
24
|
+
/** 구매자 */
|
|
25
|
+
BUYER = "buyer",
|
|
26
|
+
/** 셀러 */
|
|
27
|
+
SELLER = "seller"
|
|
28
|
+
}
|
|
29
|
+
export declare enum SellerRefundApprovalInfoAuthorTypeEnum {
|
|
30
|
+
SELLER = "seller",
|
|
31
|
+
BUYER = "buyer",
|
|
32
|
+
MANAGER = "manager"
|
|
33
|
+
}
|
|
34
|
+
export interface RefundDataMigrationInfo {
|
|
35
|
+
isRefundDataMigrationApplied: boolean;
|
|
36
|
+
refundDataMigrationAppliedDate: Date;
|
|
37
|
+
}
|
|
38
|
+
export interface RefundVBankInfo {
|
|
39
|
+
/** @description 작성 여부 */
|
|
40
|
+
isWrite: boolean;
|
|
41
|
+
/** @description 작성일 */
|
|
42
|
+
regDate?: Date;
|
|
43
|
+
/** @description 은행 한글명 */
|
|
44
|
+
bankName?: string;
|
|
45
|
+
/** @description 은행 코드 */
|
|
46
|
+
bankCode?: string;
|
|
47
|
+
/** @description 계좌 번호 */
|
|
48
|
+
account?: string;
|
|
49
|
+
/** @description 계좌 소유자 */
|
|
50
|
+
accountHolder?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface RefundWithdrawalInfo {
|
|
53
|
+
isCanWithdrawal: boolean;
|
|
54
|
+
canWithdrawalLastChangeDate?: Date;
|
|
55
|
+
_authorId?: Types.ObjectId;
|
|
56
|
+
_authorType?: string;
|
|
57
|
+
isWithdrawal?: boolean;
|
|
58
|
+
withdrawalDate?: Date;
|
|
59
|
+
managerId?: Types.ObjectId;
|
|
60
|
+
managerName?: string;
|
|
61
|
+
withdrawalReason?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface AdminAcceptInfo {
|
|
64
|
+
isManagerAccept?: boolean;
|
|
65
|
+
isManagerAcceptRequired?: boolean;
|
|
66
|
+
managerId?: Types.ObjectId | string;
|
|
67
|
+
managerName?: string;
|
|
68
|
+
regDate?: Date;
|
|
69
|
+
}
|
|
70
|
+
export interface AgreeInfoInfo {
|
|
71
|
+
isAgreeRefundRule?: boolean;
|
|
72
|
+
isAgreeRefundVBank?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface ImmediateRefundInfo {
|
|
75
|
+
isImmediateRefund: boolean;
|
|
76
|
+
immediateRefundDate?: Date;
|
|
77
|
+
}
|
|
78
|
+
export interface AutoRefundInfo {
|
|
79
|
+
isAutoRefund: boolean;
|
|
80
|
+
autoRefundDate?: Date;
|
|
81
|
+
}
|
|
82
|
+
export declare class ReturnInfo {
|
|
83
|
+
/** @description 반품 신청 여부 */
|
|
84
|
+
isReturnAsk: boolean;
|
|
85
|
+
/** @description 반품 신청 날짜 */
|
|
86
|
+
askDate?: Date;
|
|
87
|
+
/** @description 반품 수령 여부 */
|
|
88
|
+
isReturnReceive: boolean;
|
|
89
|
+
/** @description 반품 수령 날짜 */
|
|
90
|
+
returnReceiveDate?: Date;
|
|
91
|
+
/** @description 자동 반품 수령 여부 */
|
|
92
|
+
isAutoReturnReceive: boolean;
|
|
93
|
+
/** @description 자동 반품 수령일 */
|
|
94
|
+
autoReturnReceiveDate?: Date;
|
|
95
|
+
/** @description 자동 반품 수령 기준일을 연장 여부 */
|
|
96
|
+
isExtend_autoReturnReceiveDate: boolean;
|
|
97
|
+
/** @description 반품 작성자 타입 buyer || seller */
|
|
98
|
+
_authorType?: AuthorTypeEnum;
|
|
99
|
+
/**
|
|
100
|
+
* @description 반품 사유
|
|
101
|
+
* PInfo의 Process가 afterDelivery, waitingReceive 일 경우 필수
|
|
102
|
+
* */
|
|
103
|
+
refundReturnType?: string;
|
|
104
|
+
}
|
|
105
|
+
export interface SellerRefundApprovalInfo {
|
|
106
|
+
isSellerRefundApproval?: boolean;
|
|
107
|
+
sellerRefundApprovalDate?: Date;
|
|
108
|
+
isSellerApprovalRequired: boolean;
|
|
109
|
+
managerId?: Types.ObjectId;
|
|
110
|
+
managerName?: string;
|
|
111
|
+
userId?: Types.ObjectId;
|
|
112
|
+
_authorType?: SellerRefundApprovalInfoAuthorTypeEnum;
|
|
113
|
+
}
|
|
114
|
+
export interface TossPayInfo {
|
|
115
|
+
payToken: string;
|
|
116
|
+
}
|
|
117
|
+
export interface RejectInfo {
|
|
118
|
+
isRejected?: boolean;
|
|
119
|
+
rejectReason: string;
|
|
120
|
+
rejectDate: Date;
|
|
121
|
+
rejectImgs?: string[];
|
|
122
|
+
}
|
|
123
|
+
export interface PendingMemoInfo {
|
|
124
|
+
isPending: boolean;
|
|
125
|
+
pendingMemo: string;
|
|
126
|
+
managerName: string;
|
|
127
|
+
managerId: Types.ObjectId;
|
|
128
|
+
regDate: Date;
|
|
129
|
+
pendingMemoImgs: string[];
|
|
130
|
+
}
|
|
131
|
+
export interface CancelInfo {
|
|
132
|
+
/** @description 관리자 아이디 */
|
|
133
|
+
managerId: Types.ObjectId;
|
|
134
|
+
/** @description 관리자 이름 */
|
|
135
|
+
managerName: string;
|
|
136
|
+
/** @description 관리자의 취소 사유 */
|
|
137
|
+
cancelReason: string;
|
|
138
|
+
/** @description 관리자의 취소 등록일 */
|
|
139
|
+
regDate: Date;
|
|
140
|
+
}
|
|
141
|
+
export interface OpenInfo {
|
|
142
|
+
buyer: boolean;
|
|
143
|
+
buyerOpenDate?: Date;
|
|
144
|
+
seller: boolean;
|
|
145
|
+
sellerOpenDate?: Date;
|
|
146
|
+
}
|
|
147
|
+
export interface Cs1Info {
|
|
148
|
+
cs1Check?: boolean;
|
|
149
|
+
cs1Memo?: string;
|
|
150
|
+
checkUserId?: Types.ObjectId | string;
|
|
151
|
+
checkUserName?: string;
|
|
152
|
+
checkLastChangeDate?: Date;
|
|
153
|
+
}
|
|
154
|
+
export default interface RefundEntity {
|
|
155
|
+
_id: Types.ObjectId;
|
|
156
|
+
/** @description 작성자 종류 */
|
|
157
|
+
_authorType: REFUND_AUTHOR_TYPE;
|
|
158
|
+
/** @description 환불 신청일 */
|
|
159
|
+
reg_date: Date;
|
|
160
|
+
/** @description 환불 프로세스 */
|
|
161
|
+
process: RefundProcessEnum;
|
|
162
|
+
/** @description 환불 증명 사진 */
|
|
163
|
+
proofPhoto?: string[];
|
|
164
|
+
/** @description 마지막 결제 프로세스 */
|
|
165
|
+
PInfoLastProcess?: PurchasedProcessEnum;
|
|
166
|
+
/** @description 마지막 요청 프로세스 */
|
|
167
|
+
lastAskProcess: TransactionProcessEnum | null;
|
|
168
|
+
/** @description 환불 결제 아이디 */
|
|
169
|
+
PInfoId?: Types.ObjectId;
|
|
170
|
+
askId?: Types.ObjectId;
|
|
171
|
+
/** @description 환불 신청한 유저 아이디 */
|
|
172
|
+
_author: Types.ObjectId;
|
|
173
|
+
/** @description 환불 관련 유저 아이디 */
|
|
174
|
+
otherUser: Types.ObjectId;
|
|
175
|
+
/** @description 셀러 아이디 */
|
|
176
|
+
sellerId: Types.ObjectId;
|
|
177
|
+
/** @description 구매자 아이디 */
|
|
178
|
+
buyerId: Types.ObjectId;
|
|
179
|
+
/** @description 환불 결제 타입 */
|
|
180
|
+
type: RefundTypeEnum;
|
|
181
|
+
/** @description 환불 버전 */
|
|
182
|
+
refundVersion: string;
|
|
183
|
+
/** @description 환불 관련 로그 정보 */
|
|
184
|
+
log?: any[];
|
|
185
|
+
/** @description 환불 사유 */
|
|
186
|
+
refundReason: string;
|
|
187
|
+
/** @description 환불 기타 사유 */
|
|
188
|
+
detailReason: string;
|
|
189
|
+
/** @description 환불 사유 코드 */
|
|
190
|
+
refundTypeCode: string;
|
|
191
|
+
/** @description 환불 마이그레이션 적용 데이터 */
|
|
192
|
+
refundDataMigrationInfo?: RefundDataMigrationInfo;
|
|
193
|
+
/** @description 환불 철회 정보 */
|
|
194
|
+
withdrawalInfo: RefundWithdrawalInfo;
|
|
195
|
+
/** @description 환불 수락 정보 */
|
|
196
|
+
acceptInfo: AdminAcceptInfo;
|
|
197
|
+
/** @description 환불 동의 관련 정보 */
|
|
198
|
+
agreeInfo: AgreeInfoInfo;
|
|
199
|
+
/** @description 즉시 환불 정보 */
|
|
200
|
+
immediateRefundInfo: ImmediateRefundInfo;
|
|
201
|
+
/** @description 자동 환불 정보 (즉시 환불 정보로 대체됨) */
|
|
202
|
+
autoRefundInfo?: AutoRefundInfo;
|
|
203
|
+
/** @description 환불 무통장 계좌 정보 */
|
|
204
|
+
refundVBankInfo?: RefundVBankInfo;
|
|
205
|
+
/** @description 환불 반품 정보 */
|
|
206
|
+
returnInfo: ReturnInfo;
|
|
207
|
+
/** @description 환불 이전 결제 정보 */
|
|
208
|
+
pastPInfo?: any;
|
|
209
|
+
/** @description 환불 이전 요청 정보 */
|
|
210
|
+
pastAskInfo?: any;
|
|
211
|
+
/** @description 환불 토스페이 정보 */
|
|
212
|
+
tossPayInfo?: TossPayInfo;
|
|
213
|
+
/** @description 환불 셀러 승인 정보 */
|
|
214
|
+
sellerRefundApprovalInfo: SellerRefundApprovalInfo;
|
|
215
|
+
rejectInfo?: RejectInfo;
|
|
216
|
+
pendingMemoInfo?: PendingMemoInfo;
|
|
217
|
+
cancelInfo?: CancelInfo;
|
|
218
|
+
openInfo: OpenInfo;
|
|
219
|
+
cs1Info: Cs1Info;
|
|
220
|
+
/** 환불 중복 처리를 막기 위해 2023-10-26 생성 */
|
|
221
|
+
isRefundProcessRunning?: boolean;
|
|
222
|
+
}
|
|
223
|
+
export { RefundEntity };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReturnInfo = exports.SellerRefundApprovalInfoAuthorTypeEnum = exports.AuthorTypeEnum = exports.RefundTypeEnum = exports.TransactionProcessEnum = exports.RefundProcessEnum = exports.REFUND_AUTHOR_TYPE = void 0;
|
|
4
|
+
var REFUND_AUTHOR_TYPE;
|
|
5
|
+
(function (REFUND_AUTHOR_TYPE) {
|
|
6
|
+
REFUND_AUTHOR_TYPE["SELLER"] = "seller";
|
|
7
|
+
REFUND_AUTHOR_TYPE["BUYER"] = "buyer";
|
|
8
|
+
})(REFUND_AUTHOR_TYPE || (exports.REFUND_AUTHOR_TYPE = REFUND_AUTHOR_TYPE = {}));
|
|
9
|
+
var RefundProcessEnum;
|
|
10
|
+
(function (RefundProcessEnum) {
|
|
11
|
+
RefundProcessEnum["\uD658\uBD88\uC911"] = "ing";
|
|
12
|
+
RefundProcessEnum["\uD658\uBD88\uC644\uB8CC"] = "done";
|
|
13
|
+
RefundProcessEnum["\uD658\uBD88\uCDE8\uC18C"] = "cancel";
|
|
14
|
+
})(RefundProcessEnum || (exports.RefundProcessEnum = RefundProcessEnum = {}));
|
|
15
|
+
var TransactionProcessEnum;
|
|
16
|
+
(function (TransactionProcessEnum) {
|
|
17
|
+
TransactionProcessEnum["WAITING_ORDER"] = "waitingOrder";
|
|
18
|
+
TransactionProcessEnum["BEFORE_DEPOSIT"] = "beforeDeposit";
|
|
19
|
+
TransactionProcessEnum["AFTER_DELIVERY"] = "afterDelivery";
|
|
20
|
+
TransactionProcessEnum["WAITING_RECEIVE"] = "waitingReceive";
|
|
21
|
+
TransactionProcessEnum["BEFORE_DELIVERY"] = "beforeDelivery";
|
|
22
|
+
})(TransactionProcessEnum || (exports.TransactionProcessEnum = TransactionProcessEnum = {}));
|
|
23
|
+
var RefundTypeEnum;
|
|
24
|
+
(function (RefundTypeEnum) {
|
|
25
|
+
RefundTypeEnum["ASK"] = "ask";
|
|
26
|
+
RefundTypeEnum["STORE"] = "store";
|
|
27
|
+
})(RefundTypeEnum || (exports.RefundTypeEnum = RefundTypeEnum = {}));
|
|
28
|
+
var AuthorTypeEnum;
|
|
29
|
+
(function (AuthorTypeEnum) {
|
|
30
|
+
/** 구매자 */
|
|
31
|
+
AuthorTypeEnum["BUYER"] = "buyer";
|
|
32
|
+
/** 셀러 */
|
|
33
|
+
AuthorTypeEnum["SELLER"] = "seller";
|
|
34
|
+
})(AuthorTypeEnum || (exports.AuthorTypeEnum = AuthorTypeEnum = {}));
|
|
35
|
+
var SellerRefundApprovalInfoAuthorTypeEnum;
|
|
36
|
+
(function (SellerRefundApprovalInfoAuthorTypeEnum) {
|
|
37
|
+
SellerRefundApprovalInfoAuthorTypeEnum["SELLER"] = "seller";
|
|
38
|
+
SellerRefundApprovalInfoAuthorTypeEnum["BUYER"] = "buyer";
|
|
39
|
+
SellerRefundApprovalInfoAuthorTypeEnum["MANAGER"] = "manager";
|
|
40
|
+
})(SellerRefundApprovalInfoAuthorTypeEnum || (exports.SellerRefundApprovalInfoAuthorTypeEnum = SellerRefundApprovalInfoAuthorTypeEnum = {}));
|
|
41
|
+
class ReturnInfo {
|
|
42
|
+
}
|
|
43
|
+
exports.ReturnInfo = ReturnInfo;
|
|
@@ -5,4 +5,4 @@ var BusinessInfoNotEditableDaysKeyEnum;
|
|
|
5
5
|
(function (BusinessInfoNotEditableDaysKeyEnum) {
|
|
6
6
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableStartDay"] = "businessInfoNotEditableStartDay";
|
|
7
7
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableEndDay"] = "businessInfoNotEditableEndDay";
|
|
8
|
-
})(BusinessInfoNotEditableDaysKeyEnum
|
|
8
|
+
})(BusinessInfoNotEditableDaysKeyEnum || (exports.BusinessInfoNotEditableDaysKeyEnum = BusinessInfoNotEditableDaysKeyEnum = {}));
|
|
@@ -10,7 +10,8 @@ var ViewTypeEnum;
|
|
|
10
10
|
ViewTypeEnum["E"] = "E";
|
|
11
11
|
ViewTypeEnum["F"] = "F";
|
|
12
12
|
ViewTypeEnum["G"] = "G";
|
|
13
|
-
|
|
13
|
+
ViewTypeEnum["H"] = "H";
|
|
14
|
+
})(ViewTypeEnum || (exports.ViewTypeEnum = ViewTypeEnum = {}));
|
|
14
15
|
var SelectionFrameDataTypeEnum;
|
|
15
16
|
(function (SelectionFrameDataTypeEnum) {
|
|
16
17
|
SelectionFrameDataTypeEnum["\uB300"] = "large";
|
|
@@ -18,7 +19,7 @@ var SelectionFrameDataTypeEnum;
|
|
|
18
19
|
SelectionFrameDataTypeEnum["\uC18C"] = "small";
|
|
19
20
|
SelectionFrameDataTypeEnum["\uC18C\uC18C"] = "small2";
|
|
20
21
|
SelectionFrameDataTypeEnum["\uC18C\uC18C\uC18C"] = "small3";
|
|
21
|
-
})(SelectionFrameDataTypeEnum
|
|
22
|
+
})(SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = SelectionFrameDataTypeEnum = {}));
|
|
22
23
|
class SelectionFrameDataSubTitle {
|
|
23
24
|
}
|
|
24
25
|
exports.SelectionFrameDataSubTitle = SelectionFrameDataSubTitle;
|
|
@@ -9,7 +9,7 @@ var RequireTypeEnum;
|
|
|
9
9
|
RequireTypeEnum["NO_REQUIRE"] = "noRequire";
|
|
10
10
|
/** @description 선택 */
|
|
11
11
|
RequireTypeEnum["OPTIONAL"] = "optional";
|
|
12
|
-
})(RequireTypeEnum
|
|
12
|
+
})(RequireTypeEnum || (exports.RequireTypeEnum = RequireTypeEnum = {}));
|
|
13
13
|
/** @description 데이터 필요 여부 */
|
|
14
14
|
class RequireInfo {
|
|
15
15
|
}
|
|
@@ -7,4 +7,4 @@ var SelectionVoteProcessEnum;
|
|
|
7
7
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC900\uBE44\uC911"] = "REVIEW_PREPARING";
|
|
8
8
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC644\uB8CC"] = "REVIEW_COMPLETED";
|
|
9
9
|
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC911\uC9C0"] = "REVIEW_STOPPED";
|
|
10
|
-
})(SelectionVoteProcessEnum
|
|
10
|
+
})(SelectionVoteProcessEnum || (exports.SelectionVoteProcessEnum = SelectionVoteProcessEnum = {}));
|
|
@@ -7,4 +7,4 @@ var SelectionItemConnectForAdminSearchTypeEnum;
|
|
|
7
7
|
SelectionItemConnectForAdminSearchTypeEnum["\uC0C1\uD488 \uC544\uC774\uB514"] = "\uC0C1\uD488 \uC544\uC774\uB514";
|
|
8
8
|
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514";
|
|
9
9
|
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514";
|
|
10
|
-
})(SelectionItemConnectForAdminSearchTypeEnum
|
|
10
|
+
})(SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = SelectionItemConnectForAdminSearchTypeEnum = {}));
|
|
@@ -10,4 +10,4 @@ var MaxDiscountCouponInfoTypeEnum;
|
|
|
10
10
|
(function (MaxDiscountCouponInfoTypeEnum) {
|
|
11
11
|
MaxDiscountCouponInfoTypeEnum["\uD560\uC778\uB960"] = "\uD560\uC778\uB960";
|
|
12
12
|
MaxDiscountCouponInfoTypeEnum["\uD560\uC778\uAE08\uC561"] = "\uD560\uC778\uAE08\uC561";
|
|
13
|
-
})(MaxDiscountCouponInfoTypeEnum
|
|
13
|
+
})(MaxDiscountCouponInfoTypeEnum || (exports.MaxDiscountCouponInfoTypeEnum = MaxDiscountCouponInfoTypeEnum = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
2
|
-
export
|
|
2
|
+
export type UserForAdminEntity = Pick<UserEntity, '_id' | 'authId' | 'email' | 'username' | 'phoneCountry' | 'phoneNumber' | 'birthday' | 'photos' | 'signed' | 'credit' | 'gender' | 'blocked'> & {
|
|
3
3
|
store?: {
|
|
4
4
|
storeTitle: string;
|
|
5
5
|
};
|
package/user/user.entity.js
CHANGED
|
@@ -5,7 +5,7 @@ var DEVICE_TYPE;
|
|
|
5
5
|
(function (DEVICE_TYPE) {
|
|
6
6
|
DEVICE_TYPE["AND"] = "AND";
|
|
7
7
|
DEVICE_TYPE["IOS"] = "IOS";
|
|
8
|
-
})(DEVICE_TYPE
|
|
8
|
+
})(DEVICE_TYPE || (exports.DEVICE_TYPE = DEVICE_TYPE = {}));
|
|
9
9
|
var SellerRegisterStepEnum;
|
|
10
10
|
(function (SellerRegisterStepEnum) {
|
|
11
11
|
/** 2. preinformation 사전정보입력 (계좌 정보 입력해야함. 수정의 경우도 있어서 스토어 데이터가 있을 수 있음 */
|
|
@@ -16,7 +16,7 @@ var SellerRegisterStepEnum;
|
|
|
16
16
|
SellerRegisterStepEnum["entryfilled"] = "entryfilled";
|
|
17
17
|
/** 4. standby 심사대기 (신청 완료 버튼 누른후) */
|
|
18
18
|
SellerRegisterStepEnum["standby"] = "standby";
|
|
19
|
-
})(SellerRegisterStepEnum
|
|
19
|
+
})(SellerRegisterStepEnum || (exports.SellerRegisterStepEnum = SellerRegisterStepEnum = {}));
|
|
20
20
|
class UserAdultInfo {
|
|
21
21
|
}
|
|
22
22
|
exports.UserAdultInfo = UserAdultInfo;
|
|
@@ -5,13 +5,13 @@ var DepositTypeEnum;
|
|
|
5
5
|
(function (DepositTypeEnum) {
|
|
6
6
|
DepositTypeEnum["DEPOSIT"] = "deposit";
|
|
7
7
|
DepositTypeEnum["WITHDRAWAL"] = "withdrawal";
|
|
8
|
-
})(DepositTypeEnum
|
|
8
|
+
})(DepositTypeEnum || (exports.DepositTypeEnum = DepositTypeEnum = {}));
|
|
9
9
|
var WithdrawalTypeEnum;
|
|
10
10
|
(function (WithdrawalTypeEnum) {
|
|
11
11
|
WithdrawalTypeEnum["FULL_REFUND"] = "fullRefund";
|
|
12
12
|
WithdrawalTypeEnum["PARTIAL_REFUND"] = "partialRefund";
|
|
13
13
|
WithdrawalTypeEnum["UNKNOWN"] = "unknown";
|
|
14
|
-
})(WithdrawalTypeEnum
|
|
14
|
+
})(WithdrawalTypeEnum || (exports.WithdrawalTypeEnum = WithdrawalTypeEnum = {}));
|
|
15
15
|
var PGTypeEnum;
|
|
16
16
|
(function (PGTypeEnum) {
|
|
17
17
|
PGTypeEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20"] = "tossPayments";
|
|
@@ -21,7 +21,7 @@ var PGTypeEnum;
|
|
|
21
21
|
PGTypeEnum["\uCE74\uCE74\uC624\uD398\uC774"] = "kakaoPay";
|
|
22
22
|
PGTypeEnum["\uC5D1\uC2EC\uBCA0\uC774"] = "eximbay";
|
|
23
23
|
PGTypeEnum["\uB124\uC774\uBC84\uD398\uC774"] = "naverPay";
|
|
24
|
-
})(PGTypeEnum
|
|
24
|
+
})(PGTypeEnum || (exports.PGTypeEnum = PGTypeEnum = {}));
|
|
25
25
|
var DetailPaymentMethodEnum;
|
|
26
26
|
(function (DetailPaymentMethodEnum) {
|
|
27
27
|
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD6C4\uBD88"] = "tossPay_afterPay";
|
|
@@ -45,4 +45,4 @@ var DetailPaymentMethodEnum;
|
|
|
45
45
|
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8"] = "\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8";
|
|
46
46
|
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4"] = "\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4";
|
|
47
47
|
DetailPaymentMethodEnum["\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC"] = "\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC";
|
|
48
|
-
})(DetailPaymentMethodEnum
|
|
48
|
+
})(DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));
|