@portone/browser-sdk 0.0.7 → 0.0.8
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/EasyPayProvider.d.ts +1 -0
- package/dist/v2/entity/PgProvider.d.ts +2 -4
- package/dist/v2/entity/bypass/issueBillingKey/KcpV2.d.ts +6 -0
- package/dist/v2/entity/bypass/issueBillingKey/index.d.ts +2 -0
- package/dist/v2/entity/bypass/payment/Hyphen.d.ts +3 -0
- package/dist/v2/entity/bypass/payment/KcpV2.d.ts +15 -0
- package/dist/v2/entity/bypass/payment/index.d.ts +4 -0
- package/dist/v2/requestPayment.d.ts +1 -0
- package/dist/v2.cjs +282 -283
- package/dist/v2.js +282 -283
- package/package.json +6 -2
|
@@ -13,5 +13,6 @@ export declare const EasyPayProvider: {
|
|
|
13
13
|
readonly PINPAY: "EASY_PAY_PROVIDER_PINPAY";
|
|
14
14
|
readonly SKPAY: "EASY_PAY_PROVIDER_SKPAY";
|
|
15
15
|
readonly TOSS_BRANDPAY: "EASY_PAY_PROVIDER_TOSS_BRANDPAY";
|
|
16
|
+
readonly HYPHEN: "EASY_PAY_PROVIDER_HYPHEN";
|
|
16
17
|
};
|
|
17
18
|
export type EasyPayProvider = typeof EasyPayProvider[keyof typeof EasyPayProvider];
|
|
@@ -5,23 +5,19 @@ export declare const PgProvider: {
|
|
|
5
5
|
readonly DANAL: "PG_PROVIDER_DANAL";
|
|
6
6
|
readonly NICE: "PG_PROVIDER_NICE";
|
|
7
7
|
readonly DANAL_TPAY: "PG_PROVIDER_DANAL_TPAY";
|
|
8
|
-
readonly JTNET: "PG_PROVIDER_JTNET";
|
|
9
8
|
readonly UPLUS: "PG_PROVIDER_UPLUS";
|
|
10
9
|
readonly NAVERPAY: "PG_PROVIDER_NAVERPAY";
|
|
11
|
-
readonly KAKAO: "PG_PROVIDER_KAKAO";
|
|
12
10
|
readonly SETTLE: "PG_PROVIDER_SETTLE";
|
|
13
11
|
readonly KCP: "PG_PROVIDER_KCP";
|
|
14
12
|
readonly MOBILIANS: "PG_PROVIDER_MOBILIANS";
|
|
15
13
|
readonly KAKAOPAY: "PG_PROVIDER_KAKAOPAY";
|
|
16
14
|
readonly NAVERCO: "PG_PROVIDER_NAVERCO";
|
|
17
|
-
readonly SYRUP: "PG_PROVIDER_SYRUP";
|
|
18
15
|
readonly KICC: "PG_PROVIDER_KICC";
|
|
19
16
|
readonly EXIMBAY: "PG_PROVIDER_EXIMBAY";
|
|
20
17
|
readonly SMILEPAY: "PG_PROVIDER_SMILEPAY";
|
|
21
18
|
readonly PAYCO: "PG_PROVIDER_PAYCO";
|
|
22
19
|
readonly KCP_BILLING: "PG_PROVIDER_KCP_BILLING";
|
|
23
20
|
readonly ALIPAY: "PG_PROVIDER_ALIPAY";
|
|
24
|
-
readonly PAYPLE: "PG_PROVIDER_PAYPLE";
|
|
25
21
|
readonly CHAI: "PG_PROVIDER_CHAI";
|
|
26
22
|
readonly BLUEWALNUT: "PG_PROVIDER_BLUEWALNUT";
|
|
27
23
|
readonly SMARTRO: "PG_PROVIDER_SMARTRO";
|
|
@@ -44,5 +40,7 @@ export declare const PgProvider: {
|
|
|
44
40
|
readonly TOSSPAY_V2: "PG_PROVIDER_TOSSPAY_V2";
|
|
45
41
|
readonly INICIS_V2: "PG_PROVIDER_INICIS_V2";
|
|
46
42
|
readonly KPN: "PG_PROVIDER_KPN";
|
|
43
|
+
readonly KCP_V2: "PG_PROVIDER_KCP_V2";
|
|
44
|
+
readonly HYPHEN: "PG_PROVIDER_HYPHEN";
|
|
47
45
|
};
|
|
48
46
|
export type PgProvider = typeof PgProvider[keyof typeof PgProvider];
|
|
@@ -4,6 +4,7 @@ import { NaverpayIssueBillingKeyBypass } from './Naverpay.js';
|
|
|
4
4
|
import { WelcomeIssueBillingKeyBypass } from './Welcome.js';
|
|
5
5
|
import { TosspayV2IssueBillingKeyBypass } from './TosspayV2.js';
|
|
6
6
|
import { InicisV2IssueBillingKeyBypass } from './InicisV2.js';
|
|
7
|
+
import { KcpV2IssueBillingKeyBypass } from './KcpV2.js';
|
|
7
8
|
export type IssueBillingKeyBypass = {
|
|
8
9
|
kakaopay?: KakaopayPaymentBypass;
|
|
9
10
|
smartro_v2?: SmartroV2IssueBillingKeyBypass;
|
|
@@ -11,4 +12,5 @@ export type IssueBillingKeyBypass = {
|
|
|
11
12
|
welcome?: WelcomeIssueBillingKeyBypass;
|
|
12
13
|
tosspay_v2?: TosspayV2IssueBillingKeyBypass;
|
|
13
14
|
inicis_v2?: InicisV2IssueBillingKeyBypass;
|
|
15
|
+
kcp_v2?: KcpV2IssueBillingKeyBypass;
|
|
14
16
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 정규화가 어려운 KCP V2 bypass 파라미터
|
|
3
|
+
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
4
|
+
*/
|
|
5
|
+
export type KcpV2Bypass = {
|
|
6
|
+
skin_indx?: string;
|
|
7
|
+
site_logo?: string;
|
|
8
|
+
shop_user_id: string;
|
|
9
|
+
kcp_pay_title?: string;
|
|
10
|
+
complex_pnt_yn?: 'Y' | 'N';
|
|
11
|
+
pt_memcorp_cd?: string;
|
|
12
|
+
disp_tax_yn?: 'Y' | 'N' | 'R' | 'E';
|
|
13
|
+
site_name?: string;
|
|
14
|
+
deli_term?: string;
|
|
15
|
+
};
|
|
@@ -9,6 +9,8 @@ import { WelcomePaymentBypass } from './Welcome.js';
|
|
|
9
9
|
import { TosspayV2PaymentBypass } from './TosspayV2.js';
|
|
10
10
|
import { InicisV2Bypass } from './InicisV2.js';
|
|
11
11
|
import { KpnBypass } from './Kpn.js';
|
|
12
|
+
import { KcpV2Bypass } from './KcpV2.js';
|
|
13
|
+
import { HyphenBypass } from './Hyphen.js';
|
|
12
14
|
export type PaymentBypass = {
|
|
13
15
|
tosspayments?: TosspaymentsPaymentBypass;
|
|
14
16
|
ksnet?: KsnetPaymentBypass;
|
|
@@ -21,4 +23,6 @@ export type PaymentBypass = {
|
|
|
21
23
|
tosspay_v2?: TosspayV2PaymentBypass;
|
|
22
24
|
inicis_v2?: InicisV2Bypass;
|
|
23
25
|
kpn?: KpnBypass;
|
|
26
|
+
kcp_v2?: KcpV2Bypass;
|
|
27
|
+
hyphen?: HyphenBypass;
|
|
24
28
|
};
|