@portone/browser-sdk 0.0.24 → 0.1.1

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.
@@ -2,52 +2,52 @@
2
2
  * **PG사 구분코드**
3
3
  */
4
4
  export declare const PgProvider: {
5
- readonly HTML5_INICIS: "PG_PROVIDER_HTML5_INICIS";
6
- readonly PAYPAL: "PG_PROVIDER_PAYPAL";
7
- readonly INICIS: "PG_PROVIDER_INICIS";
8
- readonly DANAL: "PG_PROVIDER_DANAL";
9
- readonly NICE: "PG_PROVIDER_NICE";
10
- readonly DANAL_TPAY: "PG_PROVIDER_DANAL_TPAY";
11
- readonly UPLUS: "PG_PROVIDER_UPLUS";
12
- readonly NAVERPAY: "PG_PROVIDER_NAVERPAY";
13
- readonly SETTLE: "PG_PROVIDER_SETTLE";
14
- readonly KCP: "PG_PROVIDER_KCP";
15
- readonly MOBILIANS: "PG_PROVIDER_MOBILIANS";
16
- readonly KAKAOPAY: "PG_PROVIDER_KAKAOPAY";
17
- readonly NAVERCO: "PG_PROVIDER_NAVERCO";
18
- readonly KICC: "PG_PROVIDER_KICC";
19
- readonly EXIMBAY: "PG_PROVIDER_EXIMBAY";
20
- readonly SMILEPAY: "PG_PROVIDER_SMILEPAY";
21
- readonly PAYCO: "PG_PROVIDER_PAYCO";
22
- readonly KCP_BILLING: "PG_PROVIDER_KCP_BILLING";
23
- readonly ALIPAY: "PG_PROVIDER_ALIPAY";
24
- readonly CHAI: "PG_PROVIDER_CHAI";
25
- readonly BLUEWALNUT: "PG_PROVIDER_BLUEWALNUT";
26
- readonly SMARTRO: "PG_PROVIDER_SMARTRO";
27
- readonly PAYMENTWALL: "PG_PROVIDER_PAYMENTWALL";
28
- readonly TOSSPAYMENTS: "PG_PROVIDER_TOSSPAYMENTS";
29
- readonly KCP_QUICK: "PG_PROVIDER_KCP_QUICK";
30
- readonly DAOU: "PG_PROVIDER_DAOU";
31
- readonly GALAXIA: "PG_PROVIDER_GALAXIA";
32
- readonly TOSSPAY: "PG_PROVIDER_TOSSPAY";
33
- readonly KCP_DIRECT: "PG_PROVIDER_KCP_DIRECT";
34
- readonly SETTLE_ACC: "PG_PROVIDER_SETTLE_ACC";
35
- readonly SETTLE_FIRM: "PG_PROVIDER_SETTLE_FIRM";
36
- readonly INICIS_UNIFIED: "PG_PROVIDER_INICIS_UNIFIED";
37
- readonly KSNET: "PG_PROVIDER_KSNET";
38
- readonly PAYPAL_V2: "PG_PROVIDER_PAYPAL_V2";
39
- readonly SMARTRO_V2: "PG_PROVIDER_SMARTRO_V2";
40
- readonly NICE_V2: "PG_PROVIDER_NICE_V2";
41
- readonly TOSS_BRANDPAY: "PG_PROVIDER_TOSS_BRANDPAY";
42
- readonly WELCOME: "PG_PROVIDER_WELCOME";
43
- readonly TOSSPAY_V2: "PG_PROVIDER_TOSSPAY_V2";
44
- readonly INICIS_V2: "PG_PROVIDER_INICIS_V2";
45
- readonly KPN: "PG_PROVIDER_KPN";
46
- readonly KCP_V2: "PG_PROVIDER_KCP_V2";
47
- readonly HYPHEN: "PG_PROVIDER_HYPHEN";
48
- readonly EXIMBAY_V2: "PG_PROVIDER_EXIMBAY_V2";
5
+ readonly HTML5_INICIS: "HTML5_INICIS";
6
+ readonly PAYPAL: "PAYPAL";
7
+ readonly INICIS: "INICIS";
8
+ readonly DANAL: "DANAL";
9
+ readonly NICE: "NICE";
10
+ readonly DANAL_TPAY: "DANAL_TPAY";
11
+ readonly UPLUS: "UPLUS";
12
+ readonly NAVERPAY: "NAVERPAY";
13
+ readonly SETTLE: "SETTLE";
14
+ readonly KCP: "KCP";
15
+ readonly MOBILIANS: "MOBILIANS";
16
+ readonly KAKAOPAY: "KAKAOPAY";
17
+ readonly NAVERCO: "NAVERCO";
18
+ readonly KICC: "KICC";
19
+ readonly EXIMBAY: "EXIMBAY";
20
+ readonly SMILEPAY: "SMILEPAY";
21
+ readonly PAYCO: "PAYCO";
22
+ readonly KCP_BILLING: "KCP_BILLING";
23
+ readonly ALIPAY: "ALIPAY";
24
+ readonly CHAI: "CHAI";
25
+ readonly BLUEWALNUT: "BLUEWALNUT";
26
+ readonly SMARTRO: "SMARTRO";
27
+ readonly PAYMENTWALL: "PAYMENTWALL";
28
+ readonly TOSSPAYMENTS: "TOSSPAYMENTS";
29
+ readonly KCP_QUICK: "KCP_QUICK";
30
+ readonly DAOU: "DAOU";
31
+ readonly GALAXIA: "GALAXIA";
32
+ readonly TOSSPAY: "TOSSPAY";
33
+ readonly KCP_DIRECT: "KCP_DIRECT";
34
+ readonly SETTLE_ACC: "SETTLE_ACC";
35
+ readonly SETTLE_FIRM: "SETTLE_FIRM";
36
+ readonly INICIS_UNIFIED: "INICIS_UNIFIED";
37
+ readonly KSNET: "KSNET";
38
+ readonly PAYPAL_V2: "PAYPAL_V2";
39
+ readonly SMARTRO_V2: "SMARTRO_V2";
40
+ readonly NICE_V2: "NICE_V2";
41
+ readonly TOSS_BRANDPAY: "TOSS_BRANDPAY";
42
+ readonly WELCOME: "WELCOME";
43
+ readonly TOSSPAY_V2: "TOSSPAY_V2";
44
+ readonly INICIS_V2: "INICIS_V2";
45
+ readonly KPN: "KPN";
46
+ readonly KCP_V2: "KCP_V2";
47
+ readonly HYPHEN: "HYPHEN";
48
+ readonly EXIMBAY_V2: "EXIMBAY_V2";
49
49
  };
