@portone/browser-sdk 0.0.23 → 0.0.24

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.
Files changed (228) hide show
  1. package/dist/v2/entity/Address.d.ts +24 -4
  2. package/dist/v2/entity/Bank.d.ts +276 -2
  3. package/dist/v2/entity/BillingKeyAndPayMethod.d.ts +10 -1
  4. package/dist/v2/entity/BillingKeyMethod.d.ts +19 -1
  5. package/dist/v2/entity/CardCompany.d.ts +76 -1
  6. package/dist/v2/entity/Carrier.d.ts +22 -7
  7. package/dist/v2/entity/CashReceiptType.d.ts +16 -1
  8. package/dist/v2/entity/ChannelGroupId.d.ts +8 -0
  9. package/dist/v2/entity/ChannelKey.d.ts +10 -0
  10. package/dist/v2/entity/Country.d.ts +758 -1
  11. package/dist/v2/entity/Currency.d.ts +546 -4
  12. package/dist/v2/entity/Customer.d.ts +90 -15
  13. package/dist/v2/entity/EasyPayPaymentMethod.d.ts +19 -1
  14. package/dist/v2/entity/EasyPayProvider.d.ts +157 -1
  15. package/dist/v2/entity/FreeInstallmentPlan.d.ts +25 -4
  16. package/dist/v2/entity/Gender.d.ts +16 -1
  17. package/dist/v2/entity/GiftCertificateType.d.ts +20 -2
  18. package/dist/v2/entity/Iframe.d.ts +7 -1
  19. package/dist/v2/entity/Installment.d.ts +53 -20
  20. package/dist/v2/entity/InstallmentMonthOption.d.ts +41 -0
  21. package/dist/v2/entity/IssueBillingKeyUIType.d.ts +1 -1
  22. package/dist/v2/entity/Locale.d.ts +63 -1
  23. package/dist/v2/entity/OfferPeriod.d.ts +30 -12
  24. package/dist/v2/entity/OfferPeriodRange.d.ts +7 -0
  25. package/dist/v2/entity/OfferPeriodRangeFrom.d.ts +9 -0
  26. package/dist/v2/entity/OfferPeriodRangeFromTo.d.ts +13 -0
  27. package/dist/v2/entity/OfferPeriodRangeTo.d.ts +9 -0
  28. package/dist/v2/entity/PayMethod.d.ts +27 -1
  29. package/dist/v2/entity/PaymentCurrency.d.ts +191 -0
  30. package/dist/v2/entity/PaymentOrderName.d.ts +4 -0
  31. package/dist/v2/entity/PaymentPayMethod.d.ts +53 -0
  32. package/dist/v2/entity/PaymentTotalAmount.d.ts +14 -0
  33. package/dist/v2/entity/PaymentUIType.d.ts +1 -1
  34. package/dist/v2/entity/PgCode.d.ts +6 -0
  35. package/dist/v2/entity/PgMessage.d.ts +6 -0
  36. package/dist/v2/entity/PgProvider.d.ts +7 -52
  37. package/dist/v2/entity/Popup.d.ts +10 -1
  38. package/dist/v2/entity/Product.d.ts +36 -3
  39. package/dist/v2/entity/ProductType.d.ts +11 -4
  40. package/dist/v2/entity/RedirectUrl.d.ts +6 -0
  41. package/dist/v2/entity/StoreDetails.d.ts +59 -20
  42. package/dist/v2/entity/StoreDetailsOpeningHours.d.ts +13 -0
  43. package/dist/v2/entity/StoreId.d.ts +6 -0
  44. package/dist/v2/entity/TaxFreeAmount.d.ts +6 -0
  45. package/dist/v2/entity/TransactionType.d.ts +26 -5
  46. package/dist/v2/entity/VatAmount.d.ts +6 -0
  47. package/dist/v2/entity/WindowType.d.ts +1 -9
  48. package/dist/v2/entity/WindowTypes.d.ts +18 -0
  49. package/dist/v2/entity/bypass/IdentityVerificationBypass.d.ts +20 -0
  50. package/dist/v2/entity/bypass/IssueBillingKeyAndPayBypass.d.ts +17 -0
  51. package/dist/v2/entity/bypass/IssueBillingKeyBypass.d.ts +37 -0
  52. package/dist/v2/entity/bypass/LoadIssueBillingKeyUIBypass.d.ts +7 -0
  53. package/dist/v2/entity/bypass/LoadPaymentUIBypass.d.ts +7 -0
  54. package/dist/v2/entity/bypass/PaymentBypass.d.ts +92 -0
  55. package/dist/v2/entity/bypass/identityVerification/Danal.d.ts +21 -14
  56. package/dist/v2/entity/bypass/identityVerification/InicisUnified.d.ts +30 -11
  57. package/dist/v2/entity/bypass/identityVerification/InicisUnifiedDirectAgency.d.ts +69 -0
  58. package/dist/v2/entity/bypass/identityVerification/InicisUnifiedFlgFixedUser.d.ts +19 -0
  59. package/dist/v2/entity/bypass/identityVerification/KcpV2.d.ts +5 -2
  60. package/dist/v2/entity/bypass/identityVerification/index.d.ts +5 -8
  61. package/dist/v2/entity/bypass/index.d.ts +12 -0
  62. package/dist/v2/entity/bypass/issueBillingKey/InicisV2.d.ts +7 -5
  63. package/dist/v2/entity/bypass/issueBillingKey/InicisV2CardUse.d.ts +17 -0
  64. package/dist/v2/entity/bypass/issueBillingKey/KcpV2.d.ts +6 -2
  65. package/dist/v2/entity/bypass/issueBillingKey/KcpV2BatchSocChoice.d.ts +17 -0
  66. package/dist/v2/entity/bypass/issueBillingKey/Naverpay.d.ts +9 -4
  67. package/dist/v2/entity/bypass/issueBillingKey/SmartroV2.d.ts +11 -4
  68. package/dist/v2/entity/bypass/issueBillingKey/SmartroV2IsPwdPass.d.ts +17 -0
  69. package/dist/v2/entity/bypass/issueBillingKey/SmartroV2SkinColor.d.ts +13 -0
  70. package/dist/v2/entity/bypass/issueBillingKey/TosspayV2.d.ts +5 -3
  71. package/dist/v2/entity/bypass/issueBillingKey/Welcome.d.ts +12 -5
  72. package/dist/v2/entity/bypass/issueBillingKey/index.d.ts +10 -16
  73. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2.d.ts +25 -28
  74. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2BillTo.d.ts +37 -0
  75. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Merchant.d.ts +6 -0
  76. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Payment.d.ts +13 -0
  77. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2ShipTo.d.ts +37 -0
  78. package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Surcharge.d.ts +14 -0
  79. package/dist/v2/entity/bypass/issueBillingKeyAndPay/PayletterGlobal.d.ts +16 -6
  80. package/dist/v2/entity/bypass/issueBillingKeyAndPay/Welcome.d.ts +50 -52
  81. package/dist/v2/entity/bypass/issueBillingKeyAndPay/index.d.ts +8 -8
  82. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2.d.ts +15 -22
  83. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2AdditionalData.d.ts +4 -0
  84. package/dist/v2/entity/bypass/{PaypalV2Country.d.ts → loadIssueBillingKeyUI/PaypalV2Country.d.ts} +7 -1
  85. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2ShippingAddress.d.ts +31 -0
  86. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2Style.d.ts +33 -0
  87. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleColor.d.ts +14 -0
  88. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleLabel.d.ts +16 -0
  89. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleLayout.d.ts +11 -0
  90. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleShape.d.ts +11 -0
  91. package/dist/v2/entity/bypass/loadIssueBillingKeyUI/index.d.ts +9 -4
  92. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2.d.ts +28 -55
  93. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2AdditionalData.d.ts +4 -0
  94. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2Payer.d.ts +9 -0
  95. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PayerAddress.d.ts +18 -0
  96. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PayerTaxInfo.d.ts +10 -0
  97. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnit.d.ts +7 -0
  98. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnitShipping.d.ts +10 -0
  99. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnitShippingAddress.d.ts +21 -0
  100. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2Style.d.ts +37 -0
  101. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleColor.d.ts +14 -0
  102. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleLabel.d.ts +16 -0
  103. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleLayout.d.ts +11 -0
  104. package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleShape.d.ts +11 -0
  105. package/dist/v2/entity/bypass/loadPaymentUI/index.d.ts +13 -4
  106. package/dist/v2/entity/bypass/payment/EximbayV2.d.ts +38 -41
  107. package/dist/v2/entity/bypass/payment/EximbayV2BillTo.d.ts +37 -0
  108. package/dist/v2/entity/bypass/payment/EximbayV2Merchant.d.ts +13 -0
  109. package/dist/v2/entity/bypass/payment/EximbayV2Payment.d.ts +13 -0
  110. package/dist/v2/entity/bypass/payment/EximbayV2Settings.d.ts +18 -0
  111. package/dist/v2/entity/bypass/payment/EximbayV2SettingsCallFromApp.d.ts +11 -0
  112. package/dist/v2/entity/bypass/payment/EximbayV2ShipTo.d.ts +37 -0
  113. package/dist/v2/entity/bypass/payment/EximbayV2Surcharge.d.ts +14 -0
  114. package/dist/v2/entity/bypass/payment/EximbayV2Tax.d.ts +10 -0
  115. package/dist/v2/entity/bypass/payment/EximbayV2TaxReceiptStatus.d.ts +11 -0
  116. package/dist/v2/entity/bypass/payment/Hyphen.d.ts +5 -1
  117. package/dist/v2/entity/bypass/payment/HyphenDesignCd.d.ts +1 -0
  118. package/dist/v2/entity/bypass/payment/InicisJp.d.ts +8 -23
  119. package/dist/v2/entity/bypass/payment/InicisJpPaymentUI.d.ts +33 -0
  120. package/dist/v2/entity/bypass/payment/InicisV2.d.ts +111 -78
  121. package/dist/v2/entity/bypass/payment/Kakaopay.d.ts +7 -1
  122. package/dist/v2/entity/bypass/payment/KcpV2.d.ts +23 -10
  123. package/dist/v2/entity/bypass/payment/KcpV2ComplexPnt.d.ts +11 -0
  124. package/dist/v2/entity/bypass/payment/KcpV2DispTax.d.ts +13 -0
  125. package/dist/v2/entity/bypass/payment/Kpn.d.ts +7 -9
  126. package/dist/v2/entity/bypass/payment/KpnCardSelect.d.ts +19 -0
  127. package/dist/v2/entity/bypass/payment/Ksnet.d.ts +10 -4
  128. package/dist/v2/entity/bypass/payment/KsnetSndQpayType.d.ts +17 -0
  129. package/dist/v2/entity/bypass/payment/Naverpay.d.ts +16 -27
  130. package/dist/v2/entity/bypass/payment/NaverpayProductItem.d.ts +39 -0
  131. package/dist/v2/entity/bypass/payment/NaverpayProductItemPayReferrer.d.ts +19 -0
  132. package/dist/v2/entity/bypass/payment/NaverpaySubMerchantInfo.d.ts +29 -0
  133. package/dist/v2/entity/bypass/payment/NiceV2.d.ts +48 -22
  134. package/dist/v2/entity/bypass/payment/NiceV2DirectCoupon.d.ts +21 -0
  135. package/dist/v2/entity/bypass/payment/NiceV2DirectShow.d.ts +17 -0
  136. package/dist/v2/entity/bypass/payment/NiceV2DisableScroll.d.ts +11 -0
  137. package/dist/v2/entity/bypass/payment/NiceV2SamPayMallType.d.ts +17 -0
  138. package/dist/v2/entity/bypass/payment/NiceV2SkinType.d.ts +18 -0
  139. package/dist/v2/entity/bypass/payment/PayletterGlobal.d.ts +16 -6
  140. package/dist/v2/entity/bypass/payment/PaypalV2.d.ts +15 -47
  141. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSource.d.ts +4 -0
  142. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypal.d.ts +4 -0
  143. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContext.d.ts +9 -0
  144. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextLandingPage.d.ts +6 -0
  145. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference.d.ts +5 -0
  146. package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextShippingPreference.d.ts +6 -0
  147. package/dist/v2/entity/bypass/payment/SmartroV2.d.ts +19 -5
  148. package/dist/v2/entity/bypass/payment/SmartroV2OpenType.d.ts +15 -0
  149. package/dist/v2/entity/bypass/payment/SmartroV2SkinColor.d.ts +17 -0
  150. package/dist/v2/entity/bypass/payment/TossBrandpay.d.ts +17 -40
  151. package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptions.d.ts +7 -0
  152. package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUi.d.ts +18 -0
  153. package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiButtonStyle.d.ts +23 -0
  154. package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiLabels.d.ts +6 -0
  155. package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiNavigationBar.d.ts +10 -0
  156. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptions.d.ts +16 -0
  157. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsMethodType.d.ts +11 -0
  158. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUi.d.ts +4 -0
  159. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSection.d.ts +6 -0
  160. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSectionDescription.d.ts +10 -0
  161. package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSectionSummary.d.ts +6 -0
  162. package/dist/v2/entity/bypass/payment/TosspayV2.d.ts +8 -7
  163. package/dist/v2/entity/bypass/payment/TosspayV2CashReceiptTradeOption.d.ts +29 -0
  164. package/dist/v2/entity/bypass/payment/Tosspayments.d.ts +9 -4
  165. package/dist/v2/entity/bypass/payment/Welcome.d.ts +84 -96
  166. package/dist/v2/entity/bypass/payment/index.d.ts +60 -36
  167. package/dist/v2/entity/index.d.ts +50 -37
  168. package/dist/v2/exception/CheckoutServiceErrorCode.d.ts +11 -1
  169. package/dist/v2/exception/GrpcErrorCode.d.ts +71 -1
  170. package/dist/v2/exception/IdentityVerificationError.d.ts +57 -10
  171. package/dist/v2/exception/IssueBillingKeyAndPayError.d.ts +60 -14
  172. package/dist/v2/exception/IssueBillingKeyError.d.ts +55 -9
  173. package/dist/v2/exception/LoadIssueBillingKeyUIError.d.ts +27 -2
  174. package/dist/v2/exception/LoadPaymentUIError.d.ts +27 -2
  175. package/dist/v2/exception/ModuleError.d.ts +22 -3
  176. package/dist/v2/exception/PaymentError.d.ts +57 -10
  177. package/dist/v2/exception/TxServiceIdentityVerificationErrorCode.d.ts +11 -1
  178. package/dist/v2/exception/TxServiceIssueErrorCode.d.ts +12 -1
  179. package/dist/v2/exception/TxServicePayErrorCode.d.ts +16 -1
  180. package/dist/v2/exception/index.d.ts +5 -0
  181. package/dist/v2/index.d.ts +14 -11
  182. package/dist/v2/loadIssueBillingKeyUI.d.ts +3 -22
  183. package/dist/v2/loadPaymentUI.d.ts +3 -34
  184. package/dist/v2/loader.d.ts +20 -15
  185. package/dist/v2/request/IdentityVerificationRequest.d.ts +66 -0
  186. package/dist/v2/request/IssueBillingKeyAndPayRequest.d.ts +3 -0
  187. package/dist/v2/request/IssueBillingKeyAndPayRequestBase.d.ts +207 -0
  188. package/dist/v2/request/IssueBillingKeyAndPayRequestUnion.d.ts +4 -0
  189. package/dist/v2/request/IssueBillingKeyAndPayRequestUnionMobile.d.ts +11 -0
  190. package/dist/v2/request/IssueBillingKeyRequest.d.ts +3 -0
  191. package/dist/v2/request/IssueBillingKeyRequestBase.d.ts +142 -0
  192. package/dist/v2/request/IssueBillingKeyRequestUnion.d.ts +10 -0
  193. package/dist/v2/request/IssueBillingKeyRequestUnionCard.d.ts +7 -0
  194. package/dist/v2/request/IssueBillingKeyRequestUnionEasyPay.d.ts +17 -0
  195. package/dist/v2/request/IssueBillingKeyRequestUnionMobile.d.ts +11 -0
  196. package/dist/v2/request/IssueBillingKeyRequestUnionPaypal.d.ts +1 -0
  197. package/dist/v2/request/LoadIssueBillingKeyUIRequest.d.ts +84 -0
  198. package/dist/v2/request/LoadPaymentUIRequest.d.ts +198 -0
  199. package/dist/v2/request/PaymentRequest.d.ts +3 -0
  200. package/dist/v2/request/PaymentRequestBase.d.ts +253 -0
  201. package/dist/v2/request/PaymentRequestUnion.d.ts +35 -0
  202. package/dist/v2/request/PaymentRequestUnionAlipay.d.ts +1 -0
  203. package/dist/v2/request/PaymentRequestUnionCard.d.ts +79 -0
  204. package/dist/v2/request/PaymentRequestUnionConvenienceStore.d.ts +7 -0
  205. package/dist/v2/request/PaymentRequestUnionConvenienceStorePaymentDeadline.d.ts +16 -0
  206. package/dist/v2/request/PaymentRequestUnionEasyPay.d.ts +110 -0
  207. package/dist/v2/request/PaymentRequestUnionGiftCertificate.d.ts +10 -0
  208. package/dist/v2/request/PaymentRequestUnionMobile.d.ts +16 -0
  209. package/dist/v2/request/PaymentRequestUnionPaypal.d.ts +1 -0
  210. package/dist/v2/request/PaymentRequestUnionTransfer.d.ts +23 -0
  211. package/dist/v2/request/PaymentRequestUnionVirtualAccount.d.ts +45 -0
  212. package/dist/v2/request/PaymentRequestUnionVirtualAccountAccountExpiry.d.ts +25 -0
  213. package/dist/v2/request/PaymentRequestUnionVirtualAccountFixedOption.d.ts +14 -0
  214. package/dist/v2/request/index.d.ts +29 -0
  215. package/dist/v2/requestIdentityVerification.d.ts +2 -28
  216. package/dist/v2/requestIssueBillingKey.d.ts +2 -56
  217. package/dist/v2/requestIssueBillingKeyAndPay.d.ts +2 -56
  218. package/dist/v2/requestPayment.d.ts +2 -110
  219. package/dist/v2/response/IdentityVerificationResponse.d.ts +49 -0
  220. package/dist/v2/response/IssueBillingKeyAndPayResponse.d.ts +53 -0
  221. package/dist/v2/response/IssueBillingKeyResponse.d.ts +41 -0
  222. package/dist/v2/response/PaymentResponse.d.ts +47 -0
  223. package/dist/v2/response/index.d.ts +4 -0
  224. package/dist/v2/updateLoadIssueBillingKeyUIRequest.d.ts +1 -1
  225. package/dist/v2/updateLoadPaymentUIRequest.d.ts +1 -1
  226. package/dist/v2.cjs +3230 -343
  227. package/dist/v2.js +3179 -344
  228. package/package.json +8 -8
