@tonder.io/rn-sdk 0.1.0-beta.DEV1355.1

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 (780) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +33 -0
  3. package/lib/commonjs/core/3DSHandler.js +108 -0
  4. package/lib/commonjs/core/3DSHandler.js.map +1 -0
  5. package/lib/commonjs/core/BaseCheckout/index.js +337 -0
  6. package/lib/commonjs/core/BaseCheckout/index.js.map +1 -0
  7. package/lib/commonjs/core/BaseEnrollment/index.js +86 -0
  8. package/lib/commonjs/core/BaseEnrollment/index.js.map +1 -0
  9. package/lib/commonjs/core/BaseSDK/index.js +75 -0
  10. package/lib/commonjs/core/BaseSDK/index.js.map +1 -0
  11. package/lib/commonjs/core/EnrollmentContainer/index.js +87 -0
  12. package/lib/commonjs/core/EnrollmentContainer/index.js.map +1 -0
  13. package/lib/commonjs/core/PaymentInlineContainer/index.js +111 -0
  14. package/lib/commonjs/core/PaymentInlineContainer/index.js.map +1 -0
  15. package/lib/commonjs/core/PaymentLiteContainer/index.js +158 -0
  16. package/lib/commonjs/core/PaymentLiteContainer/index.js.map +1 -0
  17. package/lib/commonjs/core/Tonder/index.js +134 -0
  18. package/lib/commonjs/core/Tonder/index.js.map +1 -0
  19. package/lib/commonjs/hooks/useTonder/index-old.js +37 -0
  20. package/lib/commonjs/hooks/useTonder/index-old.js.map +1 -0
  21. package/lib/commonjs/hooks/useTonder/index.js +16 -0
  22. package/lib/commonjs/hooks/useTonder/index.js.map +1 -0
  23. package/lib/commonjs/index.js +121 -0
  24. package/lib/commonjs/index.js.map +1 -0
  25. package/lib/commonjs/infrastructure/HttpClient.js +108 -0
  26. package/lib/commonjs/infrastructure/HttpClient.js.map +1 -0
  27. package/lib/commonjs/infrastructure/ServiceManager.js +32 -0
  28. package/lib/commonjs/infrastructure/ServiceManager.js.map +1 -0
  29. package/lib/commonjs/infrastructure/index.js +28 -0
  30. package/lib/commonjs/infrastructure/index.js.map +1 -0
  31. package/lib/commonjs/services/BusinessService.js +36 -0
  32. package/lib/commonjs/services/BusinessService.js.map +1 -0
  33. package/lib/commonjs/services/CardService.js +89 -0
  34. package/lib/commonjs/services/CardService.js.map +1 -0
  35. package/lib/commonjs/services/CheckoutService.js +121 -0
  36. package/lib/commonjs/services/CheckoutService.js.map +1 -0
  37. package/lib/commonjs/services/CustomerService.js +62 -0
  38. package/lib/commonjs/services/CustomerService.js.map +1 -0
  39. package/lib/commonjs/services/MercadoPagoService.js +27 -0
  40. package/lib/commonjs/services/MercadoPagoService.js.map +1 -0
  41. package/lib/commonjs/services/OpenPayService.js +25 -0
  42. package/lib/commonjs/services/OpenPayService.js.map +1 -0
  43. package/lib/commonjs/services/PaymentMethodService.js +37 -0
  44. package/lib/commonjs/services/PaymentMethodService.js.map +1 -0
  45. package/lib/commonjs/services/SkyflowService.js +53 -0
  46. package/lib/commonjs/services/SkyflowService.js.map +1 -0
  47. package/lib/commonjs/services/StorageService.js +49 -0
  48. package/lib/commonjs/services/StorageService.js.map +1 -0
  49. package/lib/commonjs/services/TokenService.js +46 -0
  50. package/lib/commonjs/services/TokenService.js.map +1 -0
  51. package/lib/commonjs/services/TransactionService.js +26 -0
  52. package/lib/commonjs/services/TransactionService.js.map +1 -0
  53. package/lib/commonjs/services/index.js +127 -0
  54. package/lib/commonjs/services/index.js.map +1 -0
  55. package/lib/commonjs/shared/catalog/cardBrandCatalog.js +19 -0
  56. package/lib/commonjs/shared/catalog/cardBrandCatalog.js.map +1 -0
  57. package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js +252 -0
  58. package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js.map +1 -0
  59. package/lib/commonjs/shared/constants/environments.js +13 -0
  60. package/lib/commonjs/shared/constants/environments.js.map +1 -0
  61. package/lib/commonjs/shared/constants/index.js +28 -0
  62. package/lib/commonjs/shared/constants/index.js.map +1 -0
  63. package/lib/commonjs/shared/constants/messages.js +101 -0
  64. package/lib/commonjs/shared/constants/messages.js.map +1 -0
  65. package/lib/commonjs/shared/constants/paymentMethods.js +68 -0
  66. package/lib/commonjs/shared/constants/paymentMethods.js.map +1 -0
  67. package/lib/commonjs/shared/constants/skyflow.js +47 -0
  68. package/lib/commonjs/shared/constants/skyflow.js.map +1 -0
  69. package/lib/commonjs/shared/enum/ErrorKeyEnum.js +55 -0
  70. package/lib/commonjs/shared/enum/ErrorKeyEnum.js.map +1 -0
  71. package/lib/commonjs/shared/enum/index.js +17 -0
  72. package/lib/commonjs/shared/enum/index.js.map +1 -0
  73. package/lib/commonjs/shared/index.js +39 -0
  74. package/lib/commonjs/shared/index.js.map +1 -0
  75. package/lib/commonjs/shared/utils/common.js +47 -0
  76. package/lib/commonjs/shared/utils/common.js.map +1 -0
  77. package/lib/commonjs/shared/utils/errors.js +21 -0
  78. package/lib/commonjs/shared/utils/errors.js.map +1 -0
  79. package/lib/commonjs/shared/utils/numberUtils.js +17 -0
  80. package/lib/commonjs/shared/utils/numberUtils.js.map +1 -0
  81. package/lib/commonjs/shared/utils/paymentMethodUtils.js +21 -0
  82. package/lib/commonjs/shared/utils/paymentMethodUtils.js.map +1 -0
  83. package/lib/commonjs/shared/utils/stringUtils.js +11 -0
  84. package/lib/commonjs/shared/utils/stringUtils.js.map +1 -0
  85. package/lib/commonjs/shared/utils/styleUtils.js +21 -0
  86. package/lib/commonjs/shared/utils/styleUtils.js.map +1 -0
  87. package/lib/commonjs/types/base.js +14 -0
  88. package/lib/commonjs/types/base.js.map +1 -0
  89. package/lib/commonjs/types/baseCheckout.js +6 -0
  90. package/lib/commonjs/types/baseCheckout.js.map +1 -0
  91. package/lib/commonjs/types/baseEnrollment.js +6 -0
  92. package/lib/commonjs/types/baseEnrollment.js.map +1 -0
  93. package/lib/commonjs/types/baseSDK.js +6 -0
  94. package/lib/commonjs/types/baseSDK.js.map +1 -0
  95. package/lib/commonjs/types/business.js +2 -0
  96. package/lib/commonjs/types/business.js.map +1 -0
  97. package/lib/commonjs/types/card.js +2 -0
  98. package/lib/commonjs/types/card.js.map +1 -0
  99. package/lib/commonjs/types/checkout.js +6 -0
  100. package/lib/commonjs/types/checkout.js.map +1 -0
  101. package/lib/commonjs/types/common.js +6 -0
  102. package/lib/commonjs/types/common.js.map +1 -0
  103. package/lib/commonjs/types/customer.js +2 -0
  104. package/lib/commonjs/types/customer.js.map +1 -0
  105. package/lib/commonjs/types/enrollment.js +6 -0
  106. package/lib/commonjs/types/enrollment.js.map +1 -0
  107. package/lib/commonjs/types/index.js +204 -0
  108. package/lib/commonjs/types/index.js.map +1 -0
  109. package/lib/commonjs/types/inlineCheckout.js +6 -0
  110. package/lib/commonjs/types/inlineCheckout.js.map +1 -0
  111. package/lib/commonjs/types/input.js +6 -0
  112. package/lib/commonjs/types/input.js.map +1 -0
  113. package/lib/commonjs/types/liteCheckout.js +6 -0
  114. package/lib/commonjs/types/liteCheckout.js.map +1 -0
  115. package/lib/commonjs/types/openpay-react-native.d.js +2 -0
  116. package/lib/commonjs/types/openpay-react-native.d.js.map +1 -0
  117. package/lib/commonjs/types/openpay.js +2 -0
  118. package/lib/commonjs/types/openpay.js.map +1 -0
  119. package/lib/commonjs/types/payment.js +6 -0
  120. package/lib/commonjs/types/payment.js.map +1 -0
  121. package/lib/commonjs/types/secure.js +2 -0
  122. package/lib/commonjs/types/secure.js.map +1 -0
  123. package/lib/commonjs/types/skyflow-react-native.d.js +2 -0
  124. package/lib/commonjs/types/skyflow-react-native.d.js.map +1 -0
  125. package/lib/commonjs/types/threeDSHandler.js +6 -0
  126. package/lib/commonjs/types/threeDSHandler.js.map +1 -0
  127. package/lib/commonjs/types/transaction.js +2 -0
  128. package/lib/commonjs/types/transaction.js.map +1 -0
  129. package/lib/commonjs/ui/components/Button/ProcessButton.js +50 -0
  130. package/lib/commonjs/ui/components/Button/ProcessButton.js.map +1 -0
  131. package/lib/commonjs/ui/components/CardForm/index.js +80 -0
  132. package/lib/commonjs/ui/components/CardForm/index.js.map +1 -0
  133. package/lib/commonjs/ui/components/Checkbox/Checkbox.js +62 -0
  134. package/lib/commonjs/ui/components/Checkbox/Checkbox.js.map +1 -0
  135. package/lib/commonjs/ui/components/Input/CardCVVInput.js +83 -0
  136. package/lib/commonjs/ui/components/Input/CardCVVInput.js.map +1 -0
  137. package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js +91 -0
  138. package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js.map +1 -0
  139. package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js +84 -0
  140. package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js.map +1 -0
  141. package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js +84 -0
  142. package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js.map +1 -0
  143. package/lib/commonjs/ui/components/Input/CardHolderInput.js +83 -0
  144. package/lib/commonjs/ui/components/Input/CardHolderInput.js.map +1 -0
  145. package/lib/commonjs/ui/components/Input/CardNumberInput.js +83 -0
  146. package/lib/commonjs/ui/components/Input/CardNumberInput.js.map +1 -0
  147. package/lib/commonjs/ui/components/PaymentMethodsList/index.js +105 -0
  148. package/lib/commonjs/ui/components/PaymentMethodsList/index.js.map +1 -0
  149. package/lib/commonjs/ui/components/RadioButton/index.js +57 -0
  150. package/lib/commonjs/ui/components/RadioButton/index.js.map +1 -0
  151. package/lib/commonjs/ui/components/SavedCardsList/index.js +126 -0
  152. package/lib/commonjs/ui/components/SavedCardsList/index.js.map +1 -0
  153. package/lib/commonjs/ui/components/Skeleton/CardFormSkeleton.js +102 -0
  154. package/lib/commonjs/ui/components/Skeleton/CardFormSkeleton.js.map +1 -0
  155. package/lib/commonjs/ui/components/WebView/ThreeDSWebView.js +105 -0
  156. package/lib/commonjs/ui/components/WebView/ThreeDSWebView.js.map +1 -0
  157. package/lib/commonjs/ui/features/TonderEnrollment/index.js +119 -0
  158. package/lib/commonjs/ui/features/TonderEnrollment/index.js.map +1 -0
  159. package/lib/commonjs/ui/features/TonderPayment/index.js +195 -0
  160. package/lib/commonjs/ui/features/TonderPayment/index.js.map +1 -0
  161. package/lib/commonjs/ui/providers/InnerProvider/index.js +25 -0
  162. package/lib/commonjs/ui/providers/InnerProvider/index.js.map +1 -0
  163. package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js +31 -0
  164. package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js.map +1 -0
  165. package/lib/commonjs/ui/providers/TonderProvider/context.js +16 -0
  166. package/lib/commonjs/ui/providers/TonderProvider/context.js.map +1 -0
  167. package/lib/commonjs/ui/providers/TonderProvider/hook.js +15 -0
  168. package/lib/commonjs/ui/providers/TonderProvider/hook.js.map +1 -0
  169. package/lib/commonjs/ui/providers/TonderProvider/index.js +96 -0
  170. package/lib/commonjs/ui/providers/TonderProvider/index.js.map +1 -0
  171. package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js +61 -0
  172. package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js.map +1 -0
  173. package/lib/commonjs/ui/styles/payment.js +27 -0
  174. package/lib/commonjs/ui/styles/payment.js.map +1 -0
  175. package/lib/commonjs/ui/styles/skyflow.js +54 -0
  176. package/lib/commonjs/ui/styles/skyflow.js.map +1 -0
  177. package/lib/module/core/3DSHandler.js +102 -0
  178. package/lib/module/core/3DSHandler.js.map +1 -0
  179. package/lib/module/core/BaseCheckout/index.js +332 -0
  180. package/lib/module/core/BaseCheckout/index.js.map +1 -0
  181. package/lib/module/core/BaseEnrollment/index.js +81 -0
  182. package/lib/module/core/BaseEnrollment/index.js.map +1 -0
  183. package/lib/module/core/BaseSDK/index.js +70 -0
  184. package/lib/module/core/BaseSDK/index.js.map +1 -0
  185. package/lib/module/core/EnrollmentContainer/index.js +81 -0
  186. package/lib/module/core/EnrollmentContainer/index.js.map +1 -0
  187. package/lib/module/core/PaymentInlineContainer/index.js +106 -0
  188. package/lib/module/core/PaymentInlineContainer/index.js.map +1 -0
  189. package/lib/module/core/PaymentLiteContainer/index.js +153 -0
  190. package/lib/module/core/PaymentLiteContainer/index.js.map +1 -0
  191. package/lib/module/core/Tonder/index.js +129 -0
  192. package/lib/module/core/Tonder/index.js.map +1 -0
  193. package/lib/module/hooks/useTonder/index-old.js +37 -0
  194. package/lib/module/hooks/useTonder/index-old.js.map +1 -0
  195. package/lib/module/hooks/useTonder/index.js +11 -0
  196. package/lib/module/hooks/useTonder/index.js.map +1 -0
  197. package/lib/module/index.js +14 -0
  198. package/lib/module/index.js.map +1 -0
  199. package/lib/module/infrastructure/HttpClient.js +102 -0
  200. package/lib/module/infrastructure/HttpClient.js.map +1 -0
  201. package/lib/module/infrastructure/ServiceManager.js +27 -0
  202. package/lib/module/infrastructure/ServiceManager.js.map +1 -0
  203. package/lib/module/infrastructure/index.js +5 -0
  204. package/lib/module/infrastructure/index.js.map +1 -0
  205. package/lib/module/services/BusinessService.js +30 -0
  206. package/lib/module/services/BusinessService.js.map +1 -0
  207. package/lib/module/services/CardService.js +83 -0
  208. package/lib/module/services/CardService.js.map +1 -0
  209. package/lib/module/services/CheckoutService.js +115 -0
  210. package/lib/module/services/CheckoutService.js.map +1 -0
  211. package/lib/module/services/CustomerService.js +56 -0
  212. package/lib/module/services/CustomerService.js.map +1 -0
  213. package/lib/module/services/MercadoPagoService.js +22 -0
  214. package/lib/module/services/MercadoPagoService.js.map +1 -0
  215. package/lib/module/services/OpenPayService.js +20 -0
  216. package/lib/module/services/OpenPayService.js.map +1 -0
  217. package/lib/module/services/PaymentMethodService.js +31 -0
  218. package/lib/module/services/PaymentMethodService.js.map +1 -0
  219. package/lib/module/services/SkyflowService.js +47 -0
  220. package/lib/module/services/SkyflowService.js.map +1 -0
  221. package/lib/module/services/StorageService.js +43 -0
  222. package/lib/module/services/StorageService.js.map +1 -0
  223. package/lib/module/services/TokenService.js +40 -0
  224. package/lib/module/services/TokenService.js.map +1 -0
  225. package/lib/module/services/TransactionService.js +20 -0
  226. package/lib/module/services/TransactionService.js.map +1 -0
  227. package/lib/module/services/index.js +15 -0
  228. package/lib/module/services/index.js.map +1 -0
  229. package/lib/module/shared/catalog/cardBrandCatalog.js +14 -0
  230. package/lib/module/shared/catalog/cardBrandCatalog.js.map +1 -0
  231. package/lib/module/shared/catalog/paymentMethodsCatalog.js +247 -0
  232. package/lib/module/shared/catalog/paymentMethodsCatalog.js.map +1 -0
  233. package/lib/module/shared/constants/environments.js +10 -0
  234. package/lib/module/shared/constants/environments.js.map +1 -0
  235. package/lib/module/shared/constants/index.js +5 -0
  236. package/lib/module/shared/constants/index.js.map +1 -0
  237. package/lib/module/shared/constants/messages.js +97 -0
  238. package/lib/module/shared/constants/messages.js.map +1 -0
  239. package/lib/module/shared/constants/paymentMethods.js +65 -0
  240. package/lib/module/shared/constants/paymentMethods.js.map +1 -0
  241. package/lib/module/shared/constants/skyflow.js +43 -0
  242. package/lib/module/shared/constants/skyflow.js.map +1 -0
  243. package/lib/module/shared/enum/ErrorKeyEnum.js +51 -0
  244. package/lib/module/shared/enum/ErrorKeyEnum.js.map +1 -0
  245. package/lib/module/shared/enum/index.js +4 -0
  246. package/lib/module/shared/enum/index.js.map +1 -0
  247. package/lib/module/shared/index.js +6 -0
  248. package/lib/module/shared/index.js.map +1 -0
  249. package/lib/module/shared/utils/common.js +41 -0
  250. package/lib/module/shared/utils/common.js.map +1 -0
  251. package/lib/module/shared/utils/errors.js +17 -0
  252. package/lib/module/shared/utils/errors.js.map +1 -0
  253. package/lib/module/shared/utils/numberUtils.js +13 -0
  254. package/lib/module/shared/utils/numberUtils.js.map +1 -0
  255. package/lib/module/shared/utils/paymentMethodUtils.js +16 -0
  256. package/lib/module/shared/utils/paymentMethodUtils.js.map +1 -0
  257. package/lib/module/shared/utils/stringUtils.js +6 -0
  258. package/lib/module/shared/utils/stringUtils.js.map +1 -0
  259. package/lib/module/shared/utils/styleUtils.js +17 -0
  260. package/lib/module/shared/utils/styleUtils.js.map +1 -0
  261. package/lib/module/types/base.js +13 -0
  262. package/lib/module/types/base.js.map +1 -0
  263. package/lib/module/types/baseCheckout.js +4 -0
  264. package/lib/module/types/baseCheckout.js.map +1 -0
  265. package/lib/module/types/baseEnrollment.js +4 -0
  266. package/lib/module/types/baseEnrollment.js.map +1 -0
  267. package/lib/module/types/baseSDK.js +4 -0
  268. package/lib/module/types/baseSDK.js.map +1 -0
  269. package/lib/module/types/business.js +2 -0
  270. package/lib/module/types/business.js.map +1 -0
  271. package/lib/module/types/card.js +2 -0
  272. package/lib/module/types/card.js.map +1 -0
  273. package/lib/module/types/checkout.js +4 -0
  274. package/lib/module/types/checkout.js.map +1 -0
  275. package/lib/module/types/common.js +4 -0
  276. package/lib/module/types/common.js.map +1 -0
  277. package/lib/module/types/customer.js +2 -0
  278. package/lib/module/types/customer.js.map +1 -0
  279. package/lib/module/types/enrollment.js +4 -0
  280. package/lib/module/types/enrollment.js.map +1 -0
  281. package/lib/module/types/index.js +21 -0
  282. package/lib/module/types/index.js.map +1 -0
  283. package/lib/module/types/inlineCheckout.js +4 -0
  284. package/lib/module/types/inlineCheckout.js.map +1 -0
  285. package/lib/module/types/input.js +4 -0
  286. package/lib/module/types/input.js.map +1 -0
  287. package/lib/module/types/liteCheckout.js +4 -0
  288. package/lib/module/types/liteCheckout.js.map +1 -0
  289. package/lib/module/types/openpay-react-native.d.js +2 -0
  290. package/lib/module/types/openpay-react-native.d.js.map +1 -0
  291. package/lib/module/types/openpay.js +2 -0
  292. package/lib/module/types/openpay.js.map +1 -0
  293. package/lib/module/types/payment.js +4 -0
  294. package/lib/module/types/payment.js.map +1 -0
  295. package/lib/module/types/secure.js +2 -0
  296. package/lib/module/types/secure.js.map +1 -0
  297. package/lib/module/types/skyflow-react-native.d.js +2 -0
  298. package/lib/module/types/skyflow-react-native.d.js.map +1 -0
  299. package/lib/module/types/threeDSHandler.js +4 -0
  300. package/lib/module/types/threeDSHandler.js.map +1 -0
  301. package/lib/module/types/transaction.js +2 -0
  302. package/lib/module/types/transaction.js.map +1 -0
  303. package/lib/module/ui/components/Button/ProcessButton.js +44 -0
  304. package/lib/module/ui/components/Button/ProcessButton.js.map +1 -0
  305. package/lib/module/ui/components/CardForm/index.js +74 -0
  306. package/lib/module/ui/components/CardForm/index.js.map +1 -0
  307. package/lib/module/ui/components/Checkbox/Checkbox.js +56 -0
  308. package/lib/module/ui/components/Checkbox/Checkbox.js.map +1 -0
  309. package/lib/module/ui/components/Input/CardCVVInput.js +75 -0
  310. package/lib/module/ui/components/Input/CardCVVInput.js.map +1 -0
  311. package/lib/module/ui/components/Input/CardExpirationDateInput.js +84 -0
  312. package/lib/module/ui/components/Input/CardExpirationDateInput.js.map +1 -0
  313. package/lib/module/ui/components/Input/CardExpirationMonthInput.js +77 -0
  314. package/lib/module/ui/components/Input/CardExpirationMonthInput.js.map +1 -0
  315. package/lib/module/ui/components/Input/CardExpirationYearInput.js +76 -0
  316. package/lib/module/ui/components/Input/CardExpirationYearInput.js.map +1 -0
  317. package/lib/module/ui/components/Input/CardHolderInput.js +75 -0
  318. package/lib/module/ui/components/Input/CardHolderInput.js.map +1 -0
  319. package/lib/module/ui/components/Input/CardNumberInput.js +75 -0
  320. package/lib/module/ui/components/Input/CardNumberInput.js.map +1 -0
  321. package/lib/module/ui/components/PaymentMethodsList/index.js +100 -0
  322. package/lib/module/ui/components/PaymentMethodsList/index.js.map +1 -0
  323. package/lib/module/ui/components/RadioButton/index.js +50 -0
  324. package/lib/module/ui/components/RadioButton/index.js.map +1 -0
  325. package/lib/module/ui/components/SavedCardsList/index.js +121 -0
  326. package/lib/module/ui/components/SavedCardsList/index.js.map +1 -0
  327. package/lib/module/ui/components/Skeleton/CardFormSkeleton.js +97 -0
  328. package/lib/module/ui/components/Skeleton/CardFormSkeleton.js.map +1 -0
  329. package/lib/module/ui/components/WebView/ThreeDSWebView.js +96 -0
  330. package/lib/module/ui/components/WebView/ThreeDSWebView.js.map +1 -0
  331. package/lib/module/ui/features/TonderEnrollment/index.js +114 -0
  332. package/lib/module/ui/features/TonderEnrollment/index.js.map +1 -0
  333. package/lib/module/ui/features/TonderPayment/index.js +188 -0
  334. package/lib/module/ui/features/TonderPayment/index.js.map +1 -0
  335. package/lib/module/ui/providers/InnerProvider/index.js +19 -0
  336. package/lib/module/ui/providers/InnerProvider/index.js.map +1 -0
  337. package/lib/module/ui/providers/SkyflowContainerWrapper/index.js +24 -0
  338. package/lib/module/ui/providers/SkyflowContainerWrapper/index.js.map +1 -0
  339. package/lib/module/ui/providers/TonderProvider/context.js +10 -0
  340. package/lib/module/ui/providers/TonderProvider/context.js.map +1 -0
  341. package/lib/module/ui/providers/TonderProvider/hook.js +10 -0
  342. package/lib/module/ui/providers/TonderProvider/hook.js.map +1 -0
  343. package/lib/module/ui/providers/TonderProvider/index.js +88 -0
  344. package/lib/module/ui/providers/TonderProvider/index.js.map +1 -0
  345. package/lib/module/ui/providers/TonderProvider/uiWrapper.js +57 -0
  346. package/lib/module/ui/providers/TonderProvider/uiWrapper.js.map +1 -0
  347. package/lib/module/ui/styles/payment.js +25 -0
  348. package/lib/module/ui/styles/payment.js.map +1 -0
  349. package/lib/module/ui/styles/skyflow.js +52 -0
  350. package/lib/module/ui/styles/skyflow.js.map +1 -0
  351. package/lib/typescript/commonjs/package.json +1 -0
  352. package/lib/typescript/commonjs/src/core/3DSHandler.d.ts +23 -0
  353. package/lib/typescript/commonjs/src/core/3DSHandler.d.ts.map +1 -0
  354. package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts +28 -0
  355. package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts.map +1 -0
  356. package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts +16 -0
  357. package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts +19 -0
  359. package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts +15 -0
  361. package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts +17 -0
  363. package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts +21 -0
  365. package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/core/Tonder/index.d.ts +33 -0
  367. package/lib/typescript/commonjs/src/core/Tonder/index.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/src/hooks/useTonder/index-old.d.ts +1 -0
  369. package/lib/typescript/commonjs/src/hooks/useTonder/index-old.d.ts.map +1 -0
  370. package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts +4 -0
  371. package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/src/index.d.ts +12 -0
  373. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts +20 -0
  375. package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts +19 -0
  377. package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts.map +1 -0
  378. package/lib/typescript/commonjs/src/infrastructure/index.d.ts +3 -0
  379. package/lib/typescript/commonjs/src/infrastructure/index.d.ts.map +1 -0
  380. package/lib/typescript/commonjs/src/services/BusinessService.d.ts +15 -0
  381. package/lib/typescript/commonjs/src/services/BusinessService.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/services/CardService.d.ts +28 -0
  383. package/lib/typescript/commonjs/src/services/CardService.d.ts.map +1 -0
  384. package/lib/typescript/commonjs/src/services/CheckoutService.d.ts +37 -0
  385. package/lib/typescript/commonjs/src/services/CheckoutService.d.ts.map +1 -0
  386. package/lib/typescript/commonjs/src/services/CustomerService.d.ts +24 -0
  387. package/lib/typescript/commonjs/src/services/CustomerService.d.ts.map +1 -0
  388. package/lib/typescript/commonjs/src/services/MercadoPagoService.d.ts +4 -0
  389. package/lib/typescript/commonjs/src/services/MercadoPagoService.d.ts.map +1 -0
  390. package/lib/typescript/commonjs/src/services/OpenPayService.d.ts +4 -0
  391. package/lib/typescript/commonjs/src/services/OpenPayService.d.ts.map +1 -0
  392. package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts +15 -0
  393. package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts.map +1 -0
  394. package/lib/typescript/commonjs/src/services/SkyflowService.d.ts +15 -0
  395. package/lib/typescript/commonjs/src/services/SkyflowService.d.ts.map +1 -0
  396. package/lib/typescript/commonjs/src/services/StorageService.d.ts +7 -0
  397. package/lib/typescript/commonjs/src/services/StorageService.d.ts.map +1 -0
  398. package/lib/typescript/commonjs/src/services/TokenService.d.ts +16 -0
  399. package/lib/typescript/commonjs/src/services/TokenService.d.ts.map +1 -0
  400. package/lib/typescript/commonjs/src/services/TransactionService.d.ts +8 -0
  401. package/lib/typescript/commonjs/src/services/TransactionService.d.ts.map +1 -0
  402. package/lib/typescript/commonjs/src/services/index.d.ts +13 -0
  403. package/lib/typescript/commonjs/src/services/index.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/src/shared/catalog/cardBrandCatalog.d.ts +2 -0
  405. package/lib/typescript/commonjs/src/shared/catalog/cardBrandCatalog.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/shared/catalog/paymentMethodsCatalog.d.ts +5 -0
  407. package/lib/typescript/commonjs/src/shared/catalog/paymentMethodsCatalog.d.ts.map +1 -0
  408. package/lib/typescript/commonjs/src/shared/constants/environments.d.ts +8 -0
  409. package/lib/typescript/commonjs/src/shared/constants/environments.d.ts.map +1 -0
  410. package/lib/typescript/commonjs/src/shared/constants/index.d.ts +3 -0
  411. package/lib/typescript/commonjs/src/shared/constants/index.d.ts.map +1 -0
  412. package/lib/typescript/commonjs/src/shared/constants/messages.d.ts +94 -0
  413. package/lib/typescript/commonjs/src/shared/constants/messages.d.ts.map +1 -0
  414. package/lib/typescript/commonjs/src/shared/constants/paymentMethods.d.ts +63 -0
  415. package/lib/typescript/commonjs/src/shared/constants/paymentMethods.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/src/shared/constants/skyflow.d.ts +38 -0
  417. package/lib/typescript/commonjs/src/shared/constants/skyflow.d.ts.map +1 -0
  418. package/lib/typescript/commonjs/src/shared/enum/ErrorKeyEnum.d.ts +48 -0
  419. package/lib/typescript/commonjs/src/shared/enum/ErrorKeyEnum.d.ts.map +1 -0
  420. package/lib/typescript/commonjs/src/shared/enum/index.d.ts +2 -0
  421. package/lib/typescript/commonjs/src/shared/enum/index.d.ts.map +1 -0
  422. package/lib/typescript/commonjs/src/shared/index.d.ts +4 -0
  423. package/lib/typescript/commonjs/src/shared/index.d.ts.map +1 -0
  424. package/lib/typescript/commonjs/src/shared/utils/common.d.ts +9 -0
  425. package/lib/typescript/commonjs/src/shared/utils/common.d.ts.map +1 -0
  426. package/lib/typescript/commonjs/src/shared/utils/errors.d.ts +16 -0
  427. package/lib/typescript/commonjs/src/shared/utils/errors.d.ts.map +1 -0
  428. package/lib/typescript/commonjs/src/shared/utils/numberUtils.d.ts +2 -0
  429. package/lib/typescript/commonjs/src/shared/utils/numberUtils.d.ts.map +1 -0
  430. package/lib/typescript/commonjs/src/shared/utils/paymentMethodUtils.d.ts +2 -0
  431. package/lib/typescript/commonjs/src/shared/utils/paymentMethodUtils.d.ts.map +1 -0
  432. package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts +2 -0
  433. package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts.map +1 -0
  434. package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts +8 -0
  435. package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts.map +1 -0
  436. package/lib/typescript/commonjs/src/types/base.d.ts +48 -0
  437. package/lib/typescript/commonjs/src/types/base.d.ts.map +1 -0
  438. package/lib/typescript/commonjs/src/types/baseCheckout.d.ts +29 -0
  439. package/lib/typescript/commonjs/src/types/baseCheckout.d.ts.map +1 -0
  440. package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts +11 -0
  441. package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts.map +1 -0
  442. package/lib/typescript/commonjs/src/types/baseSDK.d.ts +10 -0
  443. package/lib/typescript/commonjs/src/types/baseSDK.d.ts.map +1 -0
  444. package/lib/typescript/commonjs/src/types/business.d.ts +36 -0
  445. package/lib/typescript/commonjs/src/types/business.d.ts.map +1 -0
  446. package/lib/typescript/commonjs/src/types/card.d.ts +33 -0
  447. package/lib/typescript/commonjs/src/types/card.d.ts.map +1 -0
  448. package/lib/typescript/commonjs/src/types/checkout.d.ts +150 -0
  449. package/lib/typescript/commonjs/src/types/checkout.d.ts.map +1 -0
  450. package/lib/typescript/commonjs/src/types/common.d.ts +60 -0
  451. package/lib/typescript/commonjs/src/types/common.d.ts.map +1 -0
  452. package/lib/typescript/commonjs/src/types/customer.d.ts +28 -0
  453. package/lib/typescript/commonjs/src/types/customer.d.ts.map +1 -0
  454. package/lib/typescript/commonjs/src/types/enrollment.d.ts +66 -0
  455. package/lib/typescript/commonjs/src/types/enrollment.d.ts.map +1 -0
  456. package/lib/typescript/commonjs/src/types/index.d.ts +19 -0
  457. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -0
  458. package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts +78 -0
  459. package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts.map +1 -0
  460. package/lib/typescript/commonjs/src/types/input.d.ts +13 -0
  461. package/lib/typescript/commonjs/src/types/input.d.ts.map +1 -0
  462. package/lib/typescript/commonjs/src/types/liteCheckout.d.ts +90 -0
  463. package/lib/typescript/commonjs/src/types/liteCheckout.d.ts.map +1 -0
  464. package/lib/typescript/commonjs/src/types/openpay.d.ts +11 -0
  465. package/lib/typescript/commonjs/src/types/openpay.d.ts.map +1 -0
  466. package/lib/typescript/commonjs/src/types/payment.d.ts +59 -0
  467. package/lib/typescript/commonjs/src/types/payment.d.ts.map +1 -0
  468. package/lib/typescript/commonjs/src/types/secure.d.ts +4 -0
  469. package/lib/typescript/commonjs/src/types/secure.d.ts.map +1 -0
  470. package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts +7 -0
  471. package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts.map +1 -0
  472. package/lib/typescript/commonjs/src/types/transaction.d.ts +103 -0
  473. package/lib/typescript/commonjs/src/types/transaction.d.ts.map +1 -0
  474. package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts +11 -0
  475. package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts.map +1 -0
  476. package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts +13 -0
  477. package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts.map +1 -0
  478. package/lib/typescript/commonjs/src/ui/components/Checkbox/Checkbox.d.ts +9 -0
  479. package/lib/typescript/commonjs/src/ui/components/Checkbox/Checkbox.d.ts.map +1 -0
  480. package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts +4 -0
  481. package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts.map +1 -0
  482. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts +10 -0
  483. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -0
  484. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts +4 -0
  485. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -0
  486. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts +4 -0
  487. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -0
  488. package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts +4 -0
  489. package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts.map +1 -0
  490. package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts +4 -0
  491. package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts.map +1 -0
  492. package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts +11 -0
  493. package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -0
  494. package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts +14 -0
  495. package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts.map +1 -0
  496. package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts +14 -0
  497. package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts.map +1 -0
  498. package/lib/typescript/commonjs/src/ui/components/Skeleton/CardFormSkeleton.d.ts +5 -0
  499. package/lib/typescript/commonjs/src/ui/components/Skeleton/CardFormSkeleton.d.ts.map +1 -0
  500. package/lib/typescript/commonjs/src/ui/components/WebView/ThreeDSWebView.d.ts +9 -0
  501. package/lib/typescript/commonjs/src/ui/components/WebView/ThreeDSWebView.d.ts.map +1 -0
  502. package/lib/typescript/commonjs/src/ui/features/TonderEnrollment/index.d.ts +6 -0
  503. package/lib/typescript/commonjs/src/ui/features/TonderEnrollment/index.d.ts.map +1 -0
  504. package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts +6 -0
  505. package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts.map +1 -0
  506. package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts +10 -0
  507. package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts.map +1 -0
  508. package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts +10 -0
  509. package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -0
  510. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts +5 -0
  511. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts.map +1 -0
  512. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts +4 -0
  513. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts.map +1 -0
  514. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts +8 -0
  515. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts.map +1 -0
  516. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts +10 -0
  517. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -0
  518. package/lib/typescript/commonjs/src/ui/styles/payment.d.ts +20 -0
  519. package/lib/typescript/commonjs/src/ui/styles/payment.d.ts.map +1 -0
  520. package/lib/typescript/commonjs/src/ui/styles/skyflow.d.ts +44 -0
  521. package/lib/typescript/commonjs/src/ui/styles/skyflow.d.ts.map +1 -0
  522. package/lib/typescript/module/package.json +1 -0
  523. package/lib/typescript/module/src/core/3DSHandler.d.ts +23 -0
  524. package/lib/typescript/module/src/core/3DSHandler.d.ts.map +1 -0
  525. package/lib/typescript/module/src/core/BaseCheckout/index.d.ts +28 -0
  526. package/lib/typescript/module/src/core/BaseCheckout/index.d.ts.map +1 -0
  527. package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts +16 -0
  528. package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts.map +1 -0
  529. package/lib/typescript/module/src/core/BaseSDK/index.d.ts +19 -0
  530. package/lib/typescript/module/src/core/BaseSDK/index.d.ts.map +1 -0
  531. package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts +15 -0
  532. package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts.map +1 -0
  533. package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts +17 -0
  534. package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts.map +1 -0
  535. package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts +21 -0
  536. package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts.map +1 -0
  537. package/lib/typescript/module/src/core/Tonder/index.d.ts +33 -0
  538. package/lib/typescript/module/src/core/Tonder/index.d.ts.map +1 -0
  539. package/lib/typescript/module/src/hooks/useTonder/index-old.d.ts +1 -0
  540. package/lib/typescript/module/src/hooks/useTonder/index-old.d.ts.map +1 -0
  541. package/lib/typescript/module/src/hooks/useTonder/index.d.ts +4 -0
  542. package/lib/typescript/module/src/hooks/useTonder/index.d.ts.map +1 -0
  543. package/lib/typescript/module/src/index.d.ts +12 -0
  544. package/lib/typescript/module/src/index.d.ts.map +1 -0
  545. package/lib/typescript/module/src/infrastructure/HttpClient.d.ts +20 -0
  546. package/lib/typescript/module/src/infrastructure/HttpClient.d.ts.map +1 -0
  547. package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts +19 -0
  548. package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts.map +1 -0
  549. package/lib/typescript/module/src/infrastructure/index.d.ts +3 -0
  550. package/lib/typescript/module/src/infrastructure/index.d.ts.map +1 -0
  551. package/lib/typescript/module/src/services/BusinessService.d.ts +15 -0
  552. package/lib/typescript/module/src/services/BusinessService.d.ts.map +1 -0
  553. package/lib/typescript/module/src/services/CardService.d.ts +28 -0
  554. package/lib/typescript/module/src/services/CardService.d.ts.map +1 -0
  555. package/lib/typescript/module/src/services/CheckoutService.d.ts +37 -0
  556. package/lib/typescript/module/src/services/CheckoutService.d.ts.map +1 -0
  557. package/lib/typescript/module/src/services/CustomerService.d.ts +24 -0
  558. package/lib/typescript/module/src/services/CustomerService.d.ts.map +1 -0
  559. package/lib/typescript/module/src/services/MercadoPagoService.d.ts +4 -0
  560. package/lib/typescript/module/src/services/MercadoPagoService.d.ts.map +1 -0
  561. package/lib/typescript/module/src/services/OpenPayService.d.ts +4 -0
  562. package/lib/typescript/module/src/services/OpenPayService.d.ts.map +1 -0
  563. package/lib/typescript/module/src/services/PaymentMethodService.d.ts +15 -0
  564. package/lib/typescript/module/src/services/PaymentMethodService.d.ts.map +1 -0
  565. package/lib/typescript/module/src/services/SkyflowService.d.ts +15 -0
  566. package/lib/typescript/module/src/services/SkyflowService.d.ts.map +1 -0
  567. package/lib/typescript/module/src/services/StorageService.d.ts +7 -0
  568. package/lib/typescript/module/src/services/StorageService.d.ts.map +1 -0
  569. package/lib/typescript/module/src/services/TokenService.d.ts +16 -0
  570. package/lib/typescript/module/src/services/TokenService.d.ts.map +1 -0
  571. package/lib/typescript/module/src/services/TransactionService.d.ts +8 -0
  572. package/lib/typescript/module/src/services/TransactionService.d.ts.map +1 -0
  573. package/lib/typescript/module/src/services/index.d.ts +13 -0
  574. package/lib/typescript/module/src/services/index.d.ts.map +1 -0
  575. package/lib/typescript/module/src/shared/catalog/cardBrandCatalog.d.ts +2 -0
  576. package/lib/typescript/module/src/shared/catalog/cardBrandCatalog.d.ts.map +1 -0
  577. package/lib/typescript/module/src/shared/catalog/paymentMethodsCatalog.d.ts +5 -0
  578. package/lib/typescript/module/src/shared/catalog/paymentMethodsCatalog.d.ts.map +1 -0
  579. package/lib/typescript/module/src/shared/constants/environments.d.ts +8 -0
  580. package/lib/typescript/module/src/shared/constants/environments.d.ts.map +1 -0
  581. package/lib/typescript/module/src/shared/constants/index.d.ts +3 -0
  582. package/lib/typescript/module/src/shared/constants/index.d.ts.map +1 -0
  583. package/lib/typescript/module/src/shared/constants/messages.d.ts +94 -0
  584. package/lib/typescript/module/src/shared/constants/messages.d.ts.map +1 -0
  585. package/lib/typescript/module/src/shared/constants/paymentMethods.d.ts +63 -0
  586. package/lib/typescript/module/src/shared/constants/paymentMethods.d.ts.map +1 -0
  587. package/lib/typescript/module/src/shared/constants/skyflow.d.ts +38 -0
  588. package/lib/typescript/module/src/shared/constants/skyflow.d.ts.map +1 -0
  589. package/lib/typescript/module/src/shared/enum/ErrorKeyEnum.d.ts +48 -0
  590. package/lib/typescript/module/src/shared/enum/ErrorKeyEnum.d.ts.map +1 -0
  591. package/lib/typescript/module/src/shared/enum/index.d.ts +2 -0
  592. package/lib/typescript/module/src/shared/enum/index.d.ts.map +1 -0
  593. package/lib/typescript/module/src/shared/index.d.ts +4 -0
  594. package/lib/typescript/module/src/shared/index.d.ts.map +1 -0
  595. package/lib/typescript/module/src/shared/utils/common.d.ts +9 -0
  596. package/lib/typescript/module/src/shared/utils/common.d.ts.map +1 -0
  597. package/lib/typescript/module/src/shared/utils/errors.d.ts +16 -0
  598. package/lib/typescript/module/src/shared/utils/errors.d.ts.map +1 -0
  599. package/lib/typescript/module/src/shared/utils/numberUtils.d.ts +2 -0
  600. package/lib/typescript/module/src/shared/utils/numberUtils.d.ts.map +1 -0
  601. package/lib/typescript/module/src/shared/utils/paymentMethodUtils.d.ts +2 -0
  602. package/lib/typescript/module/src/shared/utils/paymentMethodUtils.d.ts.map +1 -0
  603. package/lib/typescript/module/src/shared/utils/stringUtils.d.ts +2 -0
  604. package/lib/typescript/module/src/shared/utils/stringUtils.d.ts.map +1 -0
  605. package/lib/typescript/module/src/shared/utils/styleUtils.d.ts +8 -0
  606. package/lib/typescript/module/src/shared/utils/styleUtils.d.ts.map +1 -0
  607. package/lib/typescript/module/src/types/base.d.ts +48 -0
  608. package/lib/typescript/module/src/types/base.d.ts.map +1 -0
  609. package/lib/typescript/module/src/types/baseCheckout.d.ts +29 -0
  610. package/lib/typescript/module/src/types/baseCheckout.d.ts.map +1 -0
  611. package/lib/typescript/module/src/types/baseEnrollment.d.ts +11 -0
  612. package/lib/typescript/module/src/types/baseEnrollment.d.ts.map +1 -0
  613. package/lib/typescript/module/src/types/baseSDK.d.ts +10 -0
  614. package/lib/typescript/module/src/types/baseSDK.d.ts.map +1 -0
  615. package/lib/typescript/module/src/types/business.d.ts +36 -0
  616. package/lib/typescript/module/src/types/business.d.ts.map +1 -0
  617. package/lib/typescript/module/src/types/card.d.ts +33 -0
  618. package/lib/typescript/module/src/types/card.d.ts.map +1 -0
  619. package/lib/typescript/module/src/types/checkout.d.ts +150 -0
  620. package/lib/typescript/module/src/types/checkout.d.ts.map +1 -0
  621. package/lib/typescript/module/src/types/common.d.ts +60 -0
  622. package/lib/typescript/module/src/types/common.d.ts.map +1 -0
  623. package/lib/typescript/module/src/types/customer.d.ts +28 -0
  624. package/lib/typescript/module/src/types/customer.d.ts.map +1 -0
  625. package/lib/typescript/module/src/types/enrollment.d.ts +66 -0
  626. package/lib/typescript/module/src/types/enrollment.d.ts.map +1 -0
  627. package/lib/typescript/module/src/types/index.d.ts +19 -0
  628. package/lib/typescript/module/src/types/index.d.ts.map +1 -0
  629. package/lib/typescript/module/src/types/inlineCheckout.d.ts +78 -0
  630. package/lib/typescript/module/src/types/inlineCheckout.d.ts.map +1 -0
  631. package/lib/typescript/module/src/types/input.d.ts +13 -0
  632. package/lib/typescript/module/src/types/input.d.ts.map +1 -0
  633. package/lib/typescript/module/src/types/liteCheckout.d.ts +90 -0
  634. package/lib/typescript/module/src/types/liteCheckout.d.ts.map +1 -0
  635. package/lib/typescript/module/src/types/openpay.d.ts +11 -0
  636. package/lib/typescript/module/src/types/openpay.d.ts.map +1 -0
  637. package/lib/typescript/module/src/types/payment.d.ts +59 -0
  638. package/lib/typescript/module/src/types/payment.d.ts.map +1 -0
  639. package/lib/typescript/module/src/types/secure.d.ts +4 -0
  640. package/lib/typescript/module/src/types/secure.d.ts.map +1 -0
  641. package/lib/typescript/module/src/types/threeDSHandler.d.ts +7 -0
  642. package/lib/typescript/module/src/types/threeDSHandler.d.ts.map +1 -0
  643. package/lib/typescript/module/src/types/transaction.d.ts +103 -0
  644. package/lib/typescript/module/src/types/transaction.d.ts.map +1 -0
  645. package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts +11 -0
  646. package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts.map +1 -0
  647. package/lib/typescript/module/src/ui/components/CardForm/index.d.ts +13 -0
  648. package/lib/typescript/module/src/ui/components/CardForm/index.d.ts.map +1 -0
  649. package/lib/typescript/module/src/ui/components/Checkbox/Checkbox.d.ts +9 -0
  650. package/lib/typescript/module/src/ui/components/Checkbox/Checkbox.d.ts.map +1 -0
  651. package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts +4 -0
  652. package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts.map +1 -0
  653. package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts +10 -0
  654. package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -0
  655. package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts +4 -0
  656. package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -0
  657. package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts +4 -0
  658. package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -0
  659. package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts +4 -0
  660. package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts.map +1 -0
  661. package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts +4 -0
  662. package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts.map +1 -0
  663. package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts +11 -0
  664. package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -0
  665. package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts +14 -0
  666. package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts.map +1 -0
  667. package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts +14 -0
  668. package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts.map +1 -0
  669. package/lib/typescript/module/src/ui/components/Skeleton/CardFormSkeleton.d.ts +5 -0
  670. package/lib/typescript/module/src/ui/components/Skeleton/CardFormSkeleton.d.ts.map +1 -0
  671. package/lib/typescript/module/src/ui/components/WebView/ThreeDSWebView.d.ts +9 -0
  672. package/lib/typescript/module/src/ui/components/WebView/ThreeDSWebView.d.ts.map +1 -0
  673. package/lib/typescript/module/src/ui/features/TonderEnrollment/index.d.ts +6 -0
  674. package/lib/typescript/module/src/ui/features/TonderEnrollment/index.d.ts.map +1 -0
  675. package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts +6 -0
  676. package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts.map +1 -0
  677. package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts +10 -0
  678. package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts.map +1 -0
  679. package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts +10 -0
  680. package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -0
  681. package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts +5 -0
  682. package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts.map +1 -0
  683. package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts +4 -0
  684. package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts.map +1 -0
  685. package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts +8 -0
  686. package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts.map +1 -0
  687. package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts +10 -0
  688. package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -0
  689. package/lib/typescript/module/src/ui/styles/payment.d.ts +20 -0
  690. package/lib/typescript/module/src/ui/styles/payment.d.ts.map +1 -0
  691. package/lib/typescript/module/src/ui/styles/skyflow.d.ts +44 -0
  692. package/lib/typescript/module/src/ui/styles/skyflow.d.ts.map +1 -0
  693. package/package.json +206 -0
  694. package/src/core/3DSHandler.ts +140 -0
  695. package/src/core/BaseCheckout/index.ts +420 -0
  696. package/src/core/BaseEnrollment/index.ts +99 -0
  697. package/src/core/BaseSDK/index.ts +93 -0
  698. package/src/core/EnrollmentContainer/index.ts +105 -0
  699. package/src/core/PaymentInlineContainer/index.ts +127 -0
  700. package/src/core/PaymentLiteContainer/index.ts +201 -0
  701. package/src/core/Tonder/index.ts +147 -0
  702. package/src/hooks/useTonder/index-old.ts +35 -0
  703. package/src/hooks/useTonder/index.ts +10 -0
  704. package/src/index.tsx +11 -0
  705. package/src/infrastructure/HttpClient.ts +121 -0
  706. package/src/infrastructure/ServiceManager.ts +54 -0
  707. package/src/infrastructure/index.ts +2 -0
  708. package/src/services/BusinessService.ts +33 -0
  709. package/src/services/CardService.ts +118 -0
  710. package/src/services/CheckoutService.ts +135 -0
  711. package/src/services/CustomerService.ts +59 -0
  712. package/src/services/MercadoPagoService.ts +19 -0
  713. package/src/services/OpenPayService.ts +22 -0
  714. package/src/services/PaymentMethodService.ts +38 -0
  715. package/src/services/SkyflowService.ts +50 -0
  716. package/src/services/StorageService.ts +56 -0
  717. package/src/services/TokenService.ts +45 -0
  718. package/src/services/TransactionService.ts +23 -0
  719. package/src/services/index.ts +12 -0
  720. package/src/shared/catalog/cardBrandCatalog.ts +16 -0
  721. package/src/shared/catalog/paymentMethodsCatalog.ts +252 -0
  722. package/src/shared/constants/environments.ts +8 -0
  723. package/src/shared/constants/index.ts +2 -0
  724. package/src/shared/constants/messages.ts +119 -0
  725. package/src/shared/constants/paymentMethods.ts +63 -0
  726. package/src/shared/constants/skyflow.ts +60 -0
  727. package/src/shared/enum/ErrorKeyEnum.ts +47 -0
  728. package/src/shared/enum/index.ts +1 -0
  729. package/src/shared/index.ts +3 -0
  730. package/src/shared/utils/common.ts +46 -0
  731. package/src/shared/utils/errors.ts +25 -0
  732. package/src/shared/utils/numberUtils.ts +10 -0
  733. package/src/shared/utils/paymentMethodUtils.ts +17 -0
  734. package/src/shared/utils/stringUtils.ts +3 -0
  735. package/src/shared/utils/styleUtils.ts +11 -0
  736. package/src/types/base.ts +79 -0
  737. package/src/types/baseCheckout.ts +42 -0
  738. package/src/types/baseEnrollment.ts +17 -0
  739. package/src/types/baseSDK.ts +10 -0
  740. package/src/types/business.ts +34 -0
  741. package/src/types/card.ts +38 -0
  742. package/src/types/checkout.ts +157 -0
  743. package/src/types/common.ts +68 -0
  744. package/src/types/customer.ts +29 -0
  745. package/src/types/enrollment.ts +70 -0
  746. package/src/types/index.ts +18 -0
  747. package/src/types/inlineCheckout.ts +96 -0
  748. package/src/types/input.ts +17 -0
  749. package/src/types/liteCheckout.ts +108 -0
  750. package/src/types/openpay-react-native.d.ts +3 -0
  751. package/src/types/openpay.ts +8 -0
  752. package/src/types/payment.ts +66 -0
  753. package/src/types/secure.ts +3 -0
  754. package/src/types/skyflow-react-native.d.ts +81 -0
  755. package/src/types/threeDSHandler.ts +10 -0
  756. package/src/types/transaction.ts +106 -0
  757. package/src/ui/components/Button/ProcessButton.tsx +57 -0
  758. package/src/ui/components/CardForm/index.tsx +91 -0
  759. package/src/ui/components/Checkbox/Checkbox.tsx +56 -0
  760. package/src/ui/components/Input/CardCVVInput.tsx +91 -0
  761. package/src/ui/components/Input/CardExpirationDateInput.tsx +95 -0
  762. package/src/ui/components/Input/CardExpirationMonthInput.tsx +90 -0
  763. package/src/ui/components/Input/CardExpirationYearInput.tsx +91 -0
  764. package/src/ui/components/Input/CardHolderInput.tsx +91 -0
  765. package/src/ui/components/Input/CardNumberInput.tsx +90 -0
  766. package/src/ui/components/PaymentMethodsList/index.tsx +103 -0
  767. package/src/ui/components/RadioButton/index.tsx +57 -0
  768. package/src/ui/components/SavedCardsList/index.tsx +137 -0
  769. package/src/ui/components/Skeleton/CardFormSkeleton.tsx +109 -0
  770. package/src/ui/components/WebView/ThreeDSWebView.tsx +110 -0
  771. package/src/ui/features/TonderEnrollment/index.tsx +141 -0
  772. package/src/ui/features/TonderPayment/index.tsx +243 -0
  773. package/src/ui/providers/InnerProvider/index.tsx +24 -0
  774. package/src/ui/providers/SkyflowContainerWrapper/index.tsx +35 -0
  775. package/src/ui/providers/TonderProvider/context.tsx +11 -0
  776. package/src/ui/providers/TonderProvider/hook.ts +10 -0
  777. package/src/ui/providers/TonderProvider/index.tsx +110 -0
  778. package/src/ui/providers/TonderProvider/uiWrapper.ts +67 -0
  779. package/src/ui/styles/payment.ts +23 -0
  780. package/src/ui/styles/skyflow.ts +58 -0