50
50
  /**
51
51
  * **PG사 구분코드**
52
52
  */
53
- export type PgProvider = (typeof PgProvider)[keyof typeof PgProvider];
53
+ export type PgProvider = (typeof PgProvider)[keyof typeof PgProvider] | `PG_PROVIDER_${(typeof PgProvider)[keyof typeof PgProvider]}`;
@@ -12,8 +12,6 @@ export type Product = {
12
12
  name: string;
13
13
  /**
14
14
  * **상품 코드**
15
- *
16
- * - 토스페이먼츠의 경우 필수로 입력해주세요.
17
15
  */
18
16
  code?: string | undefined;
19
17
  /**
@@ -5,13 +5,13 @@ export declare const ProductType: {
5
5
  /**
6
6
  * 실물
7
7
  */
8
- readonly REAL: "PRODUCT_TYPE_REAL";
8
+ readonly REAL: "REAL";
9
9
  /**
10
10
  * 디지털
11
11
  */
12
- readonly DIGITAL: "PRODUCT_TYPE_DIGITAL";
12
+ readonly DIGITAL: "DIGITAL";
13
13
  };
14
14
  /**
15
15
  * **상품 유형**
16
16
  */
17
- export type ProductType = (typeof ProductType)[keyof typeof ProductType];
17
+ export type ProductType = (typeof ProductType)[keyof typeof ProductType] | `PRODUCT_TYPE_${(typeof ProductType)[keyof typeof ProductType]}`;
@@ -1,37 +1,37 @@
1
- import type { KakaopayPaymentBypass } from './payment/Kakaopay.js';
1
+ import type { InicisV2IssueBillingKeyBypass } from './issueBillingKey/InicisV2.js';
2
+ import type { KcpV2IssueBillingKeyBypass } from './issueBillingKey/KcpV2.js';
2
3
  import type { SmartroV2IssueBillingKeyBypass } from './issueBillingKey/SmartroV2.js';
3
- import type { NaverpayIssueBillingKeyBypass } from './issueBillingKey/Naverpay.js';
4
4
  import type { WelcomeIssueBillingKeyBypass } from './issueBillingKey/Welcome.js';
5
+ import type { NaverpayIssueBillingKeyBypass } from './issueBillingKey/Naverpay.js';
6
+ import type { KakaopayPaymentBypass } from './payment/Kakaopay.js';
5
7
  import type { TosspayV2IssueBillingKeyBypass } from './issueBillingKey/TosspayV2.js';
