@yolo-croket-dev/entity-v2 0.0.42-hj-02 → 0.0.42-jun.0

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.
Files changed (41) hide show
  1. package/app-bulk-push-log/app-bulk-push-log.entity.js +2 -2
  2. package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.js +1 -1
  3. package/cart/cart.entity.js +2 -2
  4. package/data-payment-method/data-payment-method.entity.js +1 -1
  5. package/direct-payment/index.d.ts +1 -0
  6. package/{partial-refund → direct-payment}/index.js +1 -2
  7. package/direct-payment/tosspayments/index.d.ts +1 -0
  8. package/direct-payment/tosspayments/index.js +17 -0
  9. package/direct-payment/tosspayments/tosspayments-payment.vo.d.ts +134 -0
  10. package/index.d.ts +0 -2
  11. package/index.js +0 -2
  12. package/link-tab/entity/link-tab.entity.js +2 -2
  13. package/lologin/lologin-for-admin.entity.d.ts +1 -1
  14. package/mail/mail.entity.js +1 -1
  15. package/package.json +2 -2
  16. package/purchased-info/index.d.ts +0 -1
  17. package/purchased-info/index.js +0 -1
  18. package/purchased-info/purchased-info-for-seller.entity.d.ts +4 -4
  19. package/purchased-info/purchased-info.entity/index.d.ts +1 -0
  20. package/purchased-info/purchased-info.entity/index.js +17 -0
  21. package/purchased-info/purchased-info.entity/p-info-tosspayments-refund.vo.d.ts +13 -0
  22. package/purchased-info/purchased-info.entity.d.ts +6 -0
  23. package/purchased-info/purchased-info.entity.js +5 -5
  24. package/refund/refund.entity.js +6 -6
  25. package/remote-config/remote-config-for-business-info-not-editable-days.entity.js +1 -1
  26. package/selection-frame-data/selection-frame-data.entity.js +2 -2
  27. package/selection-frame-guide/selection-frame-guide.entity.js +1 -1
  28. package/selection-frame-vote/selection-frame-vote.entity.js +1 -1
  29. package/selection-item-connect/selection-item-connect-for-admin.entity.js +1 -1
  30. package/store/store.entity.js +5 -5
  31. package/store-item-connected-coupon/store-item-connected-coupon.entity.js +1 -1
  32. package/user/user-for-admin.entity.d.ts +1 -1
  33. package/user/user.entity.js +2 -2
  34. package/yolo-deposit-history-by-pg/yolo-deposit-history-by-pg.entity.js +4 -4
  35. package/partial-refund/index.d.ts +0 -2
  36. package/partial-refund/partial-refund-for-admin.entity.d.ts +0 -55
  37. package/partial-refund/partial-refund.entity.d.ts +0 -84
  38. package/partial-refund/partial-refund.entity.js +0 -41
  39. package/purchased-info/purchased-info-for-partial-refund.entity.d.ts +0 -6
  40. /package/{partial-refund/partial-refund-for-admin.entity.js → direct-payment/tosspayments/tosspayments-payment.vo.js} +0 -0
  41. /package/purchased-info/{purchased-info-for-partial-refund.entity.js → purchased-info.entity/p-info-tosspayments-refund.vo.js} +0 -0
@@ -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 || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
8
+ })(AppBulkPushLogTypeEnum = exports.AppBulkPushLogTypeEnum || (exports.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 || (exports.AppBulkPushLogProcessEnum = AppBulkPushLogProcessEnum = {}));
14
+ })(AppBulkPushLogProcessEnum = exports.AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = {}));
@@ -5,4 +5,4 @@ var AppPushSubscribeSelectionVoteTypeEnum;
5
5
  (function (AppPushSubscribeSelectionVoteTypeEnum) {
6
6
  AppPushSubscribeSelectionVoteTypeEnum["A"] = "A";
7
7
  AppPushSubscribeSelectionVoteTypeEnum["B"] = "B";
8
- })(AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = AppPushSubscribeSelectionVoteTypeEnum = {}));
8
+ })(AppPushSubscribeSelectionVoteTypeEnum = exports.AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = {}));
@@ -5,9 +5,9 @@ var CartTypeEnum;
5
5
  (function (CartTypeEnum) {
6
6
  CartTypeEnum["shipping"] = "shipping";
7
7
  CartTypeEnum["direct"] = "direct";
8
- })(CartTypeEnum || (exports.CartTypeEnum = CartTypeEnum = {}));
8
+ })(CartTypeEnum = exports.CartTypeEnum || (exports.CartTypeEnum = {}));
9
9
  var CartPOptionTypeEnum;
10
10
  (function (CartPOptionTypeEnum) {
11
11
  CartPOptionTypeEnum["single"] = "single";
12
12
  CartPOptionTypeEnum["group"] = "group";
13
- })(CartPOptionTypeEnum || (exports.CartPOptionTypeEnum = CartPOptionTypeEnum = {}));
13
+ })(CartPOptionTypeEnum = exports.CartPOptionTypeEnum || (exports.CartPOptionTypeEnum = {}));
@@ -8,4 +8,4 @@ var DataPaymentMethodPayTypeEnum;
8
8
  DataPaymentMethodPayTypeEnum["ask"] = "ask";
9
9
  DataPaymentMethodPayTypeEnum["store"] = "store";
10
10
  DataPaymentMethodPayTypeEnum["store-cart"] = "store-cart";