@@ -0,0 +1,78 @@
1
+ import type { IBaseCheckoutState, IBaseCreateOptions, ICustomerCardsResponse, IPaymentMethod, ISaveCardsOptions, IFormLabels, IFormPlaceholder, IStyles, ITransaction, IBaseProcessPaymentRequest, IBaseCallback, IBaseResponse } from '@tonder.io/rn-sdk';
2
+ import { SDKType } from '@tonder.io/rn-sdk';
3
+ import TonderError from '@shared/utils/errors';
4
+ export interface IInlineCheckoutOptions extends IBaseCreateOptions {
5
+ tdsIframeId?: string;
6
+ paymentData: IBaseProcessPaymentRequest;
7
+ customization?: IInlineCustomizationOptions;
8
+ callbacks?: IInlineCallbacks;
9
+ returnURL?: string;
10
+ }
11
+ export interface IInlineCheckoutState extends IBaseCheckoutState<SDKType.INLINE> {
12
+ deviceSessionIds?: {
13
+ openPay: string;
14
+ mercadoPago: string;
15
+ };
16
+ customization?: IInlineCustomizationOptions;
17
+ callbacks?: IInlineCallbacks;
18
+ message: string;
19
+ customerCards: ICustomerCardsResponse;
20
+ payment_methods: IPaymentMethod[];
21
+ }
22
+ export interface IInlineCustomizationOptions {
23
+ saveCards?: ISaveCardsOptions;
24
+ paymentButton?: {
25
+ show?: boolean;
26
+ text?: string;
27
+ showAmount?: boolean;
28
+ };
29
+ paymentMethods?: {
30
+ show?: boolean;
31
+ };
32
+ cardForm?: {
33
+ show?: boolean;
34
+ };
35
+ showMessages?: boolean;
36
+ labels?: IFormLabels;
37
+ placeholders?: IFormPlaceholder;
38
+ styles?: IStyles;
39
+ }
40
+ export interface IInlineCallbacks extends IBaseCallback {
41
+ beforeDeleteCard?: () => Promise<void>;
42
+ onFinishDeleteCard?: (id: string) => Promise<void>;
43
+ }
44
+ export interface IPaymentInlineContainer {
45
+ /**
46
+ * Creates an SDK instance and initializes necessary configurations.
47
+ * @param {IInlineCheckoutOptions} data - Configuration and initialization data for the SDK.
48
+ * @returns {Promise<{ error?: TonderError }>} A promise that resolves to an object containing
49
+ * an error if one occurred during initialization.
50
+ *
51
+ * @public
52
+ */
53
+ create(data: IInlineCheckoutOptions): Promise<{
54
+ error?: TonderError;
55
+ }>;
56
+ /**
57
+ * Processes a payment.
58
+ * @param {IBaseProcessPaymentRequest} data - (Optional) Payment data including customer, cart, and other relevant information (Useful in case you need to update payment information).
59
+ * @returns {Promise<IBaseResponse<ITransaction>>} A promise that resolves with the payment response or 3DS redirect or is rejected with an error.
60
+ *
61
+ * @public
62
+ */
63
+ payment(data?: IBaseProcessPaymentRequest): Promise<IBaseResponse<ITransaction>>;
64
+ /**
65
+ * Resets the SDK state, clearing all subscribers and event listeners.
66
+ * This method is used to reinitialize the SDK with the current configuration.
67
+ *
68
+ * @remarks
69
+ * This method should be called when you need to completely reset the SDK state.
70
+ * For example, if a user logs out or the configuration needs to be refreshed.
71
+ *
72
+ * @returns {void} Does not return a value.
73
+ *
74
+ * @public
75
+ */
76
+ reset(): void;
77
+ }
78
+ //# sourceMappingURL=inlineCheckout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inlineCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/inlineCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,YAAY,EACZ,0BAA0B,EAC1B,aAAa,EACb,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAE/C,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,0BAA0B,CAAC;IACxC,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBACf,SAAQ,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC;IAC1C,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,cAAc,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,aAAa,CAAC,EAAE;QACd,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,cAAc,CAAC,EAAE;QACf,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD;AACD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;IAEvE;;;;;;OAMG;IACH,OAAO,CACL,IAAI,CAAC,EAAE,0BAA0B,GAChC,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IAExC;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
@@ -0,0 +1,13 @@
1
+ import type { CollectInputStylesVariant, CollectLabelStylesVariant } from 'skyflow-react-native';
2
+ import type { StylesBaseVariant } from './common';
3
+ export interface InputProps {
4
+ label?: string;
5
+ placeholder?: string;
6
+ style?: IElementStyle;
7
+ }
8
+ export interface IElementStyle {
9
+ inputStyles?: CollectInputStylesVariant;
10
+ labelStyles?: CollectLabelStylesVariant;
11
+ errorStyles?: StylesBaseVariant;
12
+ }
13
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../src/types/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC"}
@@ -0,0 +1,90 @@
1
+ import type { ICustomerCardsResponse, IPaymentMethod, IProcessPaymentRequest, ISaveCardResponse, ISaveCardsOptionsBase, IBaseCreateOptions, IBaseCheckoutState, ITransaction, IBaseCallback, IInlineCallbacks, IBaseResponse } from '@types';
2
+ import { SDKType } from '@types';
3
+ import TonderError from '@shared/utils/errors';
4
+ export interface ILiteCheckoutOptions extends IBaseCreateOptions {
5
+ paymentData: IProcessPaymentRequest;
6
+ tdsIframeId?: string;
7
+ customization?: ILiteCustomizationOptions;
8
+ callbacks?: ILiteCallbacks;
9
+ returnURL?: string;
10
+ }
11
+ export interface ILiteCallbacks extends IBaseCallback {
12
+ }
13
+ export interface ILiteCheckoutState extends IBaseCheckoutState<SDKType.LITE> {
14
+ deviceSessionIds?: {
15
+ openPay: string;
16
+ mercadoPago: string;
17
+ };
18
+ customization?: {
19
+ saveCards?: ISaveCardsOptionsBase;
20
+ };
21
+ callbacks?: IInlineCallbacks;
22
+ }
23
+ export interface ILiteCustomizationOptions {
24
+ saveCards?: ISaveCardsOptionsBase;
25
+ }
26
+ export interface IPaymentLiteContainer {
27
+ /**
28
+ * Creates an SDK instance and initializes necessary configurations.
29
+ * @param {ILiteCheckoutOptions} data - Configuration and initialization data for the SDK.
30
+ * @returns {Promise<{ error?: TonderError }>} A promise that resolves to an object containing
31
+ * an error if one occurred during initialization.
32
+ *
33
+ * @public
34
+ */
35
+ create(data: ILiteCheckoutOptions): Promise<{
36
+ error?: TonderError;
37
+ }>;
38
+ /**
39
+ * Processes a payment.
40
+ * @param {IProcessPaymentRequest} data - (Optional) Payment data including customer, cart, and other relevant information (Useful in case you need to update payment information).
41
+ * @returns {Promise<IBaseResponse<ITransaction>>} A promise that resolves with the payment response or 3DS redirect or is rejected with an error.
42
+ *
43
+ * @public
44
+ */
45
+ payment(data?: IProcessPaymentRequest): Promise<IBaseResponse<ITransaction>>;
46
+ /**
47
+ * Retrieves the list of cards associated with a customer.
48
+ * @returns {Promise<IBaseResponse<ICustomerCardsResponse>>} A promise that resolves with the customer's card data.
49
+ *
50
+ * @public
51
+ */
52
+ getCustomerCards(): Promise<IBaseResponse<ICustomerCardsResponse>>;
53
+ /**
54
+ * Saves a card to a customer's account. This method can be used to add a new card
55
+ * or update an existing one.
56
+ * @returns {Promise<IBaseResponse<ISaveCardResponse>>} A promise that resolves with the saved card data.
57
+ *
58
+ * @public
59
+ */
60
+ saveCustomerCard(): Promise<IBaseResponse<ISaveCardResponse>>;
61
+ /**
62
+ * Removes a card from a customer's account.
63
+ * @param {string} id - The unique identifier of the card to be deleted.
64
+ * @returns {Promise<IBaseResponse<string>>} A promise that resolves when the card is successfully deleted.
65
+ *
66
+ * @public
67
+ */
68
+ removeCustomerCard(id: string): Promise<IBaseResponse<string>>;
69
+ /**
70
+ * Retrieves the list of available Alternative Payment Methods (APMs).
71
+ * @returns {Promise<IBaseResponse<IPaymentMethod[]>>} A promise that resolves with the list of APMs.
72
+ *
73
+ * @public
74
+ */
75
+ getPaymentMethods(): Promise<IBaseResponse<IPaymentMethod[]>>;
76
+ /**
77
+ * Resets the SDK state, clearing all subscribers and event listeners.
78
+ * This method is used to reinitialize the SDK with the current configuration.
79
+ *
80
+ * @remarks
81
+ * This method should be called when you need to completely reset the SDK state.
82
+ * For example, if a user logs out or the configuration needs to be refreshed.
83
+ *
84
+ * @returns {void} Does not return a value.
85
+ *
86
+ * @public
87
+ */
88
+ reset(): void;
89
+ }
90
+ //# sourceMappingURL=liteCheckout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"liteCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/liteCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,aAAa,EACd,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAE/C,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D,WAAW,EAAE,sBAAsB,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,cAAe,SAAQ,aAAa;CAAG;AAExD,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,OAAO,CAAC,IAAI,CAAC;IAC1E,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,aAAa,CAAC,EAAE;QACd,SAAS,CAAC,EAAE,qBAAqB,CAAC;KACnC,CAAC;IACF,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;IAErE;;;;;;OAMG;IACH,OAAO,CAAC,IAAI,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IAE7E;;;;;OAKG;IACH,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAEnE;;;;;;OAMG;IACH,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9D;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,iBAAiB,IAAI,OAAO,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IAE9D;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
@@ -0,0 +1,11 @@
1
+ export interface IOpenPay {
2
+ setId: (merchantId: string) => void;
3
+ setApiKey: (apiKey: string) => void;
4
+ setSandboxMode: (isSandbox: boolean) => void;
5
+ deviceData: {
6
+ setup: (options?: {
7
+ signal?: AbortSignal;
8
+ }) => Promise<string>;
9
+ };
10
+ }
11
+ //# sourceMappingURL=openpay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openpay.d.ts","sourceRoot":"","sources":["../../../../../src/types/openpay.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE;QACV,KAAK,EAAE,CAAC,OAAO,CAAC,EAAE;YAAE,MAAM,CAAC,EAAE,WAAW,CAAA;SAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;KAChE,CAAC;CACH"}
@@ -0,0 +1,59 @@
1
+ import type { ICustomer } from './customer';
2
+ export interface IPaymentMethod {
3
+ id: string;
4
+ payment_method: string;
5
+ priority: number;
6
+ category: string;
7
+ icon: string;
8
+ label: string;
9
+ }
10
+ export interface IPaymentMethodResponse {
11
+ count: number;
12
+ next: string | null;
13
+ previous: string | null;
14
+ results: ITonderPaymentMethod[];
15
+ }
16
+ export interface ITonderPaymentMethod {
17
+ pk: string;
18
+ payment_method: string;
19
+ priority: number;
20
+ category: string;
21
+ unavailable_countries: string[];
22
+ status: string;
23
+ }
24
+ export interface ICardPaymentFields {
25
+ card_number?: string;
26
+ expiration_month?: string;
27
+ expiration_year?: string;
28
+ skyflow_id: string;
29
+ card_scheme?: string;
30
+ cardholder_name?: string;
31
+ }
32
+ export interface IBaseProcessPaymentRequest {
33
+ customer: ICustomer;
34
+ cart: {
35
+ total: number;
36
+ items: IItem[];
37
+ };
38
+ metadata?: Record<string, any>;
39
+ currency?: string;
40
+ }
41
+ export interface IProcessPaymentRequest extends IBaseProcessPaymentRequest {
42
+ card?: string;
43
+ payment_method?: string;
44
+ }
45
+ export interface IInternalProcessPaymentRequest extends IBaseProcessPaymentRequest {
46
+ card?: ICardPaymentFields;
47
+ payment_method?: string;
48
+ }
49
+ export interface IItem {
50
+ description: string;
51
+ quantity: number;
52
+ price_unit: number;
53
+ discount: number;
54
+ taxes: number;
55
+ product_reference: string | number;
56
+ name: string;
57
+ amount_total: number;
58
+ }
59
+ //# sourceMappingURL=payment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../../src/types/payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,oBAAoB,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,KAAK,EAAE,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,8BACf,SAAQ,0BAA0B;IAClC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,KAAK;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,4 @@
1
+ export type IGetSecureTokenResponse = {
2
+ access: string;
3
+ };
4
+ //# sourceMappingURL=secure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secure.d.ts","sourceRoot":"","sources":["../../../../../src/types/secure.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ICheckoutResponse, ITransaction } from '@tonder.io/rn-sdk';
2
+ import type TonderError from '@shared/utils/errors';
3
+ export interface IThreeDSHandler {
4
+ verifyTransaction(): Promise<ITransaction>;
5
+ handle3DS(payload: ICheckoutResponse, onFinish: (response: ITransaction | TonderError) => Promise<void>): void;
6
+ }
7
+ //# sourceMappingURL=threeDSHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threeDSHandler.d.ts","sourceRoot":"","sources":["../../../../../src/types/threeDSHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,iBAAiB,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3C,SAAS,CACP,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAChE,IAAI,CAAC;CACT"}
@@ -0,0 +1,103 @@
1
+ export interface ITransaction {
2
+ id: number;
3
+ provider: string;
4
+ country: string;
5
+ currency_code: string;
6
+ transaction_status: string;
7
+ created: string;
8
+ modified: string;
9
+ operation_date: string;
10
+ transaction_reference: string;
11
+ transaction_type: string;
12
+ status: string;
13
+ amount: string;
14
+ related_transaction_reference?: string | null;
15
+ reason?: string | null;
16
+ is_refunded?: boolean | null;
17
+ is_disputed?: boolean | null;
18
+ number_of_payment_attempts: number;
19
+ card_brand?: string | null;
20
+ number_of_installments: number;
21
+ payment?: ITransactionPayment;
22
+ checkout: ITransactionCheckout;
23
+ currency: ITransactionCurrency;
24
+ payment_method?: ITransactionPaymentMethod | null;
25
+ issuing_country?: string | null;
26
+ decline?: {
27
+ error_type?: string;
28
+ };
29
+ }
30
+ interface ITransactionPayment {
31
+ id: number;
32
+ created: string;
33
+ modified: string;
34
+ amount: string;
35
+ status: string;
36
+ date: string;
37
+ paid_date: string | null;
38
+ source: string | null;
39
+ customer_order_reference: string | null;
40
+ client: number;
41
+ business: number;
42
+ shipping_address?: string | null;
43
+ billing_address?: string | null;
44
+ order: number;
45
+ }
46
+ interface ITransactionCheckout {
47
+ id: string;
48
+ created: string;
49
+ modified: string;
50
+ checkout_data: ITransactionCheckoutData;
51
+ number_of_payment_attempts: number;
52
+ tried_psps: string[];
53
+ rejected_transactions: string[];
54
+ routing_step: number;
55
+ route_length: number;
56
+ last_status: string;
57
+ ip_address: string;
58
+ is_dynamic_routing: boolean;
59
+ is_route_finished: boolean;
60
+ business: number;
61
+ payment: number;
62
+ }
63
+ interface ITransactionCheckoutData {
64
+ name: string;
65
+ amount: number;
66
+ source: string;
67
+ id_ship: string;
68
+ currency: string;
69
+ order_id: number;
70
+ token_id: string;
71
+ last_name: string;
72
+ id_product: string;
73
+ ip_address: string;
74
+ payment_id: number;
75
+ return_url: string;
76
+ title_ship: string;
77
+ business_id: number;
78
+ checkout_id: string;
79
+ description: string;
80
+ browser_info: any;
81
+ email_client: string;
82
+ phone_number: string;
83
+ instance_id_ship: string;
84
+ quantity_product: number;
85
+ device_session_id: string | null;
86
+ number_of_payment_attempts: number;
87
+ }
88
+ interface ITransactionCurrency {
89
+ id: number;
90
+ name: string;
91
+ code: string;
92
+ symbol: string;
93
+ country: string | null;
94
+ }
95
+ interface ITransactionPaymentMethod {
96
+ id: number;
97
+ name: string;
98
+ display_name: string;
99
+ category: string;
100
+ is_apm: boolean;
101
+ }
102
+ export {};
103
+ //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../../src/types/transaction.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,cAAc,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAClD,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE;QACR,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,wBAAwB,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,wBAAwB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,0BAA0B,EAAE,MAAM,CAAC;CACpC;AAED,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,UAAU,yBAAyB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { StylesBaseVariant } from '@types';
3
+ interface PayButtonProps {
4
+ text: string;
5
+ onPress?: () => Promise<void>;
6
+ isLoading?: boolean;
7
+ style?: StylesBaseVariant;
8
+ }
9
+ export declare const ProcessButton: React.FC<PayButtonProps>;
10
+ export {};
11
+ //# sourceMappingURL=ProcessButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Button/ProcessButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGhD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwBlD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { IElementStyle, IFormLabels, IFormPlaceholder, StylesBaseVariant } from '@types';
3
+ interface NewCardFormProps {
4
+ showSaveOption?: boolean;
5
+ saveCard: boolean;
6
+ onSaveCardChange: (save: boolean) => void;
7
+ labels?: IFormLabels;
8
+ placeholders?: IFormPlaceholder;
9
+ style?: StylesBaseVariant & IElementStyle;
10
+ }
11
+ export declare const NewCardForm: React.FC<NewCardFormProps>;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/CardForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,QAAQ,CAAC;AAOhB,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2ClD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface CheckBoxProps {
3
+ checked: boolean;
4
+ onValueChange: (value: boolean) => void;
5
+ label: string;
6
+ }
7
+ export declare const CheckBox: React.FC<CheckBoxProps>;
8
+ export {};
9
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,aAAa;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAc5C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { InputProps } from '@types';
3
+ export declare const CardCVVInput: React.FC<InputProps>;
4
+ //# sourceMappingURL=CardCVVInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCVVInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardCVVInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAiBzC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuE7C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { IElementStyle } from '@types';
3
+ export interface InputExpiryDateProps {
4
+ label?: string;
5
+ yearPlaceholder?: string;
6
+ monthPlaceholder?: string;
7
+ style?: IElementStyle;
8
+ }
9
+ export declare const CardExpirationDateInput: React.FC<InputExpiryDateProps>;
10
+ //# sourceMappingURL=CardExpirationDateInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardExpirationDateInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationDateInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAe5C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AACD,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwDlE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { InputProps } from '@types';
3
+ export declare const CardExpirationMonthInput: React.FC<InputProps>;
4
+ //# sourceMappingURL=CardExpirationMonthInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardExpirationMonthInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationMonthInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAiBzC,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEzD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { InputProps } from '@types';
3
+ export declare const CardExpirationYearInput: React.FC<InputProps>;
4
+ //# sourceMappingURL=CardExpirationYearInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardExpirationYearInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationYearInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAkBzC,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuExD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { InputProps } from '@types';
3
+ export declare const CardHolderInput: React.FC<InputProps>;
4
+ //# sourceMappingURL=CardHolderInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHolderInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardHolderInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAmBzC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsEhD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { InputProps } from '@types';
3
+ export declare const CardNumberInput: React.FC<InputProps>;
4
+ //# sourceMappingURL=CardNumberInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardNumberInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAkBzC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsEhD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { IPaymentMethod, StylesSelectVariant } from '@types';
3
+ interface PaymentMethodsListProps {
4
+ methods: IPaymentMethod[];
5
+ selectedMethod: string;
6
+ onMethodSelect: (methodId: string) => void;
7
+ style?: StylesSelectVariant;
8
+ }
9
+ declare const PaymentMethodsList: React.FC<PaymentMethodsListProps>;
10
+ export default PaymentMethodsList;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/PaymentMethodsList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAKlE,UAAU,uBAAuB;IAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6CzD,CAAC;AA2CF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { StylesBaseVariant } from '@types';
3
+ interface RadioButtonProps {
4
+ value: string;
5
+ selected: boolean;
6
+ onSelect: () => void;
7
+ style?: StylesBaseVariant & {
8
+ selected?: Record<string, any>;
9
+ inner?: Record<string, any>;
10
+ };
11
+ }
12
+ export declare const RadioButton: React.FC<RadioButtonProps>;
13
+ export {};
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/RadioButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,GAAG;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoBlD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ICard, StylesSavedCardsVariant } from '@types';
3
+ interface SavedCardsListProps {
4
+ cards: ICard[];
5
+ selectedMethod: string;
6
+ onMethodSelect: (methodId: string) => void;
7
+ onDeleteCard: (cardId: string) => Promise<void>;
8
+ deletingCards?: string[];
9
+ style?: StylesSavedCardsVariant;
10
+ showDeleteButton?: boolean;
11
+ }
12
+ declare const SavedCardsList: React.FC<SavedCardsListProps>;
13
+ export default SavedCardsList;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/SavedCardsList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAI7D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2EjD,CAAC;AAoCF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ declare const CardFormSkeleton: ({ message }: {
2
+ message?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default CardFormSkeleton;
5
+ //# sourceMappingURL=CardFormSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Skeleton/CardFormSkeleton.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB,gBAAiB;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,4CAgE1D,CAAC;AAyCF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface ThreeDSWebViewProps {
3
+ url?: string;
4
+ onComplete: () => void;
5
+ returnURL: string;
6
+ }
7
+ export declare const ThreeDSWebView: React.FC<ThreeDSWebViewProps>;
8
+ export {};
9
+ //# sourceMappingURL=ThreeDSWebView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThreeDSWebView.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/WebView/ThreeDSWebView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAU3D,UAAU,mBAAmB;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6DxD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface ITonderEnrollmentProps {
3
+ }
4
+ declare const TonderEnrollment: React.FC<ITonderEnrollmentProps>;
5
+ export default TonderEnrollment;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/features/TonderEnrollment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,sBAAsB;CAAG;AAC1C,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4FtD,CAAC;AAqCF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface ITonderPaymentProps {
3
+ }
4
+ declare const TonderPayment: React.FC<ITonderPaymentProps>;
5
+ export default TonderPayment;
6
+ //# sourceMappingURL=index.d.ts.map