@portone/browser-sdk 0.1.0 → 0.1.2
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/dist/v2/entity/CardPromotion.d.ts +21 -0
- package/dist/v2/entity/EasyPayProvider.d.ts +33 -33
- package/dist/v2/entity/Product.d.ts +0 -2
- package/dist/v2/entity/bypass/IssueBillingKeyAndPayBypass.d.ts +5 -0
- package/dist/v2/entity/bypass/IssueBillingKeyBypass.d.ts +21 -16
- package/dist/v2/entity/bypass/PaymentBypass.d.ts +42 -32
- package/dist/v2/entity/bypass/issueBillingKey/Galaxia.d.ts +9 -0
- package/dist/v2/entity/bypass/issueBillingKey/index.d.ts +1 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/Galaxia.d.ts +9 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/PayletterGlobal.d.ts +2 -2
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/index.d.ts +1 -0
- package/dist/v2/entity/bypass/payment/Galaxia.d.ts +9 -0
- package/dist/v2/entity/bypass/payment/MobiliansV2.d.ts +147 -0
- package/dist/v2/entity/bypass/payment/MobiliansV2HiddenOptions.d.ts +73 -0
- package/dist/v2/entity/bypass/payment/MobiliansV2PayOptions.d.ts +178 -0
- package/dist/v2/entity/bypass/payment/PayletterGlobal.d.ts +2 -2
- package/dist/v2/entity/bypass/payment/index.d.ts +4 -0
- package/dist/v2/entity/index.d.ts +1 -1
- package/dist/v2/request/LoadPaymentUIRequest.d.ts +1 -1
- package/dist/v2/request/PaymentRequestBase.d.ts +5 -5
- package/dist/v2/request/PaymentRequestUnionCard.d.ts +7 -0
- package/dist/v2.cjs +354 -87
- package/dist/v2.js +334 -87
- package/package.json +2 -2
- package/dist/v2/entity/PgProvider.d.ts +0 -53
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 우리카드 우리페이(WON카드, WON뱅킹) 결제만 제공할지 여부
|
|
3
|
+
*/
|
|
4
|
+
export declare const MobiliansV2PayOptionsCnPayAppUseYn: {
|
|
5
|
+
/**
|
|
6
|
+
* 사용
|
|
7
|
+
*/
|
|
8
|
+
readonly Y: "Y";
|
|
9
|
+
/**
|
|
10
|
+
* 미사용
|
|
11
|
+
*/
|
|
12
|
+
readonly N: "N";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 우리카드 우리페이 결제수단 목록 WON카드, WON뱅킹에서 단독으로 결제할지 여부
|
|
16
|
+
* (cn\_pay\_app\_use\_yn이 "Y"이어야 사용가능)
|
|
17
|
+
*/
|
|
18
|
+
export declare const MobiliansV2PayOptionsCnPayAppUseCd: {
|
|
19
|
+
/**
|
|
20
|
+
* WON카드
|
|
21
|
+
*/
|
|
22
|
+
readonly '01': "01";
|
|
23
|
+
/**
|
|
24
|
+
* WON뱅킹
|
|
25
|
+
*/
|
|
26
|
+
readonly '02': "02";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 간편결제 다이렉트 호출 시 사용할 결제수단
|
|
30
|
+
*/
|
|
31
|
+
export declare const MobiliansV2PayOptionsEpPayType: {
|
|
32
|
+
/**
|
|
33
|
+
* 카드
|
|
34
|
+
*/
|
|
35
|
+
readonly C: "C";
|
|
36
|
+
/**
|
|
37
|
+
* 네이버페이 포인트 (네이버페이에서만 사용 가능)
|
|
38
|
+
*/
|
|
39
|
+
readonly P: "P";
|
|
40
|
+
/**
|
|
41
|
+
* 카카오페이 머니, 토스머니 (카카오페이, 토스페이에서만 사용 가능)
|
|
42
|
+
*/
|
|
43
|
+
readonly M: "M";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 휴대폰 결제창에서 휴대폰 번호를 고정할지 여부
|
|
47
|
+
*/
|
|
48
|
+
export declare const MobiliansV2PayOptionsMcFixNo: {
|
|
49
|
+
/**
|
|
50
|
+
* 고정 사용
|
|
51
|
+
*/
|
|
52
|
+
readonly Y: "Y";
|
|
53
|
+
/**
|
|
54
|
+
* 미사용
|
|
55
|
+
*/
|
|
56
|
+
readonly N: "N";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* 휴대폰 결제에서 ARS 인증 사용 여부
|
|
60
|
+
*/
|
|
61
|
+
export declare const MobiliansV2PayOptionsMcSafeCall: {
|
|
62
|
+
/**
|
|
63
|
+
* 고정 사용
|
|
64
|
+
*/
|
|
65
|
+
readonly SAFECALL: "SAFECALL";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* 휴대폰 결제에서 간소화 결제 미사용 여부
|
|
69
|
+
*/
|
|
70
|
+
export declare const MobiliansV2PayOptionsMcSimplePay: {
|
|
71
|
+
/**
|
|
72
|
+
* 간소화 결제 미사용
|
|
73
|
+
*/
|
|
74
|
+
readonly Y: "Y";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* 계좌이체 결제에서 뱅크페이 다이렉트 호출 여부
|
|
78
|
+
*/
|
|
79
|
+
export declare const MobiliansV2PayOptionsRaDirect: {
|
|
80
|
+
/**
|
|
81
|
+
* 사용
|
|
82
|
+
*/
|
|
83
|
+
readonly Y: "Y";
|
|
84
|
+
/**
|
|
85
|
+
* 미사용
|
|
86
|
+
*/
|
|
87
|
+
readonly N: "N";
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* 가상계좌 결제창에서 현금영수증 발급 항목 노출 여부
|
|
91
|
+
*/
|
|
92
|
+
export declare const MobiliansV2PayOptionsVaCashReceipt: {
|
|
93
|
+
/**
|
|
94
|
+
* 노출
|
|
95
|
+
*/
|
|
96
|
+
readonly Y: "Y";
|
|
97
|
+
/**
|
|
98
|
+
* 미노출
|
|
99
|
+
*/
|
|
100
|
+
readonly N: "N";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* 가상계좌 결제창에서 에스크로 사용 설정 항목 노출 여부
|
|
104
|
+
*/
|
|
105
|
+
export declare const MobiliansV2PayOptionsVaEscrow: {
|
|
106
|
+
/**
|
|
107
|
+
* 노출
|
|
108
|
+
*/
|
|
109
|
+
readonly Y: "Y";
|
|
110
|
+
/**
|
|
111
|
+
* 미노출
|
|
112
|
+
*/
|
|
113
|
+
readonly N: "N";
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* 가상계좌 결제창에서 이메일 입력 필수 여부
|
|
117
|
+
*/
|
|
118
|
+
export declare const MobiliansV2PayOptionsVaEmail: {
|
|
119
|
+
/**
|
|
120
|
+
* 필수 입력
|
|
121
|
+
*/
|
|
122
|
+
readonly Y: "Y";
|
|
123
|
+
/**
|
|
124
|
+
* 선택 입력
|
|
125
|
+
*/
|
|
126
|
+
readonly N: "N";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* 결제 수단 별 bypass할 값
|
|
130
|
+
*/
|
|
131
|
+
export type MobiliansV2PayOptions = {
|
|
132
|
+
/**
|
|
133
|
+
* 우리카드 우리페이(WON카드, WON뱅킹) 결제만 제공할지 여부
|
|
134
|
+
*/
|
|
135
|
+
cn_pay_app_use_yn?: (typeof MobiliansV2PayOptionsCnPayAppUseYn)[keyof typeof MobiliansV2PayOptionsCnPayAppUseYn] | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* 우리카드 우리페이 결제수단 목록 WON카드, WON뱅킹에서 단독으로 결제할지 여부
|
|
138
|
+
* (cn\_pay\_app\_use\_yn이 "Y"이어야 사용가능)
|
|
139
|
+
*/
|
|
140
|
+
cn_pay_app_use_cd?: (typeof MobiliansV2PayOptionsCnPayAppUseCd)[keyof typeof MobiliansV2PayOptionsCnPayAppUseCd] | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* 간편결제 다이렉트 호출 시 사용할 결제수단
|
|
143
|
+
*/
|
|
144
|
+
ep_pay_type?: (typeof MobiliansV2PayOptionsEpPayType)[keyof typeof MobiliansV2PayOptionsEpPayType] | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* 휴대폰 결제창에서 휴대폰 번호를 고정할지 여부
|
|
147
|
+
*/
|
|
148
|
+
mc_fix_no?: (typeof MobiliansV2PayOptionsMcFixNo)[keyof typeof MobiliansV2PayOptionsMcFixNo] | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* 휴대폰 결제에서 ARS 인증 사용 여부
|
|
151
|
+
*/
|
|
152
|
+
mc_safe_call?: (typeof MobiliansV2PayOptionsMcSafeCall)[keyof typeof MobiliansV2PayOptionsMcSafeCall] | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* 휴대폰 결제에서 간소화 결제 미사용 여부
|
|
155
|
+
*/
|
|
156
|
+
mc_simple_pay?: (typeof MobiliansV2PayOptionsMcSimplePay)[keyof typeof MobiliansV2PayOptionsMcSimplePay] | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* 계좌이체 결제에서 에스크로 구매 비밀먼호
|
|
159
|
+
* (에스크로 적용하여 뱅크페이 다이렉트 호출 시 필수 입력)
|
|
160
|
+
*/
|
|
161
|
+
ra_escrow_password?: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* 계좌이체 결제에서 뱅크페이 다이렉트 호출 여부
|
|
164
|
+
*/
|
|
165
|
+
ra_direct?: (typeof MobiliansV2PayOptionsRaDirect)[keyof typeof MobiliansV2PayOptionsRaDirect] | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* 가상계좌 결제창에서 현금영수증 발급 항목 노출 여부
|
|
168
|
+
*/
|
|
169
|
+
va_cash_receipt?: (typeof MobiliansV2PayOptionsVaCashReceipt)[keyof typeof MobiliansV2PayOptionsVaCashReceipt] | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* 가상계좌 결제창에서 에스크로 사용 설정 항목 노출 여부
|
|
172
|
+
*/
|
|
173
|
+
va_escrow?: (typeof MobiliansV2PayOptionsVaEscrow)[keyof typeof MobiliansV2PayOptionsVaEscrow] | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* 가상계좌 결제창에서 이메일 입력 필수 여부
|
|
176
|
+
*/
|
|
177
|
+
va_email?: (typeof MobiliansV2PayOptionsVaEmail)[keyof typeof MobiliansV2PayOptionsVaEmail] | undefined;
|
|
178
|
+
};
|
|
@@ -5,8 +5,8 @@ export type PayletterGlobalBypass = {
|
|
|
5
5
|
/**
|
|
6
6
|
* **결제수단 지정용 파라미터**
|
|
7
7
|
*
|
|
8
|
-
* - 해외카드
|
|
9
|
-
* - 해외카드
|
|
8
|
+
* - 해외카드 비인증 : `PLCreditCard`
|
|
9
|
+
* - 해외카드 인증(3DS) : `PLCreditCardMpi`
|
|
10
10
|
* - 유니온페이 : `PLUnionPay_HC`
|
|
11
11
|
* - 위챗페이 PC결제: `WeChatPayQRCodePayment`
|
|
12
12
|
* - 위챗페이 모바일결제 : `WeChatPayH5Payment`
|
|
@@ -19,6 +19,7 @@ export * from './Kpn.js';
|
|
|
19
19
|
export * from './KcpV2.js';
|
|
20
20
|
export * from './Hyphen.js';
|
|
21
21
|
export * from './EximbayV2.js';
|
|
22
|
+
export * from './Galaxia.js';
|
|
22
23
|
export * from './InicisJp.js';
|
|
23
24
|
export * from './InicisJpPaymentUI.js';
|
|
24
25
|
export * from './KsnetSndQpayType.js';
|
|
@@ -58,3 +59,6 @@ export * from './TossBrandpayWidgetOptionsUiPromotionSection.js';
|
|
|
58
59
|
export * from './TossBrandpayWidgetOptionsUiPromotionSectionSummary.js';
|
|
59
60
|
export * from './TossBrandpayWidgetOptionsUiPromotionSectionDescription.js';
|
|
60
61
|
export * from './PayletterGlobal.js';
|
|
62
|
+
export * from './MobiliansV2.js';
|
|
63
|
+
export * from './MobiliansV2PayOptions.js';
|
|
64
|
+
export * from './MobiliansV2HiddenOptions.js';
|
|
@@ -3,6 +3,7 @@ export * from './Bank.js';
|
|
|
3
3
|
export * from './BillingKeyAndPayMethod.js';
|
|
4
4
|
export * from './BillingKeyMethod.js';
|
|
5
5
|
export * from './CardCompany.js';
|
|
6
|
+
export * from './CardPromotion.js';
|
|
6
7
|
export * from './Carrier.js';
|
|
7
8
|
export * from './CashReceiptType.js';
|
|
8
9
|
export * from './Country.js';
|
|
@@ -21,7 +22,6 @@ export * from './OfferPeriod.js';
|
|
|
21
22
|
export * from './PaymentUIType.js';
|
|
22
23
|
export * from './PaymentPayMethod.js';
|
|
23
24
|
export * from './PayMethod.js';
|
|
24
|
-
export * from './PgProvider.js';
|
|
25
25
|
export * from './TaxFreeAmount.js';
|
|
26
26
|
export * from './VatAmount.js';
|
|
27
27
|
export * from './Product.js';
|
|
@@ -12,7 +12,6 @@ import type { WindowTypes } from '../entity/WindowTypes.js';
|
|
|
12
12
|
import type { RedirectUrl } from '../entity/RedirectUrl.js';
|
|
13
13
|
import type { Product } from '../entity/Product.js';
|
|
14
14
|
import { Locale } from '../entity/Locale.js';
|
|
15
|
-
import type { PaymentBypass } from '../entity/bypass/PaymentBypass.js';
|
|
16
15
|
import { Country } from '../entity/Country.js';
|
|
17
16
|
import { ProductType } from '../entity/ProductType.js';
|
|
18
17
|
import type { OfferPeriod } from '../entity/OfferPeriod.js';
|
|
@@ -20,6 +19,7 @@ import type { StoreDetails } from '../entity/StoreDetails.js';
|
|
|
20
19
|
import type { Address } from '../entity/Address.js';
|
|
21
20
|
import type { Popup } from '../entity/Popup.js';
|
|
22
21
|
import type { Iframe } from '../entity/Iframe.js';
|
|
22
|
+
import type { PaymentBypass } from '../entity/bypass/PaymentBypass.js';
|
|
23
23
|
export type PaymentRequestBase = {
|
|
24
24
|
/**
|
|
25
25
|
* **상점 아이디**
|
|
@@ -165,10 +165,6 @@ export type PaymentRequestBase = {
|
|
|
165
165
|
* **결제 정보에 포함할 고객사 커스텀 JSON 데이터**
|
|
166
166
|
*/
|
|
167
167
|
customData?: Record<string, any> | undefined;
|
|
168
|
-
/**
|
|
169
|
-
* **PG사 결제창 호출 시 PG사로 그대로 bypass할 값들의 모음**
|
|
170
|
-
*/
|
|
171
|
-
bypass?: PaymentBypass | undefined;
|
|
172
168
|
/**
|
|
173
169
|
* **국가**
|
|
174
170
|
*
|
|
@@ -250,4 +246,8 @@ export type PaymentRequestBase = {
|
|
|
250
246
|
* **결제창이 iframe 방식일 경우 결제창에 적용할 속성**
|
|
251
247
|
*/
|
|
252
248
|
iframe?: Iframe | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* **PG사 결제창 호출 시 PG사로 그대로 bypass할 값들의 모음**
|
|
251
|
+
*/
|
|
252
|
+
bypass?: PaymentBypass | undefined;
|
|
253
253
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CardCompany } from '../entity/CardCompany.js';
|
|
2
2
|
import type { Installment } from '../entity/Installment.js';
|
|
3
|
+
import type { CardPromotion } from '../entity/CardPromotion.js';
|
|
3
4
|
/**
|
|
4
5
|
* **카드 결제 설정**
|
|
5
6
|
*/
|
|
@@ -76,4 +77,10 @@ export type PaymentRequestUnionCard = {
|
|
|
76
77
|
* 할부 사용 가능 여부
|
|
77
78
|
*/
|
|
78
79
|
useInstallment?: boolean | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* **카드 프로모션 정보**
|
|
82
|
+
*
|
|
83
|
+
* 카드사 다이렉트 호출 시 적용할 카드사 할인 쿠폰 정보입니다.
|
|
84
|
+
*/
|
|
85
|
+
cardPromotion?: CardPromotion | undefined;
|
|
79
86
|
};
|