11
- })(DataPaymentMethodPayTypeEnum || (exports.DataPaymentMethodPayTypeEnum = DataPaymentMethodPayTypeEnum = {}));
11
+ })(DataPaymentMethodPayTypeEnum = exports.DataPaymentMethodPayTypeEnum || (exports.DataPaymentMethodPayTypeEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './tosspayments';
@@ -14,5 +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("./partial-refund-for-admin.entity"), exports);
18
- __exportStar(require("./partial-refund.entity"), exports);
17
+ __exportStar(require("./tosspayments"), exports);
@@ -0,0 +1 @@
1
+ export * from './tosspayments-payment.vo';
@@ -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("./tosspayments-payment.vo"), exports);
@@ -0,0 +1,134 @@
1
+ export interface TosspaymentsPaymentCard {
2
+ amount: number;
3
+ issuerCode: string;
4
+ acquirerCode?: string;
5
+ number: string;
6
+ installmentPlanMonths: number;
7
+ approveNo: string;
8
+ useCardPoint: boolean;
9
+ cardType: string;
10
+ ownerType: string;
11
+ acquireStatus: 'READY' | 'REQUESTED' | 'COMPLETED' | 'CANCEL_REQUESTED' | 'CANCELED';
12
+ isInterestFree: boolean;
13
+ interestPayer?: string;
14
+ }
15
+ export interface TosspaymentsPaymentCancel {
16
+ cancelAmount: number;
17
+ cancelReason: string;
18
+ taxFreeAmount: number;
19
+ taxExemptionAmount: number;
20
+ refundableAmount: number;
21
+ easyPayDiscountAmount: number;
22
+ canceledAt: string;
23
+ transactionKey: string;
24
+ receiptKey?: string;
25
+ cancelStatus: string;
26
+ cancelRequestId?: string;
27
+ }
28
+ export interface TosspaymentsPaymentVirtualAccount {
29
+ accountType: string;
30
+ accountNumber: string;
31
+ bankCode: string;
32
+ customerName: string;
33
+ dueDate: string;
34
+ refundStatus: string;
35
+ expired: boolean;
36
+ settlementStatus: string;
37
+ refundReceiveAccount?: any;
38
+ }
39
+ export interface TosspaymentsPaymentMobilePhone {
40
+ customerMobilePhone: string;
41
+ settlementStatus: string;
42
+ receiptUrl: string;
43
+ }
44
+ export interface TosspaymentsPayment {
45
+ version: string;
46
+ paymentKey: string;
47
+ type: 'NORMAL' | 'BILLING' | 'BRANDPAY';
48
+ orderId: string;
49
+ orderName: string;
50
+ mId: string;
51
+ currency: string;
52
+ method?: '카드' | '가상계좌' | '간편결제' | '휴대폰' | '계좌이체' | '문화상품권' | '도서문화상품권' | '게임문화상품권';
53
+ totalAmount: number;
54
+ balanceAmount: number;
55
+ status: 'READY' | 'IN_PROGRESS' | 'WAITING_FOR_DEPOSIT' | 'DONE' | 'CANCELED' | 'PARTIAL_CANCELED' | 'ABORTED' | 'EXPIRED';
56
+ requestedAt: string;
57
+ /** 결제 승인이 일어난 날짜와 시간 정보입니다. yyyy-MM-dd'T'HH:mm:ss±hh:mm ISO 8601 형식입니다. */
58
+ approvedAt?: string;
59
+ useEscrow: boolean;
60
+ lastTransactionKey?: string;
61
+ suppliedAmount: number;
62
+ vat: number;
63
+ cultureExpense: boolean;
64
+ taxFreeAmount: number;
65
+ taxExemptionAmount: number;
66
+ cancels?: TosspaymentsPaymentCancel[];
67
+ isPartialCancelable?: boolean;
68
+ card?: TosspaymentsPaymentCard;
69
+ virtualAccount?: TosspaymentsPaymentVirtualAccount;
70
+ secret?: string;
71
+ mobilePhone?: TosspaymentsPaymentMobilePhone;
72
+ giftCertificate?: TosspaymentsPaymentGiftCertificate;
73
+ transfer?: TosspaymentsPaymentTransfer;
74
+ metadata: any;
75
+ receipt?: TosspaymentsPaymentReceipt;
76
+ checkout?: TosspaymentsPaymentCheckout;
77
+ easyPay?: TosspaymentsPaymentEasyPay;
78
+ country: string;
79
+ failure?: TosspaymentsPaymentFailure;
80
+ cashReceipt?: TosspaymentsPaymentCashReceipt;
81
+ cashReceipts?: TosspaymentsPaymentCashReceiptArray[];
82
+ discount?: TosspaymentsPaymentDiscount;
83
+ }
84
+ interface TosspaymentsPaymentDiscount {
85
+ amount: number;
86
+ }
87
+ interface TosspaymentsPaymentCashReceiptArray {
88
+ receiptKey: string;
89
+ orderId: string;
90
+ orderName: string;
91
+ type: string;
92
+ issueNumber: string;
93
+ receiptUrl: string;
94
+ businessNumber: string;
95
+ transactionType: string;
96
+ amount: number;
97
+ taxFreeAmount: number;
98
+ issueStatus: string;
99
+ failure: TosspaymentsPaymentFailure;
100
+ customerIdentityNumber: string;
101
+ requestedAt: string;
102
+ }
103
+ interface TosspaymentsPaymentCashReceipt {
104
+ type: string;
105
+ receiptKey: string;
106
+ issueNumber: string;
107
+ receiptUrl: string;
108
+ amount: number;
109
+ taxFreeAmount: number;
110
+ }
111
+ interface TosspaymentsPaymentFailure {
112
+ code: string;
113
+ message: string;
114
+ }
115
+ interface TosspaymentsPaymentGiftCertificate {
116
+ approveNo: string;
117
+ settlementStatus: string;
118
+ }
119
+ interface TosspaymentsPaymentTransfer {
120
+ bankCode: string;
121
+ settlementStatus: string;
122
+ }
123
+ interface TosspaymentsPaymentReceipt {
124
+ url: string;
125
+ }
126
+ interface TosspaymentsPaymentCheckout {
127
+ url: string;
128
+ }
129
+ interface TosspaymentsPaymentEasyPay {
130
+ provider: string;
131
+ amount: number;
132
+ discountAmount: number;
133
+ }
134
+ export {};
package/index.d.ts CHANGED
@@ -18,5 +18,3 @@ export * from './store';
18
18
  export * from './mail';
