@yolo-croket-dev/entity-v2 0.0.46 → 0.0.47

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 (34) 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/index.d.ts +2 -0
  6. package/index.js +2 -0
  7. package/link-tab/entity/link-tab.entity.js +2 -2
  8. package/lologin/lologin-for-admin.entity.d.ts +1 -1
  9. package/mail/mail.entity.js +1 -1
  10. package/package.json +2 -2
  11. package/partial-refund/index.d.ts +2 -0
  12. package/partial-refund/index.js +18 -0
  13. package/partial-refund/partial-refund-for-admin.entity.d.ts +55 -0
  14. package/partial-refund/partial-refund-for-admin.entity.js +2 -0
  15. package/partial-refund/partial-refund.entity.d.ts +92 -0
  16. package/partial-refund/partial-refund.entity.js +41 -0
  17. package/purchased-info/index.d.ts +1 -0
  18. package/purchased-info/index.js +1 -0
  19. package/purchased-info/purchased-info-for-partial-refund.entity.d.ts +6 -0
  20. package/purchased-info/purchased-info-for-partial-refund.entity.js +2 -0
  21. package/purchased-info/purchased-info-for-seller.entity.d.ts +4 -4
  22. package/purchased-info/purchased-info.entity.d.ts +3 -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
@@ -6,10 +6,10 @@ var AppBulkPushLogTypeEnum;
6
6
  AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
7
7
  AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
8
8
  AppBulkPushLogTypeEnum["\uC5D1\uC140_\uC608\uC57D"] = "excel_reservation";
9
- })(AppBulkPushLogTypeEnum = exports.AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = {}));
9
+ })(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
10
10
  var AppBulkPushLogProcessEnum;
11
11
  (function (AppBulkPushLogProcessEnum) {
12
12
  AppBulkPushLogProcessEnum["\uB300\uAE30"] = "ready";
13
13
  AppBulkPushLogProcessEnum["\uC9C4\uD589\uC911"] = "ing";
14
14
  AppBulkPushLogProcessEnum["\uC644\uB8CC"] = "done";
15
- })(AppBulkPushLogProcessEnum = exports.AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = {}));
15
+ })(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 = exports.AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = {}));
8
+ })(AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = 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 || (exports.CartTypeEnum = {}));
8
+ })(CartTypeEnum || (exports.CartTypeEnum = CartTypeEnum = {}));
9
9
  var CartPOptionTypeEnum;
10
10
  (function (CartPOptionTypeEnum) {
11
11
  CartPOptionTypeEnum["single"] = "single";
12
12
  CartPOptionTypeEnum["group"] = "group";
13
- })(CartPOptionTypeEnum = exports.CartPOptionTypeEnum || (exports.CartPOptionTypeEnum = {}));
13
+ })(CartPOptionTypeEnum || (exports.CartPOptionTypeEnum = 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 || (exports.DataPaymentMethodPayTypeEnum = {}));
11
+ })(DataPaymentMethodPayTypeEnum || (exports.DataPaymentMethodPayTypeEnum = DataPaymentMethodPayTypeEnum = {}));
package/index.d.ts CHANGED
@@ -18,3 +18,5 @@ 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,3 +34,5 @@ __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 || (exports.LinkTabTypeEnum = {}));
8
+ })(LinkTabTypeEnum || (exports.LinkTabTypeEnum = 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 || (exports.LinkTabStatusEnum = {}));
15
+ })(LinkTabStatusEnum || (exports.LinkTabStatusEnum = LinkTabStatusEnum = {}));
@@ -1,5 +1,5 @@
1
1
  import { LologinEntity } from './lologin.entity';