6
- import type { InicisV2IssueBillingKeyBypass } from './issueBillingKey/InicisV2.js';
7
- import type { KcpV2IssueBillingKeyBypass } from './issueBillingKey/KcpV2.js';
8
8
  export type IssueBillingKeyBypass = {
9
9
  /**
10
- * 카카오페이 bypass 파라미터
10
+ * **KG이니시스 bypass 파라미터**
11
11
  */
12
- kakaopay?: KakaopayPaymentBypass | undefined;
12
+ inicis_v2?: InicisV2IssueBillingKeyBypass | undefined;
13
13
  /**
14
- * **스마트로 bypass 파라미터**
14
+ * **KCP bypass 파라미터**
15
15
  */
16
- smartro_v2?: SmartroV2IssueBillingKeyBypass | undefined;
16
+ kcp_v2?: KcpV2IssueBillingKeyBypass | undefined;
17
17
  /**
18
- * **네이버페이 bypass 파라미터**
18
+ * **스마트로 bypass 파라미터**
19
19
  */
20
- naverpay?: NaverpayIssueBillingKeyBypass | undefined;
20
+ smartro_v2?: SmartroV2IssueBillingKeyBypass | undefined;
21
21
  /**
22
22
  * **웰컴페이먼츠 bypass 파라미터**
23
23
  */
24
24
  welcome?: WelcomeIssueBillingKeyBypass | undefined;
25
25
  /**
26
- * **토스페이 bypass 파라미터**
26
+ * **네이버페이 bypass 파라미터**
27
27
  */
28
- tosspay_v2?: TosspayV2IssueBillingKeyBypass | undefined;
28
+ naverpay?: NaverpayIssueBillingKeyBypass | undefined;
29
29
  /**
30
- * **KG이니시스 bypass 파라미터**
30
+ * 카카오페이 bypass 파라미터
31
31
  */
32
- inicis_v2?: InicisV2IssueBillingKeyBypass | undefined;
32
+ kakaopay?: KakaopayPaymentBypass | undefined;
33
33
  /**
34
- * **KCP bypass 파라미터**
34
+ * **토스페이 bypass 파라미터**
35
35
  */
36
- kcp_v2?: KcpV2IssueBillingKeyBypass | undefined;
36
+ tosspay_v2?: TosspayV2IssueBillingKeyBypass | undefined;
37
37
  };
@@ -1,16 +1,16 @@
1
1
  import type { TosspaymentsPaymentBypass } from './payment/Tosspayments.js';
2
- import type { KsnetPaymentBypass } from './payment/Ksnet.js';
2
+ import type { NiceV2PaymentBypass } from './payment/NiceV2.js';
3
3
  import type { PaypalV2PaymentBypass } from './payment/PaypalV2.js';
4
- import type { KakaopayPaymentBypass } from './payment/Kakaopay.js';
4
+ import type { InicisV2Bypass } from './payment/InicisV2.js';
5
+ import type { KcpV2Bypass } from './payment/KcpV2.js';
5
6
  import type { SmartroV2PaymentBypass } from './payment/SmartroV2.js';
6
- import type { NaverpayPaymentBypass } from './payment/Naverpay.js';
7
- import type { NiceV2PaymentBypass } from './payment/NiceV2.js';
8
- import type { TossBrandpayPaymentBypass } from './payment/TossBrandpay.js';
7
+ import type { KsnetPaymentBypass } from './payment/Ksnet.js';
9
8
  import type { WelcomePaymentBypass } from './payment/Welcome.js';
10
- import type { TosspayV2PaymentBypass } from './payment/TosspayV2.js';
11
- import type { InicisV2Bypass } from './payment/InicisV2.js';
12
9
  import type { KpnBypass } from './payment/Kpn.js';
13
- import type { KcpV2Bypass } from './payment/KcpV2.js';
10
+ import type { NaverpayPaymentBypass } from './payment/Naverpay.js';
11
+ import type { KakaopayPaymentBypass } from './payment/Kakaopay.js';
12
+ import type { TosspayV2PaymentBypass } from './payment/TosspayV2.js';
13
+ import type { TossBrandpayPaymentBypass } from './payment/TossBrandpay.js';
14
14
  import type { HyphenBypass } from './payment/Hyphen.js';
15
15
  import type { EximbayV2Bypass } from './payment/EximbayV2.js';
16
16
  import type { InicisJpBypass } from './payment/InicisJp.js';