19
19
  export * from './cart';
20
20
  export * from './related-store-item';
21
- export * from './partial-refund';
22
- export * from './purchased-info';
package/index.js CHANGED
@@ -34,5 +34,3 @@ __exportStar(require("./store"), exports);
34
34
  __exportStar(require("./mail"), exports);
35
35
  __exportStar(require("./cart"), exports);
36
36
  __exportStar(require("./related-store-item"), exports);
37
- __exportStar(require("./partial-refund"), exports);
38
- __exportStar(require("./purchased-info"), exports);
@@ -5,11 +5,11 @@ var LinkTabTypeEnum;
5
5
  (function (LinkTabTypeEnum) {
6
6
  LinkTabTypeEnum["TEXT"] = "TEXT";
7
7
  LinkTabTypeEnum["IMAGE"] = "IMAGE";
8
- })(LinkTabTypeEnum || (exports.LinkTabTypeEnum = LinkTabTypeEnum = {}));
8
+ })(LinkTabTypeEnum = exports.LinkTabTypeEnum || (exports.LinkTabTypeEnum = {}));
9
9
  var LinkTabStatusEnum;
10
10
  (function (LinkTabStatusEnum) {
11
11
  /** @description 노출 */
12
12
  LinkTabStatusEnum["LIVE"] = "LIVE";
13
13
  /** @description 임시저장 - 노출X */
14
14
  LinkTabStatusEnum["PENDING"] = "PENDING";
15
- })(LinkTabStatusEnum || (exports.LinkTabStatusEnum = LinkTabStatusEnum = {}));
15
+ })(LinkTabStatusEnum = exports.LinkTabStatusEnum || (exports.LinkTabStatusEnum = {}));
@@ -1,5 +1,5 @@
1
1
  import { LologinEntity } from './lologin.entity';
2
- export type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
2
+ export declare type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
3
3
  loginUserInfo: {
4
4
  userId: string;
5
5
  username: string;
@@ -9,4 +9,4 @@ var MailClassifyTypeEnum;
9
9
  MailClassifyTypeEnum["TAX_BILL"] = "TAX_BILL";
10
10
  /** 기본 */
11
11
  MailClassifyTypeEnum["DEFAULT"] = "DEFAULT";
12
- })(MailClassifyTypeEnum || (exports.MailClassifyTypeEnum = MailClassifyTypeEnum = {}));
12
+ })(MailClassifyTypeEnum = exports.MailClassifyTypeEnum || (exports.MailClassifyTypeEnum = {}));
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.42-hj-02",
3
+ "version": "0.0.42-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
- "description": "크로켓 nest 용 entity-v3",
6
+ "description": "크로켓 nest 용 entity-v2",
7
7
  "keywords": [
8
8
  "entity",
9
9
  "croket"
@@ -1,2 +1 @@
1
1
  export * from './purchased-info-for-seller.entity';
2
- export * from './purchased-info-for-partial-refund.entity';
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./purchased-info-for-seller.entity"), exports);
18
- __exportStar(require("./purchased-info-for-partial-refund.entity"), exports);
@@ -7,10 +7,10 @@ export default interface PurchasedInfoForSeller {
7
7
  details: PInfoDetailForSeller[];
8
8
  searchToken: string;
9
9
  }
10
- export type PInfoRefundInfoForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
11
- export type PInfoSellerUserInfoForSeller = Pick<UserEntity, 'subContactList'>;
12
- export type PInfoBuyerUserInfoForSeller = Pick<UserEntity, 'username' | 'phoneCountry' | 'phoneNumber'>;
13
- export type PInfoDetailForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo'> & {
10
+ export declare type PInfoRefundInfoForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
11
+ export declare type PInfoSellerUserInfoForSeller = Pick<UserEntity, 'subContactList'>;
12
+ export declare type PInfoBuyerUserInfoForSeller = Pick<UserEntity, 'username' | 'phoneCountry' | 'phoneNumber'>;
13
+ export declare type PInfoDetailForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo'> & {
14
14
  buyerUserInfo: PInfoBuyerUserInfoForSeller;
15
15
  sellerUserInfo: PInfoSellerUserInfoForSeller;
16
16
  pInfoRefundInfo?: PInfoRefundInfoForSeller;
@@ -0,0 +1 @@
1
+ export * from './p-info-tosspayments-refund.vo';
@@ -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("./p-info-tosspayments-refund.vo"), exports);
@@ -0,0 +1,13 @@
1
+ import { TosspaymentsPaymentCancel } from '@yolo-croket-dev/entity-v2/direct-payment/tosspayments/tosspayments-payment.vo';
2
+ export interface tosspaymentsCancelFailData {
3
+ code: string;
4
+ message: string;
5
+ }
6
+ export interface PurchasedInfoTosspaymentsRefund {
7
+ /** @description 토스페이먼츠 환불 여부 */
8
+ isTosspaymentsRefund: boolean;
9
+ /** 취소 후 데이터 */
10
+ tosspaymentsCancelList: TosspaymentsPaymentCancel[];
11
+ /** 실패 데이터 */
12
+ failDatas: tosspaymentsCancelFailData[];
13
+ }
@@ -1,6 +1,7 @@
1
1
  import { Types } from 'mongoose';