2
- export declare type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
2
+ export 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 || (exports.MailClassifyTypeEnum = {}));
12
+ })(MailClassifyTypeEnum || (exports.MailClassifyTypeEnum = MailClassifyTypeEnum = {}));
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
- "description": "크로켓 nest 용 entity-v2",
6
+ "description": "크로켓 nest 용 entity-v3",
7
7
  "keywords": [
8
8
  "entity",
9
9
  "croket"
@@ -0,0 +1,2 @@
1
+ export * from './partial-refund-for-admin.entity';
2
+ export * from './partial-refund.entity';
@@ -0,0 +1,18 @@
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("./partial-refund-for-admin.entity"), exports);
18
+ __exportStar(require("./partial-refund.entity"), exports);
@@ -0,0 +1,55 @@
1
+ import { DeliveryData } from '../purchased-info/purchased-info.entity';
2
+ import { PartialRefundEntity } from './partial-refund.entity';
3
+ export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo'> & {
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,92 @@
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: PartialRefundProcessEnum;
47
+ managerId: string;
48
+ managerName: string;
49
+ }
50
+ export interface PartialRefundCSCheckInfo {
51
+ regDate: Date;
52
+ isCSCheck: boolean;
53
+ managerId: string;
54
+ managerName: string;
55
+ }
56
+ export interface PartialRefundEntity {
57
+ _id: string;
58
+ /** @description 환불 종류 */
59
+ refundType: PartialRefundTypeEnum;
60
+ /** @description 환불 사유 */
61
+ refundReasonType: PartialRefundReasonTypeEnum;
62
+ /** @description 환불 사유 기타 직접입력 */
63
+ refundReasonEtc?: string;
64
+ /** @description 부분 환불 프로세스 */
65
+ refundProcess: PartialRefundProcessEnum;
66
+ /** @description 반품비 여부 */
67
+ returnFeeExists: boolean;
68
+ /** @description 반품비 */
69
+ returnFee?: number;
70
+ /** @description 반품비 부담자 */
71
+ returnFeeBearer?: ReturnFeeBearerEnum;
72
+ /** @description 협의 완료 여부 */
73
+ negotiated: boolean;
74
+ /** @description 환불할 옵션/수량 */
75
+ refundOptionInfo?: RefundOptionInfo;
76
+ /** @description 환불할 금액 */
77
+ refundPrice: number;
78
+ /** @description 부분 환불 요청주체 */
79
+ authorType: AuthorTypeEnum;
80
+ /** @description CS확인 여부 */
81
+ isCSCheck: boolean;
82
+ /** @description 부분 환불 요청일 */
83
+ regDate: Date;
84
+ /** @description 마지막 정보 수정일 */
85
+ lastEditDate: Date;
86
+ /** @description 프로세스 변경 정보 */
87
+ processingInfo?: PartialRefundProcessingInfo;
88
+ /** @description 부분 환불 요청 당시 결제정보 */
89
+ pastPInfo: PurchasedInfoEntity;
90
+ /** @description CS 확인/취소 정보 */
91
+ CSCheckInfo?: PartialRefundCSCheckInfo;
92
+ }
@@ -0,0 +1,41 @@
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 +1,2 @@
1
1
  export * from './purchased-info-for-seller.entity';
2
+ export * from './purchased-info-for-partial-refund.entity';
@@ -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("./purchased-info-for-seller.entity"), exports);
18
+ __exportStar(require("./purchased-info-for-partial-refund.entity"), exports);
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,10 +7,10 @@ export default interface PurchasedInfoForSeller {
7
7
  details: PInfoDetailForSeller[];
8
8
  searchToken: string;
9
9
  }
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'> & {
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'> & {
14
14
  buyerUserInfo: PInfoBuyerUserInfoForSeller;
15
15
  sellerUserInfo: PInfoSellerUserInfoForSeller;
16
16
  pInfoRefundInfo?: PInfoRefundInfoForSeller;
@@ -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 { PartialRefundProcessEnum } from '../partial-refund';
4
5
  import { PurchasedInfoTosspaymentsRefund } from './purchased-info.entity/p-info-tosspayments-refund.vo';
