@portone/browser-sdk 0.0.10 → 0.0.12
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/Locale.d.ts +5 -0
- package/dist/v2/entity/PgProvider.d.ts +52 -0
- package/dist/v2/entity/Popup.d.ts +3 -0
- package/dist/v2/entity/Product.d.ts +1 -0
- package/dist/v2/entity/bypass/payment/EximbayV2.d.ts +44 -0
- package/dist/v2/entity/bypass/payment/Hyphen.d.ts +1 -1
- package/dist/v2/entity/bypass/payment/index.d.ts +10 -8
- package/dist/v2/entity/index.d.ts +8 -7
- package/dist/v2/loadPaymentUI.d.ts +2 -0
- package/dist/v2/requestIdentityVerification.d.ts +4 -1
- package/dist/v2/requestIssueBillingKey.d.ts +3 -0
- package/dist/v2/requestIssueBillingKeyAndPay.d.ts +3 -0
- package/dist/v2/requestPayment.d.ts +4 -1
- package/dist/v2.cjs +17 -9
- package/dist/v2.js +17 -9
- package/package.json +1 -1
|
@@ -2,5 +2,10 @@ export declare const Locale: {
|
|
|
2
2
|
readonly KO_KR: "KO_KR";
|
|
3
3
|
readonly EN_US: "EN_US";
|
|
4
4
|
readonly ZH_CN: "ZH_CN";
|
|
5
|
+
readonly ZH_TW: "ZH_TW";
|
|
6
|
+
readonly JA_JP: "JA_JP";
|
|
7
|
+
readonly RU_RU: "RU_RU";
|
|
8
|
+
readonly TH_TH: "TH_TH";
|
|
9
|
+
readonly VI_VN: "VI_VN";
|
|
5
10
|
};
|
|
6
11
|
export type Locale = typeof Locale[keyof typeof Locale];
|
|
@@ -42,5 +42,57 @@ export declare const PgProvider: {
|
|
|
42
42
|
readonly KPN: "PG_PROVIDER_KPN";
|
|
43
43
|
readonly KCP_V2: "PG_PROVIDER_KCP_V2";
|
|
44
44
|
readonly HYPHEN: "PG_PROVIDER_HYPHEN";
|
|
45
|
+
readonly EXIMBAY_V2: "PG_PROVIDER_EXIMBAY_V2";
|
|
45
46
|
};
|
|
46
47
|
export type PgProvider = typeof PgProvider[keyof typeof PgProvider];
|
|
48
|
+
type InversionMap<T extends Record<keyof T, keyof any>> = {
|
|
49
|
+
[K in keyof T as T[K]]: K;
|
|
50
|
+
};
|
|
51
|
+
export declare const InversionPgProvider: InversionMap<{
|
|
52
|
+
readonly HTML5_INICIS: "PG_PROVIDER_HTML5_INICIS";
|
|
53
|
+
readonly PAYPAL: "PG_PROVIDER_PAYPAL";
|
|
54
|
+
readonly INICIS: "PG_PROVIDER_INICIS";
|
|
55
|
+
readonly DANAL: "PG_PROVIDER_DANAL";
|
|
56
|
+
readonly NICE: "PG_PROVIDER_NICE";
|
|
57
|
+
readonly DANAL_TPAY: "PG_PROVIDER_DANAL_TPAY";
|
|
58
|
+
readonly UPLUS: "PG_PROVIDER_UPLUS";
|
|
59
|
+
readonly NAVERPAY: "PG_PROVIDER_NAVERPAY";
|
|
60
|
+
readonly SETTLE: "PG_PROVIDER_SETTLE";
|
|
61
|
+
readonly KCP: "PG_PROVIDER_KCP";
|
|
62
|
+
readonly MOBILIANS: "PG_PROVIDER_MOBILIANS";
|
|
63
|
+
readonly KAKAOPAY: "PG_PROVIDER_KAKAOPAY";
|
|
64
|
+
readonly NAVERCO: "PG_PROVIDER_NAVERCO";
|
|
65
|
+
readonly KICC: "PG_PROVIDER_KICC";
|
|
66
|
+
readonly EXIMBAY: "PG_PROVIDER_EXIMBAY";
|
|
67
|
+
readonly SMILEPAY: "PG_PROVIDER_SMILEPAY";
|
|
68
|
+
readonly PAYCO: "PG_PROVIDER_PAYCO";
|
|
69
|
+
readonly KCP_BILLING: "PG_PROVIDER_KCP_BILLING";
|
|
70
|
+
readonly ALIPAY: "PG_PROVIDER_ALIPAY";
|
|
71
|
+
readonly CHAI: "PG_PROVIDER_CHAI";
|
|
72
|
+
readonly BLUEWALNUT: "PG_PROVIDER_BLUEWALNUT";
|
|
73
|
+
readonly SMARTRO: "PG_PROVIDER_SMARTRO";
|
|
74
|
+
readonly PAYMENTWALL: "PG_PROVIDER_PAYMENTWALL";
|
|
75
|
+
readonly TOSSPAYMENTS: "PG_PROVIDER_TOSSPAYMENTS";
|
|
76
|
+
readonly KCP_QUICK: "PG_PROVIDER_KCP_QUICK";
|
|
77
|
+
readonly DAOU: "PG_PROVIDER_DAOU";
|
|
78
|
+
readonly GALAXIA: "PG_PROVIDER_GALAXIA";
|
|
79
|
+
readonly TOSSPAY: "PG_PROVIDER_TOSSPAY";
|
|
80
|
+
readonly KCP_DIRECT: "PG_PROVIDER_KCP_DIRECT";
|
|
81
|
+
readonly SETTLE_ACC: "PG_PROVIDER_SETTLE_ACC";
|
|
82
|
+
readonly SETTLE_FIRM: "PG_PROVIDER_SETTLE_FIRM";
|
|
83
|
+
readonly INICIS_UNIFIED: "PG_PROVIDER_INICIS_UNIFIED";
|
|
84
|
+
readonly KSNET: "PG_PROVIDER_KSNET";
|
|
85
|
+
readonly PAYPAL_V2: "PG_PROVIDER_PAYPAL_V2";
|
|
86
|
+
readonly SMARTRO_V2: "PG_PROVIDER_SMARTRO_V2";
|
|
87
|
+
readonly NICE_V2: "PG_PROVIDER_NICE_V2";
|
|
88
|
+
readonly TOSS_BRANDPAY: "PG_PROVIDER_TOSS_BRANDPAY";
|
|
89
|
+
readonly WELCOME: "PG_PROVIDER_WELCOME";
|
|
90
|
+
readonly TOSSPAY_V2: "PG_PROVIDER_TOSSPAY_V2";
|
|
91
|
+
readonly INICIS_V2: "PG_PROVIDER_INICIS_V2";
|
|
92
|
+
readonly KPN: "PG_PROVIDER_KPN";
|
|
93
|
+
readonly KCP_V2: "PG_PROVIDER_KCP_V2";
|
|
94
|
+
readonly HYPHEN: "PG_PROVIDER_HYPHEN";
|
|
95
|
+
readonly EXIMBAY_V2: "PG_PROVIDER_EXIMBAY_V2";
|
|
96
|
+
}>;
|
|
97
|
+
export type InversionPgProvider = typeof InversionPgProvider[keyof typeof InversionPgProvider];
|
|
98
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type EximbayV2Bypass = {
|
|
2
|
+
payment?: {
|
|
3
|
+
payment_method?: string;
|
|
4
|
+
multi_payment_method?: string[];
|
|
5
|
+
};
|
|
6
|
+
merchant?: {
|
|
7
|
+
shop?: string;
|
|
8
|
+
partner_code?: string;
|
|
9
|
+
};
|
|
10
|
+
tax?: {
|
|
11
|
+
receipt_status?: 'Y' | 'N';
|
|
12
|
+
amount_service_fee?: string;
|
|
13
|
+
};
|
|
14
|
+
surcharge?: {
|
|
15
|
+
name?: string;
|
|
16
|
+
quantity?: string;
|
|
17
|
+
unit_price?: string;
|
|
18
|
+
}[];
|
|
19
|
+
ship_to?: {
|
|
20
|
+
city?: string;
|
|
21
|
+
country?: string;
|
|
22
|
+
first_name?: string;
|
|
23
|
+
last_name?: string;
|
|
24
|
+
phone_number?: string;
|
|
25
|
+
postal_code?: string;
|
|
26
|
+
state?: string;
|
|
27
|
+
street1?: string;
|
|
28
|
+
};
|
|
29
|
+
bill_to?: {
|
|
30
|
+
city?: string;
|
|
31
|
+
country?: string;
|
|
32
|
+
first_name?: string;
|
|
33
|
+
last_name?: string;
|
|
34
|
+
phone_number?: string;
|
|
35
|
+
postal_code?: string;
|
|
36
|
+
state?: string;
|
|
37
|
+
street1?: string;
|
|
38
|
+
};
|
|
39
|
+
settings?: {
|
|
40
|
+
call_from_app?: 'Y' | 'N';
|
|
41
|
+
issuer_country?: string;
|
|
42
|
+
};
|
|
43
|
+
virtualaccount_expiry_date?: string;
|
|
44
|
+
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HyphenBypass } from './Hyphen.js';
|
|
2
|
+
import { EximbayV2Bypass } from './EximbayV2.js';
|
|
3
|
+
import { InicisV2Bypass } from './InicisV2.js';
|
|
3
4
|
import { KakaopayPaymentBypass } from './Kakaopay.js';
|
|
4
|
-
import {
|
|
5
|
+
import { KcpV2Bypass } from './KcpV2.js';
|
|
6
|
+
import { KpnBypass } from './Kpn.js';
|
|
7
|
+
import { KsnetPaymentBypass } from './Ksnet.js';
|
|
5
8
|
import { NaverpayPaymentBypass } from './Naverpay.js';
|
|
6
9
|
import { NiceV2PaymentBypass } from './NiceV2.js';
|
|
10
|
+
import { SmartroV2PaymentBypass } from './SmartroV2.js';
|
|
7
11
|
import { TossBrandpayPaymentBypass } from './TossBrandpay.js';
|
|
8
|
-
import {
|
|
12
|
+
import { TosspaymentsPaymentBypass } from './Tosspayments.js';
|
|
9
13
|
import { TosspayV2PaymentBypass } from './TosspayV2.js';
|
|
10
|
-
import {
|
|
11
|
-
import { KpnBypass } from './Kpn.js';
|
|
12
|
-
import { KcpV2Bypass } from './KcpV2.js';
|
|
13
|
-
import { HyphenBypass } from './Hyphen.js';
|
|
14
|
+
import { WelcomePaymentBypass } from './Welcome.js';
|
|
14
15
|
export type PaymentBypass = {
|
|
15
16
|
tosspayments?: TosspaymentsPaymentBypass;
|
|
16
17
|
ksnet?: KsnetPaymentBypass;
|
|
@@ -25,4 +26,5 @@ export type PaymentBypass = {
|
|
|
25
26
|
kpn?: KpnBypass;
|
|
26
27
|
kcp_v2?: KcpV2Bypass;
|
|
27
28
|
hyphen?: HyphenBypass;
|
|
29
|
+
eximbay_v2?: EximbayV2Bypass;
|
|
28
30
|
};
|
|
@@ -8,13 +8,13 @@ export { Currency } from './Currency.js';
|
|
|
8
8
|
export { EasyPayProvider } from './EasyPayProvider.js';
|
|
9
9
|
export { Gender } from './Gender.js';
|
|
10
10
|
export { GiftCertificateType } from './GiftCertificateType.js';
|
|
11
|
+
export { IssueBillingKeyUIType } from './IssueBillingKeyUIType.js';
|
|
12
|
+
export { LoadableUIType } from './LoadableUIType.js';
|
|
11
13
|
export { Locale } from './Locale.js';
|
|
12
|
-
export {
|
|
14
|
+
export { PaymentUIType } from './PaymentUIType.js';
|
|
15
|
+
export { InversionPgProvider, PgProvider } from './PgProvider.js';
|
|
13
16
|
export { TransactionType } from './TransactionType.js';
|
|
14
17
|
export { WindowType } from './WindowType.js';
|
|
15
|
-
export { LoadableUIType } from './LoadableUIType.js';
|
|
16
|
-
export { PaymentUIType } from './PaymentUIType.js';
|
|
17
|
-
export { IssueBillingKeyUIType } from './IssueBillingKeyUIType.js';
|
|
18
18
|
export type { Address } from './Address.js';
|
|
19
19
|
export type { CashReceiptType } from './CashReceiptType.js';
|
|
20
20
|
export type { Customer } from './Customer.js';
|
|
@@ -23,13 +23,14 @@ export type { FreeInstallmentPlan } from './FreeInstallmentPlan.js';
|
|
|
23
23
|
export type { Installment } from './Installment.js';
|
|
24
24
|
export type { OfferPeriod } from './OfferPeriod.js';
|
|
25
25
|
export type { PayMethod } from './PayMethod.js';
|
|
26
|
+
export type { Popup } from './Popup.js';
|
|
26
27
|
export type { Product } from './Product.js';
|
|
27
28
|
export type { ProductType } from './ProductType.js';
|
|
28
29
|
export type { StoreDetails } from './StoreDetails.js';
|
|
29
30
|
export type { WindowTypes } from './WindowType.js';
|
|
30
31
|
export type { IdentityVerificationBypass } from './bypass/identityVerification/index.js';
|
|
31
|
-
export type { IssueBillingKeyAndPayBypass } from './bypass/issueBillingKeyAndPay/index.js';
|
|
32
32
|
export type { IssueBillingKeyBypass } from './bypass/issueBillingKey/index.js';
|
|
33
|
-
export type {
|
|
34
|
-
export type { LoadPaymentUIBypass } from './bypass/loadPaymentUI/index.js';
|
|
33
|
+
export type { IssueBillingKeyAndPayBypass } from './bypass/issueBillingKeyAndPay/index.js';
|
|
35
34
|
export type { LoadIssueBillingKeyUIBypass } from './bypass/loadIssueBillingKeyUI/index.js';
|
|
35
|
+
export type { LoadPaymentUIBypass } from './bypass/loadPaymentUI/index.js';
|
|
36
|
+
export type { PaymentBypass } from './bypass/payment/index.js';
|
|
@@ -11,6 +11,7 @@ export type IdentityVerificationRequest = {
|
|
|
11
11
|
redirectUrl?: string;
|
|
12
12
|
customData?: string;
|
|
13
13
|
bypass?: Entity.IdentityVerificationBypass;
|
|
14
|
+
popup?: Entity.Popup;
|
|
14
15
|
};
|
|
15
16
|
/**
|
|
16
17
|
* iframe/popup 방식으로 PG사 창이 렌더링 된 경우
|
|
@@ -18,8 +19,10 @@ export type IdentityVerificationRequest = {
|
|
|
18
19
|
*/
|
|
19
20
|
export type IdentityVerificationResponse = {
|
|
20
21
|
transactionType: typeof Entity.TransactionType.IDENTITY_VERIFICATION;
|
|
21
|
-
identityVerificationId
|
|
22
|
+
identityVerificationId: string;
|
|
22
23
|
identityVerificationTxId: string;
|
|
23
24
|
code?: string;
|
|
24
25
|
message?: string;
|
|
26
|
+
pgCode?: string;
|
|
27
|
+
pgMessage?: string;
|
|
25
28
|
};
|
|
@@ -21,6 +21,7 @@ export type IssueBillingKeyRequest = {
|
|
|
21
21
|
noticeUrls?: string[];
|
|
22
22
|
productType?: Entity.ProductType;
|
|
23
23
|
bypass?: Entity.IssueBillingKeyBypass;
|
|
24
|
+
popup?: Entity.Popup;
|
|
24
25
|
} & (BillingKeyMethodOptions<'CARD', Card> | BillingKeyMethodOptions<'MOBILE', Mobile> | BillingKeyMethodOptions<'EASY_PAY', EasyPay> | BillingKeyMethodOptions<'PAYPAL', Paypal>);
|
|
25
26
|
/**
|
|
26
27
|
* iframe/popup 방식으로 PG사 창이 렌더링 된 경우
|
|
@@ -31,6 +32,8 @@ export type IssueBillingKeyResponse = {
|
|
|
31
32
|
billingKey: string;
|
|
32
33
|
code?: string;
|
|
33
34
|
message?: string;
|
|
35
|
+
pgCode?: string;
|
|
36
|
+
pgMessage?: string;
|
|
34
37
|
};
|
|
35
38
|
type BillingKeyMethodOptions<Method extends Entity.BillingKeyMethod, T> = {
|
|
36
39
|
billingKeyMethod: Method;
|
|
@@ -26,6 +26,7 @@ export type IssueBillingKeyAndPayRequest = {
|
|
|
26
26
|
storeDetails?: Entity.StoreDetails;
|
|
27
27
|
country?: Entity.Country;
|
|
28
28
|
bypass?: Entity.IssueBillingKeyAndPayBypass;
|
|
29
|
+
popup?: Entity.Popup;
|
|
29
30
|
} & BillingKeyAndPayMethodOptions<'MOBILE', Mobile>;
|
|
30
31
|
/**
|
|
31
32
|
* iframe/popup 방식으로 PG사 창이 렌더링 된 경우
|
|
@@ -38,6 +39,8 @@ export type IssueBillingKeyAndPayResponse = {
|
|
|
38
39
|
billingKey: string;
|
|
39
40
|
code?: string;
|
|
40
41
|
message?: string;
|
|
42
|
+
pgCode?: string;
|
|
43
|
+
pgMessage?: string;
|
|
41
44
|
};
|
|
42
45
|
type BillingKeyAndPayMethodOptions<Method extends Entity.BillingKeyAndPayMethod, T> = {
|
|
43
46
|
billingKeyAndPayMethod: Method;
|
|
@@ -31,6 +31,7 @@ export type PaymentRequest = {
|
|
|
31
31
|
country?: Entity.Country;
|
|
32
32
|
shippingAddress?: Entity.Address;
|
|
33
33
|
promotionId?: string;
|
|
34
|
+
popup?: Entity.Popup;
|
|
34
35
|
} & (PayMethodOptions<'CARD', Card> | PayMethodOptions<'VIRTUAL_ACCOUNT', VirtualAccount> | PayMethodOptions<'TRANSFER', Transfer> | PayMethodOptions<'MOBILE', Mobile> | PayMethodOptions<'GIFT_CERTIFICATE', GiftCertificate> | PayMethodOptions<'EASY_PAY', EasyPay> | PayMethodOptions<'PAYPAL', Paypal> | PayMethodOptions<'ALIPAY', Alipay>);
|
|
35
36
|
/**
|
|
36
37
|
* iframe/popup 방식으로 PG사 창이 렌더링 된 경우
|
|
@@ -38,10 +39,12 @@ export type PaymentRequest = {
|
|
|
38
39
|
*/
|
|
39
40
|
export type PaymentResponse = {
|
|
40
41
|
transactionType: typeof Entity.TransactionType.PAYMENT;
|
|
42
|
+
paymentId: string;
|
|
41
43
|
txId: string;
|
|
42
|
-
paymentId?: string;
|
|
43
44
|
code?: string;
|
|
44
45
|
message?: string;
|
|
46
|
+
pgCode?: string;
|
|
47
|
+
pgMessage?: string;
|
|
45
48
|
};
|
|
46
49
|
type PayMethodOptions<Method extends Entity.PayMethod, T> = {
|
|
47
50
|
payMethod: Method;
|
package/dist/v2.cjs
CHANGED
|
@@ -695,11 +695,24 @@ const GiftCertificateType = {
|
|
|
695
695
|
CULTURE_GIFT: 'GIFT_CERTIFICATE_TYPE_CULTURE_GIFT',
|
|
696
696
|
};
|
|
697
697
|
|
|
698
|
+
const IssueBillingKeyUIType = {
|
|
699
|
+
PAYPAL_RT: 'PAYPAL_RT',
|
|
700
|
+
};
|
|
701
|
+
|
|
698
702
|
// PG사 창 언어 설정
|
|
699
703
|
const Locale = {
|
|
700
704
|
KO_KR: 'KO_KR', // 한국어
|
|
701
705
|
EN_US: 'EN_US', // 영어
|
|
702
|
-
ZH_CN: 'ZH_CN', // 중국어
|
|
706
|
+
ZH_CN: 'ZH_CN', // 중국어 (중국)
|
|
707
|
+
ZH_TW: 'ZH_TW', // 중국어 (대만)
|
|
708
|
+
JA_JP: 'JA_JP', // 일본어
|
|
709
|
+
RU_RU: 'RU_RU', // 러시아어
|
|
710
|
+
TH_TH: 'TH_TH', // 타이어
|
|
711
|
+
VI_VN: 'VI_VN', // 베트남어
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
const PaymentUIType = {
|
|
715
|
+
PAYPAL_SPB: 'PAYPAL_SPB',
|
|
703
716
|
};
|
|
704
717
|
|
|
705
718
|
// PG사
|
|
@@ -747,7 +760,9 @@ const PgProvider = {
|
|
|
747
760
|
KPN: 'PG_PROVIDER_KPN',
|
|
748
761
|
KCP_V2: 'PG_PROVIDER_KCP_V2',
|
|
749
762
|
HYPHEN: 'PG_PROVIDER_HYPHEN',
|
|
763
|
+
EXIMBAY_V2: 'PG_PROVIDER_EXIMBAY_V2',
|
|
750
764
|
};
|
|
765
|
+
const InversionPgProvider = Object.entries(PgProvider).reduce((acc, [k, v]) => (Object.assign(Object.assign({}, acc), { [v]: k })), {});
|
|
751
766
|
|
|
752
767
|
/**
|
|
753
768
|
* 트랜잭션 유형
|
|
@@ -774,14 +789,6 @@ const WindowType = {
|
|
|
774
789
|
UI: 'UI',
|
|
775
790
|
};
|
|
776
791
|
|
|
777
|
-
const PaymentUIType = {
|
|
778
|
-
PAYPAL_SPB: 'PAYPAL_SPB',
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
const IssueBillingKeyUIType = {
|
|
782
|
-
PAYPAL_RT: 'PAYPAL_RT',
|
|
783
|
-
};
|
|
784
|
-
|
|
785
792
|
var index$1 = {
|
|
786
793
|
__proto__: null,
|
|
787
794
|
Bank: Bank,
|
|
@@ -794,6 +801,7 @@ var index$1 = {
|
|
|
794
801
|
EasyPayProvider: EasyPayProvider,
|
|
795
802
|
Gender: Gender,
|
|
796
803
|
GiftCertificateType: GiftCertificateType,
|
|
804
|
+
InversionPgProvider: InversionPgProvider,
|
|
797
805
|
IssueBillingKeyUIType: IssueBillingKeyUIType,
|
|
798
806
|
Locale: Locale,
|
|
799
807
|
PaymentUIType: PaymentUIType,
|
package/dist/v2.js
CHANGED
|
@@ -691,11 +691,24 @@ const GiftCertificateType = {
|
|
|
691
691
|
CULTURE_GIFT: 'GIFT_CERTIFICATE_TYPE_CULTURE_GIFT',
|
|
692
692
|
};
|
|
693
693
|
|
|
694
|
+
const IssueBillingKeyUIType = {
|
|
695
|
+
PAYPAL_RT: 'PAYPAL_RT',
|
|
696
|
+
};
|
|
697
|
+
|
|
694
698
|
// PG사 창 언어 설정
|
|
695
699
|
const Locale = {
|
|
696
700
|
KO_KR: 'KO_KR', // 한국어
|
|
697
701
|
EN_US: 'EN_US', // 영어
|
|
698
|
-
ZH_CN: 'ZH_CN', // 중국어
|
|
702
|
+
ZH_CN: 'ZH_CN', // 중국어 (중국)
|
|
703
|
+
ZH_TW: 'ZH_TW', // 중국어 (대만)
|
|
704
|
+
JA_JP: 'JA_JP', // 일본어
|
|
705
|
+
RU_RU: 'RU_RU', // 러시아어
|
|
706
|
+
TH_TH: 'TH_TH', // 타이어
|
|
707
|
+
VI_VN: 'VI_VN', // 베트남어
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
const PaymentUIType = {
|
|
711
|
+
PAYPAL_SPB: 'PAYPAL_SPB',
|
|
699
712
|
};
|
|
700
713
|
|
|
701
714
|
// PG사
|
|
@@ -743,7 +756,9 @@ const PgProvider = {
|
|
|
743
756
|
KPN: 'PG_PROVIDER_KPN',
|
|
744
757
|
KCP_V2: 'PG_PROVIDER_KCP_V2',
|
|
745
758
|
HYPHEN: 'PG_PROVIDER_HYPHEN',
|
|
759
|
+
EXIMBAY_V2: 'PG_PROVIDER_EXIMBAY_V2',
|
|
746
760
|
};
|
|
761
|
+
const InversionPgProvider = Object.entries(PgProvider).reduce((acc, [k, v]) => (Object.assign(Object.assign({}, acc), { [v]: k })), {});
|
|
747
762
|
|
|
748
763
|
/**
|
|
749
764
|
* 트랜잭션 유형
|
|
@@ -770,14 +785,6 @@ const WindowType = {
|
|
|
770
785
|
UI: 'UI',
|
|
771
786
|
};
|
|
772
787
|
|
|
773
|
-
const PaymentUIType = {
|
|
774
|
-
PAYPAL_SPB: 'PAYPAL_SPB',
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
const IssueBillingKeyUIType = {
|
|
778
|
-
PAYPAL_RT: 'PAYPAL_RT',
|
|
779
|
-
};
|
|
780
|
-
|
|
781
788
|
var index$1 = {
|
|
782
789
|
__proto__: null,
|
|
783
790
|
Bank: Bank,
|
|
@@ -790,6 +797,7 @@ var index$1 = {
|
|
|
790
797
|
EasyPayProvider: EasyPayProvider,
|
|
791
798
|
Gender: Gender,
|
|
792
799
|
GiftCertificateType: GiftCertificateType,
|
|
800
|
+
InversionPgProvider: InversionPgProvider,
|
|
793
801
|
IssueBillingKeyUIType: IssueBillingKeyUIType,
|
|
794
802
|
Locale: Locale,
|
|
795
803
|
PaymentUIType: PaymentUIType,
|