@yolo-croket-dev/entity-v2 0.0.42-jun.0 → 0.0.42
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 +1 -1
- package/purchased-info/purchased-info.entity.d.ts +0 -2
- package/direct-payment/index.d.ts +0 -1
- package/direct-payment/index.js +0 -17
- package/direct-payment/tosspayments/index.d.ts +0 -1
- package/direct-payment/tosspayments/index.js +0 -17
- package/direct-payment/tosspayments/tosspayments-payment.vo.d.ts +0 -134
- package/direct-payment/tosspayments/tosspayments-payment.vo.js +0 -2
- package/purchased-info/purchased-info.entity/index.d.ts +0 -1
- package/purchased-info/purchased-info.entity/index.js +0 -17
- package/purchased-info/purchased-info.entity/p-info-tosspayments-refund.vo.d.ts +0 -13
- package/purchased-info/purchased-info.entity/p-info-tosspayments-refund.vo.js +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
export declare enum POptionTypeEnum {
|
|
6
5
|
single = "single",
|
|
7
6
|
group = "group"
|
|
@@ -752,7 +751,6 @@ export default interface PurchasedInfoEntity {
|
|
|
752
751
|
couponInfo?: CouponInfo;
|
|
753
752
|
bundlePInfo: BundleInfo;
|
|
754
753
|
IMPRefundInfo?: PInfoIMPRefundInfo;
|
|
755
|
-
tosspaymentsRefund?: PurchasedInfoTosspaymentsRefund;
|
|
756
754
|
pastStoreItemInfo?: PastStoreItemInfo;
|
|
757
755
|
pastSellingInfo?: PastSellingInfo;
|
|
758
756
|
autoReceiveTime?: Date;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tosspayments';
|
package/direct-payment/index.js
DELETED
|
@@ -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("./tosspayments"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tosspayments-payment.vo';
|
|
@@ -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("./tosspayments-payment.vo"), exports);
|
|
@@ -1,134 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './p-info-tosspayments-refund.vo';
|
|
@@ -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("./p-info-tosspayments-refund.vo"), exports);
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|