@@ -24,55 +24,55 @@ export type PaymentBypass = {
24
24
  */
25
25
  tosspayments?: TosspaymentsPaymentBypass | undefined;
26
26
  /**
27
- * KSNET bypass 파라미터
27
+ * (신)나이스페이먼츠 bypass 파라미터
28
28
  */
29
- ksnet?: KsnetPaymentBypass | undefined;
29
+ nice_v2?: NiceV2PaymentBypass | undefined;
30
30
  /**
31
31
  * **Paypal bypass 파라미터**
32
32
  */
33
33
  paypal_v2?: PaypalV2PaymentBypass | undefined;
34
34
  /**
35
- * 카카오페이 bypass 파라미터
36
- */
37
- kakaopay?: KakaopayPaymentBypass | undefined;
38
- /**
39
- * 스마트로 V2 bypass 파라미터
35
+ * KG이니시스 bypass 파라미터
36
+ *
37
+ * KG이니시스는 PC 결제 모듈과 모바일 결제 모듈이 분리되어 있기 때문에 bypass 파라미터 또한 PC용과 모바일용이 분리되어 있습니다.
40
38
  */
41
- smartro_v2?: SmartroV2PaymentBypass | undefined;
39
+ inicis_v2?: InicisV2Bypass | undefined;
42
40
  /**
43
- * 네이버페이 bypass 파라미터
41
+ * NHN KCP bypass 파라미터
44
42
  */
45
- naverpay?: NaverpayPaymentBypass | undefined;
43
+ kcp_v2?: KcpV2Bypass | undefined;
46
44
  /**
47
- * (신)나이스페이먼츠 bypass 파라미터
45
+ * 스마트로 V2 bypass 파라미터
48
46
  */
49
- nice_v2?: NiceV2PaymentBypass | undefined;
47
+ smartro_v2?: SmartroV2PaymentBypass | undefined;
50
48
  /**
51
- * 토스 브랜드페이 bypass 파라미터
49
+ * KSNET bypass 파라미터
52
50
  */
53
- toss_brandpay?: TossBrandpayPaymentBypass | undefined;
51
+ ksnet?: KsnetPaymentBypass | undefined;
54
52
  /**
55
53
  * 웰컴페이먼츠 bypass 파라미터
56
54
  */
57
55
  welcome?: WelcomePaymentBypass | undefined;
58
56
  /**
59
- * 토스페이 bypass 파라미터
57
+ * KPN bypass 파라미터
60
58
  */
61
- tosspay_v2?: TosspayV2PaymentBypass | undefined;
59
+ kpn?: KpnBypass | undefined;
62
60
  /**
63
- * KG이니시스 bypass 파라미터
64
- *
65
- * KG이니시스는 PC 결제 모듈과 모바일 결제 모듈이 분리되어 있기 때문에 bypass 파라미터 또한 PC용과 모바일용이 분리되어 있습니다.
61
+ * 네이버페이 bypass 파라미터
66
62
  */
67
- inicis_v2?: InicisV2Bypass | undefined;
63
+ naverpay?: NaverpayPaymentBypass | undefined;
68
64
  /**
69
- * KPN bypass 파라미터
65
+ * 카카오페이 bypass 파라미터
70
66
  */
71
- kpn?: KpnBypass | undefined;
67
+ kakaopay?: KakaopayPaymentBypass | undefined;
72
68
  /**
73
- * NHN KCP bypass 파라미터
69
+ * 토스페이 bypass 파라미터
74
70
  */
75
- kcp_v2?: KcpV2Bypass | undefined;
71
+ tosspay_v2?: TosspayV2PaymentBypass | undefined;
72
+ /**
73
+ * 토스 브랜드페이 bypass 파라미터
74
+ */
75
+ toss_brandpay?: TossBrandpayPaymentBypass | undefined;
76
76
  /**
77
77
  * 하이픈 bypass 파라미터
78
78
  */
@@ -5,8 +5,8 @@ export type PayletterGlobalIssueBillingKeyAndPayBypass = {
5
5
  /**
6
6
  * **결제수단 지정용 파라미터**
7
7
  *
8
- * - 해외카드 인증 : `PLCreditCard`
9
- * - 해외카드 비인증(3DS) : `PLCreditCardMpi`
8
+ * - 해외카드 비인증 : `PLCreditCard`
9
+ * - 해외카드 인증(3DS) : `PLCreditCardMpi`
10
10
  * - 유니온페이 : `PLUnionPay_HC`
11
11
  * - 위챗페이 PC결제: `WeChatPayQRCodePayment`
12
12
  * - 위챗페이 모바일결제 : `WeChatPayH5Payment`