react-native-tpay 0.3.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 (558) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +555 -0
  3. package/android/build.gradle +95 -0
  4. package/android/gradle.properties +5 -0
  5. package/android/src/main/AndroidManifest.xml +3 -0
  6. package/android/src/main/AndroidManifestNew.xml +2 -0
  7. package/android/src/main/java/com/tpay/TpayAmbiguousBLIKPaymentHandler.kt +21 -0
  8. package/android/src/main/java/com/tpay/TpayModule.kt +528 -0
  9. package/android/src/main/java/com/tpay/TpayPackage.kt +17 -0
  10. package/android/src/main/java/com/tpay/TpayResult.kt +12 -0
  11. package/android/src/main/java/com/tpay/TpayScreenlessPaymentHandler.kt +102 -0
  12. package/android/src/main/java/com/tpay/TpayScreenlessResult.kt +25 -0
  13. package/android/src/main/java/com/tpay/TpayScreenlessResultHandler.kt +121 -0
  14. package/android/src/main/java/com/tpay/delegate/AddCardDelegateImpl.kt +30 -0
  15. package/android/src/main/java/com/tpay/delegate/PaymentDelegateImpl.kt +33 -0
  16. package/android/src/main/java/com/tpay/extension/AmbiguousAlias+.kt +11 -0
  17. package/android/src/main/java/com/tpay/extension/BlikAlias+.kt +18 -0
  18. package/android/src/main/java/com/tpay/extension/CardTokenTransaction+.kt +19 -0
  19. package/android/src/main/java/com/tpay/extension/Exception.kt +3 -0
  20. package/android/src/main/java/com/tpay/extension/JSONObject+.kt +10 -0
  21. package/android/src/main/java/com/tpay/extension/PaymentChannel+.kt +22 -0
  22. package/android/src/main/java/com/tpay/extension/PaymentConstraint+.kt +24 -0
  23. package/android/src/main/java/com/tpay/extension/PaymentGroup+.kt +21 -0
  24. package/android/src/main/java/com/tpay/extension/SingleTransaction+.kt +14 -0
  25. package/android/src/main/java/com/tpay/extension/String+.kt +30 -0
  26. package/android/src/main/java/com/tpay/model/CertificateConfiguration.kt +20 -0
  27. package/android/src/main/java/com/tpay/model/Configuration.kt +5 -0
  28. package/android/src/main/java/com/tpay/model/ConfigurationMerchant.kt +33 -0
  29. package/android/src/main/java/com/tpay/model/Languages.kt +24 -0
  30. package/android/src/main/java/com/tpay/model/LocalizedString.kt +21 -0
  31. package/android/src/main/java/com/tpay/model/MerchantAuthorization.kt +20 -0
  32. package/android/src/main/java/com/tpay/model/MerchantDetails.kt +32 -0
  33. package/android/src/main/java/com/tpay/model/PaymentMethods.kt +90 -0
  34. package/android/src/main/java/com/tpay/model/TpayConfiguration.kt +50 -0
  35. package/android/src/main/java/com/tpay/model/WalletConfiguration.kt +14 -0
  36. package/android/src/main/java/com/tpay/model/googlePay/GooglePayConfiguration.kt +13 -0
  37. package/android/src/main/java/com/tpay/model/googlePay/GooglePayConfigureResult.kt +6 -0
  38. package/android/src/main/java/com/tpay/model/googlePay/GooglePayUtilsConfiguration.kt +57 -0
  39. package/android/src/main/java/com/tpay/model/screenless/AmbiguousBLIKAlias.kt +35 -0
  40. package/android/src/main/java/com/tpay/model/screenless/AmbiguousBLIKPayment.kt +26 -0
  41. package/android/src/main/java/com/tpay/model/screenless/BLIKScreenlessPayment.kt +28 -0
  42. package/android/src/main/java/com/tpay/model/screenless/CreditCardData.kt +10 -0
  43. package/android/src/main/java/com/tpay/model/screenless/CreditCardScreenlessPayment.kt +75 -0
  44. package/android/src/main/java/com/tpay/model/screenless/ExpirationDate.kt +22 -0
  45. package/android/src/main/java/com/tpay/model/screenless/GooglePayScreenlessPayment.kt +19 -0
  46. package/android/src/main/java/com/tpay/model/screenless/PaymentConstraintType.kt +5 -0
  47. package/android/src/main/java/com/tpay/model/screenless/RatyPekaoScreenlessPayment.kt +9 -0
  48. package/android/src/main/java/com/tpay/model/screenless/ScreenlessPayment.kt +87 -0
  49. package/android/src/main/java/com/tpay/model/screenless/TransferScreenlessPayment.kt +9 -0
  50. package/android/src/main/java/com/tpay/util/JsonUtil.kt +178 -0
  51. package/android/src/main/java/com/tpay/util/TpayBackpressUtil.kt +23 -0
  52. package/android/src/main/java/com/tpay/util/TpayUtil.kt +67 -0
  53. package/android/src/main/java/com/tpay/util/ValidationMessages.kt +19 -0
  54. package/ios/Source/Configuration/MerchantConfiguration.swift +120 -0
  55. package/ios/Source/Configuration/PaymentMethodConfiguration.swift +41 -0
  56. package/ios/Source/Configuration/TransactionConfiguration.swift +200 -0
  57. package/ios/Source/Extension/TPay+Setup.swift +32 -0
  58. package/ios/Source/Model/Domain/BankPayment.swift +12 -0
  59. package/ios/Source/Model/Domain/BlikPayment.swift +14 -0
  60. package/ios/Source/Model/Domain/CardPayment.swift +14 -0
  61. package/ios/Source/Model/Domain/ConfigurationResult.swift +98 -0
  62. package/ios/Source/Model/Domain/ContinuePayment.swift +10 -0
  63. package/ios/Source/Model/Domain/DigitalWalletPayment.swift +13 -0
  64. package/ios/Source/Model/Domain/PaymentChannelResult.swift +44 -0
  65. package/ios/Source/Model/Domain/ScreenlessResult.swift +67 -0
  66. package/ios/Source/Model/Domain/TokenisationData.swift +16 -0
  67. package/ios/Source/Model/Transportation/Transportation+AmbiguousAlias.swift +10 -0
  68. package/ios/Source/Model/Transportation/Transportation+Bank.swift +11 -0
  69. package/ios/Source/Model/Transportation/Transportation+BankPayment.swift +13 -0
  70. package/ios/Source/Model/Transportation/Transportation+BlikPayment+Alias.swift +9 -0
  71. package/ios/Source/Model/Transportation/Transportation+BlikPayment.swift +13 -0
  72. package/ios/Source/Model/Transportation/Transportation+Callbacks+Notifications.swift +10 -0
  73. package/ios/Source/Model/Transportation/Transportation+Callbacks+Redirects.swift +10 -0
  74. package/ios/Source/Model/Transportation/Transportation+Callbacks.swift +10 -0
  75. package/ios/Source/Model/Transportation/Transportation+CardDetails+Configuration.swift +9 -0
  76. package/ios/Source/Model/Transportation/Transportation+CardDetails+ExpiryDate.swift +10 -0
  77. package/ios/Source/Model/Transportation/Transportation+CardDetails.swift +12 -0
  78. package/ios/Source/Model/Transportation/Transportation+CardPayment.swift +13 -0
  79. package/ios/Source/Model/Transportation/Transportation+CardToken.swift +11 -0
  80. package/ios/Source/Model/Transportation/Transportation+ContinuePayment.swift +11 -0
  81. package/ios/Source/Model/Transportation/Transportation+DigitalWalletPayment.swift +12 -0
  82. package/ios/Source/Model/Transportation/Transportation+Environment.swift +23 -0
  83. package/ios/Source/Model/Transportation/Transportation+Languages.swift +10 -0
  84. package/ios/Source/Model/Transportation/Transportation+Merchant+Authorization.swift +10 -0
  85. package/ios/Source/Model/Transportation/Transportation+Merchant+CertificatePinning.swift +9 -0
  86. package/ios/Source/Model/Transportation/Transportation+Merchant+WalletConfiguration+ApplePay.swift +10 -0
  87. package/ios/Source/Model/Transportation/Transportation+Merchant+WalletConfiguration.swift +9 -0
  88. package/ios/Source/Model/Transportation/Transportation+Merchant.swift +13 -0
  89. package/ios/Source/Model/Transportation/Transportation+MerchantConfiguration.swift +12 -0
  90. package/ios/Source/Model/Transportation/Transportation+MerchantDetails+Detail.swift +10 -0
  91. package/ios/Source/Model/Transportation/Transportation+MerchantDetails.swift +11 -0
  92. package/ios/Source/Model/Transportation/Transportation+Payer+Address.swift +12 -0
  93. package/ios/Source/Model/Transportation/Transportation+Payer.swift +12 -0
  94. package/ios/Source/Model/Transportation/Transportation+PayerContext+AutomaticPaymentMethods+BlikAlias.swift +9 -0
  95. package/ios/Source/Model/Transportation/Transportation+PayerContext+AutomaticPaymentMethods.swift +10 -0
  96. package/ios/Source/Model/Transportation/Transportation+PayerContext.swift +10 -0
  97. package/ios/Source/Model/Transportation/Transportation+PaymentChannel.swift +21 -0
  98. package/ios/Source/Model/Transportation/Transportation+PaymentDetails.swift +10 -0
  99. package/ios/Source/Model/Transportation/Transportation+PaymentMethod.swift +47 -0
  100. package/ios/Source/Model/Transportation/Transportation+PaymentMethods.swift +11 -0
  101. package/ios/Source/Model/Transportation/Transportation+PaymentMethodsInfo.swift +12 -0
  102. package/ios/Source/Model/Transportation/Transportation+SingleTransaction.swift +11 -0
  103. package/ios/Source/Model/Transportation/Transportation+TokenPayment.swift +12 -0
  104. package/ios/Source/Model/Transportation/Transportation+Tokenisation.swift +12 -0
  105. package/ios/Source/Model/Transportation/Transportation.swift +3 -0
  106. package/ios/Source/Presentation/AddCardPresentation.swift +43 -0
  107. package/ios/Source/Presentation/CardTokenPresentation.swift +48 -0
  108. package/ios/Source/Presentation/PaymentPresentation.swift +48 -0
  109. package/ios/Source/Provider/DefaultMerchantDetailsProvider.swift +32 -0
  110. package/ios/Source/Provider/DefaultSSLCertificatesProvider.swift +14 -0
  111. package/ios/Source/TpaySDK.mm +35 -0
  112. package/ios/Source/TpaySDK.swift +324 -0
  113. package/ios/Tpay-Bridging-Header.h +2 -0
  114. package/lib/commonjs/assets/tpay_logo.png +0 -0
  115. package/lib/commonjs/assets/tpay_logo@2x.png +0 -0
  116. package/lib/commonjs/assets/tpay_logo@3x.png +0 -0
  117. package/lib/commonjs/component/tpay_button.js +38 -0
  118. package/lib/commonjs/component/tpay_button.js.map +1 -0
  119. package/lib/commonjs/index.js +856 -0
  120. package/lib/commonjs/index.js.map +1 -0
  121. package/lib/commonjs/model/language/language.js +12 -0
  122. package/lib/commonjs/model/language/language.js.map +1 -0
  123. package/lib/commonjs/model/language/languages.js +21 -0
  124. package/lib/commonjs/model/language/languages.js.map +1 -0
  125. package/lib/commonjs/model/language/localized_string.js +17 -0
  126. package/lib/commonjs/model/language/localized_string.js.map +1 -0
  127. package/lib/commonjs/model/merchant/apple_pay_configuration.js +22 -0
  128. package/lib/commonjs/model/merchant/apple_pay_configuration.js.map +1 -0
  129. package/lib/commonjs/model/merchant/certificate_configuration.js +20 -0
  130. package/lib/commonjs/model/merchant/certificate_configuration.js.map +1 -0
  131. package/lib/commonjs/model/merchant/google_pay_configuration.js +19 -0
  132. package/lib/commonjs/model/merchant/google_pay_configuration.js.map +1 -0
  133. package/lib/commonjs/model/merchant/merchant.js +27 -0
  134. package/lib/commonjs/model/merchant/merchant.js.map +1 -0
  135. package/lib/commonjs/model/merchant/merchant_authorization.js +21 -0
  136. package/lib/commonjs/model/merchant/merchant_authorization.js.map +1 -0
  137. package/lib/commonjs/model/merchant/merchant_details.js +23 -0
  138. package/lib/commonjs/model/merchant/merchant_details.js.map +1 -0
  139. package/lib/commonjs/model/merchant/tpay_environment.js +12 -0
  140. package/lib/commonjs/model/merchant/tpay_environment.js.map +1 -0
  141. package/lib/commonjs/model/merchant/wallet_configuration.js +21 -0
  142. package/lib/commonjs/model/merchant/wallet_configuration.js.map +1 -0
  143. package/lib/commonjs/model/payer/address.js +25 -0
  144. package/lib/commonjs/model/payer/address.js.map +1 -0
  145. package/lib/commonjs/model/payer/payer.js +25 -0
  146. package/lib/commonjs/model/payer/payer.js.map +1 -0
  147. package/lib/commonjs/model/payer/payer_context.js +21 -0
  148. package/lib/commonjs/model/payer/payer_context.js.map +1 -0
  149. package/lib/commonjs/model/payment_channel/payment_channel.js +35 -0
  150. package/lib/commonjs/model/payment_channel/payment_channel.js.map +1 -0
  151. package/lib/commonjs/model/payment_channel/payment_constraint.js +47 -0
  152. package/lib/commonjs/model/payment_channel/payment_constraint.js.map +1 -0
  153. package/lib/commonjs/model/payment_channel/payment_group.js +30 -0
  154. package/lib/commonjs/model/payment_channel/payment_group.js.map +1 -0
  155. package/lib/commonjs/model/payment_method/automatic_payment_methods.js +21 -0
  156. package/lib/commonjs/model/payment_method/automatic_payment_methods.js.map +1 -0
  157. package/lib/commonjs/model/payment_method/blik_alias.js +23 -0
  158. package/lib/commonjs/model/payment_method/blik_alias.js.map +1 -0
  159. package/lib/commonjs/model/payment_method/credit_card_brand.js +16 -0
  160. package/lib/commonjs/model/payment_method/credit_card_brand.js.map +1 -0
  161. package/lib/commonjs/model/payment_method/digital_wallet.js +15 -0
  162. package/lib/commonjs/model/payment_method/digital_wallet.js.map +1 -0
  163. package/lib/commonjs/model/payment_method/installment_payment.js +14 -0
  164. package/lib/commonjs/model/payment_method/installment_payment.js.map +1 -0
  165. package/lib/commonjs/model/payment_method/payment_method.js +16 -0
  166. package/lib/commonjs/model/payment_method/payment_method.js.map +1 -0
  167. package/lib/commonjs/model/payment_method/payment_methods.js +23 -0
  168. package/lib/commonjs/model/payment_method/payment_methods.js.map +1 -0
  169. package/lib/commonjs/model/payment_method/tokenized_card.js +23 -0
  170. package/lib/commonjs/model/payment_method/tokenized_card.js.map +1 -0
  171. package/lib/commonjs/model/result/google_pay_configure_result.js +33 -0
  172. package/lib/commonjs/model/result/google_pay_configure_result.js.map +1 -0
  173. package/lib/commonjs/model/result/google_pay_open_result.js +61 -0
  174. package/lib/commonjs/model/result/google_pay_open_result.js.map +1 -0
  175. package/lib/commonjs/model/result/payment_channels_result.js +42 -0
  176. package/lib/commonjs/model/result/payment_channels_result.js.map +1 -0
  177. package/lib/commonjs/model/result/result.js +96 -0
  178. package/lib/commonjs/model/result/result.js.map +1 -0
  179. package/lib/commonjs/model/result/screenless_result.js +141 -0
  180. package/lib/commonjs/model/result/screenless_result.js.map +1 -0
  181. package/lib/commonjs/model/screenless/ambiguous_alias.js +25 -0
  182. package/lib/commonjs/model/screenless/ambiguous_alias.js.map +1 -0
  183. package/lib/commonjs/model/screenless/ambiguous_blik_payment.js +23 -0
  184. package/lib/commonjs/model/screenless/ambiguous_blik_payment.js.map +1 -0
  185. package/lib/commonjs/model/screenless/apple_pay_payment.js +21 -0
  186. package/lib/commonjs/model/screenless/apple_pay_payment.js.map +1 -0
  187. package/lib/commonjs/model/screenless/blik_payment.js +26 -0
  188. package/lib/commonjs/model/screenless/blik_payment.js.map +1 -0
  189. package/lib/commonjs/model/screenless/callbacks.js +21 -0
  190. package/lib/commonjs/model/screenless/callbacks.js.map +1 -0
  191. package/lib/commonjs/model/screenless/credit_card.js +25 -0
  192. package/lib/commonjs/model/screenless/credit_card.js.map +1 -0
  193. package/lib/commonjs/model/screenless/credit_card_config.js +22 -0
  194. package/lib/commonjs/model/screenless/credit_card_config.js.map +1 -0
  195. package/lib/commonjs/model/screenless/credit_card_payment.js +26 -0
  196. package/lib/commonjs/model/screenless/credit_card_payment.js.map +1 -0
  197. package/lib/commonjs/model/screenless/expiration_date.js +21 -0
  198. package/lib/commonjs/model/screenless/expiration_date.js.map +1 -0
  199. package/lib/commonjs/model/screenless/frequency.js +18 -0
  200. package/lib/commonjs/model/screenless/frequency.js.map +1 -0
  201. package/lib/commonjs/model/screenless/google_pay_environment.js +15 -0
  202. package/lib/commonjs/model/screenless/google_pay_environment.js.map +1 -0
  203. package/lib/commonjs/model/screenless/google_pay_payment.js +21 -0
  204. package/lib/commonjs/model/screenless/google_pay_payment.js.map +1 -0
  205. package/lib/commonjs/model/screenless/google_pay_utils_configuration.js +27 -0
  206. package/lib/commonjs/model/screenless/google_pay_utils_configuration.js.map +1 -0
  207. package/lib/commonjs/model/screenless/notifications.js +21 -0
  208. package/lib/commonjs/model/screenless/notifications.js.map +1 -0
  209. package/lib/commonjs/model/screenless/payment_details.js +25 -0
  210. package/lib/commonjs/model/screenless/payment_details.js.map +1 -0
  211. package/lib/commonjs/model/screenless/raty_pekao_payment.js +21 -0
  212. package/lib/commonjs/model/screenless/raty_pekao_payment.js.map +1 -0
  213. package/lib/commonjs/model/screenless/recursive.js +23 -0
  214. package/lib/commonjs/model/screenless/recursive.js.map +1 -0
  215. package/lib/commonjs/model/screenless/redirects.js +21 -0
  216. package/lib/commonjs/model/screenless/redirects.js.map +1 -0
  217. package/lib/commonjs/model/screenless/screenless_payment.js +23 -0
  218. package/lib/commonjs/model/screenless/screenless_payment.js.map +1 -0
  219. package/lib/commonjs/model/screenless/transfer_payment.js +21 -0
  220. package/lib/commonjs/model/screenless/transfer_payment.js.map +1 -0
  221. package/lib/commonjs/model/tokenization/tokenization.js +21 -0
  222. package/lib/commonjs/model/tokenization/tokenization.js.map +1 -0
  223. package/lib/commonjs/model/tpay_configuration.js +25 -0
  224. package/lib/commonjs/model/tpay_configuration.js.map +1 -0
  225. package/lib/commonjs/model/transaction/single_transaction.js +24 -0
  226. package/lib/commonjs/model/transaction/single_transaction.js.map +1 -0
  227. package/lib/commonjs/model/transaction/token_payment.js +26 -0
  228. package/lib/commonjs/model/transaction/token_payment.js.map +1 -0
  229. package/lib/commonjs/model/transaction/transaction.js +23 -0
  230. package/lib/commonjs/model/transaction/transaction.js.map +1 -0
  231. package/lib/commonjs/util/google_pay_configuration_util.js +22 -0
  232. package/lib/commonjs/util/google_pay_configuration_util.js.map +1 -0
  233. package/lib/commonjs/util/google_pay_open_util.js +24 -0
  234. package/lib/commonjs/util/google_pay_open_util.js.map +1 -0
  235. package/lib/commonjs/util/payment_channels_util.js +22 -0
  236. package/lib/commonjs/util/payment_channels_util.js.map +1 -0
  237. package/lib/commonjs/util/result_util.js +40 -0
  238. package/lib/commonjs/util/result_util.js.map +1 -0
  239. package/lib/commonjs/util/screenless_result_util.js +38 -0
  240. package/lib/commonjs/util/screenless_result_util.js.map +1 -0
  241. package/lib/module/assets/tpay_logo.png +0 -0
  242. package/lib/module/assets/tpay_logo@2x.png +0 -0
  243. package/lib/module/assets/tpay_logo@3x.png +0 -0
  244. package/lib/module/component/tpay_button.js +31 -0
  245. package/lib/module/component/tpay_button.js.map +1 -0
  246. package/lib/module/index.js +204 -0
  247. package/lib/module/index.js.map +1 -0
  248. package/lib/module/model/language/language.js +6 -0
  249. package/lib/module/model/language/language.js.map +1 -0
  250. package/lib/module/model/language/languages.js +14 -0
  251. package/lib/module/model/language/languages.js.map +1 -0
  252. package/lib/module/model/language/localized_string.js +10 -0
  253. package/lib/module/model/language/localized_string.js.map +1 -0
  254. package/lib/module/model/merchant/apple_pay_configuration.js +15 -0
  255. package/lib/module/model/merchant/apple_pay_configuration.js.map +1 -0
  256. package/lib/module/model/merchant/certificate_configuration.js +13 -0
  257. package/lib/module/model/merchant/certificate_configuration.js.map +1 -0
  258. package/lib/module/model/merchant/google_pay_configuration.js +12 -0
  259. package/lib/module/model/merchant/google_pay_configuration.js.map +1 -0
  260. package/lib/module/model/merchant/merchant.js +20 -0
  261. package/lib/module/model/merchant/merchant.js.map +1 -0
  262. package/lib/module/model/merchant/merchant_authorization.js +14 -0
  263. package/lib/module/model/merchant/merchant_authorization.js.map +1 -0
  264. package/lib/module/model/merchant/merchant_details.js +16 -0
  265. package/lib/module/model/merchant/merchant_details.js.map +1 -0
  266. package/lib/module/model/merchant/tpay_environment.js +6 -0
  267. package/lib/module/model/merchant/tpay_environment.js.map +1 -0
  268. package/lib/module/model/merchant/wallet_configuration.js +14 -0
  269. package/lib/module/model/merchant/wallet_configuration.js.map +1 -0
  270. package/lib/module/model/payer/address.js +18 -0
  271. package/lib/module/model/payer/address.js.map +1 -0
  272. package/lib/module/model/payer/payer.js +18 -0
  273. package/lib/module/model/payer/payer.js.map +1 -0
  274. package/lib/module/model/payer/payer_context.js +14 -0
  275. package/lib/module/model/payer/payer_context.js.map +1 -0
  276. package/lib/module/model/payment_channel/payment_channel.js +28 -0
  277. package/lib/module/model/payment_channel/payment_channel.js.map +1 -0
  278. package/lib/module/model/payment_channel/payment_constraint.js +40 -0
  279. package/lib/module/model/payment_channel/payment_constraint.js.map +1 -0
  280. package/lib/module/model/payment_channel/payment_group.js +23 -0
  281. package/lib/module/model/payment_channel/payment_group.js.map +1 -0
  282. package/lib/module/model/payment_method/automatic_payment_methods.js +14 -0
  283. package/lib/module/model/payment_method/automatic_payment_methods.js.map +1 -0
  284. package/lib/module/model/payment_method/blik_alias.js +16 -0
  285. package/lib/module/model/payment_method/blik_alias.js.map +1 -0
  286. package/lib/module/model/payment_method/credit_card_brand.js +10 -0
  287. package/lib/module/model/payment_method/credit_card_brand.js.map +1 -0
  288. package/lib/module/model/payment_method/digital_wallet.js +9 -0
  289. package/lib/module/model/payment_method/digital_wallet.js.map +1 -0
  290. package/lib/module/model/payment_method/installment_payment.js +8 -0
  291. package/lib/module/model/payment_method/installment_payment.js.map +1 -0
  292. package/lib/module/model/payment_method/payment_method.js +10 -0
  293. package/lib/module/model/payment_method/payment_method.js.map +1 -0
  294. package/lib/module/model/payment_method/payment_methods.js +16 -0
  295. package/lib/module/model/payment_method/payment_methods.js.map +1 -0
  296. package/lib/module/model/payment_method/tokenized_card.js +16 -0
  297. package/lib/module/model/payment_method/tokenized_card.js.map +1 -0
  298. package/lib/module/model/result/google_pay_configure_result.js +24 -0
  299. package/lib/module/model/result/google_pay_configure_result.js.map +1 -0
  300. package/lib/module/model/result/google_pay_open_result.js +50 -0
  301. package/lib/module/model/result/google_pay_open_result.js.map +1 -0
  302. package/lib/module/model/result/payment_channels_result.js +33 -0
  303. package/lib/module/model/result/payment_channels_result.js.map +1 -0
  304. package/lib/module/model/result/result.js +81 -0
  305. package/lib/module/model/result/result.js.map +1 -0
  306. package/lib/module/model/result/screenless_result.js +127 -0
  307. package/lib/module/model/result/screenless_result.js.map +1 -0
  308. package/lib/module/model/screenless/ambiguous_alias.js +18 -0
  309. package/lib/module/model/screenless/ambiguous_alias.js.map +1 -0
  310. package/lib/module/model/screenless/ambiguous_blik_payment.js +16 -0
  311. package/lib/module/model/screenless/ambiguous_blik_payment.js.map +1 -0
  312. package/lib/module/model/screenless/apple_pay_payment.js +15 -0
  313. package/lib/module/model/screenless/apple_pay_payment.js.map +1 -0
  314. package/lib/module/model/screenless/blik_payment.js +20 -0
  315. package/lib/module/model/screenless/blik_payment.js.map +1 -0
  316. package/lib/module/model/screenless/callbacks.js +14 -0
  317. package/lib/module/model/screenless/callbacks.js.map +1 -0
  318. package/lib/module/model/screenless/credit_card.js +18 -0
  319. package/lib/module/model/screenless/credit_card.js.map +1 -0
  320. package/lib/module/model/screenless/credit_card_config.js +15 -0
  321. package/lib/module/model/screenless/credit_card_config.js.map +1 -0
  322. package/lib/module/model/screenless/credit_card_payment.js +20 -0
  323. package/lib/module/model/screenless/credit_card_payment.js.map +1 -0
  324. package/lib/module/model/screenless/expiration_date.js +14 -0
  325. package/lib/module/model/screenless/expiration_date.js.map +1 -0
  326. package/lib/module/model/screenless/frequency.js +12 -0
  327. package/lib/module/model/screenless/frequency.js.map +1 -0
  328. package/lib/module/model/screenless/google_pay_environment.js +9 -0
  329. package/lib/module/model/screenless/google_pay_environment.js.map +1 -0
  330. package/lib/module/model/screenless/google_pay_payment.js +15 -0
  331. package/lib/module/model/screenless/google_pay_payment.js.map +1 -0
  332. package/lib/module/model/screenless/google_pay_utils_configuration.js +20 -0
  333. package/lib/module/model/screenless/google_pay_utils_configuration.js.map +1 -0
  334. package/lib/module/model/screenless/notifications.js +14 -0
  335. package/lib/module/model/screenless/notifications.js.map +1 -0
  336. package/lib/module/model/screenless/payment_details.js +18 -0
  337. package/lib/module/model/screenless/payment_details.js.map +1 -0
  338. package/lib/module/model/screenless/raty_pekao_payment.js +15 -0
  339. package/lib/module/model/screenless/raty_pekao_payment.js.map +1 -0
  340. package/lib/module/model/screenless/recursive.js +16 -0
  341. package/lib/module/model/screenless/recursive.js.map +1 -0
  342. package/lib/module/model/screenless/redirects.js +14 -0
  343. package/lib/module/model/screenless/redirects.js.map +1 -0
  344. package/lib/module/model/screenless/screenless_payment.js +16 -0
  345. package/lib/module/model/screenless/screenless_payment.js.map +1 -0
  346. package/lib/module/model/screenless/transfer_payment.js +15 -0
  347. package/lib/module/model/screenless/transfer_payment.js.map +1 -0
  348. package/lib/module/model/tokenization/tokenization.js +14 -0
  349. package/lib/module/model/tokenization/tokenization.js.map +1 -0
  350. package/lib/module/model/tpay_configuration.js +18 -0
  351. package/lib/module/model/tpay_configuration.js.map +1 -0
  352. package/lib/module/model/transaction/single_transaction.js +18 -0
  353. package/lib/module/model/transaction/single_transaction.js.map +1 -0
  354. package/lib/module/model/transaction/token_payment.js +20 -0
  355. package/lib/module/model/transaction/token_payment.js.map +1 -0
  356. package/lib/module/model/transaction/transaction.js +16 -0
  357. package/lib/module/model/transaction/transaction.js.map +1 -0
  358. package/lib/module/util/google_pay_configuration_util.js +16 -0
  359. package/lib/module/util/google_pay_configuration_util.js.map +1 -0
  360. package/lib/module/util/google_pay_open_util.js +18 -0
  361. package/lib/module/util/google_pay_open_util.js.map +1 -0
  362. package/lib/module/util/payment_channels_util.js +16 -0
  363. package/lib/module/util/payment_channels_util.js.map +1 -0
  364. package/lib/module/util/result_util.js +41 -0
  365. package/lib/module/util/result_util.js.map +1 -0
  366. package/lib/module/util/screenless_result_util.js +32 -0
  367. package/lib/module/util/screenless_result_util.js.map +1 -0
  368. package/lib/typescript/src/component/tpay_button.d.ts +13 -0
  369. package/lib/typescript/src/component/tpay_button.d.ts.map +1 -0
  370. package/lib/typescript/src/index.d.ts +147 -0
  371. package/lib/typescript/src/index.d.ts.map +1 -0
  372. package/lib/typescript/src/model/language/language.d.ts +5 -0
  373. package/lib/typescript/src/model/language/language.d.ts.map +1 -0
  374. package/lib/typescript/src/model/language/languages.d.ts +14 -0
  375. package/lib/typescript/src/model/language/languages.d.ts.map +1 -0
  376. package/lib/typescript/src/model/language/localized_string.d.ts +10 -0
  377. package/lib/typescript/src/model/language/localized_string.d.ts.map +1 -0
  378. package/lib/typescript/src/model/merchant/apple_pay_configuration.d.ts +14 -0
  379. package/lib/typescript/src/model/merchant/apple_pay_configuration.d.ts.map +1 -0
  380. package/lib/typescript/src/model/merchant/certificate_configuration.d.ts +12 -0
  381. package/lib/typescript/src/model/merchant/certificate_configuration.d.ts.map +1 -0
  382. package/lib/typescript/src/model/merchant/google_pay_configuration.d.ts +11 -0
  383. package/lib/typescript/src/model/merchant/google_pay_configuration.d.ts.map +1 -0
  384. package/lib/typescript/src/model/merchant/merchant.d.ts +23 -0
  385. package/lib/typescript/src/model/merchant/merchant.d.ts.map +1 -0
  386. package/lib/typescript/src/model/merchant/merchant_authorization.d.ts +13 -0
  387. package/lib/typescript/src/model/merchant/merchant_authorization.d.ts.map +1 -0
  388. package/lib/typescript/src/model/merchant/merchant_details.d.ts +16 -0
  389. package/lib/typescript/src/model/merchant/merchant_details.d.ts.map +1 -0
  390. package/lib/typescript/src/model/merchant/tpay_environment.d.ts +5 -0
  391. package/lib/typescript/src/model/merchant/tpay_environment.d.ts.map +1 -0
  392. package/lib/typescript/src/model/merchant/wallet_configuration.d.ts +15 -0
  393. package/lib/typescript/src/model/merchant/wallet_configuration.d.ts.map +1 -0
  394. package/lib/typescript/src/model/payer/address.d.ts +17 -0
  395. package/lib/typescript/src/model/payer/address.d.ts.map +1 -0
  396. package/lib/typescript/src/model/payer/payer.d.ts +18 -0
  397. package/lib/typescript/src/model/payer/payer.d.ts.map +1 -0
  398. package/lib/typescript/src/model/payer/payer_context.d.ts +15 -0
  399. package/lib/typescript/src/model/payer/payer_context.d.ts.map +1 -0
  400. package/lib/typescript/src/model/payment_channel/payment_channel.d.ts +24 -0
  401. package/lib/typescript/src/model/payment_channel/payment_channel.d.ts.map +1 -0
  402. package/lib/typescript/src/model/payment_channel/payment_constraint.d.ts +31 -0
  403. package/lib/typescript/src/model/payment_channel/payment_constraint.d.ts.map +1 -0
  404. package/lib/typescript/src/model/payment_channel/payment_group.d.ts +19 -0
  405. package/lib/typescript/src/model/payment_channel/payment_group.d.ts.map +1 -0
  406. package/lib/typescript/src/model/payment_method/automatic_payment_methods.d.ts +15 -0
  407. package/lib/typescript/src/model/payment_method/automatic_payment_methods.d.ts.map +1 -0
  408. package/lib/typescript/src/model/payment_method/blik_alias.d.ts +15 -0
  409. package/lib/typescript/src/model/payment_method/blik_alias.d.ts.map +1 -0
  410. package/lib/typescript/src/model/payment_method/credit_card_brand.d.ts +9 -0
  411. package/lib/typescript/src/model/payment_method/credit_card_brand.d.ts.map +1 -0
  412. package/lib/typescript/src/model/payment_method/digital_wallet.d.ts +8 -0
  413. package/lib/typescript/src/model/payment_method/digital_wallet.d.ts.map +1 -0
  414. package/lib/typescript/src/model/payment_method/installment_payment.d.ts +7 -0
  415. package/lib/typescript/src/model/payment_method/installment_payment.d.ts.map +1 -0
  416. package/lib/typescript/src/model/payment_method/payment_method.d.ts +9 -0
  417. package/lib/typescript/src/model/payment_method/payment_method.d.ts.map +1 -0
  418. package/lib/typescript/src/model/payment_method/payment_methods.d.ts +18 -0
  419. package/lib/typescript/src/model/payment_method/payment_methods.d.ts.map +1 -0
  420. package/lib/typescript/src/model/payment_method/tokenized_card.d.ts +16 -0
  421. package/lib/typescript/src/model/payment_method/tokenized_card.d.ts.map +1 -0
  422. package/lib/typescript/src/model/result/google_pay_configure_result.d.ts +21 -0
  423. package/lib/typescript/src/model/result/google_pay_configure_result.d.ts.map +1 -0
  424. package/lib/typescript/src/model/result/google_pay_open_result.d.ts +44 -0
  425. package/lib/typescript/src/model/result/google_pay_open_result.d.ts.map +1 -0
  426. package/lib/typescript/src/model/result/payment_channels_result.d.ts +27 -0
  427. package/lib/typescript/src/model/result/payment_channels_result.d.ts.map +1 -0
  428. package/lib/typescript/src/model/result/result.d.ts +66 -0
  429. package/lib/typescript/src/model/result/result.d.ts.map +1 -0
  430. package/lib/typescript/src/model/result/screenless_result.d.ts +98 -0
  431. package/lib/typescript/src/model/result/screenless_result.d.ts.map +1 -0
  432. package/lib/typescript/src/model/screenless/ambiguous_alias.d.ts +15 -0
  433. package/lib/typescript/src/model/screenless/ambiguous_alias.d.ts.map +1 -0
  434. package/lib/typescript/src/model/screenless/ambiguous_blik_payment.d.ts +17 -0
  435. package/lib/typescript/src/model/screenless/ambiguous_blik_payment.d.ts.map +1 -0
  436. package/lib/typescript/src/model/screenless/apple_pay_payment.d.ts +15 -0
  437. package/lib/typescript/src/model/screenless/apple_pay_payment.d.ts.map +1 -0
  438. package/lib/typescript/src/model/screenless/blik_payment.d.ts +21 -0
  439. package/lib/typescript/src/model/screenless/blik_payment.d.ts.map +1 -0
  440. package/lib/typescript/src/model/screenless/callbacks.d.ts +15 -0
  441. package/lib/typescript/src/model/screenless/callbacks.d.ts.map +1 -0
  442. package/lib/typescript/src/model/screenless/credit_card.d.ts +19 -0
  443. package/lib/typescript/src/model/screenless/credit_card.d.ts.map +1 -0
  444. package/lib/typescript/src/model/screenless/credit_card_config.d.ts +14 -0
  445. package/lib/typescript/src/model/screenless/credit_card_config.d.ts.map +1 -0
  446. package/lib/typescript/src/model/screenless/credit_card_payment.d.ts +21 -0
  447. package/lib/typescript/src/model/screenless/credit_card_payment.d.ts.map +1 -0
  448. package/lib/typescript/src/model/screenless/expiration_date.d.ts +13 -0
  449. package/lib/typescript/src/model/screenless/expiration_date.d.ts.map +1 -0
  450. package/lib/typescript/src/model/screenless/frequency.d.ts +11 -0
  451. package/lib/typescript/src/model/screenless/frequency.d.ts.map +1 -0
  452. package/lib/typescript/src/model/screenless/google_pay_environment.d.ts +8 -0
  453. package/lib/typescript/src/model/screenless/google_pay_environment.d.ts.map +1 -0
  454. package/lib/typescript/src/model/screenless/google_pay_payment.d.ts +15 -0
  455. package/lib/typescript/src/model/screenless/google_pay_payment.d.ts.map +1 -0
  456. package/lib/typescript/src/model/screenless/google_pay_utils_configuration.d.ts +20 -0
  457. package/lib/typescript/src/model/screenless/google_pay_utils_configuration.d.ts.map +1 -0
  458. package/lib/typescript/src/model/screenless/notifications.d.ts +13 -0
  459. package/lib/typescript/src/model/screenless/notifications.d.ts.map +1 -0
  460. package/lib/typescript/src/model/screenless/payment_details.d.ts +18 -0
  461. package/lib/typescript/src/model/screenless/payment_details.d.ts.map +1 -0
  462. package/lib/typescript/src/model/screenless/raty_pekao_payment.d.ts +15 -0
  463. package/lib/typescript/src/model/screenless/raty_pekao_payment.d.ts.map +1 -0
  464. package/lib/typescript/src/model/screenless/recursive.d.ts +16 -0
  465. package/lib/typescript/src/model/screenless/recursive.d.ts.map +1 -0
  466. package/lib/typescript/src/model/screenless/redirects.d.ts +13 -0
  467. package/lib/typescript/src/model/screenless/redirects.d.ts.map +1 -0
  468. package/lib/typescript/src/model/screenless/screenless_payment.d.ts +18 -0
  469. package/lib/typescript/src/model/screenless/screenless_payment.d.ts.map +1 -0
  470. package/lib/typescript/src/model/screenless/transfer_payment.d.ts +15 -0
  471. package/lib/typescript/src/model/screenless/transfer_payment.d.ts.map +1 -0
  472. package/lib/typescript/src/model/tokenization/tokenization.d.ts +14 -0
  473. package/lib/typescript/src/model/tokenization/tokenization.d.ts.map +1 -0
  474. package/lib/typescript/src/model/tpay_configuration.d.ts +21 -0
  475. package/lib/typescript/src/model/tpay_configuration.d.ts.map +1 -0
  476. package/lib/typescript/src/model/transaction/single_transaction.d.ts +17 -0
  477. package/lib/typescript/src/model/transaction/single_transaction.d.ts.map +1 -0
  478. package/lib/typescript/src/model/transaction/token_payment.d.ts +19 -0
  479. package/lib/typescript/src/model/transaction/token_payment.d.ts.map +1 -0
  480. package/lib/typescript/src/model/transaction/transaction.d.ts +16 -0
  481. package/lib/typescript/src/model/transaction/transaction.d.ts.map +1 -0
  482. package/lib/typescript/src/util/google_pay_configuration_util.d.ts +3 -0
  483. package/lib/typescript/src/util/google_pay_configuration_util.d.ts.map +1 -0
  484. package/lib/typescript/src/util/google_pay_open_util.d.ts +3 -0
  485. package/lib/typescript/src/util/google_pay_open_util.d.ts.map +1 -0
  486. package/lib/typescript/src/util/payment_channels_util.d.ts +3 -0
  487. package/lib/typescript/src/util/payment_channels_util.d.ts.map +1 -0
  488. package/lib/typescript/src/util/result_util.d.ts +3 -0
  489. package/lib/typescript/src/util/result_util.d.ts.map +1 -0
  490. package/lib/typescript/src/util/screenless_result_util.d.ts +3 -0
  491. package/lib/typescript/src/util/screenless_result_util.d.ts.map +1 -0
  492. package/package.json +164 -0
  493. package/react-native-tpay.podspec +42 -0
  494. package/src/assets/tpay_logo.png +0 -0
  495. package/src/assets/tpay_logo@2x.png +0 -0
  496. package/src/assets/tpay_logo@3x.png +0 -0
  497. package/src/component/tpay_button.tsx +44 -0
  498. package/src/index.tsx +267 -0
  499. package/src/model/language/language.ts +4 -0
  500. package/src/model/language/languages.ts +21 -0
  501. package/src/model/language/localized_string.ts +14 -0
  502. package/src/model/merchant/apple_pay_configuration.ts +17 -0
  503. package/src/model/merchant/certificate_configuration.ts +15 -0
  504. package/src/model/merchant/google_pay_configuration.ts +13 -0
  505. package/src/model/merchant/merchant.ts +36 -0
  506. package/src/model/merchant/merchant_authorization.ts +16 -0
  507. package/src/model/merchant/merchant_details.ts +25 -0
  508. package/src/model/merchant/tpay_environment.ts +4 -0
  509. package/src/model/merchant/wallet_configuration.ts +22 -0
  510. package/src/model/payer/address.ts +27 -0
  511. package/src/model/payer/payer.ts +29 -0
  512. package/src/model/payer/payer_context.ts +22 -0
  513. package/src/model/payment_channel/payment_channel.ts +38 -0
  514. package/src/model/payment_channel/payment_constraint.ts +41 -0
  515. package/src/model/payment_channel/payment_group.ts +25 -0
  516. package/src/model/payment_method/automatic_payment_methods.ts +22 -0
  517. package/src/model/payment_method/blik_alias.ts +19 -0
  518. package/src/model/payment_method/credit_card_brand.ts +8 -0
  519. package/src/model/payment_method/digital_wallet.ts +7 -0
  520. package/src/model/payment_method/installment_payment.ts +6 -0
  521. package/src/model/payment_method/payment_method.ts +8 -0
  522. package/src/model/payment_method/payment_methods.ts +27 -0
  523. package/src/model/payment_method/tokenized_card.ts +21 -0
  524. package/src/model/result/google_pay_configure_result.ts +25 -0
  525. package/src/model/result/google_pay_open_result.ts +58 -0
  526. package/src/model/result/payment_channels_result.ts +36 -0
  527. package/src/model/result/result.ts +84 -0
  528. package/src/model/result/screenless_result.ts +138 -0
  529. package/src/model/screenless/ambiguous_alias.ts +19 -0
  530. package/src/model/screenless/ambiguous_blik_payment.ts +26 -0
  531. package/src/model/screenless/apple_pay_payment.ts +24 -0
  532. package/src/model/screenless/blik_payment.ts +32 -0
  533. package/src/model/screenless/callbacks.ts +22 -0
  534. package/src/model/screenless/credit_card.ts +30 -0
  535. package/src/model/screenless/credit_card_config.ts +18 -0
  536. package/src/model/screenless/credit_card_payment.ts +32 -0
  537. package/src/model/screenless/expiration_date.ts +16 -0
  538. package/src/model/screenless/frequency.ts +10 -0
  539. package/src/model/screenless/google_pay_environment.ts +7 -0
  540. package/src/model/screenless/google_pay_payment.ts +24 -0
  541. package/src/model/screenless/google_pay_utils_configuration.ts +33 -0
  542. package/src/model/screenless/notifications.ts +16 -0
  543. package/src/model/screenless/payment_details.ts +29 -0
  544. package/src/model/screenless/raty_pekao_payment.ts +24 -0
  545. package/src/model/screenless/recursive.ts +21 -0
  546. package/src/model/screenless/redirects.ts +16 -0
  547. package/src/model/screenless/screenless_payment.ts +27 -0
  548. package/src/model/screenless/transfer_payment.ts +24 -0
  549. package/src/model/tokenization/tokenization.ts +18 -0
  550. package/src/model/tpay_configuration.ts +32 -0
  551. package/src/model/transaction/single_transaction.ts +26 -0
  552. package/src/model/transaction/token_payment.ts +30 -0
  553. package/src/model/transaction/transaction.ts +25 -0
  554. package/src/util/google_pay_configuration_util.ts +25 -0
  555. package/src/util/google_pay_open_util.ts +31 -0
  556. package/src/util/payment_channels_util.ts +22 -0
  557. package/src/util/result_util.ts +44 -0
  558. package/src/util/screenless_result_util.ts +50 -0