2
2
  import { SelectionFrameDataTypeEnum } from '@yolo-croket-dev/entity/src/selection-frame-data';
3
3
  import { SettleVersionEnum } from '@yolo-croket-dev/entity/src/settle';
4
+ import { PurchasedInfoTosspaymentsRefund } from './purchased-info.entity/p-info-tosspayments-refund.vo';
4
5
  export declare enum POptionTypeEnum {
5
6
  single = "single",
6
7
  group = "group"
@@ -751,6 +752,7 @@ export default interface PurchasedInfoEntity {
751
752
  couponInfo?: CouponInfo;
752
753
  bundlePInfo: BundleInfo;
753
754
  IMPRefundInfo?: PInfoIMPRefundInfo;
755
+ tosspaymentsRefund?: PurchasedInfoTosspaymentsRefund;
754
756
  pastStoreItemInfo?: PastStoreItemInfo;
755
757
  pastSellingInfo?: PastSellingInfo;
756
758
  autoReceiveTime?: Date;
@@ -788,6 +790,10 @@ export default interface PurchasedInfoEntity {
788
790
  pastSelectionFrames?: PastSelectionFrame[];
789
791
  settleInfo?: PInfoSettleInfo;
790
792
  insuranceStatus?: InsuranceStatus;
793
+ pastDirectTosspaymentsPayment?: PastDirectTosspaymentsPayment;
794
+ }
795
+ export interface PastDirectTosspaymentsPayment {
796
+ paymentKey: string;
791
797
  }
792
798
  export declare enum InsuranceProcessTypeEnum {
793
799
  REG = "reg",
@@ -5,21 +5,21 @@ var POptionTypeEnum;
5
5
  (function (POptionTypeEnum) {
6
6
  POptionTypeEnum["single"] = "single";
7
7
  POptionTypeEnum["group"] = "group";
8
- })(POptionTypeEnum || (exports.POptionTypeEnum = POptionTypeEnum = {}));
8
+ })(POptionTypeEnum = exports.POptionTypeEnum || (exports.POptionTypeEnum = {}));
9
9
  var TaxInvoiceIssueProcessEnum;
10
10
  (function (TaxInvoiceIssueProcessEnum) {
11
11
  /** 발행 완료 */
12
12
  TaxInvoiceIssueProcessEnum["DONE"] = "done";
13
13
  /** 발행 예정 */
14
14
  TaxInvoiceIssueProcessEnum["EXPECTED"] = "expected";
15
- })(TaxInvoiceIssueProcessEnum || (exports.TaxInvoiceIssueProcessEnum = TaxInvoiceIssueProcessEnum = {}));
15
+ })(TaxInvoiceIssueProcessEnum = exports.TaxInvoiceIssueProcessEnum || (exports.TaxInvoiceIssueProcessEnum = {}));
16
16
  var UserTypeEnum;
17
17
  (function (UserTypeEnum) {
18
18
  UserTypeEnum["seller"] = "seller";
19
19
  UserTypeEnum["buyer"] = "buyer";
20
20
  UserTypeEnum["manager"] = "manager";
21
21
  UserTypeEnum["cron"] = "cron";
22
- })(UserTypeEnum || (exports.UserTypeEnum = UserTypeEnum = {}));
22
+ })(UserTypeEnum = exports.UserTypeEnum || (exports.UserTypeEnum = {}));
23
23
  var PurchasedProcessEnum;
24
24
  (function (PurchasedProcessEnum) {
25
25
  PurchasedProcessEnum["\uC785\uAE08\uC804"] = "beforeDeposit";
@@ -30,7 +30,7 @@ var PurchasedProcessEnum;
30
30
  PurchasedProcessEnum["\uC644\uB8CC"] = "finished";
31
31
  PurchasedProcessEnum["\uD658\uBD88_\uCC98\uB9AC\uC911"] = "refunding";
32
32
  PurchasedProcessEnum["\uCDE8\uC18C\uB428"] = "cancelled";
33
- })(PurchasedProcessEnum || (exports.PurchasedProcessEnum = PurchasedProcessEnum = {}));
33
+ })(PurchasedProcessEnum = exports.PurchasedProcessEnum || (exports.PurchasedProcessEnum = {}));
34
34
  // 당시 셀렉션 프레임 데이터 정보
35
35
  class PastSelectionFrameDataInfo {
36
36
  }
@@ -40,4 +40,4 @@ var InsuranceProcessTypeEnum;
40
40
  InsuranceProcessTypeEnum["REG"] = "reg";
41
41
  InsuranceProcessTypeEnum["CANCEL"] = "cancel";
42
42
  InsuranceProcessTypeEnum["DELETE"] = "delete";
