@yolo-croket-dev/entity-v2 0.0.16-jun.0 → 0.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.16-jun.0",
3
+ "version": "0.0.16",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",
@@ -1 +0,0 @@
1
- export * from './yolo-deposit-history-by-pg.entity';
@@ -1,17 +0,0 @@
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("./yolo-deposit-history-by-pg.entity"), exports);
@@ -1,68 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum DepositTypeEnum {
3
- 'DEPOSIT' = "deposit",
4
- 'WITHDRAWAL' = "withdrawal"
5
- }
6
- export declare enum WithdrawalTypeEnum {
7
- FULL_REFUND = "fullRefund",
8
- PARTIAL_REFUND = "partialRefund",
9
- UNKNOWN = "unknown"
10
- }
11
- export declare enum PGTypeEnum {
12
- '토스페이먼츠' = "tossPayments",
13
- '토스페이' = "tossPay",
14
- '장바구니_토스페이' = "tossPayCart",
15
- '페이코' = "payco",
16
- '카카오페이' = "kakaoPay",
17
- '엑심베이' = "eximbay"
18
- }
19
- export declare enum DetailPaymentMethodEnum {
20
- '토스_후불' = "tossPay_afterPay",
21
- '토스_카드' = "tossPay_card",
22
- '토스_토스머니' = "tossPay_tossMoney",
23
- 카카오페이_카카오머니 = "kakaoPay_kakaoMoney",
24
- 카카오페이_카드 = "kakaoPay_card",
25
- 페이코_가맹점정산보정 = "payco_affiliatedStoreCalculation",
26
- 페이코_페이코포인트 = "payco_paycoPoint",
27
- 페이코_카드 = "payco_card",
28
- 토스페이먼츠_카드 = "tossPayments_card",
29
- 토스페이먼츠_가상계좌 = "tossPayments_VBank",
30
- 나이스페이_카드 = "nicePay_card",
31
- 나이스페이_가상계좌 = "nicePay_VBank",
32
- 나이스페이_계좌이체 = "nicePay_trans",
33
- 차이_포인트 = "chaiPay_point"
34
- }
35
- export default interface YoloDepositHistoryByPGEntity {
36
- _id: Types.ObjectId;
37
- label?: string;
38
- depositType: DepositTypeEnum;
39
- withdrawalType?: WithdrawalTypeEnum;
40
- /** PG 사 */
41
- PGType: PGTypeEnum;
42
- /** 거래액 */
43
- amount: number;
44
- /** 총 PG 수수료 */
45
- allPGFee: number;
46
- /** PG 수수료 (부가세 제외) */
47
- PGFee?: number;
48
- /** PG 수수료의 부가세 */
49
- PGFeeVAT?: number;
50
- /** 지급액 */
51
- payout: number;
52
- detailPaymentMethodOrigin?: string;
53
- detailPaymentMethod?: DetailPaymentMethodEnum;
54
- mid?: string;
55
- tid?: string;
56
- imp_uid?: string;
57
- excelFileName?: string;
58
- settleDate: Date;
59
- settleDateString: string;
60
- paymentDate?: Date;
61
- paymentDateString?: string;
62
- lastUpdateDate: Date;
63
- regDate: Date;
64
- yoloBankDepositWithdrawalHistoryId?: Types.ObjectId;
65
- uniqKey: string;
66
- memo?: string;
67
- }
68
- export { YoloDepositHistoryByPGEntity };
@@ -1,40 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DetailPaymentMethodEnum = exports.PGTypeEnum = exports.WithdrawalTypeEnum = exports.DepositTypeEnum = void 0;
4
- var DepositTypeEnum;
5
- (function (DepositTypeEnum) {
6
- DepositTypeEnum["DEPOSIT"] = "deposit";
7
- DepositTypeEnum["WITHDRAWAL"] = "withdrawal";
8
- })(DepositTypeEnum || (exports.DepositTypeEnum = DepositTypeEnum = {}));
9
- var WithdrawalTypeEnum;
10
- (function (WithdrawalTypeEnum) {
11
- WithdrawalTypeEnum["FULL_REFUND"] = "fullRefund";
12
- WithdrawalTypeEnum["PARTIAL_REFUND"] = "partialRefund";
13
- WithdrawalTypeEnum["UNKNOWN"] = "unknown";
14
- })(WithdrawalTypeEnum || (exports.WithdrawalTypeEnum = WithdrawalTypeEnum = {}));
15
- var PGTypeEnum;
16
- (function (PGTypeEnum) {
17
- PGTypeEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20"] = "tossPayments";
18
- PGTypeEnum["\uD1A0\uC2A4\uD398\uC774"] = "tossPay";
19
- PGTypeEnum["\uC7A5\uBC14\uAD6C\uB2C8_\uD1A0\uC2A4\uD398\uC774"] = "tossPayCart";
20
- PGTypeEnum["\uD398\uC774\uCF54"] = "payco";
21
- PGTypeEnum["\uCE74\uCE74\uC624\uD398\uC774"] = "kakaoPay";
22
- PGTypeEnum["\uC5D1\uC2EC\uBCA0\uC774"] = "eximbay";
23
- })(PGTypeEnum || (exports.PGTypeEnum = PGTypeEnum = {}));
24
- var DetailPaymentMethodEnum;
25
- (function (DetailPaymentMethodEnum) {
26
- DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD6C4\uBD88"] = "tossPay_afterPay";
27
- DetailPaymentMethodEnum["\uD1A0\uC2A4_\uCE74\uB4DC"] = "tossPay_card";
28
- DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD1A0\uC2A4\uBA38\uB2C8"] = "tossPay_tossMoney";
29
- DetailPaymentMethodEnum["\uCE74\uCE74\uC624\uD398\uC774_\uCE74\uCE74\uC624\uBA38\uB2C8"] = "kakaoPay_kakaoMoney";
30
- DetailPaymentMethodEnum["\uCE74\uCE74\uC624\uD398\uC774_\uCE74\uB4DC"] = "kakaoPay_card";
31
- DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uAC00\uB9F9\uC810\uC815\uC0B0\uBCF4\uC815"] = "payco_affiliatedStoreCalculation";
32
- DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uD398\uC774\uCF54\uD3EC\uC778\uD2B8"] = "payco_paycoPoint";
33
- DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uCE74\uB4DC"] = "payco_card";
34
- DetailPaymentMethodEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC"] = "tossPayments_card";
35
- DetailPaymentMethodEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uAC00\uC0C1\uACC4\uC88C"] = "tossPayments_VBank";
36
- DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uCE74\uB4DC"] = "nicePay_card";
37
- DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uAC00\uC0C1\uACC4\uC88C"] = "nicePay_VBank";
38
- DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uACC4\uC88C\uC774\uCCB4"] = "nicePay_trans";
39
- DetailPaymentMethodEnum["\uCC28\uC774_\uD3EC\uC778\uD2B8"] = "chaiPay_point";
40
- })(DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));