@@ -1,108 +1,96 @@
1
- type WelcomeCarrier = 'SKT' | 'KTF' | 'LGT' | 'MVNO' | 'CJH' | 'KCT' | 'SKL';
2
1
  /**
3
- * 정규화가 어려운 웰컴페이먼츠 bypass 파라미터
4
- * 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
2
+ * 웰컴페이먼츠 bypass 파라미터
5
3
  */
6
- export type WelcomePaymentBypass = WelcomePaymentBypassOnPc & WelcomePaymentBypassOnMobile;
7
- type WelcomePaymentBypassOnPc = {
8
- logo_url?: string;
9
- logo_2nd?: string;
10
- acceptmethod?: AcceptMethodKey[];
11
- };
12
- type AcceptMethodKey =
13
- /**
14
- * 결제 창의 배경 색상
15
- * 기본) #c1272c
16
- * 예시) SKIN(#fc6b2d)
17
- */
18
- `SKIN(${string})` | 'below1000'
19
- /**
20
- * 카드 결제창 내 렌더링 될 간편 결제 리스트
21
- * 예시) 카카오페이, 엘페이, 페이코만 렌더링 → onlyeasypaycode(kakaopay:lpay:payco) 전달
22
- *
23
- * - 카카오페이: kakaopay
24
- * - 엘페이: lpay
25
- * - 페이코: payco
26
- * - 토스페이: tosspay
27
- */
28
- | `onlyeasypaycode(${string})`
29
- /**
30
- * 부분 무이자 할부 옵션
31
- * 형식) SLIMQUOTA(코드-개월:개월^코드-개월:개월)
32
- */
33
- | `SLIMQUOTA(${string})` | 'paypopup'
34
- /**
35
- * 휴대폰 소액결제시 기본 선택 되어있는 통신사
36
- * 기본) 기본 선택되어있는 통신사 없음
37
- * 예시) KT 기본 선택 → hppdefaultcorp(KT) 전달
38
- *
39
- * - SKT: SKT
40
- * - KT: KTF
41
- * - LG 유플러스: LGT
42
- * - 알뜰폰 전체: MVNO
43
- * - 알뜰폰 CJ 헬로 모바일: CJH
44
- * - 알뜰폰 티플러스: KCT
45
- * - 알뜰폰 SK 세븐 모바일: SKL
46
- */
47
- | `hppdefaultcorp(${WelcomeCarrier})`
48
- /**
49
- * 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
50
- * 기본) 수정 가능
51
- *
52
- * - Y: 수정 불가능
53
- * - N: 수정 가능
54
- */
55
- | `hppnofix(${'Y' | 'N'})` | 'va_ckprice';
56
- type WelcomePaymentBypassOnMobile = {
4
+ export type WelcomePaymentBypass = {
5
+ /**
6
+ * 메인 로고 URL (크기: 89x19)
7
+ */
8
+ logo_url?: string | undefined;
9
+ /**
10
+ * 서브 로고 URL (크기: 64x13)
11
+ */
12
+ logo_2nd?: string | undefined;
57
13
  /**
58
- * 1. 신용카드 우선 선택 옵션
59
- * 예) selcode=14
14
+ * 다양한 결제 옵션을 설정하기 위한 파라미터 배열입니다.
15
+ *
16
+ * 가능한 값들은 다음과 같습니다:
60
17
  *
61
- * - 해당 카드 코드에 해당하는 카드가 선택된 채로 Display
18
+ * - **SKIN(#색상코드)**: 결제 창의 배경 색상 설정 (기본값: #c1272c)
19
+ * - 예시: `SKIN(#fc6b2d)`
20
+ * - **below1000**: 1,000원 미만 결제 허용 여부
21
+ * - **onlyeasypaycode(간편결제코드들)**: 카드 결제창에 렌더링될 간편 결제 리스트 지정
22
+ * - 예시: `onlyeasypaycode(kakaopay:lpay:payco)`
23
+ * - 간편결제코드:
24
+ * - 카카오페이: `kakaopay`
25
+ * - 엘페이: `lpay`
26
+ * - 페이코: `payco`
27
+ * - 토스페이: `tosspay`
28
+ * - **SLIMQUOTA(코드-개월:개월^코드-개월:개월)**: 부분 무이자 할부 옵션
29
+ * - 형식: `SLIMQUOTA(카드코드-할부개월:부분무이자개월^...)`
30
+ * - **paypopup**: 안심 클릭을 팝업 형태로 렌더링 할지 여부
31
+ * - **hppdefaultcorp(통신사코드)**: 휴대폰 소액결제 시 기본 선택 통신사 지정
32
+ * - 예시: `hppdefaultcorp(KTF)`
33
+ * - 통신사코드:
34
+ * - `SKT`: SK 텔레콤
35
+ * - `KTF`: KT
36
+ * - `LGT`: LG 유플러스
37
+ * - `MVNO`: 알뜰폰 전체
38
+ * - `CJH`: 알뜰폰 CJ 헬로 모바일
39
+ * - `KCT`: 알뜰폰 티플러스
40
+ * - `SKL`: 알뜰폰 SK 세븐 모바일
41
+ * - **hppnofix(Y|N)**: 휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 값을 수정할 수 있는지 여부
42
+ * - `Y`: 수정 불가능
43
+ * - `N`: 수정 가능 (기본값)
44
+ * - **va\_ckprice**: 가상계좌 발급 시, 주민번호 채번할 때 금액 체크 기능
45
+ */
46
+ acceptmethod?: string[] | undefined;
47
+ /**
48
+ * 1. **신용카드 우선 선택 옵션**
49
+ *
50
+ * - 예시: `selcode=14`
51
+ * - 해당 카드 코드에 해당하는 카드가 선택된 채로 표시
62
52
  * - 간편결제는 불가능 (타 카드 선택 가능)
63
53
  *
64
- * 2. 선택적 표시 옵션
65
- * 예1) onlycard=visa3d
66
- * 예2) selcode=14:onlycard=visa3d
54
+ * 2. **선택적 표시 옵션**
55
+ *
56
+ * - 예시 1: `onlycard=visa3d`
57
+ * - 예시 2: `selcode=14:onlycard=visa3d`
58
+ * - 선택적 표시 가능 결제 방식:
59
+ * - 안심결제: `visa3d`
60
+ * - ISP: `isp`
61
+ * - 간편결제: `easypay`
62
+ */
63
+ P_CARD_OPTION?: string | undefined;
64
+ /**
65
+ * 카드 결제창에 렌더링될 간편 결제 리스트를 지정합니다.
66
+ *
67
+ * 예시: 카카오페이, 엘페이, 페이코만 렌더링 → `KAKAOPAY:LPAY:PAYCO`
67
68
  *
68
- * - 안심결제(visa3d)
69
- * - ISP(isp)
70
- * - 간편결제(easypay) 중 선택 적 표시
69
+ * - 카카오페이: `KAKAOPAY`
70
+ * - 엘페이: `LPAY`
71
+ * - 페이코: `PAYCO`
72
+ * - 토스페이: `TOSSPAY`
71
73
  */
72
- P_CARD_OPTION?: string;
74
+ P_ONLY_EASYPAYCODE?: string | undefined;
73
75
  /**
74
- * 카드 결제창 렌더링 간편 결제 리스트
75
- * 예시) 카카오페이, 엘페이, 페이코만 렌더링 → KAKAOPAY:LPAY:PAYCO 전달
76
+ * 결제창 동작을 제어하기 위한 파라미터들을 설정하는 배열입니다.
76
77
  *
77
- * - 카카오페이: KAKAOPAY
78
- * - 엘페이: LPAY
79
- * - 페이코: PAYCO
80
- * - 토스페이: TOSSPAY
78
+ * 가능한 값들은 다음과 같습니다:
79
+ *
80
+ * - **below1000=Y**: 1,000원 미만 결제 허용 여부
81
+ * - **hpp\_default\_corp=통신사코드**: 휴대폰 소액결제 시 기본 선택 통신사 지정
82
+ * - 예시: `hpp_default_corp=KTF`
83
+ * - 통신사코드:
84
+ * - `SKT`: SK 텔레콤
85
+ * - `KTF`: KT
86
+ * - `LGT`: LG 유플러스
87
+ * - `MVNO`: 알뜰폰 전체
88
+ * - `CJH`: 알뜰폰 CJ 헬로 모바일
89
+ * - `KCT`: 알뜰폰 티플러스
90
+ * - `SKL`: 알뜰폰 SK 세븐 모바일
91
+ * - **hpp\_nofix=Y|N**: 휴대폰 소액결제창에서 자동 입력된 `buyer_tel` 수정 가능 여부
92
+ * - `Y`: 수정 불가능
93
+ * - `N`: 수정 가능 (기본값)
81
94
  */
82
- P_ONLY_EASYPAYCODE?: string;
83
- P_RESERVED?: PReservedKey[];
95
+ P_RESERVED?: string[] | undefined;
84
96
  };
85
- type PReservedKey = 'below1000=Y'
86
- /**
87
- * 휴대폰 소액결제시 기본 선택 되어있는 통신사
88
- * 기본) 기본 선택 되어있는 통신사 없음
89
- * 예시) KT 기본 선택 → hpp_default_corp=KT 전달
90
- *
91
- * - SKT: SKT
92
- * - KT: KTF
93
- * - LG 유플러스: LGT
94
- * - 알뜰폰 전체: MVNO
95
- * - 알뜰폰 CJ 헬로 모바일: CJH
96
- * - 알뜰폰 티플러스: KCT
97
- * - 알뜰폰 SK 세븐 모바일: SKL
98
- */
99
- | `hpp_default_corp=${WelcomeCarrier}`
100
- /**
101
- * 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
102
- * 기본) 수정 가능
103
- *
104
- * - Y: 수정 불가능
105
- * - N: 수정 가능
106
- */
107
- | `hpp_nofix=${'Y' | 'N'}`;
108
- export {};
@@ -1,36 +1,60 @@
1
- import { HyphenBypass } from './Hyphen.js';
2
- import { EximbayV2Bypass } from './EximbayV2.js';
3
- import { InicisV2Bypass } from './InicisV2.js';
4
- import { KakaopayPaymentBypass } from './Kakaopay.js';
5
- import { KcpV2Bypass } from './KcpV2.js';
6
- import { KpnBypass } from './Kpn.js';
7
- import { KsnetPaymentBypass } from './Ksnet.js';
8
- import { NaverpayPaymentBypass } from './Naverpay.js';
9
- import { NiceV2PaymentBypass } from './NiceV2.js';
10
- import { PaypalV2PaymentBypass } from './PaypalV2.js';
11
- import { SmartroV2PaymentBypass } from './SmartroV2.js';
12
- import { TossBrandpayPaymentBypass } from './TossBrandpay.js';
13
- import { TosspaymentsPaymentBypass } from './Tosspayments.js';
14
- import { TosspayV2PaymentBypass } from './TosspayV2.js';
15
- import { WelcomePaymentBypass } from './Welcome.js';
16
- import { InicisJpBypass } from './InicisJp.js';
17
- import { PayletterGlobalBypass } from './PayletterGlobal.js';
18
- export type PaymentBypass = {
19
- tosspayments?: TosspaymentsPaymentBypass;
20
- ksnet?: KsnetPaymentBypass;
21
- paypal_v2?: PaypalV2PaymentBypass;
22
- kakaopay?: KakaopayPaymentBypass;
23
- smartro_v2?: SmartroV2PaymentBypass;
24
- naverpay?: NaverpayPaymentBypass;
25
- nice_v2?: NiceV2PaymentBypass;
26
- toss_brandpay?: TossBrandpayPaymentBypass;
27
- welcome?: WelcomePaymentBypass;
28
- tosspay_v2?: TosspayV2PaymentBypass;
29
- inicis_v2?: InicisV2Bypass;
30
- kpn?: KpnBypass;
31
- kcp_v2?: KcpV2Bypass;
32
- hyphen?: HyphenBypass;
33
- eximbay_v2?: EximbayV2Bypass;
34
- inicis_jp?: InicisJpBypass;
35
- payletter_global?: PayletterGlobalBypass;
36
- };
1
+ export * from './Tosspayments.js';
2
+ export * from './Ksnet.js';
3
+ export * from './PaypalV2.js';
4
+ export * from './PaypalV2PaymentSource.js';
5
+ export * from './PaypalV2PaymentSourcePaypal.js';
6
+ export * from './PaypalV2PaymentSourcePaypalExperienceContext.js';
7
+ export * from './PaypalV2PaymentSourcePaypalExperienceContextShippingPreference.js';
8
+ export * from './PaypalV2PaymentSourcePaypalExperienceContextLandingPage.js';
9
+ export * from './PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference.js';
10
+ export * from './Kakaopay.js';
11
+ export * from './SmartroV2.js';
12
+ export * from './Naverpay.js';
13
+ export * from './NiceV2.js';
14
+ export * from './TossBrandpay.js';
15
+ export * from './Welcome.js';
16
+ export * from './TosspayV2.js';
17
+ export * from './InicisV2.js';
18
+ export * from './Kpn.js';
19
+ export * from './KcpV2.js';
20
+ export * from './Hyphen.js';
21
+ export * from './EximbayV2.js';
22
+ export * from './InicisJp.js';
23
+ export * from './InicisJpPaymentUI.js';
24
+ export * from './KsnetSndQpayType.js';
25
+ export * from './SmartroV2SkinColor.js';
26
+ export * from './SmartroV2OpenType.js';
27
+ export * from './NaverpayProductItem.js';
28
+ export * from './NaverpaySubMerchantInfo.js';
29
+ export * from './NiceV2DisableScroll.js';
30
+ export * from './NiceV2SkinType.js';
31
+ export * from './NiceV2DirectCoupon.js';
32
+ export * from './NiceV2DirectShow.js';
33
+ export * from './NiceV2SamPayMallType.js';
34
+ export * from './TossBrandpayBrandpayOptions.js';
35
+ export * from './TossBrandpayWidgetOptions.js';
36
+ export * from './TosspayV2CashReceiptTradeOption.js';
37
+ export * from './KpnCardSelect.js';
38
+ export * from './KcpV2ComplexPnt.js';
39
+ export * from './KcpV2DispTax.js';
40
+ export * from './HyphenDesignCd.js';
41
+ export * from './EximbayV2Payment.js';
42
+ export * from './EximbayV2Merchant.js';
43
+ export * from './EximbayV2Tax.js';
44
+ export * from './EximbayV2Surcharge.js';
45
+ export * from './EximbayV2ShipTo.js';
46
+ export * from './EximbayV2BillTo.js';
47
+ export * from './EximbayV2Settings.js';
48
+ export * from './NaverpayProductItemPayReferrer.js';
49
+ export * from './TossBrandpayBrandpayOptionsUi.js';
50
+ export * from './TossBrandpayWidgetOptionsMethodType.js';
51
+ export * from './TossBrandpayWidgetOptionsUi.js';
52
+ export * from './EximbayV2TaxReceiptStatus.js';
53
+ export * from './EximbayV2SettingsCallFromApp.js';
54
+ export * from './TossBrandpayBrandpayOptionsUiButtonStyle.js';
55
+ export * from './TossBrandpayBrandpayOptionsUiLabels.js';
56
+ export * from './TossBrandpayBrandpayOptionsUiNavigationBar.js';
57
+ export * from './TossBrandpayWidgetOptionsUiPromotionSection.js';
58
+ export * from './TossBrandpayWidgetOptionsUiPromotionSectionSummary.js';
59
+ export * from './TossBrandpayWidgetOptionsUiPromotionSectionDescription.js';
60
+ export * from './PayletterGlobal.js';
@@ -1,37 +1,50 @@
1
- export { Bank } from './Bank.js';
2
- export { BillingKeyAndPayMethod } from './BillingKeyAndPayMethod.js';
3
- export { BillingKeyMethod } from './BillingKeyMethod.js';
4
- export { CardCompany } from './CardCompany.js';
5
- export { Carrier } from './Carrier.js';
6
- export { Country } from './Country.js';
7
- export { Currency } from './Currency.js';
8
- export { EasyPayProvider } from './EasyPayProvider.js';
9
- export { Gender } from './Gender.js';
10
- export { GiftCertificateType } from './GiftCertificateType.js';
11
- export { IssueBillingKeyUIType } from './IssueBillingKeyUIType.js';
12
- export { LoadableUIType } from './LoadableUIType.js';
13
- export { Locale } from './Locale.js';
14
- export { PaymentUIType } from './PaymentUIType.js';
15
- export { InversionPgProvider, PgProvider } from './PgProvider.js';
16
- export { TransactionType } from './TransactionType.js';
17
- export { WindowType } from './WindowType.js';
18
- export type { Address } from './Address.js';
19
- export type { CashReceiptType } from './CashReceiptType.js';
20
- export type { Customer } from './Customer.js';
21
- export type { EasyPayPaymentMethod } from './EasyPayPaymentMethod.js';
22
- export type { FreeInstallmentPlan } from './FreeInstallmentPlan.js';
23
- export type { Installment } from './Installment.js';
24
- export type { OfferPeriod } from './OfferPeriod.js';
25
- export type { PayMethod } from './PayMethod.js';
26
- export type { Popup } from './Popup.js';
27
- export type { Product } from './Product.js';
28
- export type { ProductType } from './ProductType.js';
29
- export type { StoreDetails } from './StoreDetails.js';
30
- export type { WindowTypes } from './WindowType.js';
31
- export type { Iframe } from './Iframe.js';
32
- export type { IdentityVerificationBypass } from './bypass/identityVerification/index.js';
33
- export type { IssueBillingKeyBypass } from './bypass/issueBillingKey/index.js';
34
- export type { IssueBillingKeyAndPayBypass } from './bypass/issueBillingKeyAndPay/index.js';
35
- export type { LoadIssueBillingKeyUIBypass } from './bypass/loadIssueBillingKeyUI/index.js';
36
- export type { LoadPaymentUIBypass } from './bypass/loadPaymentUI/index.js';
37
- export type { PaymentBypass } from './bypass/payment/index.js';
1
+ export * from './Address.js';
2
+ export * from './Bank.js';
3
+ export * from './BillingKeyAndPayMethod.js';
4
+ export * from './BillingKeyMethod.js';
5
+ export * from './CardCompany.js';
6
+ export * from './Carrier.js';
7
+ export * from './CashReceiptType.js';
8
+ export * from './Country.js';
9
+ export * from './Currency.js';
10
+ export * from './Customer.js';
11
+ export * from './EasyPayPaymentMethod.js';
12
+ export * from './EasyPayProvider.js';
13
+ export * from './FreeInstallmentPlan.js';
14
+ export * from './Gender.js';
15
+ export * from './GiftCertificateType.js';
16
+ export * from './Installment.js';
17
+ export * from './IssueBillingKeyUIType.js';
18
+ export * from './LoadableUIType.js';
19
+ export * from './Locale.js';
20
+ export * from './OfferPeriod.js';
21
+ export * from './PaymentUIType.js';
22
+ export * from './PaymentPayMethod.js';
23
+ export * from './PayMethod.js';
24
+ export * from './PgProvider.js';
25
+ export * from './TaxFreeAmount.js';
26
+ export * from './VatAmount.js';
27
+ export * from './Product.js';
28
+ export * from './ProductType.js';
29
+ export * from './StoreDetails.js';
30
+ export * from './StoreDetailsOpeningHours.js';
31
+ export * from './TransactionType.js';
32
+ export * from './WindowType.js';
33
+ export * from './WindowTypes.js';
34
+ export * from './StoreId.js';
35
+ export * from './ChannelKey.js';
36
+ export * from './ChannelGroupId.js';
37
+ export * from './PgCode.js';
38
+ export * from './PgMessage.js';
39
+ export * from './RedirectUrl.js';
40
+ export * from './PaymentOrderName.js';
41
+ export * from './PaymentTotalAmount.js';
42
+ export * from './PaymentCurrency.js';
43
+ export * from './Popup.js';
44
+ export * from './Iframe.js';
45
+ export * from './OfferPeriodRange.js';
46
+ export * from './OfferPeriodRangeFrom.js';
47
+ export * from './OfferPeriodRangeTo.js';
48
+ export * from './OfferPeriodRangeFromTo.js';
49
+ export * from './InstallmentMonthOption.js';
50
+ export * from './bypass/index.js';
@@ -1 +1,11 @@
1
- export type CheckoutServiceErrorCode = 'BadRequest' | 'ParseChannelFailed' | 'ParseIdentityVerificationPrepareResponseFailed' | 'ParseIssuePrepareResponseFailed' | 'ParsePgRawIdentityVerificationResponseFailed' | 'ParsePgRawIssueBillingKeyResponseFailed' | 'ParsePgRawResponseFailed' | 'ParsePrepareResponseFailed';
1
+ export declare const CheckoutServiceErrorCode: {
2
+ readonly BadRequest: "BadRequest";
3
+ readonly ParseChannelFailed: "ParseChannelFailed";
4
+ readonly ParseIdentityVerificationPrepareResponseFailed: "ParseIdentityVerificationPrepareResponseFailed";
5
+ readonly ParseIssuePrepareResponseFailed: "ParseIssuePrepareResponseFailed";
6
+ readonly ParsePgRawIdentityVerificationResponseFailed: "ParsePgRawIdentityVerificationResponseFailed";
7
+ readonly ParsePgRawIssueBillingKeyResponseFailed: "ParsePgRawIssueBillingKeyResponseFailed";
8
+ readonly ParsePgRawResponseFailed: "ParsePgRawResponseFailed";
9
+ readonly ParsePrepareResponseFailed: "ParsePrepareResponseFailed";
10
+ };
11
+ export type CheckoutServiceErrorCode = (typeof CheckoutServiceErrorCode)[keyof typeof CheckoutServiceErrorCode];
@@ -1 +1,71 @@
1
- export type GrpcErrorCode = 'Ok' | 'Cancelled' | 'Unknown' | 'InvalidArgument' | 'DeadlineExceeded' | 'NotFound' | 'AlreadyExists' | 'PermissionDenied' | 'ResourceExhausted' | 'FailedPrecondition' | 'Aborted' | 'OutOfRange' | 'Unimplemented' | 'Internal' | 'Unavailable' | 'DataLoss' | 'Unauthenticated';
1
+ export declare const GrpcErrorCode: {
2
+ /**
3
+ * 0/200
4
+ */
5
+ readonly Ok: "Ok";
6
+ /**
7
+ * 1/422
8
+ */
9
+ readonly Cancelled: "Cancelled";
10
+ /**
11
+ * 2/500
12
+ */
13
+ readonly Unknown: "Unknown";
14
+ /**
15
+ * 3/400
16
+ */
17
+ readonly InvalidArgument: "InvalidArgument";
18
+ /**
19
+ * 4/504
20
+ */
21
+ readonly DeadlineExceeded: "DeadlineExceeded";
22
+ /**
23
+ * 5/404
24
+ */
25
+ readonly NotFound: "NotFound";
26
+ /**
27
+ * 6/409
28
+ */
29
+ readonly AlreadyExists: "AlreadyExists";
30
+ /**
31
+ * 7/403
32
+ */
33
+ readonly PermissionDenied: "PermissionDenied";
34
+ /**
35
+ * 8/429
36
+ */
37
+ readonly ResourceExhausted: "ResourceExhausted";
38
+ /**
39
+ * 9/400
40
+ */
41
+ readonly FailedPrecondition: "FailedPrecondition";
42
+ /**
43
+ * 10/409
44
+ */
45
+ readonly Aborted: "Aborted";
46
+ /**
47
+ * 11/400
48
+ */
49
+ readonly OutOfRange: "OutOfRange";
50
+ /**
51
+ * 2/501
52
+ */
53
+ readonly Unimplemented: "Unimplemented";
54
+ /**
55
+ * 13/500
56
+ */
57
+ readonly Internal: "Internal";
58
+ /**
59
+ * 14/503
60
+ */
61
+ readonly Unavailable: "Unavailable";
62
+ /**
63
+ * 15/500
64
+ */
65
+ readonly DataLoss: "DataLoss";
66
+ /**
67
+ * 16/401
68
+ */
69
+ readonly Unauthenticated: "Unauthenticated";
70
+ };
71
+ export type GrpcErrorCode = (typeof GrpcErrorCode)[keyof typeof GrpcErrorCode];
@@ -2,24 +2,71 @@ import { PortOneError } from './index.js';
2
2
  import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js';
3
3
  import { GrpcErrorCode } from './GrpcErrorCode.js';
4
4
  import { TxServiceIdentityVerificationErrorCode } from './TxServiceIdentityVerificationErrorCode.js';
5
- export type IdentityVerificationErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIdentityVerificationErrorCode;
5
+ import type { PgCode } from '../entity/PgCode.js';
6
+ import type { PgMessage } from '../entity/PgMessage.js';
6
7
  export declare function isIdentityVerificationError(error: unknown): error is IdentityVerificationError;
8
+ /**
9
+ * **오류 코드**
10
+ *
11
+ * - 실패한 경우 오류 코드입니다.
12
+ */
13
+ export type IdentityVerificationErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIdentityVerificationErrorCode;
7
14
  export declare class IdentityVerificationError extends Error implements PortOneError {
8
15
  static [Symbol.hasInstance](instance: unknown): boolean;
9
16
  __portOneErrorType: string;
10
- transactionType: "IDENTITY_VERIFICATION";
17
+ transactionType: string;
18
+ /**
19
+ * **오류 코드**
20
+ *
21
+ * - 실패한 경우 오류 코드입니다.
22
+ */
11
23
  code: IdentityVerificationErrorCode;
24
+ /**
25
+ * **오류 메시지**
26
+ *
27
+ * - 실패한 경우 오류 메시지입니다.
28
+ */
12
29
  message: string;
13
- identityVerificationId?: string;
14
- identityVerificationTxId?: string;
15
- pgCode?: string;
16
- pgMessage?: string;
30
+ identityVerificationId?: string | undefined;
31
+ identityVerificationTxId?: string | undefined;
32
+ /**
33
+ * **PG 오류 코드**
34
+ *
35
+ * PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
36
+ */
37
+ pgCode?: PgCode | undefined;
38
+ /**
39
+ * **PG 오류 메시지**
40
+ *
41
+ * PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
42
+ */
43
+ pgMessage?: PgMessage | undefined;
17
44
  constructor({ code, message, identityVerificationId, identityVerificationTxId, pgCode, pgMessage, }: {
45
+ /**
46
+ * **오류 코드**
47
+ *
48
+ * - 실패한 경우 오류 코드입니다.
49
+ */
18
50
  code: IdentityVerificationErrorCode;
51
+ /**
52
+ * **오류 메시지**
53
+ *
54
+ * - 실패한 경우 오류 메시지입니다.
55
+ */
19
56
  message: string;
20
- identityVerificationId?: string;
21
- identityVerificationTxId?: string;
22
- pgCode?: string;
23
- pgMessage?: string;
57
+ identityVerificationId?: string | undefined;
58
+ identityVerificationTxId?: string | undefined;
59
+ /**
60
+ * **PG 오류 코드**
61
+ *
62
+ * PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
63
+ */
64
+ pgCode?: PgCode | undefined;
65
+ /**
66
+ * **PG 오류 메시지**
67
+ *
68
+ * PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
69
+ */
70
+ pgMessage?: PgMessage | undefined;
24
71
  });
25
72
  }
@@ -1,29 +1,75 @@
1
+ import { PortOneError } from './index.js';
1
2
  import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js';
2
3
  import { GrpcErrorCode } from './GrpcErrorCode.js';
3
- import { PortOneError } from './index.js';
4
4
  import { TxServiceIssueErrorCode } from './TxServiceIssueErrorCode.js';
5
5
  import { TxServicePayErrorCode } from './TxServicePayErrorCode.js';
6
- export type IssueBillingKeyAndPayErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIssueErrorCode | TxServicePayErrorCode;
6
+ import type { PgCode } from '../entity/PgCode.js';
7
+ import type { PgMessage } from '../entity/PgMessage.js';
7
8
  export declare function isIssueBillingKeyAndPayError(error: unknown): error is IssueBillingKeyAndPayError;
9
+ /**
10
+ * **오류 코드**
11
+ *
12
+ * 실패한 경우 오류 코드입니다.
13
+ */
14
+ export type IssueBillingKeyAndPayErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIssueErrorCode | TxServicePayErrorCode;
8
15
  export declare class IssueBillingKeyAndPayError extends Error implements PortOneError {
9
16
  static [Symbol.hasInstance](instance: unknown): boolean;
10
17
  __portOneErrorType: string;
11
- transactionType: "ISSUE_BILLING_KEY_AND_PAY";
12
- txId?: string;
13
- paymentId?: string;
14
- billingKey?: string;
18
+ transactionType: string;
19
+ txId?: string | undefined;
20
+ paymentId?: string | undefined;
21
+ billingKey?: string | undefined;
22
+ /**
23
+ * **오류 코드**
24
+ *
25
+ * 실패한 경우 오류 코드입니다.
26
+ */
15
27
  code: IssueBillingKeyAndPayErrorCode;
28
+ /**
29
+ * **오류 메시지**
30
+ *
31
+ * 실패한 경우 오류 메시지입니다.
32
+ */
16
33
  message: string;
17
- pgCode?: string;
18
- pgMessage?: string;
34
+ /**
35
+ * **PG 오류 코드**
36
+ *
37
+ * PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
38
+ */
39
+ pgCode?: PgCode | undefined;
40
+ /**
41
+ * **PG 오류 메시지**
42
+ *
43
+ * PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
44
+ */
45
+ pgMessage?: PgMessage | undefined;
19
46
  constructor({ txId, paymentId, billingKey, code, message, pgCode, pgMessage, }: {
20
- txId?: string;
21
- paymentId?: string;
22
- billingKey?: string;
47
+ txId?: string | undefined;
48
+ paymentId?: string | undefined;
49
+ billingKey?: string | undefined;
50
+ /**
51
+ * **오류 코드**
52
+ *
53
+ * 실패한 경우 오류 코드입니다.
54
+ */
23
55
  code: IssueBillingKeyAndPayErrorCode;
56
+ /**
57
+ * **오류 메시지**
58
+ *
59
+ * 실패한 경우 오류 메시지입니다.
60
+ */
24
61
  message: string;
25
- pgCode?: string;
26
- pgMessage?: string;
62
+ /**
63
+ * **PG 오류 코드**
64
+ *
65
+ * PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
66
+ */
67
+ pgCode?: PgCode | undefined;
68
+ /**
69
+ * **PG 오류 메시지**
70
+ *
71
+ * PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
72
+ */
73
+ pgMessage?: PgMessage | undefined;
27
74
  });
28
75
  }
29
- export default IssueBillingKeyAndPayError;