43
- })(InsuranceProcessTypeEnum || (exports.InsuranceProcessTypeEnum = InsuranceProcessTypeEnum = {}));
43
+ })(InsuranceProcessTypeEnum = exports.InsuranceProcessTypeEnum || (exports.InsuranceProcessTypeEnum = {}));
@@ -5,13 +5,13 @@ var REFUND_AUTHOR_TYPE;
5
5
  (function (REFUND_AUTHOR_TYPE) {
6
6
  REFUND_AUTHOR_TYPE["SELLER"] = "seller";
7
7
  REFUND_AUTHOR_TYPE["BUYER"] = "buyer";
8
- })(REFUND_AUTHOR_TYPE || (exports.REFUND_AUTHOR_TYPE = REFUND_AUTHOR_TYPE = {}));
8
+ })(REFUND_AUTHOR_TYPE = exports.REFUND_AUTHOR_TYPE || (exports.REFUND_AUTHOR_TYPE = {}));
9
9
  var RefundProcessEnum;
10
10
  (function (RefundProcessEnum) {
11
11
  RefundProcessEnum["\uD658\uBD88\uC911"] = "ing";
12
12
  RefundProcessEnum["\uD658\uBD88\uC644\uB8CC"] = "done";
13
13
  RefundProcessEnum["\uD658\uBD88\uCDE8\uC18C"] = "cancel";
14
- })(RefundProcessEnum || (exports.RefundProcessEnum = RefundProcessEnum = {}));
14
+ })(RefundProcessEnum = exports.RefundProcessEnum || (exports.RefundProcessEnum = {}));
15
15
  var TransactionProcessEnum;
16
16
  (function (TransactionProcessEnum) {
17
17
  TransactionProcessEnum["WAITING_ORDER"] = "waitingOrder";
@@ -19,25 +19,25 @@ var TransactionProcessEnum;
19
19
  TransactionProcessEnum["AFTER_DELIVERY"] = "afterDelivery";
20
20
  TransactionProcessEnum["WAITING_RECEIVE"] = "waitingReceive";
21
21
  TransactionProcessEnum["BEFORE_DELIVERY"] = "beforeDelivery";
22
- })(TransactionProcessEnum || (exports.TransactionProcessEnum = TransactionProcessEnum = {}));
22
+ })(TransactionProcessEnum = exports.TransactionProcessEnum || (exports.TransactionProcessEnum = {}));
23
23
  var RefundTypeEnum;
24
24
  (function (RefundTypeEnum) {
25
25
  RefundTypeEnum["ASK"] = "ask";
26
26
  RefundTypeEnum["STORE"] = "store";
27
- })(RefundTypeEnum || (exports.RefundTypeEnum = RefundTypeEnum = {}));
27
+ })(RefundTypeEnum = exports.RefundTypeEnum || (exports.RefundTypeEnum = {}));
28
28
  var AuthorTypeEnum;
29
29
  (function (AuthorTypeEnum) {
30
30
  /** 구매자 */
31
31
  AuthorTypeEnum["BUYER"] = "buyer";
32
32
  /** 셀러 */
33
33
  AuthorTypeEnum["SELLER"] = "seller";
34
- })(AuthorTypeEnum || (exports.AuthorTypeEnum = AuthorTypeEnum = {}));
34
+ })(AuthorTypeEnum = exports.AuthorTypeEnum || (exports.AuthorTypeEnum = {}));
35
35
  var SellerRefundApprovalInfoAuthorTypeEnum;
36
36
  (function (SellerRefundApprovalInfoAuthorTypeEnum) {
37
37
  SellerRefundApprovalInfoAuthorTypeEnum["SELLER"] = "seller";
38
38
  SellerRefundApprovalInfoAuthorTypeEnum["BUYER"] = "buyer";
39
39
  SellerRefundApprovalInfoAuthorTypeEnum["MANAGER"] = "manager";
40
- })(SellerRefundApprovalInfoAuthorTypeEnum || (exports.SellerRefundApprovalInfoAuthorTypeEnum = SellerRefundApprovalInfoAuthorTypeEnum = {}));
40
+ })(SellerRefundApprovalInfoAuthorTypeEnum = exports.SellerRefundApprovalInfoAuthorTypeEnum || (exports.SellerRefundApprovalInfoAuthorTypeEnum = {}));
41
41
  class ReturnInfo {
42
42
  }
43
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 || (exports.BusinessInfoNotEditableDaysKeyEnum = BusinessInfoNotEditableDaysKeyEnum = {}));
8
+ })(BusinessInfoNotEditableDaysKeyEnum = exports.BusinessInfoNotEditableDaysKeyEnum || (exports.BusinessInfoNotEditableDaysKeyEnum = {}));
@@ -11,7 +11,7 @@ var ViewTypeEnum;
11
11
  ViewTypeEnum["F"] = "F";
12
12
  ViewTypeEnum["G"] = "G";
13
13
  ViewTypeEnum["H"] = "H";
14
- })(ViewTypeEnum || (exports.ViewTypeEnum = ViewTypeEnum = {}));
14
+ })(ViewTypeEnum = exports.ViewTypeEnum || (exports.ViewTypeEnum = {}));
15
15
  var SelectionFrameDataTypeEnum;
16
16
  (function (SelectionFrameDataTypeEnum) {
17
17
  SelectionFrameDataTypeEnum["\uB300"] = "large";
@@ -19,7 +19,7 @@ var SelectionFrameDataTypeEnum;
19
19
  SelectionFrameDataTypeEnum["\uC18C"] = "small";
20
20
  SelectionFrameDataTypeEnum["\uC18C\uC18C"] = "small2";
21
21
  SelectionFrameDataTypeEnum["\uC18C\uC18C\uC18C"] = "small3";
22
- })(SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = SelectionFrameDataTypeEnum = {}));
22
+ })(SelectionFrameDataTypeEnum = exports.SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = {}));
23
23
  class SelectionFrameDataSubTitle {
24
24
  }
