@portone/browser-sdk 0.0.23 → 0.1.0

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 (229) hide show
  1. package/dist/v2/entity/Address.d.ts +24 -4
  2. package/dist/v2/entity/Bank.d.ts +350 -76
  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 +99 -24
  6. package/dist/v2/entity/Carrier.d.ts +28 -13
  7. package/dist/v2/entity/CashReceiptType.d.ts +19 -4
  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 +1007 -250
  11. package/dist/v2/entity/Currency.d.ts +723 -181
  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 +178 -22
  15. package/dist/v2/entity/FreeInstallmentPlan.d.ts +25 -4
  16. package/dist/v2/entity/Gender.d.ts +19 -4
  17. package/dist/v2/entity/GiftCertificateType.d.ts +24 -6
  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 +51 -96
  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 +13 -6
  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/loadIssueBillingKeyUI/PaypalV2Country.d.ts +212 -0
  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 +57 -0
  221. package/dist/v2/response/IssueBillingKeyResponse.d.ts +45 -0
  222. package/dist/v2/response/PaymentResponse.d.ts +53 -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 +3563 -676
  227. package/dist/v2.js +3512 -677
  228. package/package.json +8 -8
  229. package/dist/v2/entity/bypass/PaypalV2Country.d.ts +0 -206
@@ -0,0 +1,212 @@
1
+ /**
2
+ * **페이팔 V2 국가 코드**
3
+ */
4
+ export declare const PaypalV2Country: {
5
+ readonly AL: "AL";
6
+ readonly DZ: "DZ";
7
+ readonly AD: "AD";
8
+ readonly AO: "AO";
9
+ readonly AI: "AI";
10
+ readonly AG: "AG";
11
+ readonly AR: "AR";
12
+ readonly AM: "AM";
13
+ readonly AW: "AW";
14
+ readonly AU: "AU";
15
+ readonly AT: "AT";
16
+ readonly AZ: "AZ";
17
+ readonly BS: "BS";
18
+ readonly BH: "BH";
19
+ readonly BB: "BB";
20
+ readonly BY: "BY";
21
+ readonly BE: "BE";
22
+ readonly BZ: "BZ";
23
+ readonly BJ: "BJ";
24
+ readonly BM: "BM";
25
+ readonly BT: "BT";
26
+ readonly BO: "BO";
27
+ readonly BA: "BA";
28
+ readonly BW: "BW";
29
+ readonly BR: "BR";
30
+ readonly VG: "VG";
31
+ readonly BN: "BN";
32
+ readonly BG: "BG";
33
+ readonly BF: "BF";
34
+ readonly BI: "BI";
35
+ readonly KH: "KH";
36
+ readonly CM: "CM";
37
+ readonly CA: "CA";
38
+ readonly CV: "CV";
39
+ readonly KY: "KY";
40
+ readonly TD: "TD";
41
+ readonly CL: "CL";
42
+ readonly CN: "CN";
43
+ readonly CO: "CO";
44
+ readonly KM: "KM";
45
+ readonly CG: "CG";
46
+ readonly CD: "CD";
47
+ readonly CK: "CK";
48
+ readonly CR: "CR";
49
+ readonly CI: "CI";
50
+ readonly HR: "HR";
51
+ readonly CY: "CY";
52
+ readonly CZ: "CZ";
53
+ readonly DK: "DK";
54
+ readonly DJ: "DJ";
55
+ readonly DM: "DM";
56
+ readonly DO: "DO";
57
+ readonly EC: "EC";
58
+ readonly EG: "EG";
59
+ readonly SV: "SV";
60
+ readonly ER: "ER";
61
+ readonly EE: "EE";
62
+ readonly ET: "ET";
63
+ readonly FK: "FK";
64
+ readonly FO: "FO";
65
+ readonly FJ: "FJ";
66
+ readonly FI: "FI";
67
+ readonly FR: "FR";
68
+ readonly GF: "GF";
69
+ readonly PF: "PF";
70
+ readonly GA: "GA";
71
+ readonly GM: "GM";
72
+ readonly GE: "GE";
73
+ readonly DE: "DE";
74
+ readonly GI: "GI";
75
+ readonly GR: "GR";
76
+ readonly GL: "GL";
77
+ readonly GD: "GD";
78
+ readonly GP: "GP";
79
+ readonly GT: "GT";
80
+ readonly GN: "GN";
81
+ readonly GW: "GW";
82
+ readonly GY: "GY";
83
+ readonly HN: "HN";
84
+ readonly HK: "HK";
85
+ readonly HU: "HU";
86
+ readonly IS: "IS";
87
+ readonly IN: "IN";
88
+ readonly ID: "ID";
89
+ readonly IE: "IE";
90
+ readonly IL: "IL";
91
+ readonly IT: "IT";
92
+ readonly JM: "JM";
93
+ readonly JP: "JP";
94
+ readonly JO: "JO";
95
+ readonly KZ: "KZ";
96
+ readonly KE: "KE";
97
+ readonly KI: "KI";
98
+ readonly KW: "KW";
99
+ readonly KG: "KG";
100
+ readonly LA: "LA";
101
+ readonly LV: "LV";
102
+ readonly LS: "LS";
103
+ readonly LI: "LI";
104
+ readonly LT: "LT";
105
+ readonly LU: "LU";
106
+ readonly MK: "MK";
107
+ readonly MG: "MG";
108
+ readonly MW: "MW";
109
+ readonly MY: "MY";
110
+ readonly MV: "MV";
111
+ readonly ML: "ML";
112
+ readonly MT: "MT";
113
+ readonly MH: "MH";
114
+ readonly MQ: "MQ";
115
+ readonly MR: "MR";
116
+ readonly MU: "MU";
117
+ readonly YT: "YT";
118
+ readonly MX: "MX";
119
+ readonly FM: "FM";
120
+ readonly MD: "MD";
121
+ readonly MC: "MC";
122
+ readonly MN: "MN";
123
+ readonly ME: "ME";
124
+ readonly MS: "MS";
125
+ readonly MA: "MA";
126
+ readonly MZ: "MZ";
127
+ readonly NA: "NA";
128
+ readonly NR: "NR";
129
+ readonly NP: "NP";
130
+ readonly NL: "NL";
131
+ readonly AN: "AN";
132
+ readonly NC: "NC";
133
+ readonly NZ: "NZ";
134
+ readonly NI: "NI";
135
+ readonly NE: "NE";
136
+ readonly NG: "NG";
137
+ readonly NU: "NU";
138
+ readonly NF: "NF";
139
+ readonly NO: "NO";
140
+ readonly OM: "OM";
141
+ readonly PW: "PW";
142
+ readonly PA: "PA";
143
+ readonly PG: "PG";
144
+ readonly PY: "PY";
145
+ readonly PE: "PE";
146
+ readonly PH: "PH";
147
+ readonly PN: "PN";
148
+ readonly PL: "PL";
149
+ readonly PT: "PT";
150
+ readonly QA: "QA";
151
+ readonly RE: "RE";
152
+ readonly RO: "RO";
153
+ readonly RU: "RU";
154
+ readonly RW: "RW";
155
+ readonly WS: "WS";
156
+ readonly SM: "SM";
157
+ readonly ST: "ST";
158
+ readonly SA: "SA";
159
+ readonly SN: "SN";
160
+ readonly RS: "RS";
161
+ readonly SC: "SC";
162
+ readonly SL: "SL";
163
+ readonly SG: "SG";
164
+ readonly SK: "SK";
165
+ readonly SI: "SI";
166
+ readonly SB: "SB";
167
+ readonly SO: "SO";
168
+ readonly ZA: "ZA";
169
+ readonly KR: "KR";
170
+ readonly ES: "ES";
171
+ readonly LK: "LK";
172
+ readonly SH: "SH";
173
+ readonly KN: "KN";
174
+ readonly LC: "LC";
175
+ readonly PM: "PM";
176
+ readonly VC: "VC";
177
+ readonly SR: "SR";
178
+ readonly SJ: "SJ";
179
+ readonly SZ: "SZ";
180
+ readonly SE: "SE";
181
+ readonly CH: "CH";
182
+ readonly TW: "TW";
183
+ readonly TJ: "TJ";
184
+ readonly TZ: "TZ";
185
+ readonly TH: "TH";
186
+ readonly TG: "TG";
187
+ readonly TO: "TO";
188
+ readonly TT: "TT";
189
+ readonly TN: "TN";
190
+ readonly TM: "TM";
191
+ readonly TC: "TC";
192
+ readonly TV: "TV";
193
+ readonly TR: "TR";
194
+ readonly UG: "UG";
195
+ readonly UA: "UA";
196
+ readonly AE: "AE";
197
+ readonly GB: "GB";
198
+ readonly US: "US";
199
+ readonly UY: "UY";
200
+ readonly VU: "VU";
201
+ readonly VA: "VA";
202
+ readonly VE: "VE";
203
+ readonly VN: "VN";
204
+ readonly WF: "WF";
205
+ readonly YE: "YE";
206
+ readonly ZM: "ZM";
207
+ readonly ZW: "ZW";
208
+ };
209
+ /**
210
+ * **페이팔 V2 국가 코드**
211
+ */
212
+ export type PaypalV2Country = (typeof PaypalV2Country)[keyof typeof PaypalV2Country] | `COUNTRY_${(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
+ };
@@ -0,0 +1,9 @@
1
+ import type { PaypalV2PayerTaxInfo } from './PaypalV2PayerTaxInfo.js';
2
+ import type { PaypalV2PayerAddress } from './PaypalV2PayerAddress.js';
3
+ export type PaypalV2Payer = {
4
+ /**
5
+ * 구매자 정보
6
+ */
7
+ tax_info?: PaypalV2PayerTaxInfo | undefined;
8
+ address?: PaypalV2PayerAddress | undefined;
9
+ };
@@ -0,0 +1,18 @@
1
+ import { Country } from '../../Country.js';
2
+ export type PaypalV2PayerAddress = {
3
+ /**
4
+ * 구매자 주소지 정보
5
+ */
6
+ address_line_1?: string | undefined;
7
+ address_line_2?: string | undefined;
8
+ admin_area_1?: string | undefined;
9
+ admin_area_2?: string | undefined;
10
+ /**
11
+ * 우편번호
12
+ */
13
+ postal_code?: string | undefined;
14
+ /**
15
+ * 국가 코드
16
+ */
17
+ country_code: Country;
18
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 구매자 정보
3
+ */
4
+ export type PaypalV2PayerTaxInfo = {
5
+ /**
6
+ * 구매자 세금 정보 (브라질 구매자의 경우 필수 입력)
7
+ */
8
+ tax_id: string;
9
+ tax_id_type: string;
10
+ };
@@ -0,0 +1,7 @@
1
+ import type { PaypalV2PurchaseUnitShipping } from './PaypalV2PurchaseUnitShipping.js';
2
+ export type PaypalV2PurchaseUnit = {
3
+ /**
4
+ * 구매 상품 정보
5
+ */
6
+ shipping?: PaypalV2PurchaseUnitShipping | undefined;
7
+ };
@@ -0,0 +1,10 @@
1
+ import type { PaypalV2PurchaseUnitShippingAddress } from './PaypalV2PurchaseUnitShippingAddress.js';
2
+ /**
3
+ * 구매 상품 정보
4
+ */
5
+ export type PaypalV2PurchaseUnitShipping = {
6
+ /**
7
+ * 수령지 정보
8
+ */
9
+ address?: PaypalV2PurchaseUnitShippingAddress | undefined;
10
+ };
@@ -0,0 +1,21 @@
1
+ import { Country } from '../../Country.js';
2
+ /**
3
+ * 수령지 정보
4
+ */
5
+ export type PaypalV2PurchaseUnitShippingAddress = {
6
+ /**
7
+ * 수령지 주소. 미 입력 시 입력된 주소로 override되지 않음
8
+ */
9
+ address_line_1: string;
10
+ address_line_2?: string | undefined;
11
+ admin_area_1?: string | undefined;
12
+ /**
13
+ * 필수 입력. 미 입력 시 create order 실패
14
+ */
15
+ admin_area_2: string;
16
+ postal_code?: string | undefined;
17
+ /**
18
+ * 국가 코드
19
+ */
20
+ country_code: Country;
21
+ };
@@ -0,0 +1,37 @@
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
+ * SPB 버튼 렌더링에 필요한 파라미터
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
+ * label이 installment일 때 할부 결제 되는 월
31
+ */
32
+ period?: string | undefined;
33
+ /**
34
+ * 버튼 하위에 문구 노출 여부
35
+ */
36
+ tagline?: boolean | undefined;
37
+ };
@@ -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,13 @@
1
- import { PaypalV2LoadPaymentUIBypass } from './PaypalV2.js';
2
- export type LoadPaymentUIBypass = {
3
- paypal_v2?: PaypalV2LoadPaymentUIBypass;
4
- };
1
+ export * from './PaypalV2.js';
2
+ export * from './PaypalV2Style.js';
3
+ export * from './PaypalV2PurchaseUnit.js';
4
+ export * from './PaypalV2Payer.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';
10
+ export * from './PaypalV2PurchaseUnitShipping.js';
11
+ export * from './PaypalV2PayerTaxInfo.js';
12
+ export * from './PaypalV2PayerAddress.js';
13
+ export * from './PaypalV2PurchaseUnitShippingAddress.js';