@portone/browser-sdk 0.0.22 → 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 +9 -0
  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 -36
  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 -27
  216. package/dist/v2/requestIssueBillingKey.d.ts +2 -55
  217. package/dist/v2/requestIssueBillingKeyAndPay.d.ts +2 -55
  218. package/dist/v2/requestPayment.d.ts +2 -109
  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,6 +1,13 @@
1
- export type WelcomeIssueBillingKeyBypass = WelcomeIssueBillingKeyBypassOnPc;
2
- type WelcomeIssueBillingKeyBypassOnPc = {
3
- logo_url?: string;
4
- logo_2nd?: string;
1
+ /**
2
+ * **웰컴페이먼츠 bypass 파라미터**
3
+ */
4
+ export type WelcomeIssueBillingKeyBypass = {
5
+ /**
6
+ * 메인 로고 URL (크기: 89x19)
7
+ */
8
+ logo_url?: string | undefined;
9
+ /**
10
+ * 서브 로고 URL (크기: 64x13)
11
+ */
12
+ logo_2nd?: string | undefined;
5
13
  };
6
- export {};
@@ -1,16 +1,10 @@
1
- import { KakaopayPaymentBypass } from '../payment/Kakaopay.js';
2
- import { SmartroV2IssueBillingKeyBypass } from './SmartroV2.js';
3
- import { NaverpayIssueBillingKeyBypass } from './Naverpay.js';
4
- import { WelcomeIssueBillingKeyBypass } from './Welcome.js';
5
- import { TosspayV2IssueBillingKeyBypass } from './TosspayV2.js';
6
- import { InicisV2IssueBillingKeyBypass } from './InicisV2.js';
7
- import { KcpV2IssueBillingKeyBypass } from './KcpV2.js';
8
- export type IssueBillingKeyBypass = {
9
- kakaopay?: KakaopayPaymentBypass;
10
- smartro_v2?: SmartroV2IssueBillingKeyBypass;
11
- naverpay?: NaverpayIssueBillingKeyBypass;
12
- welcome?: WelcomeIssueBillingKeyBypass;
13
- tosspay_v2?: TosspayV2IssueBillingKeyBypass;
14
- inicis_v2?: InicisV2IssueBillingKeyBypass;
15
- kcp_v2?: KcpV2IssueBillingKeyBypass;
16
- };
1
+ export * from './SmartroV2.js';
2
+ export * from './InicisV2.js';
3
+ export * from './KcpV2.js';
4
+ export * from './Naverpay.js';
5
+ export * from './TosspayV2.js';
6
+ export * from './Welcome.js';
7
+ export * from './SmartroV2SkinColor.js';
8
+ export * from './SmartroV2IsPwdPass.js';
9
+ export * from './InicisV2CardUse.js';
10
+ export * from './KcpV2BatchSocChoice.js';
@@ -1,30 +1,27 @@
1
+ import type { EximbayV2Payment } from './EximbayV2Payment.js';
2
+ import type { EximbayV2Merchant } from './EximbayV2Merchant.js';
3
+ import type { EximbayV2Surcharge } from './EximbayV2Surcharge.js';
4
+ import type { EximbayV2ShipTo } from './EximbayV2ShipTo.js';
5
+ import type { EximbayV2BillTo } from './EximbayV2BillTo.js';
6
+ /**
7
+ * **엑심베이 bypass 파라미터**
8
+ */
1
9
  export type EximbayV2IssueBillingKeyAndPayBypass = {
2
- merchant?: {
3
- shop?: string;
4
- };
5
- surcharge?: {
6
- name?: string;
7
- quantity?: string;
8
- unit_price?: string;
9
- }[];
10
- ship_to?: {
11
- city?: string;
12
- country?: string;
13
- first_name?: string;
14
- last_name?: string;
15
- phone_number?: string;
16
- postal_code?: string;
17
- state?: string;
18
- street1?: string;
19
- };
20
- bill_to?: {
21
- city?: string;
22
- country?: string;
23
- first_name?: string;
24
- last_name?: string;
25
- phone_number?: string;
26
- postal_code?: string;
27
- state?: string;
28
- street1?: string;
29
- };
10
+ /**
11
+ * 결제 정보
12
+ */
13
+ payment?: EximbayV2Payment | undefined;
14
+ merchant?: EximbayV2Merchant | undefined;
15
+ /**
16
+ * **최대 3개의 추가 비용 목록**
17
+ */
18
+ surcharge?: EximbayV2Surcharge[] | undefined;
19
+ /**
20
+ * **배송지 정보**
21
+ */
22
+ shipTo?: EximbayV2ShipTo | undefined;
23
+ /**
24
+ * **청구지 정보**
25
+ */
26
+ billTo?: EximbayV2BillTo | undefined;
30
27
  };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * **청구지 정보**
3
+ */
4
+ export type EximbayV2BillTo = {
5
+ /**
6
+ * **청구지 도시**
7
+ */
8
+ city: string;
9
+ /**
10
+ * **청구지 국가 (ISO 3166 두 자리 국가 코드)**
11
+ */
12
+ country: string;
13
+ /**
14
+ * **청구 카드 명의자의 성을 제외한 이름**
15
+ */
16
+ first_name: string;
17
+ /**
18
+ * **청구 카드 명의자의 성**
19
+ */
20
+ last_name: string;
21
+ /**
22
+ * **청구 카드 명의자의 전화번호**
23
+ */
24
+ phone_number: string;
25
+ /**
26
+ * **청구지 우편번호**
27
+ */
28
+ postal_code: string;
29
+ /**
30
+ * **청구지가 미국 혹은 캐나다인 경우, 청구지 주 정보**
31
+ */
32
+ state: string;
33
+ /**
34
+ * **청구지 상세 주소**
35
+ */
36
+ street1: string;
37
+ };
@@ -0,0 +1,6 @@
1
+ export type EximbayV2Merchant = {
2
+ /**
3
+ * **상점명**
4
+ */
5
+ shop: string;
6
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 결제 정보
3
+ */
4
+ export type EximbayV2Payment = {
5
+ /**
6
+ * 결제수단 단독 노출
7
+ */
8
+ payment_method?: string | undefined;
9
+ /**
10
+ * 결제수단 노출 목록
11
+ */
12
+ multi_payment_method?: string[] | undefined;
13
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * **배송지 정보**
3
+ */
4
+ export type EximbayV2ShipTo = {
5
+ /**
6
+ * **배송지 도시**
7
+ */
8
+ city: string;
9
+ /**
10
+ * **배송지 국가 (ISO 3166 두 자리 국가 코드)**
11
+ */
12
+ country: string;
13
+ /**
14
+ * **수신인의 성을 제외한 이름**
15
+ */
16
+ first_name: string;
17
+ /**
18
+ * **수신인의 성**
19
+ */
20
+ last_name: string;
21
+ /**
22
+ * **수신인 전화번호**
23
+ */
24
+ phone_number: string;
25
+ /**
26
+ * **배송지 우편번호**
27
+ */
28
+ postal_code: string;
29
+ /**
30
+ * **배송지가 미국 혹은 캐나다인 경우, 배송지 주 정보**
31
+ */
32
+ state: string;
33
+ /**
34
+ * **배송지 상세 주소**
35
+ */
36
+ street1: string;
37
+ };
@@ -0,0 +1,14 @@
1
+ export type EximbayV2Surcharge = {
2
+ /**
3
+ * **항목명**
4
+ */
5
+ name: string;
6
+ /**
7
+ * **수량**
8
+ */
9
+ quantity: string;
10
+ /**
11
+ * **단가 (음수 가능)**
12
+ */
13
+ unit_price: string;
14
+ };
@@ -1,10 +1,20 @@
1
1
  /**
2
- * 정규화가 어려운 Payletter Global bypass 파라미터
3
- * 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
2
+ * **페이레터 해외결제 bypass 파라미터**
4
3
  */
5
4
  export type PayletterGlobalIssueBillingKeyAndPayBypass = {
6
- pginfo?: PayletterGlobalPgInfo;
7
- servicename?: string;
5
+ /**
6
+ * **결제수단 지정용 파라미터**
7
+ *
8
+ * - 해외카드 인증 : `PLCreditCard`
9
+ * - 해외카드 비인증(3DS) : `PLCreditCardMpi`
10
+ * - 유니온페이 : `PLUnionPay_HC`
11
+ * - 위챗페이 PC결제: `WeChatPayQRCodePayment`
12
+ * - 위챗페이 모바일결제 : `WeChatPayH5Payment`
13
+ * - 알리페이 : `ICBAlipay`
14
+ */
15
+ pginfo?: string | undefined;
16
+ /**
17
+ * 고객사 서비스명, WeChatPay, Alipay 이용 시 필수 입력
18
+ */
19
+ servicename?: string | undefined;
8
20
  };
9
- type PayletterGlobalPgInfo = 'PLCreditCard' | 'PLCreditCardMpi' | 'PLUnionPay' | 'PLUnionPay_HC' | 'WeChatPayH5Payment' | 'WeChatPayQRCodePayment' | 'ICBAlipay';
10
- export {};
@@ -1,55 +1,53 @@
1
- type WelcomeCarrier = 'SKT' | 'KTF' | 'LGT' | 'MVNO' | 'CJH' | 'KCT' | 'SKL';
2
- export type WelcomeIssueBillingKeyAndPayBypass = WelcomeIssueBillingKeyAndPayBypassOnPc & WelcomeIssueBillingKeyAndPayBypassOnMobile;
3
- type WelcomeIssueBillingKeyAndPayBypassOnPc = {
4
- acceptmethod?: AcceptMethodKey[];
5
- };
6
- type AcceptMethodKey =
7
- /**
8
- * 휴대폰 소액결제시 기본 선택 되어있는 통신사
9
- * 기본) 기본 선택되어있는 통신사 없음
10
- * 예시) KT 기본 선택 → hppdefaultcorp(KT) 전달
11
- *
12
- * - SKT: SKT
13
- * - KT: KTF
14
- * - LG 유플러스: LGT
15
- * - 알뜰폰 전체: MVNO
16
- * - 알뜰폰 CJ 헬로 모바일: CJH
17
- * - 알뜰폰 티플러스: KCT
18
- * - 알뜰폰 SK 세븐 모바일: SKL
19
- */
20
- `hppdefaultcorp(${WelcomeCarrier})`
21
1
  /**
22
- * 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
23
- * 기본) 수정 가능
24
- *
25
- * - Y: 수정 불가능
26
- * - N: 수정 가능
2
+ * **웰컴페이먼츠 bypass 파라미터**
27
3
  */
28
- | `hppnofix(${'Y' | 'N'})`;
29
- type WelcomeIssueBillingKeyAndPayBypassOnMobile = {
30
- P_RESERVED?: PReservedKey[];
4
+ export type WelcomeIssueBillingKeyAndPayBypass = {
5
+ /**
6
+ * `acceptmethod` 파라미터는 휴대폰 소액결제 시 기본 선택할 통신사를 설정하며, 추가로 `buyer_tel` 값의 수정 가능 여부를 지정할 수 있습니다.
7
+ *
8
+ * **통신사 기본 선택 설정:**
9
+ *
10
+ * - 특정 통신사를 기본 선택하려면 `hppdefaultcorp(통신사코드)` 형식으로 전달합니다.
11
+ * - 예시: KT를 기본 선택 → `hppdefaultcorp(KTF)`
12
+ *
13
+ * **가능한 통신사 코드:**
14
+ *
15
+ * - `SKT`: SK 텔레콤
16
+ * - `KTF`: KT
17
+ * - `LGT`: LG 유플러스
18
+ * - `MVNO`: 알뜰폰 전체
19
+ * - `CJH`: 알뜰폰 CJ 헬로 모바일
20
+ * - `KCT`: 알뜰폰 티플러스
21
+ * - `SKL`: 알뜰폰 SK 세븐 모바일
22
+ *
23
+ * **휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 수정 가능 여부 설정:**
24
+ *
25
+ * - 수정 불가능으로 설정하려면 `hppnofix(Y)`를 전달합니다.
26
+ * - 수정 가능으로 설정하려면 `hppnofix(N)`를 전달합니다. (기본값)
27
+ */
28
+ acceptmethod?: string[] | undefined;
29
+ /**
30
+ * `P_RESERVED` 파라미터는 휴대폰 소액결제 시 기본 선택할 통신사를 설정하며, 추가로 `buyer_tel` 값의 수정 가능 여부를 지정할 수 있습니다.
31
+ *
32
+ * **통신사 기본 선택 설정:**
33
+ *
34
+ * - 특정 통신사를 기본 선택하려면 `hpp_default_corp=통신사코드` 형식으로 전달합니다.
35
+ * - 예시: KT를 기본 선택 → `hpp_default_corp=KTF`
36
+ *
37
+ * **가능한 통신사 코드:**
38
+ *
39
+ * - `SKT`: SK 텔레콤
40
+ * - `KTF`: KT
41
+ * - `LGT`: LG 유플러스
42
+ * - `MVNO`: 알뜰폰 전체
43
+ * - `CJH`: 알뜰폰 CJ 헬로 모바일
44
+ * - `KCT`: 알뜰폰 티플러스
45
+ * - `SKL`: 알뜰폰 SK 세븐 모바일
46
+ *
47
+ * **휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 수정 가능 여부 설정:**
48
+ *
49
+ * - 수정 불가능으로 설정하려면 `hpp_nofix=Y`를 전달합니다.
50
+ * - 수정 가능으로 설정하려면 `hpp_nofix=N`를 전달합니다. (기본값)
51
+ */
52
+ P_RESERVED?: string[] | undefined;
31
53
  };
32
- type PReservedKey =
33
- /**
34
- * 휴대폰 소액결제시 기본 선택 되어있는 통신사
35
- * 기본) 기본 선택 되어있는 통신사 없음
36
- * 예시) KT 기본 선택 → hpp_default_corp=KT 전달
37
- *
38
- * - SKT: SKT
39
- * - KT: KTF
40
- * - LG 유플러스: LGT
41
- * - 알뜰폰 전체: MVNO
42
- * - 알뜰폰 CJ 헬로 모바일: CJH
43
- * - 알뜰폰 티플러스: KCT
44
- * - 알뜰폰 SK 세븐 모바일: SKL
45
- */
46
- `hpp_default_corp=${WelcomeCarrier}`
47
- /**
48
- * 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
49
- * 기본) 수정 가능
50
- *
51
- * - Y: 수정 불가능
52
- * - N: 수정 가능
53
- */
54
- | `hpp_nofix=${'Y' | 'N'}`;
55
- export {};
@@ -1,8 +1,8 @@
1
- import { PayletterGlobalIssueBillingKeyAndPayBypass } from './PayletterGlobal.js';
2
- import { WelcomeIssueBillingKeyAndPayBypass } from './Welcome.js';
3
- import { EximbayV2IssueBillingKeyAndPayBypass } from './EximbayV2.js';
4
- export type IssueBillingKeyAndPayBypass = {
5
- welcome?: WelcomeIssueBillingKeyAndPayBypass;
6
- payletter_global?: PayletterGlobalIssueBillingKeyAndPayBypass;
7
- eximbay_v2?: EximbayV2IssueBillingKeyAndPayBypass;
8
- };
1
+ export * from './Welcome.js';
2
+ export * from './EximbayV2.js';
3
+ export * from './EximbayV2Payment.js';
4
+ export * from './EximbayV2Merchant.js';
5
+ export * from './EximbayV2Surcharge.js';
6
+ export * from './EximbayV2ShipTo.js';
7
+ export * from './EximbayV2BillTo.js';
8
+ export * from './PayletterGlobal.js';
@@ -1,24 +1,17 @@
1
- import { PaypalV2Country } from '../PaypalV2Country.js';
1
+ import type { PaypalV2Style } from './PaypalV2Style.js';
2
+ import type { PaypalV2ShippingAddress } from './PaypalV2ShippingAddress.js';
3
+ import type { PaypalV2AdditionalData } from './PaypalV2AdditionalData.js';
4
+ /**
5
+ * **Paypal bypass 파라미터**
6
+ */
2
7
  export type PaypalV2LoadIssueBillingKeyUIBypass = {
3
- style?: {
4
- color?: 'gold' | 'blue' | 'silver' | 'white' | 'black';
5
- height?: number;
6
- label?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment' | 'subscribe' | 'donate';
7
- layout?: 'vertical' | 'horizontal';
8
- shape?: 'rect' | 'pill';
9
- tagline?: boolean;
10
- };
11
- shipping_address?: {
12
- recipient_name?: string;
13
- line1: string;
14
- line2?: string;
15
- city: string;
16
- state?: string;
17
- postal_code?: string;
18
- country_code: PaypalV2Country;
19
- };
20
- additional_data?: {
21
- key: string;
22
- value: string;
23
- }[];
8
+ /**
9
+ * 페이팔 빌링키 발급 UI 호출 필요한 파라미터
10
+ */
11
+ style?: PaypalV2Style | undefined;
12
+ shipping_address?: PaypalV2ShippingAddress | undefined;
13
+ /**
14
+ * STC 파라미터
15
+ */
16
+ additional_data?: PaypalV2AdditionalData[] | undefined;
24
17
  };
@@ -0,0 +1,4 @@
1
+ export type PaypalV2AdditionalData = {
2
+ key: string;
3
+ value: string;
4
+ };
@@ -1,3 +1,6 @@
1
+ /**
2
+ * **페이팔 V2 국가 코드**
3
+ */
1
4
  export declare const PaypalV2Country: {
2
5
  readonly AL: "COUNTRY_AL";
3
6
  readonly DZ: "COUNTRY_DZ";
@@ -203,4 +206,7 @@ export declare const PaypalV2Country: {
203
206
  readonly ZM: "COUNTRY_ZM";
204
207
  readonly ZW: "COUNTRY_ZW";
205
208
  };
206
- export type PaypalV2Country = typeof PaypalV2Country[keyof typeof PaypalV2Country];
209
+ /**
210
+ * **페이팔 V2 국가 코드**
211
+ */
212
+ export type PaypalV2Country = (typeof PaypalV2Country)[keyof typeof PaypalV2Country];
@@ -0,0 +1,31 @@
1
+ import { PaypalV2Country } from './PaypalV2Country.js';
2
+ export type PaypalV2ShippingAddress = {
3
+ /**
4
+ * 수령인 이름
5
+ */
6
+ recipient_name?: string | undefined;
7
+ /**
8
+ * 도로명 주소
9
+ */
10
+ line1: string;
11
+ /**
12
+ * 아파트 동 호수
13
+ */
14
+ line2?: string | undefined;
15
+ /**
16
+ * 도시 이름
17
+ */
18
+ city: string;
19
+ /**
20
+ * 주 이름 (아르헨티나, 브라질, 캐나다, 중국, 인도, 이탈리아, 일본, 멕시코, 태국 또는 미국의 경우 필수)
21
+ */
22
+ state?: string | undefined;
23
+ /**
24
+ * 우편번호
25
+ */
26
+ postal_code?: string | undefined;
27
+ /**
28
+ * 국가 코드
29
+ */
30
+ country_code: PaypalV2Country;
31
+ };
@@ -0,0 +1,33 @@
1
+ import { PaypalV2StyleColor } from './PaypalV2StyleColor.js';
2
+ import { PaypalV2StyleLabel } from './PaypalV2StyleLabel.js';
3
+ import { PaypalV2StyleLayout } from './PaypalV2StyleLayout.js';
4
+ import { PaypalV2StyleShape } from './PaypalV2StyleShape.js';
5
+ /**
6
+ * 페이팔 빌링키 발급 UI 호출 시 필요한 파라미터
7
+ */
8
+ export type PaypalV2Style = {
9
+ /**
10
+ * 버튼 색상
11
+ */
12
+ color?: PaypalV2StyleColor | undefined;
13
+ /**
14
+ * 버튼 높이
15
+ */
16
+ height?: number | undefined;
17
+ /**
18
+ * 버튼 라벨
19
+ */
20
+ label?: PaypalV2StyleLabel | undefined;
21
+ /**
22
+ * 버튼 렌더링 방향
23
+ */
24
+ layout?: PaypalV2StyleLayout | undefined;
25
+ /**
26
+ * 버튼 모양
27
+ */
28
+ shape?: PaypalV2StyleShape | undefined;
29
+ /**
30
+ * 버튼 하위에 문구 노출 여부
31
+ */
32
+ tagline?: boolean | undefined;
33
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 버튼 색상
3
+ */
4
+ export declare const PaypalV2StyleColor: {
5
+ readonly gold: "gold";
6
+ readonly blue: "blue";
7
+ readonly silver: "silver";
8
+ readonly white: "white";
9
+ readonly black: "black";
10
+ };
11
+ /**
12
+ * 버튼 색상
13
+ */
14
+ export type PaypalV2StyleColor = (typeof PaypalV2StyleColor)[keyof typeof PaypalV2StyleColor];
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 버튼 라벨
3
+ */
4
+ export declare const PaypalV2StyleLabel: {
5
+ readonly paypal: "paypal";
6
+ readonly checkout: "checkout";
7
+ readonly buynow: "buynow";
8
+ readonly pay: "pay";
9
+ readonly installment: "installment";
10
+ readonly subscribe: "subscribe";
11
+ readonly donate: "donate";
12
+ };
13
+ /**
14
+ * 버튼 라벨
15
+ */
16
+ export type PaypalV2StyleLabel = (typeof PaypalV2StyleLabel)[keyof typeof PaypalV2StyleLabel];
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 버튼 렌더링 방향
3
+ */
4
+ export declare const PaypalV2StyleLayout: {
5
+ readonly vertical: "vertical";
6
+ readonly horizontal: "horizontal";
7
+ };
8
+ /**
9
+ * 버튼 렌더링 방향
10
+ */
11
+ export type PaypalV2StyleLayout = (typeof PaypalV2StyleLayout)[keyof typeof PaypalV2StyleLayout];
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 버튼 모양
3
+ */
4
+ export declare const PaypalV2StyleShape: {
5
+ readonly rect: "rect";
6
+ readonly pill: "pill";
7
+ };
8
+ /**
9
+ * 버튼 모양
10
+ */
11
+ export type PaypalV2StyleShape = (typeof PaypalV2StyleShape)[keyof typeof PaypalV2StyleShape];
@@ -1,4 +1,9 @@
1
- import { PaypalV2LoadIssueBillingKeyUIBypass } from './PaypalV2.js';
2
- export type LoadIssueBillingKeyUIBypass = {
3
- paypal_v2?: PaypalV2LoadIssueBillingKeyUIBypass;
4
- };
1
+ export * from './PaypalV2.js';
2
+ export * from './PaypalV2Style.js';
3
+ export * from './PaypalV2ShippingAddress.js';
4
+ export * from './PaypalV2Country.js';
5
+ export * from './PaypalV2AdditionalData.js';
6
+ export * from './PaypalV2StyleColor.js';
7
+ export * from './PaypalV2StyleLabel.js';
8
+ export * from './PaypalV2StyleLayout.js';
9
+ export * from './PaypalV2StyleShape.js';
@@ -1,57 +1,30 @@
1
- import { PaypalV2Country } from '../PaypalV2Country.js';
1
+ import type { PaypalV2Style } from './PaypalV2Style.js';
2
+ import type { PaypalV2PurchaseUnit } from './PaypalV2PurchaseUnit.js';
3
+ import type { PaypalV2Payer } from './PaypalV2Payer.js';
4
+ import type { PaypalV2AdditionalData } from './PaypalV2AdditionalData.js';
5
+ /**
6
+ * **Paypal bypass 파라미터**
7
+ */
2
8
  export type PaypalV2LoadPaymentUIBypass = {
3
- style?: {
4
- color?: 'gold' | 'blue' | 'silver' | 'white' | 'black';
5
- height?: number;
6
- label?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment' | 'subscribe' | 'donate';
7
- layout?: 'vertical' | 'horizontal';
8
- shape?: 'rect' | 'pill';
9
- period?: string;
10
- tagline?: boolean;
11
- };
12
- ['enable-funding']?: string;
13
- ['disable-funding']?: string;
14
- purchase_units?: {
15
- payee?: {
16
- merchant_id: string;
17
- };
18
- shipping?: {
19
- address?: {
20
- address_line_1: string;
21
- address_line_2?: string;
22
- admin_area_1?: string;
23
- admin_area_2: string;
24
- postal_code?: string;
25
- country_code: PaypalV2Country;
26
- };
27
- };
28
- }[];
29
- payer?: {
30
- tax_info?: {
31
- tax_id: string;
32
- tax_id_type: string;
33
- };
34
- address?: {
35
- address_line_1?: string;
36
- address_line_2?: string;
37
- admin_area_1?: string;
38
- admin_area_2?: string;
39
- postal_code?: string;
40
- country_code: PaypalV2Country;
41
- };
42
- };
43
- payment_source?: {
44
- paypal?: {
45
- experience_context?: {
46
- brand_name?: string;
47
- shipping_preference?: 'GET_FROM_FILE' | 'NO_SHIPPING' | 'SET_PROVIDED_ADDRESS';
48
- landing_page?: 'LOGIN' | 'GUEST_CHECKOUT' | 'NO_PREFERENCE';
49
- payment_method_preference?: 'UNRESTRICTED' | 'IMMEDIATE_PAYMENT_REQUIRED';
50
- };
51
- };
52
- };
53
- additional_data?: {
54
- key: string;
55
- value: string;
56
- }[];
9
+ /**
10
+ * SPB 버튼 렌더링에 필요한 파라미터
11
+ */
12
+ style?: PaypalV2Style | undefined;
13
+ /**
14
+ * 허용할 결제 수단 (예: "card, credit, bancontact")
15
+ */
16
+ 'enable-funding'?: string | undefined;
17
+ /**
18
+ * 차단할 결제 수단 (예: "venmo, mercadopago")
19
+ */
20
+ 'disable-funding'?: string | undefined;
21
+ /**
22
+ * create order API 호출에 필요한 파라미터
23
+ */
24
+ purchase_units?: PaypalV2PurchaseUnit[] | undefined;
25
+ payer?: PaypalV2Payer | undefined;
26
+ /**
27
+ * STC 파라미터
28
+ */
29
+ additional_data?: PaypalV2AdditionalData[] | undefined;
57
30
  };
@@ -0,0 +1,4 @@
1
+ export type PaypalV2AdditionalData = {
2
+ key: string;
3
+ value: string;
4
+ };