25
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 || (exports.RequireTypeEnum = RequireTypeEnum = {}));
12
+ })(RequireTypeEnum = exports.RequireTypeEnum || (exports.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 || (exports.SelectionVoteProcessEnum = SelectionVoteProcessEnum = {}));
10
+ })(SelectionVoteProcessEnum = exports.SelectionVoteProcessEnum || (exports.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 || (exports.SelectionItemConnectForAdminSearchTypeEnum = SelectionItemConnectForAdminSearchTypeEnum = {}));
10
+ })(SelectionItemConnectForAdminSearchTypeEnum = exports.SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = {}));
@@ -5,7 +5,7 @@ var ProceedsMethodTypeEnum;
5
5
  (function (ProceedsMethodTypeEnum) {
6
6
  ProceedsMethodTypeEnum["\uC77C\uBC18"] = "normal";
7
7
  ProceedsMethodTypeEnum["\uBAA9\uD45C\uAE08\uC561"] = "goal";
8
- })(ProceedsMethodTypeEnum || (exports.ProceedsMethodTypeEnum = ProceedsMethodTypeEnum = {}));
8
+ })(ProceedsMethodTypeEnum = exports.ProceedsMethodTypeEnum || (exports.ProceedsMethodTypeEnum = {}));
9
9
  /** @description 사업자 정보 객체 */
10
10
  var BusinessInfoSellerTypeEnum;
11
11
  (function (BusinessInfoSellerTypeEnum) {
@@ -15,7 +15,7 @@ var BusinessInfoSellerTypeEnum;
15
15
  BusinessInfoSellerTypeEnum["DOMESTIC_BUSINESS"] = "domesticBusiness";
16
16
  /** @description 해외 사업자 */
17
17
  BusinessInfoSellerTypeEnum["FOREIGN_BUSINESS"] = "foreignBusiness";
18
- })(BusinessInfoSellerTypeEnum || (exports.BusinessInfoSellerTypeEnum = BusinessInfoSellerTypeEnum = {}));
18
+ })(BusinessInfoSellerTypeEnum = exports.BusinessInfoSellerTypeEnum || (exports.BusinessInfoSellerTypeEnum = {}));
19
19
  /** @description 사업자정보 검토 상태 Enum */
20
20
  var BusinessInfoVerifiProcessEnum;
21
21
  (function (BusinessInfoVerifiProcessEnum) {
@@ -27,7 +27,7 @@ var BusinessInfoVerifiProcessEnum;
27
27
  BusinessInfoVerifiProcessEnum["NOT_MATCH"] = "notMatch";
28
28
  /** @description 일치 */
29
29
  BusinessInfoVerifiProcessEnum["MATCH"] = "match";
30
- })(BusinessInfoVerifiProcessEnum || (exports.BusinessInfoVerifiProcessEnum = BusinessInfoVerifiProcessEnum = {}));
30
+ })(BusinessInfoVerifiProcessEnum = exports.BusinessInfoVerifiProcessEnum || (exports.BusinessInfoVerifiProcessEnum = {}));
31
31
  exports.BUSINESS_INFO_NOT_MATCH_REASONS = {
32
32
  privateUserNameAndInterDepositorNotMatch: '계좌 예금주 정보와 가입자명이 일치하지 않으면 정산이 어렵습니다. 예금주명 혹은 가입자명을 일치하도록 수정해주세요. (가입자명 수정 요청은 아래 고객센터 링크로 문의 부탁드립니다.)',
33
33
  domesticBusinessInfoAndInternalAccountDepositorNotMatch: '정산 계좌 예금주명과 대표자명이 다릅니다.',
@@ -44,7 +44,7 @@ var IndividualTaxationTypeEnum;
44
44
  IndividualTaxationTypeEnum["REGULAR_TAXPAYER"] = "regularTaxpayer";
45
45
  /** @description 간이과세자 */
46
46
  IndividualTaxationTypeEnum["SIMPLIFIED_TAXPAYER"] = "simplifiedTaxpayer";
47
- })(IndividualTaxationTypeEnum || (exports.IndividualTaxationTypeEnum = IndividualTaxationTypeEnum = {}));
47
+ })(IndividualTaxationTypeEnum = exports.IndividualTaxationTypeEnum || (exports.IndividualTaxationTypeEnum = {}));
48
48
  /** @description 영세율 상태 Enum */
49
49
  var ZeroRateVatProcessEnum;
50
50
  (function (ZeroRateVatProcessEnum) {
@@ -54,7 +54,7 @@ var ZeroRateVatProcessEnum;
54
54
  ZeroRateVatProcessEnum["REVOKE"] = "revoke";
55
55
  /** @description 적용 */
56
56
  ZeroRateVatProcessEnum["APPLY"] = "apply";
57
- })(ZeroRateVatProcessEnum || (exports.ZeroRateVatProcessEnum = ZeroRateVatProcessEnum = {}));
57
+ })(ZeroRateVatProcessEnum = exports.ZeroRateVatProcessEnum || (exports.ZeroRateVatProcessEnum = {}));
58
58
  /** @description 국내 사업자 정보 */
59
59
  class DomesticBusinessInfo {
60
60
  }
@@ -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 || (exports.MaxDiscountCouponInfoTypeEnum = MaxDiscountCouponInfoTypeEnum = {}));
13
+ })(MaxDiscountCouponInfoTypeEnum = exports.MaxDiscountCouponInfoTypeEnum || (exports.MaxDiscountCouponInfoTypeEnum = {}));
@@ -1,5 +1,5 @@
1
1
  import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