5
6
  export declare enum POptionTypeEnum {
6
7
  single = "single",
@@ -791,6 +792,8 @@ export default interface PurchasedInfoEntity {
791
792
  settleInfo?: PInfoSettleInfo;
792
793
  insuranceStatus?: InsuranceStatus;
793
794
  pastDirectTosspaymentsPayment?: PastDirectTosspaymentsPayment;
795
+ /** @description 마지막 부분환불 프로세스 */
796
+ lastPartialRefundProcess?: PartialRefundProcessEnum;
794
797
  }
795
798
  export interface PastDirectTosspaymentsPayment {
796
799
  paymentKey: string;
@@ -5,21 +5,21 @@ var POptionTypeEnum;
5
5
  (function (POptionTypeEnum) {
6
6
  POptionTypeEnum["single"] = "single";
7
7
  POptionTypeEnum["group"] = "group";
8
- })(POptionTypeEnum = exports.POptionTypeEnum || (exports.POptionTypeEnum = {}));
8
+ })(POptionTypeEnum || (exports.POptionTypeEnum = 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 || (exports.TaxInvoiceIssueProcessEnum = {}));
15
+ })(TaxInvoiceIssueProcessEnum || (exports.TaxInvoiceIssueProcessEnum = 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 || (exports.UserTypeEnum = {}));
22
+ })(UserTypeEnum || (exports.UserTypeEnum = 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 || (exports.PurchasedProcessEnum = {}));
33
+ })(PurchasedProcessEnum || (exports.PurchasedProcessEnum = 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 || (exports.InsuranceProcessTypeEnum = {}));
43
+ })(InsuranceProcessTypeEnum || (exports.InsuranceProcessTypeEnum = 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 || (exports.REFUND_AUTHOR_TYPE = {}));
8
+ })(REFUND_AUTHOR_TYPE || (exports.REFUND_AUTHOR_TYPE = 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 || (exports.RefundProcessEnum = {}));
14
+ })(RefundProcessEnum || (exports.RefundProcessEnum = 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 || (exports.TransactionProcessEnum = {}));
22
+ })(TransactionProcessEnum || (exports.TransactionProcessEnum = TransactionProcessEnum = {}));
23
23
  var RefundTypeEnum;
24
24
  (function (RefundTypeEnum) {
25
25
  RefundTypeEnum["ASK"] = "ask";
26
26
  RefundTypeEnum["STORE"] = "store";
27
- })(RefundTypeEnum = exports.RefundTypeEnum || (exports.RefundTypeEnum = {}));
27
+ })(RefundTypeEnum || (exports.RefundTypeEnum = 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 || (exports.AuthorTypeEnum = {}));
34
+ })(AuthorTypeEnum || (exports.AuthorTypeEnum = 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 || (exports.SellerRefundApprovalInfoAuthorTypeEnum = {}));
40
+ })(SellerRefundApprovalInfoAuthorTypeEnum || (exports.SellerRefundApprovalInfoAuthorTypeEnum = 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 || (exports.BusinessInfoNotEditableDaysKeyEnum = {}));
8
+ })(BusinessInfoNotEditableDaysKeyEnum || (exports.BusinessInfoNotEditableDaysKeyEnum = 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 || (exports.ViewTypeEnum = {}));
14
+ })(ViewTypeEnum || (exports.ViewTypeEnum = 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 || (exports.SelectionFrameDataTypeEnum = {}));
22
+ })(SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = 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 || (exports.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 = exports.SelectionVoteProcessEnum || (exports.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 = exports.SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = {}));
10
+ })(SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = 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 || (exports.ProceedsMethodTypeEnum = {}));
8
+ })(ProceedsMethodTypeEnum || (exports.ProceedsMethodTypeEnum = 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 || (exports.BusinessInfoSellerTypeEnum = {}));
18
+ })(BusinessInfoSellerTypeEnum || (exports.BusinessInfoSellerTypeEnum = 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 || (exports.BusinessInfoVerifiProcessEnum = {}));
30
+ })(BusinessInfoVerifiProcessEnum || (exports.BusinessInfoVerifiProcessEnum = 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 || (exports.IndividualTaxationTypeEnum = {}));
47
+ })(IndividualTaxationTypeEnum || (exports.IndividualTaxationTypeEnum = 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 || (exports.ZeroRateVatProcessEnum = {}));
57
+ })(ZeroRateVatProcessEnum || (exports.ZeroRateVatProcessEnum = 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 || (exports.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 declare type UserForAdminEntity = Pick<UserEntity, '_id' | 'authId' | 'email' | 'username' | 'phoneCountry' | 'phoneNumber' | 'birthday' | 'photos' | 'signed' | 'credit' | 'gender' | 'blocked'> & {
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
  };
@@ -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 || (exports.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 = exports.SellerRegisterStepEnum || (exports.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 = exports.DepositTypeEnum || (exports.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 = exports.WithdrawalTypeEnum || (exports.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 = exports.PGTypeEnum || (exports.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 = exports.DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = {}));
48
+ })(DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));