@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
@@ -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';
@@ -1,43 +1,40 @@
1
+ import type { EximbayV2Payment } from './EximbayV2Payment.js';
2
+ import type { EximbayV2Merchant } from './EximbayV2Merchant.js';
3
+ import type { EximbayV2Tax } from './EximbayV2Tax.js';
4
+ import type { EximbayV2Surcharge } from './EximbayV2Surcharge.js';
5
+ import type { EximbayV2ShipTo } from './EximbayV2ShipTo.js';
6
+ import type { EximbayV2BillTo } from './EximbayV2BillTo.js';
7
+ import type { EximbayV2Settings } from './EximbayV2Settings.js';
8
+ /**
9
+ * 엑심베이 V2 bypass 파라미터
10
+ */
1
11
  export type EximbayV2Bypass = {
2
- payment?: {
3
- payment_method?: string;
4
- multi_payment_method?: string[];
5
- };
6
- merchant?: {
7
- shop?: string;
8
- partner_code?: string;
9
- };
10
- tax?: {
11
- receipt_status?: 'Y' | 'N';
12
- };
13
- surcharge?: {
14
- name?: string;
15
- quantity?: string;
16
- unit_price?: string;
17
- }[];
18
- ship_to?: {
19
- city?: string;
20
- country?: string;
21
- first_name?: string;
22
- last_name?: string;
23
- phone_number?: string;
24
- postal_code?: string;
25
- state?: string;
26
- street1?: string;
27
- };
28
- bill_to?: {
29
- city?: string;
30
- country?: string;
31
- first_name?: string;
32
- last_name?: string;
33
- phone_number?: string;
34
- postal_code?: string;
35
- state?: string;
36
- street1?: string;
37
- };
38
- settings?: {
39
- call_from_app?: 'Y' | 'N';
40
- issuer_country?: string;
41
- virtualaccount_expiry_date?: string;
42
- };
12
+ /**
13
+ * 결제 정보
14
+ */
15
+ payment?: EximbayV2Payment | undefined;
16
+ /**
17
+ * 상점 정보
18
+ */
19
+ merchant?: EximbayV2Merchant | undefined;
20
+ /**
21
+ * 세금 정보
22
+ */
23
+ tax?: EximbayV2Tax | undefined;
24
+ /**
25
+ * 최대 3개의 추가 비용 목록
26
+ */
27
+ surcharge?: EximbayV2Surcharge[] | undefined;
28
+ /**
29
+ * 배송지 정보
30
+ */
31
+ ship_to?: EximbayV2ShipTo | undefined;
32
+ /**
33
+ * 청구지 정보
34
+ */
35
+ bill_to?: EximbayV2BillTo | undefined;
36
+ /**
37
+ * 설정 정보
38
+ */
39
+ settings?: EximbayV2Settings | undefined;
43
40
  };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * 청구지 정보