2
- export type UserForAdminEntity = Pick<UserEntity, '_id' | 'authId' | 'email' | 'username' | 'phoneCountry' | 'phoneNumber' | 'birthday' | 'photos' | 'signed' | 'credit' | 'gender' | 'blocked'> & {
2
+ export declare 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
  };
@@ -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 || (exports.DEVICE_TYPE = DEVICE_TYPE = {}));
8
+ })(DEVICE_TYPE = exports.DEVICE_TYPE || (exports.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 || (exports.SellerRegisterStepEnum = SellerRegisterStepEnum = {}));
19
+ })(SellerRegisterStepEnum = exports.SellerRegisterStepEnum || (exports.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 || (exports.DepositTypeEnum = DepositTypeEnum = {}));
8
+ })(DepositTypeEnum = exports.DepositTypeEnum || (exports.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 || (exports.WithdrawalTypeEnum = WithdrawalTypeEnum = {}));
14
+ })(WithdrawalTypeEnum = exports.WithdrawalTypeEnum || (exports.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 || (exports.PGTypeEnum = PGTypeEnum = {}));
24
+ })(PGTypeEnum = exports.PGTypeEnum || (exports.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 || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));
48
+ })(DetailPaymentMethodEnum = exports.DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = {}));
@@ -1,2 +0,0 @@
1
- export * from './partial-refund-for-admin.entity';
2
- export * from './partial-refund.entity';
@@ -1,55 +0,0 @@
1
- import { DeliveryData } from '../purchased-info/purchased-info.entity';
2
- import { PartialRefundEntity } from './partial-refund.entity';
3
- export interface PartialRefundForAdminEntity extends PartialRefundEntity {
4
- /** @description 결제아이디 */
5
- PInfoId: string;
6
- /** @description 주문번호 */
7
- publicId: string;
8
- /** @description 구매자 아이디 */
9
- buyerId: string;
10
- /** @description 구매자 명 */
11
- buyerName: string;
12
- /** @description 구매자 번호 */
13
- buyerPhoneNumber: string;
14
- /** @description 구매자 이메일 */
15
- buyerEmail: string;
16
- /** @description 수령인 명 */
17
- receiverName: string;
18
- /** @description 수령인 번호 */
19
- receivePhoneNumber: string;
20
- /** @description 셀러아이디 */
21
- sellerId: string;
22
- /** @description 스토어명 */
23
- storeTitle: string;
24
- /** @description 셀러 번호 */
25
- sellerPhoneNumber: string;
26
- /** @description 상품명 */
27
- itemName: string;
28
- /** @description 구매한 상품 수 */
29
- remainCount: number;
30
- /** @description 상품가격 */
31
- itemPrice: number;
32
- /** @description 배송비 */
33
- shippingFee: number;
34
- /** @description 결제 수수료 */
35
- paymentFee: number;
36
- /** @description 보험료 */
37
- insuranceFee: number;
38
- /** @description 보험여부 */
39
- isInsurance: boolean;
40
- /** @description 총 결제 금액 */
41
- paidPrice: number;
42
- /** @description 결제 프로세스 (현재) - lookup purchasedinfo */
43
- paymentProcess: string;
44
- /** @description 부분환불 요청 당시 결제 프로세스 */
45
- pastPaymentProcess: string;
46
- /** @description 결제수단 */
47
- paymentMethod: string;
48
- imp_uid: string;
49
- /** @description 결제일 */
50
- paymentDate: Date;
51
- /** @description 배송정보 */
52
- deliveryData: DeliveryData;
53
- /** @description 사용한 크레딧 */
54
- usedCredit: number;
55
- }
@@ -1,84 +0,0 @@
1
- import PurchasedInfoEntity from '../purchased-info/purchased-info.entity';
2
- import { AuthorTypeEnum } from '../refund';
3
- export declare enum PartialRefundTypeEnum {
4
- /** @description 특정 옵션/수량 환불 */
5
- OPTION_REFUND = "OPTION_REFUND",
6
- /** @description 특정 금액 환불 */
7
- PRICE_REFUND = "PRICE_REFUND",
8
- /** @description 반품비 제외 환불 */
9
- EXCLUDING_RETURN_FEE_REFUND = "EXCLUDING_RETURN_FEE_REFUND"
10
- }
11
- export declare enum PartialRefundReasonTypeEnum {
12
- /** @description 현지 품절 */
13
- LOCAL_SOLD_OUT = "LOCAL_SOLD_OUT",
14
- /** @description 단순 변심 */
15
- CHANGE_MIND = "CHANGE_MIND",
16
- /** @description 발송 지연 */
17
- DELIVERY_DELAY = "DELIVERY_DELAY",
18
- /** @description 오배송 */
19
- MISDELIVERY = "MISDELIVERY",
20
- /** @description 상품 하자 */
21
- DEFECTIVE_PRODUCT = "DEFECTIVE_PRODUCT",
22
- /** @description 기타 (직접 입력) */
23
- ETC = "ETC"
24
- }
25
- export declare enum PartialRefundProcessEnum {
26
- /** @description 접수 완료 */
27
- SUBMISSION = "SUBMISSION",
28
- /** @description 처리 완료 */
29
- COMPLATED = "COMPLATED",
30
- /** @description 접수 철회 */
31
- WITHDRAWAL = "WITHDRAWAL"
32
- }
33
- export declare enum ReturnFeeBearerEnum {
34
- BUYER = "BUYER",
35
- SELLER = "SELLER"
36
- }
37
- export interface RefundOption {
38
- optionName: string;
39
- refundNums: number;
40
- }
41
- export interface RefundOptionInfo {
42
- refundOptionList: RefundOption[];
43
- }
44
- export interface PartialRefundProcessingInfo {
45
- regDate: Date;
46
- refundProcess: PartialRefundReasonTypeEnum;
47
- managerId: string;
48
- managerName: string;
49
- }
50
- export interface PartialRefundEntity {
51
- _id: string;
52
- /** @description 환불 종류 */
53
- refundType: PartialRefundTypeEnum;
54
- /** @description 환불 사유 */
55
- refundReasonType: PartialRefundReasonTypeEnum;
56
- /** @description 환불 사유 기타 직접입력 */
57
- refundReasonEtc?: string;
58
- /** @description 부분 환불 프로세스 */
59
- refundProcess: PartialRefundProcessEnum;
60
- /** @description 반품비 여부 */
61
- returnFeeExists: boolean;
62
- /** @description 반품비 */
63
- returnFee?: number;
64
- /** @description 반품비 부담자 */
65
- returnFeeBearer?: ReturnFeeBearerEnum;
66
- /** @description 협의 완료 여부 */
67
- negotiated: boolean;
68
- /** @description 환불할 옵션/수량 */
69
- refundOptionInfo?: RefundOptionInfo;
70
- /** @description 환불할 금액 */
71
- refundPrice: number;
72
- /** @description 부분 환불 요청주체 */
73
- authorType: AuthorTypeEnum;
74
- /** @description CS확인 여부 */
75
- isCSCheck: boolean;
76
- /** @description 부분 환불 요청일 */
77
- regDate: Date;
78
- /** @description 마지막 정보 수정일 */
79
- lastEditDate: Date;
80
- /** @description 프로세스 변경 정보 */
81
- processingInfo?: PartialRefundProcessingInfo;
82
- /** @description 부분 환불 요청 당시 결제정보 */
83
- pastPInfo: PurchasedInfoEntity;
84
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReturnFeeBearerEnum = exports.PartialRefundProcessEnum = exports.PartialRefundReasonTypeEnum = exports.PartialRefundTypeEnum = void 0;
4
- var PartialRefundTypeEnum;
5
- (function (PartialRefundTypeEnum) {
6
- /** @description 특정 옵션/수량 환불 */
7
- PartialRefundTypeEnum["OPTION_REFUND"] = "OPTION_REFUND";
8
- /** @description 특정 금액 환불 */
9
- PartialRefundTypeEnum["PRICE_REFUND"] = "PRICE_REFUND";
10
- /** @description 반품비 제외 환불 */
11
- PartialRefundTypeEnum["EXCLUDING_RETURN_FEE_REFUND"] = "EXCLUDING_RETURN_FEE_REFUND";
12
- })(PartialRefundTypeEnum || (exports.PartialRefundTypeEnum = PartialRefundTypeEnum = {}));
13
- var PartialRefundReasonTypeEnum;
14
- (function (PartialRefundReasonTypeEnum) {
15
- /** @description 현지 품절 */
16
- PartialRefundReasonTypeEnum["LOCAL_SOLD_OUT"] = "LOCAL_SOLD_OUT";
17
- /** @description 단순 변심 */
18
- PartialRefundReasonTypeEnum["CHANGE_MIND"] = "CHANGE_MIND";
19
- /** @description 발송 지연 */
20
- PartialRefundReasonTypeEnum["DELIVERY_DELAY"] = "DELIVERY_DELAY";
21
- /** @description 오배송 */
22
- PartialRefundReasonTypeEnum["MISDELIVERY"] = "MISDELIVERY";
23
- /** @description 상품 하자 */
24
- PartialRefundReasonTypeEnum["DEFECTIVE_PRODUCT"] = "DEFECTIVE_PRODUCT";
25
- /** @description 기타 (직접 입력) */
26
- PartialRefundReasonTypeEnum["ETC"] = "ETC";
27
- })(PartialRefundReasonTypeEnum || (exports.PartialRefundReasonTypeEnum = PartialRefundReasonTypeEnum = {}));
28
- var PartialRefundProcessEnum;
29
- (function (PartialRefundProcessEnum) {
30
- /** @description 접수 완료 */
31
- PartialRefundProcessEnum["SUBMISSION"] = "SUBMISSION";
32
- /** @description 처리 완료 */
33
- PartialRefundProcessEnum["COMPLATED"] = "COMPLATED";
34
- /** @description 접수 철회 */
35
- PartialRefundProcessEnum["WITHDRAWAL"] = "WITHDRAWAL";
36
- })(PartialRefundProcessEnum || (exports.PartialRefundProcessEnum = PartialRefundProcessEnum = {}));
37
- var ReturnFeeBearerEnum;
38
- (function (ReturnFeeBearerEnum) {
39
- ReturnFeeBearerEnum["BUYER"] = "BUYER";
40
- ReturnFeeBearerEnum["SELLER"] = "SELLER";
41
- })(ReturnFeeBearerEnum || (exports.ReturnFeeBearerEnum = ReturnFeeBearerEnum = {}));
@@ -1,6 +0,0 @@
1
- import { AuthorTypeEnum } from '../refund';
2
- import PurchasedInfoEntity from './purchased-info.entity';
3
- export type PurchasedInfoForPartialRefundEntity = Pick<PurchasedInfoEntity, '_id' | 'pastName' | 'pastPrice' | 'pastPriceForBuyer' | 'pOptionInfo' | 'paidPrice'> & {
4
- process: string;
5
- authorType: AuthorTypeEnum;
6
- };