@@ -0,0 +1,856 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ configure: true,
8
+ startPayment: true,
9
+ tokenizeCard: true,
10
+ startCardTokenPayment: true,
11
+ screenlessBLIKPayment: true,
12
+ screenlessAmbiguousBLIKPayment: true,
13
+ screenlessTransferPayment: true,
14
+ screenlessRatyPekaoPayment: true,
15
+ screenlessCreditCardPayment: true,
16
+ screenlessGooglePayPayment: true,
17
+ screenlessApplePayPayment: true,
18
+ configureGooglePayUtils: true,
19
+ isGooglePayAvailable: true,
20
+ openGooglePay: true,
21
+ getAvailablePaymentChannels: true
22
+ };
23
+ exports.configure = configure;
24
+ exports.configureGooglePayUtils = configureGooglePayUtils;
25
+ exports.getAvailablePaymentChannels = getAvailablePaymentChannels;
26
+ exports.isGooglePayAvailable = isGooglePayAvailable;
27
+ exports.openGooglePay = openGooglePay;
28
+ exports.screenlessAmbiguousBLIKPayment = screenlessAmbiguousBLIKPayment;
29
+ exports.screenlessApplePayPayment = screenlessApplePayPayment;
30
+ exports.screenlessBLIKPayment = screenlessBLIKPayment;
31
+ exports.screenlessCreditCardPayment = screenlessCreditCardPayment;
32
+ exports.screenlessGooglePayPayment = screenlessGooglePayPayment;
33
+ exports.screenlessRatyPekaoPayment = screenlessRatyPekaoPayment;
34
+ exports.screenlessTransferPayment = screenlessTransferPayment;
35
+ exports.startCardTokenPayment = startCardTokenPayment;
36
+ exports.startPayment = startPayment;
37
+ exports.tokenizeCard = tokenizeCard;
38
+ var _reactNative = require("react-native");
39
+ var _result_util = require("./util/result_util");
40
+ var _screenless_result_util = require("./util/screenless_result_util");
41
+ var _google_pay_configuration_util = require("./util/google_pay_configuration_util");
42
+ var _google_pay_open_util = require("./util/google_pay_open_util");
43
+ var _payment_channels_util = require("./util/payment_channels_util");
44
+ var _language = require("./model/language/language");
45
+ Object.keys(_language).forEach(function (key) {
46
+ if (key === "default" || key === "__esModule") return;
47
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
48
+ if (key in exports && exports[key] === _language[key]) return;
49
+ Object.defineProperty(exports, key, {
50
+ enumerable: true,
51
+ get: function () {
52
+ return _language[key];
53
+ }
54
+ });
55
+ });
56
+ var _languages = require("./model/language/languages");
57
+ Object.keys(_languages).forEach(function (key) {
58
+ if (key === "default" || key === "__esModule") return;
59
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
60
+ if (key in exports && exports[key] === _languages[key]) return;
61
+ Object.defineProperty(exports, key, {
62
+ enumerable: true,
63
+ get: function () {
64
+ return _languages[key];
65
+ }
66
+ });
67
+ });
68
+ var _localized_string = require("./model/language/localized_string");
69
+ Object.keys(_localized_string).forEach(function (key) {
70
+ if (key === "default" || key === "__esModule") return;
71
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
72
+ if (key in exports && exports[key] === _localized_string[key]) return;
73
+ Object.defineProperty(exports, key, {
74
+ enumerable: true,
75
+ get: function () {
76
+ return _localized_string[key];
77
+ }
78
+ });
79
+ });
80
+ var _apple_pay_configuration = require("./model/merchant/apple_pay_configuration");
81
+ Object.keys(_apple_pay_configuration).forEach(function (key) {
82
+ if (key === "default" || key === "__esModule") return;
83
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
84
+ if (key in exports && exports[key] === _apple_pay_configuration[key]) return;
85
+ Object.defineProperty(exports, key, {
86
+ enumerable: true,
87
+ get: function () {
88
+ return _apple_pay_configuration[key];
89
+ }
90
+ });
91
+ });
92
+ var _certificate_configuration = require("./model/merchant/certificate_configuration");
93
+ Object.keys(_certificate_configuration).forEach(function (key) {
94
+ if (key === "default" || key === "__esModule") return;
95
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
96
+ if (key in exports && exports[key] === _certificate_configuration[key]) return;
97
+ Object.defineProperty(exports, key, {
98
+ enumerable: true,
99
+ get: function () {
100
+ return _certificate_configuration[key];
101
+ }
102
+ });
103
+ });
104
+ var _google_pay_configuration = require("./model/merchant/google_pay_configuration");
105
+ Object.keys(_google_pay_configuration).forEach(function (key) {
106
+ if (key === "default" || key === "__esModule") return;
107
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
108
+ if (key in exports && exports[key] === _google_pay_configuration[key]) return;
109
+ Object.defineProperty(exports, key, {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _google_pay_configuration[key];
113
+ }
114
+ });
115
+ });
116
+ var _merchant_authorization = require("./model/merchant/merchant_authorization");
117
+ Object.keys(_merchant_authorization).forEach(function (key) {
118
+ if (key === "default" || key === "__esModule") return;
119
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
120
+ if (key in exports && exports[key] === _merchant_authorization[key]) return;
121
+ Object.defineProperty(exports, key, {
122
+ enumerable: true,
123
+ get: function () {
124
+ return _merchant_authorization[key];
125
+ }
126
+ });
127
+ });
128
+ var _merchant_details = require("./model/merchant/merchant_details");
129
+ Object.keys(_merchant_details).forEach(function (key) {
130
+ if (key === "default" || key === "__esModule") return;
131
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
132
+ if (key in exports && exports[key] === _merchant_details[key]) return;
133
+ Object.defineProperty(exports, key, {
134
+ enumerable: true,
135
+ get: function () {
136
+ return _merchant_details[key];
137
+ }
138
+ });
139
+ });
140
+ var _merchant = require("./model/merchant/merchant");
141
+ Object.keys(_merchant).forEach(function (key) {
142
+ if (key === "default" || key === "__esModule") return;
143
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
144
+ if (key in exports && exports[key] === _merchant[key]) return;
145
+ Object.defineProperty(exports, key, {
146
+ enumerable: true,
147
+ get: function () {
148
+ return _merchant[key];
149
+ }
150
+ });
151
+ });
152
+ var _tpay_environment = require("./model/merchant/tpay_environment");
153
+ Object.keys(_tpay_environment).forEach(function (key) {
154
+ if (key === "default" || key === "__esModule") return;
155
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
156
+ if (key in exports && exports[key] === _tpay_environment[key]) return;
157
+ Object.defineProperty(exports, key, {
158
+ enumerable: true,
159
+ get: function () {
160
+ return _tpay_environment[key];
161
+ }
162
+ });
163
+ });
164
+ var _wallet_configuration = require("./model/merchant/wallet_configuration");
165
+ Object.keys(_wallet_configuration).forEach(function (key) {
166
+ if (key === "default" || key === "__esModule") return;
167
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
168
+ if (key in exports && exports[key] === _wallet_configuration[key]) return;
169
+ Object.defineProperty(exports, key, {
170
+ enumerable: true,
171
+ get: function () {
172
+ return _wallet_configuration[key];
173
+ }
174
+ });
175
+ });
176
+ var _address = require("./model/payer/address");
177
+ Object.keys(_address).forEach(function (key) {
178
+ if (key === "default" || key === "__esModule") return;
179
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
180
+ if (key in exports && exports[key] === _address[key]) return;
181
+ Object.defineProperty(exports, key, {
182
+ enumerable: true,
183
+ get: function () {
184
+ return _address[key];
185
+ }
186
+ });
187
+ });
188
+ var _payer_context = require("./model/payer/payer_context");
189
+ Object.keys(_payer_context).forEach(function (key) {
190
+ if (key === "default" || key === "__esModule") return;
191
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
192
+ if (key in exports && exports[key] === _payer_context[key]) return;
193
+ Object.defineProperty(exports, key, {
194
+ enumerable: true,
195
+ get: function () {
196
+ return _payer_context[key];
197
+ }
198
+ });
199
+ });
200
+ var _payer = require("./model/payer/payer");
201
+ Object.keys(_payer).forEach(function (key) {
202
+ if (key === "default" || key === "__esModule") return;
203
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
204
+ if (key in exports && exports[key] === _payer[key]) return;
205
+ Object.defineProperty(exports, key, {
206
+ enumerable: true,
207
+ get: function () {
208
+ return _payer[key];
209
+ }
210
+ });
211
+ });
212
+ var _payment_channel = require("./model/payment_channel/payment_channel");
213
+ Object.keys(_payment_channel).forEach(function (key) {
214
+ if (key === "default" || key === "__esModule") return;
215
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
216
+ if (key in exports && exports[key] === _payment_channel[key]) return;
217
+ Object.defineProperty(exports, key, {
218
+ enumerable: true,
219
+ get: function () {
220
+ return _payment_channel[key];
221
+ }
222
+ });
223
+ });
224
+ var _payment_constraint = require("./model/payment_channel/payment_constraint");
225
+ Object.keys(_payment_constraint).forEach(function (key) {
226
+ if (key === "default" || key === "__esModule") return;
227
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
228
+ if (key in exports && exports[key] === _payment_constraint[key]) return;
229
+ Object.defineProperty(exports, key, {
230
+ enumerable: true,
231
+ get: function () {
232
+ return _payment_constraint[key];
233
+ }
234
+ });
235
+ });
236
+ var _payment_group = require("./model/payment_channel/payment_group");
237
+ Object.keys(_payment_group).forEach(function (key) {
238
+ if (key === "default" || key === "__esModule") return;
239
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
240
+ if (key in exports && exports[key] === _payment_group[key]) return;
241
+ Object.defineProperty(exports, key, {
242
+ enumerable: true,
243
+ get: function () {
244
+ return _payment_group[key];
245
+ }
246
+ });
247
+ });
248
+ var _automatic_payment_methods = require("./model/payment_method/automatic_payment_methods");
249
+ Object.keys(_automatic_payment_methods).forEach(function (key) {
250
+ if (key === "default" || key === "__esModule") return;
251
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
252
+ if (key in exports && exports[key] === _automatic_payment_methods[key]) return;
253
+ Object.defineProperty(exports, key, {
254
+ enumerable: true,
255
+ get: function () {
256
+ return _automatic_payment_methods[key];
257
+ }
258
+ });
259
+ });
260
+ var _blik_alias = require("./model/payment_method/blik_alias");
261
+ Object.keys(_blik_alias).forEach(function (key) {
262
+ if (key === "default" || key === "__esModule") return;
263
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
264
+ if (key in exports && exports[key] === _blik_alias[key]) return;
265
+ Object.defineProperty(exports, key, {
266
+ enumerable: true,
267
+ get: function () {
268
+ return _blik_alias[key];
269
+ }
270
+ });
271
+ });
272
+ var _credit_card_brand = require("./model/payment_method/credit_card_brand");
273
+ Object.keys(_credit_card_brand).forEach(function (key) {
274
+ if (key === "default" || key === "__esModule") return;
275
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
276
+ if (key in exports && exports[key] === _credit_card_brand[key]) return;
277
+ Object.defineProperty(exports, key, {
278
+ enumerable: true,
279
+ get: function () {
280
+ return _credit_card_brand[key];
281
+ }
282
+ });
283
+ });
284
+ var _digital_wallet = require("./model/payment_method/digital_wallet");
285
+ Object.keys(_digital_wallet).forEach(function (key) {
286
+ if (key === "default" || key === "__esModule") return;
287
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
288
+ if (key in exports && exports[key] === _digital_wallet[key]) return;
289
+ Object.defineProperty(exports, key, {
290
+ enumerable: true,
291
+ get: function () {
292
+ return _digital_wallet[key];
293
+ }
294
+ });
295
+ });
296
+ var _installment_payment = require("./model/payment_method/installment_payment");
297
+ Object.keys(_installment_payment).forEach(function (key) {
298
+ if (key === "default" || key === "__esModule") return;
299
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
300
+ if (key in exports && exports[key] === _installment_payment[key]) return;
301
+ Object.defineProperty(exports, key, {
302
+ enumerable: true,
303
+ get: function () {
304
+ return _installment_payment[key];
305
+ }
306
+ });
307
+ });
308
+ var _payment_method = require("./model/payment_method/payment_method");
309
+ Object.keys(_payment_method).forEach(function (key) {
310
+ if (key === "default" || key === "__esModule") return;
311
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
312
+ if (key in exports && exports[key] === _payment_method[key]) return;
313
+ Object.defineProperty(exports, key, {
314
+ enumerable: true,
315
+ get: function () {
316
+ return _payment_method[key];
317
+ }
318
+ });
319
+ });
320
+ var _payment_methods = require("./model/payment_method/payment_methods");
321
+ Object.keys(_payment_methods).forEach(function (key) {
322
+ if (key === "default" || key === "__esModule") return;
323
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
324
+ if (key in exports && exports[key] === _payment_methods[key]) return;
325
+ Object.defineProperty(exports, key, {
326
+ enumerable: true,
327
+ get: function () {
328
+ return _payment_methods[key];
329
+ }
330
+ });
331
+ });
332
+ var _tokenized_card = require("./model/payment_method/tokenized_card");
333
+ Object.keys(_tokenized_card).forEach(function (key) {
334
+ if (key === "default" || key === "__esModule") return;
335
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
336
+ if (key in exports && exports[key] === _tokenized_card[key]) return;
337
+ Object.defineProperty(exports, key, {
338
+ enumerable: true,
339
+ get: function () {
340
+ return _tokenized_card[key];
341
+ }
342
+ });
343
+ });
344
+ var _google_pay_configure_result = require("./model/result/google_pay_configure_result");
345
+ Object.keys(_google_pay_configure_result).forEach(function (key) {
346
+ if (key === "default" || key === "__esModule") return;
347
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
348
+ if (key in exports && exports[key] === _google_pay_configure_result[key]) return;
349
+ Object.defineProperty(exports, key, {
350
+ enumerable: true,
351
+ get: function () {
352
+ return _google_pay_configure_result[key];
353
+ }
354
+ });
355
+ });
356
+ var _google_pay_open_result = require("./model/result/google_pay_open_result");
357
+ Object.keys(_google_pay_open_result).forEach(function (key) {
358
+ if (key === "default" || key === "__esModule") return;
359
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
360
+ if (key in exports && exports[key] === _google_pay_open_result[key]) return;
361
+ Object.defineProperty(exports, key, {
362
+ enumerable: true,
363
+ get: function () {
364
+ return _google_pay_open_result[key];
365
+ }
366
+ });
367
+ });
368
+ var _payment_channels_result = require("./model/result/payment_channels_result");
369
+ Object.keys(_payment_channels_result).forEach(function (key) {
370
+ if (key === "default" || key === "__esModule") return;
371
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
372
+ if (key in exports && exports[key] === _payment_channels_result[key]) return;
373
+ Object.defineProperty(exports, key, {
374
+ enumerable: true,
375
+ get: function () {
376
+ return _payment_channels_result[key];
377
+ }
378
+ });
379
+ });
380
+ var _result = require("./model/result/result");
381
+ Object.keys(_result).forEach(function (key) {
382
+ if (key === "default" || key === "__esModule") return;
383
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
384
+ if (key in exports && exports[key] === _result[key]) return;
385
+ Object.defineProperty(exports, key, {
386
+ enumerable: true,
387
+ get: function () {
388
+ return _result[key];
389
+ }
390
+ });
391
+ });
392
+ var _screenless_result = require("./model/result/screenless_result");
393
+ Object.keys(_screenless_result).forEach(function (key) {
394
+ if (key === "default" || key === "__esModule") return;
395
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
396
+ if (key in exports && exports[key] === _screenless_result[key]) return;
397
+ Object.defineProperty(exports, key, {
398
+ enumerable: true,
399
+ get: function () {
400
+ return _screenless_result[key];
401
+ }
402
+ });
403
+ });
404
+ var _ambiguous_alias = require("./model/screenless/ambiguous_alias");
405
+ Object.keys(_ambiguous_alias).forEach(function (key) {
406
+ if (key === "default" || key === "__esModule") return;
407
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
408
+ if (key in exports && exports[key] === _ambiguous_alias[key]) return;
409
+ Object.defineProperty(exports, key, {
410
+ enumerable: true,
411
+ get: function () {
412
+ return _ambiguous_alias[key];
413
+ }
414
+ });
415
+ });
416
+ var _ambiguous_blik_payment = require("./model/screenless/ambiguous_blik_payment");
417
+ Object.keys(_ambiguous_blik_payment).forEach(function (key) {
418
+ if (key === "default" || key === "__esModule") return;
419
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
420
+ if (key in exports && exports[key] === _ambiguous_blik_payment[key]) return;
421
+ Object.defineProperty(exports, key, {
422
+ enumerable: true,
423
+ get: function () {
424
+ return _ambiguous_blik_payment[key];
425
+ }
426
+ });
427
+ });
428
+ var _apple_pay_payment = require("./model/screenless/apple_pay_payment");
429
+ Object.keys(_apple_pay_payment).forEach(function (key) {
430
+ if (key === "default" || key === "__esModule") return;
431
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
432
+ if (key in exports && exports[key] === _apple_pay_payment[key]) return;
433
+ Object.defineProperty(exports, key, {
434
+ enumerable: true,
435
+ get: function () {
436
+ return _apple_pay_payment[key];
437
+ }
438
+ });
439
+ });
440
+ var _blik_payment = require("./model/screenless/blik_payment");
441
+ Object.keys(_blik_payment).forEach(function (key) {
442
+ if (key === "default" || key === "__esModule") return;
443
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
444
+ if (key in exports && exports[key] === _blik_payment[key]) return;
445
+ Object.defineProperty(exports, key, {
446
+ enumerable: true,
447
+ get: function () {
448
+ return _blik_payment[key];
449
+ }
450
+ });
451
+ });
452
+ var _callbacks = require("./model/screenless/callbacks");
453
+ Object.keys(_callbacks).forEach(function (key) {
454
+ if (key === "default" || key === "__esModule") return;
455
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
456
+ if (key in exports && exports[key] === _callbacks[key]) return;
457
+ Object.defineProperty(exports, key, {
458
+ enumerable: true,
459
+ get: function () {
460
+ return _callbacks[key];
461
+ }
462
+ });
463
+ });
464
+ var _credit_card_config = require("./model/screenless/credit_card_config");
465
+ Object.keys(_credit_card_config).forEach(function (key) {
466
+ if (key === "default" || key === "__esModule") return;
467
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
468
+ if (key in exports && exports[key] === _credit_card_config[key]) return;
469
+ Object.defineProperty(exports, key, {
470
+ enumerable: true,
471
+ get: function () {
472
+ return _credit_card_config[key];
473
+ }
474
+ });
475
+ });
476
+ var _credit_card_payment = require("./model/screenless/credit_card_payment");
477
+ Object.keys(_credit_card_payment).forEach(function (key) {
478
+ if (key === "default" || key === "__esModule") return;
479
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
480
+ if (key in exports && exports[key] === _credit_card_payment[key]) return;
481
+ Object.defineProperty(exports, key, {
482
+ enumerable: true,
483
+ get: function () {
484
+ return _credit_card_payment[key];
485
+ }
486
+ });
487
+ });
488
+ var _credit_card = require("./model/screenless/credit_card");
489
+ Object.keys(_credit_card).forEach(function (key) {
490
+ if (key === "default" || key === "__esModule") return;
491
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
492
+ if (key in exports && exports[key] === _credit_card[key]) return;
493
+ Object.defineProperty(exports, key, {
494
+ enumerable: true,
495
+ get: function () {
496
+ return _credit_card[key];
497
+ }
498
+ });
499
+ });
500
+ var _expiration_date = require("./model/screenless/expiration_date");
501
+ Object.keys(_expiration_date).forEach(function (key) {
502
+ if (key === "default" || key === "__esModule") return;
503
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
504
+ if (key in exports && exports[key] === _expiration_date[key]) return;
505
+ Object.defineProperty(exports, key, {
506
+ enumerable: true,
507
+ get: function () {
508
+ return _expiration_date[key];
509
+ }
510
+ });
511
+ });
512
+ var _frequency = require("./model/screenless/frequency");
513
+ Object.keys(_frequency).forEach(function (key) {
514
+ if (key === "default" || key === "__esModule") return;
515
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
516
+ if (key in exports && exports[key] === _frequency[key]) return;
517
+ Object.defineProperty(exports, key, {
518
+ enumerable: true,
519
+ get: function () {
520
+ return _frequency[key];
521
+ }
522
+ });
523
+ });
524
+ var _google_pay_environment = require("./model/screenless/google_pay_environment");
525
+ Object.keys(_google_pay_environment).forEach(function (key) {
526
+ if (key === "default" || key === "__esModule") return;
527
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
528
+ if (key in exports && exports[key] === _google_pay_environment[key]) return;
529
+ Object.defineProperty(exports, key, {
530
+ enumerable: true,
531
+ get: function () {
532
+ return _google_pay_environment[key];
533
+ }
534
+ });
535
+ });
536
+ var _google_pay_payment = require("./model/screenless/google_pay_payment");
537
+ Object.keys(_google_pay_payment).forEach(function (key) {
538
+ if (key === "default" || key === "__esModule") return;
539
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
540
+ if (key in exports && exports[key] === _google_pay_payment[key]) return;
541
+ Object.defineProperty(exports, key, {
542
+ enumerable: true,
543
+ get: function () {
544
+ return _google_pay_payment[key];
545
+ }
546
+ });
547
+ });
548
+ var _google_pay_utils_configuration = require("./model/screenless/google_pay_utils_configuration");
549
+ Object.keys(_google_pay_utils_configuration).forEach(function (key) {
550
+ if (key === "default" || key === "__esModule") return;
551
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
552
+ if (key in exports && exports[key] === _google_pay_utils_configuration[key]) return;
553
+ Object.defineProperty(exports, key, {
554
+ enumerable: true,
555
+ get: function () {
556
+ return _google_pay_utils_configuration[key];
557
+ }
558
+ });
559
+ });
560
+ var _notifications = require("./model/screenless/notifications");
561
+ Object.keys(_notifications).forEach(function (key) {
562
+ if (key === "default" || key === "__esModule") return;
563
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
564
+ if (key in exports && exports[key] === _notifications[key]) return;
565
+ Object.defineProperty(exports, key, {
566
+ enumerable: true,
567
+ get: function () {
568
+ return _notifications[key];
569
+ }
570
+ });
571
+ });
572
+ var _payment_details = require("./model/screenless/payment_details");
573
+ Object.keys(_payment_details).forEach(function (key) {
574
+ if (key === "default" || key === "__esModule") return;
575
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
576
+ if (key in exports && exports[key] === _payment_details[key]) return;
577
+ Object.defineProperty(exports, key, {
578
+ enumerable: true,
579
+ get: function () {
580
+ return _payment_details[key];
581
+ }
582
+ });
583
+ });
584
+ var _raty_pekao_payment = require("./model/screenless/raty_pekao_payment");
585
+ Object.keys(_raty_pekao_payment).forEach(function (key) {
586
+ if (key === "default" || key === "__esModule") return;
587
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
588
+ if (key in exports && exports[key] === _raty_pekao_payment[key]) return;
589
+ Object.defineProperty(exports, key, {
590
+ enumerable: true,
591
+ get: function () {
592
+ return _raty_pekao_payment[key];
593
+ }
594
+ });
595
+ });
596
+ var _recursive = require("./model/screenless/recursive");
597
+ Object.keys(_recursive).forEach(function (key) {
598
+ if (key === "default" || key === "__esModule") return;
599
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
600
+ if (key in exports && exports[key] === _recursive[key]) return;
601
+ Object.defineProperty(exports, key, {
602
+ enumerable: true,
603
+ get: function () {
604
+ return _recursive[key];
605
+ }
606
+ });
607
+ });
608
+ var _redirects = require("./model/screenless/redirects");
609
+ Object.keys(_redirects).forEach(function (key) {
610
+ if (key === "default" || key === "__esModule") return;
611
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
612
+ if (key in exports && exports[key] === _redirects[key]) return;
613
+ Object.defineProperty(exports, key, {
614
+ enumerable: true,
615
+ get: function () {
616
+ return _redirects[key];
617
+ }
618
+ });
619
+ });
620
+ var _screenless_payment = require("./model/screenless/screenless_payment");
621
+ Object.keys(_screenless_payment).forEach(function (key) {
622
+ if (key === "default" || key === "__esModule") return;
623
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
624
+ if (key in exports && exports[key] === _screenless_payment[key]) return;
625
+ Object.defineProperty(exports, key, {
626
+ enumerable: true,
627
+ get: function () {
628
+ return _screenless_payment[key];
629
+ }
630
+ });
631
+ });
632
+ var _transfer_payment = require("./model/screenless/transfer_payment");
633
+ Object.keys(_transfer_payment).forEach(function (key) {
634
+ if (key === "default" || key === "__esModule") return;
635
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
636
+ if (key in exports && exports[key] === _transfer_payment[key]) return;
637
+ Object.defineProperty(exports, key, {
638
+ enumerable: true,
639
+ get: function () {
640
+ return _transfer_payment[key];
641
+ }
642
+ });
643
+ });
644
+ var _tokenization = require("./model/tokenization/tokenization");
645
+ Object.keys(_tokenization).forEach(function (key) {
646
+ if (key === "default" || key === "__esModule") return;
647
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
648
+ if (key in exports && exports[key] === _tokenization[key]) return;
649
+ Object.defineProperty(exports, key, {
650
+ enumerable: true,
651
+ get: function () {
652
+ return _tokenization[key];
653
+ }
654
+ });
655
+ });
656
+ var _single_transaction = require("./model/transaction/single_transaction");
657
+ Object.keys(_single_transaction).forEach(function (key) {
658
+ if (key === "default" || key === "__esModule") return;
659
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
660
+ if (key in exports && exports[key] === _single_transaction[key]) return;
661
+ Object.defineProperty(exports, key, {
662
+ enumerable: true,
663
+ get: function () {
664
+ return _single_transaction[key];
665
+ }
666
+ });
667
+ });
668
+ var _token_payment = require("./model/transaction/token_payment");
669
+ Object.keys(_token_payment).forEach(function (key) {
670
+ if (key === "default" || key === "__esModule") return;
671
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
672
+ if (key in exports && exports[key] === _token_payment[key]) return;
673
+ Object.defineProperty(exports, key, {
674
+ enumerable: true,
675
+ get: function () {
676
+ return _token_payment[key];
677
+ }
678
+ });
679
+ });
680
+ var _transaction = require("./model/transaction/transaction");
681
+ Object.keys(_transaction).forEach(function (key) {
682
+ if (key === "default" || key === "__esModule") return;
683
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
684
+ if (key in exports && exports[key] === _transaction[key]) return;
685
+ Object.defineProperty(exports, key, {
686
+ enumerable: true,
687
+ get: function () {
688
+ return _transaction[key];
689
+ }
690
+ });
691
+ });
692
+ var _tpay_configuration = require("./model/tpay_configuration");
693
+ Object.keys(_tpay_configuration).forEach(function (key) {
694
+ if (key === "default" || key === "__esModule") return;
695
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
696
+ if (key in exports && exports[key] === _tpay_configuration[key]) return;
697
+ Object.defineProperty(exports, key, {
698
+ enumerable: true,
699
+ get: function () {
700
+ return _tpay_configuration[key];
701
+ }
702
+ });
703
+ });
704
+ var _tpay_button = require("./component/tpay_button");
705
+ Object.keys(_tpay_button).forEach(function (key) {
706
+ if (key === "default" || key === "__esModule") return;
707
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
708
+ if (key in exports && exports[key] === _tpay_button[key]) return;
709
+ Object.defineProperty(exports, key, {
710
+ enumerable: true,
711
+ get: function () {
712
+ return _tpay_button[key];
713
+ }
714
+ });
715
+ });
716
+ const LINKING_ERROR = `The package 'react-native-tpay' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
717
+ ios: "- You have run 'pod install'\n",
718
+ default: ''
719
+ }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
720
+ const Tpay = _reactNative.NativeModules.TpayRNModule ? _reactNative.NativeModules.TpayRNModule : new Proxy({}, {
721
+ get() {
722
+ throw new Error(LINKING_ERROR);
723
+ }
724
+ });
725
+ /**
726
+ * Method used to configure Tpay UI Module
727
+ *
728
+ * @returns {Result} ConfigurationSuccess when Tpay module was successfully configured
729
+ */
730
+ async function configure(configuration) {
731
+ const result = await Tpay.configure(JSON.stringify(configuration));
732
+ return (0, _result_util.mapResult)(result);
733
+ }
734
+
735
+ /**
736
+ * Method used to start standard payment with Tpay UI Module
737
+ */
738
+ async function startPayment(transaction) {
739
+ const result = await Tpay.startPayment(JSON.stringify(transaction));
740
+ return (0, _result_util.mapResult)(result);
741
+ }
742
+
743
+ /**
744
+ * Method used to start credit card tokenization with Tpay UI Module
745
+ */
746
+ async function tokenizeCard(tokenization) {
747
+ const result = await Tpay.tokenizeCard(JSON.stringify(tokenization));
748
+ return (0, _result_util.mapResult)(result);
749
+ }
750
+
751
+ /**
752
+ * Method used to start credit card token payment with Tpay UI Module
753
+ */
754
+ async function startCardTokenPayment(tokenPayment) {
755
+ const result = await Tpay.startCardTokenPayment(JSON.stringify(tokenPayment));
756
+ return (0, _result_util.mapResult)(result);
757
+ }
758
+
759
+ /**
760
+ * Method used to start screenless BLIK payment
761
+ */
762
+ async function screenlessBLIKPayment(blikPayment) {
763
+ const result = await Tpay.screenlessBLIKPayment(JSON.stringify(blikPayment));
764
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
765
+ }
766
+
767
+ /**
768
+ * Method used to continue BLIK one click payment if ambiguous aliases were returned
769
+ */
770
+ async function screenlessAmbiguousBLIKPayment(ambiguousBlikPayment) {
771
+ const result = await Tpay.screenlessAmbiguousBLIKPayment(JSON.stringify(ambiguousBlikPayment));
772
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
773
+ }
774
+
775
+ /**
776
+ * Method used to start screenless transfer payment
777
+ */
778
+ async function screenlessTransferPayment(transferPayment) {
779
+ const result = await Tpay.screenlessTransferPayment(JSON.stringify(transferPayment));
780
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
781
+ }
782
+
783
+ /**
784
+ * Method used to start screenless Raty Pekao payment
785
+ */
786
+ async function screenlessRatyPekaoPayment(ratyPekaoPayment) {
787
+ const result = await Tpay.screenlessRatyPekaoPayment(JSON.stringify(ratyPekaoPayment));
788
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
789
+ }
790
+
791
+ /**
792
+ * Method used to start screenless credit card payment
793
+ */
794
+ async function screenlessCreditCardPayment(creditCardPayment) {
795
+ const result = await Tpay.screenlessCreditCardPayment(JSON.stringify(creditCardPayment));
796
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
797
+ }
798
+
799
+ /**
800
+ * Method used to start screenless Google Pay payment
801
+ */
802
+ async function screenlessGooglePayPayment(googlePayPayment) {
803
+ const result = await Tpay.screenlessGooglePayPayment(JSON.stringify(googlePayPayment));
804
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
805
+ }
806
+
807
+ /**
808
+ * Method used to start screenless Apple Pay payment
809
+ */
810
+ async function screenlessApplePayPayment(applePayPayment) {
811
+ const result = await Tpay.screenlessApplePayPayment(JSON.stringify(applePayPayment));
812
+ return (0, _screenless_result_util.mapScreenlessResult)(result);
813
+ }
814
+
815
+ /**
816
+ * Method used to configure Google Pay utils.
817
+ * Call this method before using isGooglePayAvailable and openGooglePay methods.
818
+ *
819
+ * Android only
820
+ */
821
+ async function configureGooglePayUtils(googlePayUtilsConfiguration) {
822
+ const result = await Tpay.configureGooglePayUtils(JSON.stringify(googlePayUtilsConfiguration));
823
+ return (0, _google_pay_configuration_util.mapGooglePayConfigurationResult)(result);
824
+ }
825
+
826
+ /**
827
+ * Method used to check if Google Pay is available
828
+ *
829
+ * Android only
830
+ *
831
+ * @returns true if Google Pay is available on the device
832
+ */
833
+ async function isGooglePayAvailable() {
834
+ return await Tpay.isGooglePayAvailable();
835
+ }
836
+
837
+ /**
838
+ * Method used to open Google Pay
839
+ *
840
+ * Android only
841
+ *
842
+ * @returns GooglePayOpenSuccess object if user successfully selects the credit card
843
+ */
844
+ async function openGooglePay() {
845
+ const result = await Tpay.openGooglePay();
846
+ return (0, _google_pay_open_util.mapGooglePayOpenResult)(result);
847
+ }
848
+
849
+ /**
850
+ * Method used to fetch payment channels from Tpay
851
+ */
852
+ async function getAvailablePaymentChannels() {
853
+ const result = await Tpay.getAvailablePaymentChannels();
854
+ return (0, _payment_channels_util.mapPaymentChannelsResult)(result);
855
+ }
856
+ //# sourceMappingURL=index.js.map