3
+ */
4
+ export type EximbayV2BillTo = {
5
+ /**
6
+ * 청구지 도시
7
+ */
8
+ city?: string | undefined;
9
+ /**
10
+ * 청구지 국가 (ISO 3166 두 자리 국가 코드)
11
+ */
12
+ country?: string | undefined;
13
+ /**
14
+ * 청구 카드 명의자의 성을 제외한 이름
15
+ */
16
+ first_name?: string | undefined;
17
+ /**
18
+ * 청구 카드 명의자의 성
19
+ */
20
+ last_name?: string | undefined;
21
+ /**
22
+ * 청구 카드 명의자의 전화번호
23
+ */
24
+ phone_number?: string | undefined;
25
+ /**
26
+ * 청구지 우편번호
27
+ */
28
+ postal_code?: string | undefined;
29
+ /**
30
+ * 청구지가 미국 혹은 캐나다인 경우, 청구지 주 정보
31
+ */
32
+ state?: string | undefined;
33
+ /**
34
+ * 청구지 상세 주소
35
+ */
36
+ street1?: string | undefined;
37
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 상점 정보
3
+ */
4
+ export type EximbayV2Merchant = {
5
+ /**
6
+ * 상점명
7
+ */
8
+ shop?: string | undefined;
9
+ /**
10
+ * 파트너 코드
11
+ */
12
+ partner_code?: string | undefined;
13
+ };
@@ -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,18 @@
1
+ import { EximbayV2SettingsCallFromApp } from './EximbayV2SettingsCallFromApp.js';
2
+ /**
3
+ * 설정 정보
4
+ */
5
+ export type EximbayV2Settings = {
6
+ /**
7
+ * 인앱 웹뷰 여부
8
+ */
9
+ call_from_app?: EximbayV2SettingsCallFromApp | undefined;
10
+ /**
11
+ * 해외 결제 가맹점에서 국내 결제를 사용할 경우 `KR`
12
+ */
13
+ issuer_country?: string | undefined;
14
+ /**
15
+ * 입금 만료 일자 (yyyyMMddHH)
16
+ */
17
+ virtualaccount_expiry_date?: string | undefined;
18
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 인앱 웹뷰 여부
3
+ */
4
+ export declare const EximbayV2SettingsCallFromApp: {
5
+ readonly Y: "Y";
6
+ readonly N: "N";
7
+ };
8
+ /**
9
+ * 인앱 웹뷰 여부
10
+ */
11
+ export type EximbayV2SettingsCallFromApp = (typeof EximbayV2SettingsCallFromApp)[keyof typeof EximbayV2SettingsCallFromApp];
@@ -0,0 +1,37 @@
1
+ /**
2
+ * 배송지 정보
3
+ */
4
+ export type EximbayV2ShipTo = {
5
+ /**
6
+ * 배송지 도시
7
+ */
8
+ city?: string | undefined;
9
+ /**
10
+ * 배송지 국가 (ISO 3166 두 자리 국가 코드)
11
+ */
12
+ country?: string | undefined;
13
+ /**
14
+ * 수신인의 성을 제외한 이름
15
+ */
16
+ first_name?: string | undefined;
17
+ /**
18
+ * 수신인의 성
19
+ */
20
+ last_name?: string | undefined;
21
+ /**
22
+ * 수신인 전화번호
23
+ */
24
+ phone_number?: string | undefined;
25
+ /**
26
+ * 배송지 우편번호
27
+ */
28
+ postal_code?: string | undefined;
29
+ /**
30
+ * 배송지가 미국 혹은 캐나다인 경우, 배송지 주 정보
31
+ */
32
+ state?: string | undefined;
33
+ /**
34
+ * 배송지 상세 주소
35
+ */
36
+ street1?: string | undefined;
37
+ };
@@ -0,0 +1,14 @@
1
+ export type EximbayV2Surcharge = {
2
+ /**
3
+ * 항목명
4
+ */
5
+ name?: string | undefined;
6
+ /**
7
+ * 수량
8
+ */
9
+ quantity?: string | undefined;
10
+ /**
11
+ * 단가 (음수 가능)
12
+ */
13
+ unit_price?: string | undefined;
14
+ };
@@ -0,0 +1,10 @@
1
+ import { EximbayV2TaxReceiptStatus } from './EximbayV2TaxReceiptStatus.js';
2
+ /**
3
+ * 세금 정보
4
+ */
5
+ export type EximbayV2Tax = {
6
+ /**
7
+ * 현금영수증 발급 여부
8
+ */
9
+ receipt_status?: EximbayV2TaxReceiptStatus | undefined;
10
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 현금영수증 발급 여부
3
+ */
4
+ export declare const EximbayV2TaxReceiptStatus: {
5
+ readonly Y: "Y";
6
+ readonly N: "N";
7
+ };
8
+ /**
9
+ * 현금영수증 발급 여부
10
+ */
11
+ export type EximbayV2TaxReceiptStatus = (typeof EximbayV2TaxReceiptStatus)[keyof typeof EximbayV2TaxReceiptStatus];
@@ -1,3 +1,7 @@
1
+ import type { HyphenDesignCd } from './HyphenDesignCd.js';
2
+ /**
3
+ * 하이픈 bypass 파라미터
4
+ */
1
5
  export type HyphenBypass = {
2
- designCd?: string;
6
+ designCd?: HyphenDesignCd | undefined;
3
7
  };
@@ -0,0 +1 @@
1
+ export type HyphenDesignCd = string;
@@ -1,25 +1,10 @@
1
+ import type { InicisJpPaymentUI } from './InicisJpPaymentUI.js';
2
+ /**
3
+ * 이니시스 일본 bypass 파라미터
4
+ */
1
5
  export type InicisJpBypass = {
2
- paymentUI?: {
3
- /**
4
- * 결제창 색상
5
- * Allowed values
6
- * - "red1"
7
- * - "red2"
8
- * - "red3"
9
- * - "red4"
10
- * - "orange"
11
- * - "yellow"
12
- * - "black"
13
- * - "purple"
14
- * - "green"
15
- * - "blue1"
16
- * - "blue2":
17
- * - "blue3"
18
- * - "blue4"
19
- * - "blue5"
20
- * - "blue6"
21
- */
22
- colorTheme?: string;
23
- logoUrl?: string;
24
- };
6
+ /**
7
+ * 결제창 UI 설정
8
+ */
9
+ paymentUI?: InicisJpPaymentUI | undefined;
25
10
  };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * 결제창 UI 설정
3
+ */
4
+ export type InicisJpPaymentUI = {
5
+ /**
6
+ * **결제창 색상**
7
+ *
8
+ * 가능한 값:
9
+ *
10
+ * - `red1`
11
+ * - `red2`
12
+ * - `red3`
13
+ * - `red4`
14
+ * - `orange`
15
+ * - `yellow`
16
+ * - `black`
17
+ * - `purple`
18
+ * - `green`
19
+ * - `blue1`
20
+ * - `blue2`
21
+ * - `blue3`
22
+ * - `blue4`
23
+ * - `blue5`
24
+ * - `blue6`
25
+ */
26
+ colorTheme?: string | undefined;
27
+ /**
28
+ * **가맹점 로고 이미지 URL**
29
+ *
30
+ * 69 \* 20 픽셀 크기의 이미지 URL
31
+ */
32
+ logoUrl?: string | undefined;
33
+ };