@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.
- package/LICENSE +20 -0
- package/README.md +33 -0
- package/lib/commonjs/core/3DSHandler.js +108 -0
- package/lib/commonjs/core/3DSHandler.js.map +1 -0
- package/lib/commonjs/core/BaseCheckout/index.js +337 -0
- package/lib/commonjs/core/BaseCheckout/index.js.map +1 -0
- package/lib/commonjs/core/BaseEnrollment/index.js +86 -0
- package/lib/commonjs/core/BaseEnrollment/index.js.map +1 -0
- package/lib/commonjs/core/BaseSDK/index.js +75 -0
- package/lib/commonjs/core/BaseSDK/index.js.map +1 -0
- package/lib/commonjs/core/EnrollmentContainer/index.js +87 -0
- package/lib/commonjs/core/EnrollmentContainer/index.js.map +1 -0
- package/lib/commonjs/core/PaymentInlineContainer/index.js +111 -0
- package/lib/commonjs/core/PaymentInlineContainer/index.js.map +1 -0
- package/lib/commonjs/core/PaymentLiteContainer/index.js +158 -0
- package/lib/commonjs/core/PaymentLiteContainer/index.js.map +1 -0
- package/lib/commonjs/core/Tonder/index.js +134 -0
- package/lib/commonjs/core/Tonder/index.js.map +1 -0
- package/lib/commonjs/hooks/useTonder/index-old.js +37 -0
- package/lib/commonjs/hooks/useTonder/index-old.js.map +1 -0
- package/lib/commonjs/hooks/useTonder/index.js +16 -0
- package/lib/commonjs/hooks/useTonder/index.js.map +1 -0
- package/lib/commonjs/index.js +121 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/infrastructure/HttpClient.js +108 -0
- package/lib/commonjs/infrastructure/HttpClient.js.map +1 -0
- package/lib/commonjs/infrastructure/ServiceManager.js +32 -0
- package/lib/commonjs/infrastructure/ServiceManager.js.map +1 -0
- package/lib/commonjs/infrastructure/index.js +28 -0
- package/lib/commonjs/infrastructure/index.js.map +1 -0
- package/lib/commonjs/services/BusinessService.js +36 -0
- package/lib/commonjs/services/BusinessService.js.map +1 -0
- package/lib/commonjs/services/CardService.js +89 -0
- package/lib/commonjs/services/CardService.js.map +1 -0
- package/lib/commonjs/services/CheckoutService.js +121 -0
- package/lib/commonjs/services/CheckoutService.js.map +1 -0
- package/lib/commonjs/services/CustomerService.js +62 -0
- package/lib/commonjs/services/CustomerService.js.map +1 -0
- package/lib/commonjs/services/MercadoPagoService.js +27 -0
- package/lib/commonjs/services/MercadoPagoService.js.map +1 -0
- package/lib/commonjs/services/OpenPayService.js +25 -0
- package/lib/commonjs/services/OpenPayService.js.map +1 -0
- package/lib/commonjs/services/PaymentMethodService.js +37 -0
- package/lib/commonjs/services/PaymentMethodService.js.map +1 -0
- package/lib/commonjs/services/SkyflowService.js +53 -0
- package/lib/commonjs/services/SkyflowService.js.map +1 -0
- package/lib/commonjs/services/StorageService.js +49 -0
- package/lib/commonjs/services/StorageService.js.map +1 -0
- package/lib/commonjs/services/TokenService.js +46 -0
- package/lib/commonjs/services/TokenService.js.map +1 -0
- package/lib/commonjs/services/TransactionService.js +26 -0
- package/lib/commonjs/services/TransactionService.js.map +1 -0
- package/lib/commonjs/services/index.js +127 -0
- package/lib/commonjs/services/index.js.map +1 -0
- package/lib/commonjs/shared/catalog/cardBrandCatalog.js +19 -0
- package/lib/commonjs/shared/catalog/cardBrandCatalog.js.map +1 -0
- package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js +252 -0
- package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js.map +1 -0
- package/lib/commonjs/shared/constants/environments.js +13 -0
- package/lib/commonjs/shared/constants/environments.js.map +1 -0
- package/lib/commonjs/shared/constants/index.js +28 -0
- package/lib/commonjs/shared/constants/index.js.map +1 -0
- package/lib/commonjs/shared/constants/messages.js +101 -0
- package/lib/commonjs/shared/constants/messages.js.map +1 -0
- package/lib/commonjs/shared/constants/paymentMethods.js +68 -0
- package/lib/commonjs/shared/constants/paymentMethods.js.map +1 -0
- package/lib/commonjs/shared/constants/skyflow.js +47 -0
- package/lib/commonjs/shared/constants/skyflow.js.map +1 -0
- package/lib/commonjs/shared/enum/ErrorKeyEnum.js +55 -0
- package/lib/commonjs/shared/enum/ErrorKeyEnum.js.map +1 -0
- package/lib/commonjs/shared/enum/index.js +17 -0
- package/lib/commonjs/shared/enum/index.js.map +1 -0
- package/lib/commonjs/shared/index.js +39 -0
- package/lib/commonjs/shared/index.js.map +1 -0
- package/lib/commonjs/shared/utils/common.js +47 -0
- package/lib/commonjs/shared/utils/common.js.map +1 -0
- package/lib/commonjs/shared/utils/errors.js +21 -0
- package/lib/commonjs/shared/utils/errors.js.map +1 -0
- package/lib/commonjs/shared/utils/numberUtils.js +17 -0
- package/lib/commonjs/shared/utils/numberUtils.js.map +1 -0
- package/lib/commonjs/shared/utils/paymentMethodUtils.js +21 -0
- package/lib/commonjs/shared/utils/paymentMethodUtils.js.map +1 -0
- package/lib/commonjs/shared/utils/stringUtils.js +11 -0
- package/lib/commonjs/shared/utils/stringUtils.js.map +1 -0
- package/lib/commonjs/shared/utils/styleUtils.js +21 -0
- package/lib/commonjs/shared/utils/styleUtils.js.map +1 -0
- package/lib/commonjs/types/base.js +14 -0
- package/lib/commonjs/types/base.js.map +1 -0
- package/lib/commonjs/types/baseCheckout.js +6 -0
- package/lib/commonjs/types/baseCheckout.js.map +1 -0
- package/lib/commonjs/types/baseEnrollment.js +6 -0
- package/lib/commonjs/types/baseEnrollment.js.map +1 -0
- package/lib/commonjs/types/baseSDK.js +6 -0
- package/lib/commonjs/types/baseSDK.js.map +1 -0
- package/lib/commonjs/types/business.js +2 -0
- package/lib/commonjs/types/business.js.map +1 -0
- package/lib/commonjs/types/card.js +2 -0
- package/lib/commonjs/types/card.js.map +1 -0
- package/lib/commonjs/types/checkout.js +6 -0
- package/lib/commonjs/types/checkout.js.map +1 -0
- package/lib/commonjs/types/common.js +6 -0
- package/lib/commonjs/types/common.js.map +1 -0
- package/lib/commonjs/types/customer.js +2 -0
- package/lib/commonjs/types/customer.js.map +1 -0
- package/lib/commonjs/types/enrollment.js +6 -0
- package/lib/commonjs/types/enrollment.js.map +1 -0
- package/lib/commonjs/types/index.js +204 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/commonjs/types/inlineCheckout.js +6 -0
- package/lib/commonjs/types/inlineCheckout.js.map +1 -0
- package/lib/commonjs/types/input.js +6 -0
- package/lib/commonjs/types/input.js.map +1 -0
- package/lib/commonjs/types/liteCheckout.js +6 -0
- package/lib/commonjs/types/liteCheckout.js.map +1 -0
- package/lib/commonjs/types/openpay-react-native.d.js +2 -0
- package/lib/commonjs/types/openpay-react-native.d.js.map +1 -0
- package/lib/commonjs/types/openpay.js +2 -0
- package/lib/commonjs/types/openpay.js.map +1 -0
- package/lib/commonjs/types/payment.js +6 -0
- package/lib/commonjs/types/payment.js.map +1 -0
- package/lib/commonjs/types/secure.js +2 -0
- package/lib/commonjs/types/secure.js.map +1 -0
- package/lib/commonjs/types/skyflow-react-native.d.js +2 -0
- package/lib/commonjs/types/skyflow-react-native.d.js.map +1 -0
- package/lib/commonjs/types/threeDSHandler.js +6 -0
- package/lib/commonjs/types/threeDSHandler.js.map +1 -0
- package/lib/commonjs/types/transaction.js +2 -0
- package/lib/commonjs/types/transaction.js.map +1 -0
- package/lib/commonjs/ui/components/Button/ProcessButton.js +50 -0
- package/lib/commonjs/ui/components/Button/ProcessButton.js.map +1 -0
- package/lib/commonjs/ui/components/CardForm/index.js +80 -0
- package/lib/commonjs/ui/components/CardForm/index.js.map +1 -0
- package/lib/commonjs/ui/components/Checkbox/Checkbox.js +62 -0
- package/lib/commonjs/ui/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardCVVInput.js +83 -0
- package/lib/commonjs/ui/components/Input/CardCVVInput.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js +91 -0
- package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js +84 -0
- package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js +84 -0
- package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardHolderInput.js +83 -0
- package/lib/commonjs/ui/components/Input/CardHolderInput.js.map +1 -0
- package/lib/commonjs/ui/components/Input/CardNumberInput.js +83 -0
- package/lib/commonjs/ui/components/Input/CardNumberInput.js.map +1 -0
- package/lib/commonjs/ui/components/PaymentMethodsList/index.js +105 -0
- package/lib/commonjs/ui/components/PaymentMethodsList/index.js.map +1 -0
- package/lib/commonjs/ui/components/RadioButton/index.js +57 -0
- package/lib/commonjs/ui/components/RadioButton/index.js.map +1 -0
- package/lib/commonjs/ui/components/SavedCardsList/index.js +126 -0
- package/lib/commonjs/ui/components/SavedCardsList/index.js.map +1 -0
- package/lib/commonjs/ui/components/Skeleton/CardFormSkeleton.js +102 -0
- package/lib/commonjs/ui/components/Skeleton/CardFormSkeleton.js.map +1 -0
- package/lib/commonjs/ui/components/WebView/ThreeDSWebView.js +105 -0
- package/lib/commonjs/ui/components/WebView/ThreeDSWebView.js.map +1 -0
- package/lib/commonjs/ui/features/TonderEnrollment/index.js +119 -0
- package/lib/commonjs/ui/features/TonderEnrollment/index.js.map +1 -0
- package/lib/commonjs/ui/features/TonderPayment/index.js +195 -0
- package/lib/commonjs/ui/features/TonderPayment/index.js.map +1 -0
- package/lib/commonjs/ui/providers/InnerProvider/index.js +25 -0
- package/lib/commonjs/ui/providers/InnerProvider/index.js.map +1 -0
- package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js +31 -0
- package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js.map +1 -0
- package/lib/commonjs/ui/providers/TonderProvider/context.js +16 -0
- package/lib/commonjs/ui/providers/TonderProvider/context.js.map +1 -0
- package/lib/commonjs/ui/providers/TonderProvider/hook.js +15 -0
- package/lib/commonjs/ui/providers/TonderProvider/hook.js.map +1 -0
- package/lib/commonjs/ui/providers/TonderProvider/index.js +96 -0
- package/lib/commonjs/ui/providers/TonderProvider/index.js.map +1 -0
- package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js +61 -0
- package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js.map +1 -0
- package/lib/commonjs/ui/styles/payment.js +27 -0
- package/lib/commonjs/ui/styles/payment.js.map +1 -0
- package/lib/commonjs/ui/styles/skyflow.js +54 -0
- package/lib/commonjs/ui/styles/skyflow.js.map +1 -0
- package/lib/module/core/3DSHandler.js +102 -0
- package/lib/module/core/3DSHandler.js.map +1 -0
- package/lib/module/core/BaseCheckout/index.js +332 -0
- package/lib/module/core/BaseCheckout/index.js.map +1 -0
- package/lib/module/core/BaseEnrollment/index.js +81 -0
- package/lib/module/core/BaseEnrollment/index.js.map +1 -0
- package/lib/module/core/BaseSDK/index.js +70 -0
- package/lib/module/core/BaseSDK/index.js.map +1 -0
- package/lib/module/core/EnrollmentContainer/index.js +81 -0
- package/lib/module/core/EnrollmentContainer/index.js.map +1 -0
- package/lib/module/core/PaymentInlineContainer/index.js +106 -0
- package/lib/module/core/PaymentInlineContainer/index.js.map +1 -0
- package/lib/module/core/PaymentLiteContainer/index.js +153 -0
- package/lib/module/core/PaymentLiteContainer/index.js.map +1 -0
- package/lib/module/core/Tonder/index.js +129 -0
- package/lib/module/core/Tonder/index.js.map +1 -0
- package/lib/module/hooks/useTonder/index-old.js +37 -0
- package/lib/module/hooks/useTonder/index-old.js.map +1 -0
- package/lib/module/hooks/useTonder/index.js +11 -0
- package/lib/module/hooks/useTonder/index.js.map +1 -0
- package/lib/module/index.js +14 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/infrastructure/HttpClient.js +102 -0
- package/lib/module/infrastructure/HttpClient.js.map +1 -0
- package/lib/module/infrastructure/ServiceManager.js +27 -0
- package/lib/module/infrastructure/ServiceManager.js.map +1 -0
- package/lib/module/infrastructure/index.js +5 -0
- package/lib/module/infrastructure/index.js.map +1 -0
- package/lib/module/services/BusinessService.js +30 -0
- package/lib/module/services/BusinessService.js.map +1 -0
- package/lib/module/services/CardService.js +83 -0
- package/lib/module/services/CardService.js.map +1 -0
- package/lib/module/services/CheckoutService.js +115 -0
- package/lib/module/services/CheckoutService.js.map +1 -0
- package/lib/module/services/CustomerService.js +56 -0
- package/lib/module/services/CustomerService.js.map +1 -0
- package/lib/module/services/MercadoPagoService.js +22 -0
- package/lib/module/services/MercadoPagoService.js.map +1 -0
- package/lib/module/services/OpenPayService.js +20 -0
- package/lib/module/services/OpenPayService.js.map +1 -0
- package/lib/module/services/PaymentMethodService.js +31 -0
- package/lib/module/services/PaymentMethodService.js.map +1 -0
- package/lib/module/services/SkyflowService.js +47 -0
- package/lib/module/services/SkyflowService.js.map +1 -0
- package/lib/module/services/StorageService.js +43 -0
- package/lib/module/services/StorageService.js.map +1 -0
- package/lib/module/services/TokenService.js +40 -0
- package/lib/module/services/TokenService.js.map +1 -0
- package/lib/module/services/TransactionService.js +20 -0
- package/lib/module/services/TransactionService.js.map +1 -0
- package/lib/module/services/index.js +15 -0
- package/lib/module/services/index.js.map +1 -0
- package/lib/module/shared/catalog/cardBrandCatalog.js +14 -0
- package/lib/module/shared/catalog/cardBrandCatalog.js.map +1 -0
- package/lib/module/shared/catalog/paymentMethodsCatalog.js +247 -0
- package/lib/module/shared/catalog/paymentMethodsCatalog.js.map +1 -0
- package/lib/module/shared/constants/environments.js +10 -0
- package/lib/module/shared/constants/environments.js.map +1 -0
- package/lib/module/shared/constants/index.js +5 -0
- package/lib/module/shared/constants/index.js.map +1 -0
- package/lib/module/shared/constants/messages.js +97 -0
- package/lib/module/shared/constants/messages.js.map +1 -0
- package/lib/module/shared/constants/paymentMethods.js +65 -0
- package/lib/module/shared/constants/paymentMethods.js.map +1 -0
- package/lib/module/shared/constants/skyflow.js +43 -0
- package/lib/module/shared/constants/skyflow.js.map +1 -0
- package/lib/module/shared/enum/ErrorKeyEnum.js +51 -0
- package/lib/module/shared/enum/ErrorKeyEnum.js.map +1 -0
- package/lib/module/shared/enum/index.js +4 -0
- package/lib/module/shared/enum/index.js.map +1 -0
- package/lib/module/shared/index.js +6 -0
- package/lib/module/shared/index.js.map +1 -0
- package/lib/module/shared/utils/common.js +41 -0
- package/lib/module/shared/utils/common.js.map +1 -0
- package/lib/module/shared/utils/errors.js +17 -0
- package/lib/module/shared/utils/errors.js.map +1 -0
- package/lib/module/shared/utils/numberUtils.js +13 -0
- package/lib/module/shared/utils/numberUtils.js.map +1 -0
- package/lib/module/shared/utils/paymentMethodUtils.js +16 -0
- package/lib/module/shared/utils/paymentMethodUtils.js.map +1 -0
- package/lib/module/shared/utils/stringUtils.js +6 -0
- package/lib/module/shared/utils/stringUtils.js.map +1 -0
- package/lib/module/shared/utils/styleUtils.js +17 -0
- package/lib/module/shared/utils/styleUtils.js.map +1 -0
- package/lib/module/types/base.js +13 -0
- package/lib/module/types/base.js.map +1 -0
- package/lib/module/types/baseCheckout.js +4 -0
- package/lib/module/types/baseCheckout.js.map +1 -0
- package/lib/module/types/baseEnrollment.js +4 -0
- package/lib/module/types/baseEnrollment.js.map +1 -0
- package/lib/module/types/baseSDK.js +4 -0
- package/lib/module/types/baseSDK.js.map +1 -0
- package/lib/module/types/business.js +2 -0
- package/lib/module/types/business.js.map +1 -0
- package/lib/module/types/card.js +2 -0
- package/lib/module/types/card.js.map +1 -0
- package/lib/module/types/checkout.js +4 -0
- package/lib/module/types/checkout.js.map +1 -0
- package/lib/module/types/common.js +4 -0
- package/lib/module/types/common.js.map +1 -0
- package/lib/module/types/customer.js +2 -0
- package/lib/module/types/customer.js.map +1 -0
- package/lib/module/types/enrollment.js +4 -0
- package/lib/module/types/enrollment.js.map +1 -0
- package/lib/module/types/index.js +21 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/inlineCheckout.js +4 -0
- package/lib/module/types/inlineCheckout.js.map +1 -0
- package/lib/module/types/input.js +4 -0
- package/lib/module/types/input.js.map +1 -0
- package/lib/module/types/liteCheckout.js +4 -0
- package/lib/module/types/liteCheckout.js.map +1 -0
- package/lib/module/types/openpay-react-native.d.js +2 -0
- package/lib/module/types/openpay-react-native.d.js.map +1 -0
- package/lib/module/types/openpay.js +2 -0
- package/lib/module/types/openpay.js.map +1 -0
- package/lib/module/types/payment.js +4 -0
- package/lib/module/types/payment.js.map +1 -0
- package/lib/module/types/secure.js +2 -0
- package/lib/module/types/secure.js.map +1 -0
- package/lib/module/types/skyflow-react-native.d.js +2 -0
- package/lib/module/types/skyflow-react-native.d.js.map +1 -0
- package/lib/module/types/threeDSHandler.js +4 -0
- package/lib/module/types/threeDSHandler.js.map +1 -0
- package/lib/module/types/transaction.js +2 -0
- package/lib/module/types/transaction.js.map +1 -0
- package/lib/module/ui/components/Button/ProcessButton.js +44 -0
- package/lib/module/ui/components/Button/ProcessButton.js.map +1 -0
- package/lib/module/ui/components/CardForm/index.js +74 -0
- package/lib/module/ui/components/CardForm/index.js.map +1 -0
- package/lib/module/ui/components/Checkbox/Checkbox.js +56 -0
- package/lib/module/ui/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/module/ui/components/Input/CardCVVInput.js +75 -0
- package/lib/module/ui/components/Input/CardCVVInput.js.map +1 -0
- package/lib/module/ui/components/Input/CardExpirationDateInput.js +84 -0
- package/lib/module/ui/components/Input/CardExpirationDateInput.js.map +1 -0
- package/lib/module/ui/components/Input/CardExpirationMonthInput.js +77 -0
- package/lib/module/ui/components/Input/CardExpirationMonthInput.js.map +1 -0
- package/lib/module/ui/components/Input/CardExpirationYearInput.js +76 -0
- package/lib/module/ui/components/Input/CardExpirationYearInput.js.map +1 -0
- package/lib/module/ui/components/Input/CardHolderInput.js +75 -0
- package/lib/module/ui/components/Input/CardHolderInput.js.map +1 -0
- package/lib/module/ui/components/Input/CardNumberInput.js +75 -0
- package/lib/module/ui/components/Input/CardNumberInput.js.map +1 -0
- package/lib/module/ui/components/PaymentMethodsList/index.js +100 -0
- package/lib/module/ui/components/PaymentMethodsList/index.js.map +1 -0
- package/lib/module/ui/components/RadioButton/index.js +50 -0
- package/lib/module/ui/components/RadioButton/index.js.map +1 -0
- package/lib/module/ui/components/SavedCardsList/index.js +121 -0
- package/lib/module/ui/components/SavedCardsList/index.js.map +1 -0
- package/lib/module/ui/components/Skeleton/CardFormSkeleton.js +97 -0
- package/lib/module/ui/components/Skeleton/CardFormSkeleton.js.map +1 -0
- package/lib/module/ui/components/WebView/ThreeDSWebView.js +96 -0
- package/lib/module/ui/components/WebView/ThreeDSWebView.js.map +1 -0
- package/lib/module/ui/features/TonderEnrollment/index.js +114 -0
- package/lib/module/ui/features/TonderEnrollment/index.js.map +1 -0
- package/lib/module/ui/features/TonderPayment/index.js +188 -0
- package/lib/module/ui/features/TonderPayment/index.js.map +1 -0
- package/lib/module/ui/providers/InnerProvider/index.js +19 -0
- package/lib/module/ui/providers/InnerProvider/index.js.map +1 -0
- package/lib/module/ui/providers/SkyflowContainerWrapper/index.js +24 -0
- package/lib/module/ui/providers/SkyflowContainerWrapper/index.js.map +1 -0
- package/lib/module/ui/providers/TonderProvider/context.js +10 -0
- package/lib/module/ui/providers/TonderProvider/context.js.map +1 -0
- package/lib/module/ui/providers/TonderProvider/hook.js +10 -0
- package/lib/module/ui/providers/TonderProvider/hook.js.map +1 -0
- package/lib/module/ui/providers/TonderProvider/index.js +88 -0
- package/lib/module/ui/providers/TonderProvider/index.js.map +1 -0
- package/lib/module/ui/providers/TonderProvider/uiWrapper.js +57 -0
- package/lib/module/ui/providers/TonderProvider/uiWrapper.js.map +1 -0
- package/lib/module/ui/styles/payment.js +25 -0
- package/lib/module/ui/styles/payment.js.map +1 -0
- package/lib/module/ui/styles/skyflow.js +52 -0
- package/lib/module/ui/styles/skyflow.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/core/3DSHandler.d.ts +23 -0
- package/lib/typescript/commonjs/src/core/3DSHandler.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts +28 -0
- package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts +16 -0
- package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts +19 -0
- package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/Tonder/index.d.ts +33 -0
- package/lib/typescript/commonjs/src/core/Tonder/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useTonder/index-old.d.ts +1 -0
- package/lib/typescript/commonjs/src/hooks/useTonder/index-old.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts +20 -0
- package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts +19 -0
- package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/infrastructure/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/infrastructure/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/BusinessService.d.ts +15 -0
- package/lib/typescript/commonjs/src/services/BusinessService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/CardService.d.ts +28 -0
- package/lib/typescript/commonjs/src/services/CardService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/CheckoutService.d.ts +37 -0
- package/lib/typescript/commonjs/src/services/CheckoutService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/CustomerService.d.ts +24 -0
- package/lib/typescript/commonjs/src/services/CustomerService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/MercadoPagoService.d.ts +4 -0
- package/lib/typescript/commonjs/src/services/MercadoPagoService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/OpenPayService.d.ts +4 -0
- package/lib/typescript/commonjs/src/services/OpenPayService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts +15 -0
- package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/SkyflowService.d.ts +15 -0
- package/lib/typescript/commonjs/src/services/SkyflowService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/StorageService.d.ts +7 -0
- package/lib/typescript/commonjs/src/services/StorageService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/TokenService.d.ts +16 -0
- package/lib/typescript/commonjs/src/services/TokenService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/TransactionService.d.ts +8 -0
- package/lib/typescript/commonjs/src/services/TransactionService.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/services/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/services/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/catalog/cardBrandCatalog.d.ts +2 -0
- package/lib/typescript/commonjs/src/shared/catalog/cardBrandCatalog.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/catalog/paymentMethodsCatalog.d.ts +5 -0
- package/lib/typescript/commonjs/src/shared/catalog/paymentMethodsCatalog.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/constants/environments.d.ts +8 -0
- package/lib/typescript/commonjs/src/shared/constants/environments.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/constants/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/shared/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/constants/messages.d.ts +94 -0
- package/lib/typescript/commonjs/src/shared/constants/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/constants/paymentMethods.d.ts +63 -0
- package/lib/typescript/commonjs/src/shared/constants/paymentMethods.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/constants/skyflow.d.ts +38 -0
- package/lib/typescript/commonjs/src/shared/constants/skyflow.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/enum/ErrorKeyEnum.d.ts +48 -0
- package/lib/typescript/commonjs/src/shared/enum/ErrorKeyEnum.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/enum/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/shared/enum/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/shared/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/common.d.ts +9 -0
- package/lib/typescript/commonjs/src/shared/utils/common.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/errors.d.ts +16 -0
- package/lib/typescript/commonjs/src/shared/utils/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/numberUtils.d.ts +2 -0
- package/lib/typescript/commonjs/src/shared/utils/numberUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/paymentMethodUtils.d.ts +2 -0
- package/lib/typescript/commonjs/src/shared/utils/paymentMethodUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts +2 -0
- package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts +8 -0
- package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/base.d.ts +48 -0
- package/lib/typescript/commonjs/src/types/base.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/baseCheckout.d.ts +29 -0
- package/lib/typescript/commonjs/src/types/baseCheckout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts +11 -0
- package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/baseSDK.d.ts +10 -0
- package/lib/typescript/commonjs/src/types/baseSDK.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/business.d.ts +36 -0
- package/lib/typescript/commonjs/src/types/business.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/card.d.ts +33 -0
- package/lib/typescript/commonjs/src/types/card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/checkout.d.ts +150 -0
- package/lib/typescript/commonjs/src/types/checkout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/common.d.ts +60 -0
- package/lib/typescript/commonjs/src/types/common.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/customer.d.ts +28 -0
- package/lib/typescript/commonjs/src/types/customer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/enrollment.d.ts +66 -0
- package/lib/typescript/commonjs/src/types/enrollment.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/index.d.ts +19 -0
- package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts +78 -0
- package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/input.d.ts +13 -0
- package/lib/typescript/commonjs/src/types/input.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/liteCheckout.d.ts +90 -0
- package/lib/typescript/commonjs/src/types/liteCheckout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/openpay.d.ts +11 -0
- package/lib/typescript/commonjs/src/types/openpay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/payment.d.ts +59 -0
- package/lib/typescript/commonjs/src/types/payment.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/secure.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/secure.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/transaction.d.ts +103 -0
- package/lib/typescript/commonjs/src/types/transaction.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts +11 -0
- package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Checkbox/Checkbox.d.ts +9 -0
- package/lib/typescript/commonjs/src/ui/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts +10 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/Skeleton/CardFormSkeleton.d.ts +5 -0
- package/lib/typescript/commonjs/src/ui/components/Skeleton/CardFormSkeleton.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/components/WebView/ThreeDSWebView.d.ts +9 -0
- package/lib/typescript/commonjs/src/ui/components/WebView/ThreeDSWebView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/features/TonderEnrollment/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/ui/features/TonderEnrollment/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts +5 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts +4 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts +10 -0
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/styles/payment.d.ts +20 -0
- package/lib/typescript/commonjs/src/ui/styles/payment.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ui/styles/skyflow.d.ts +44 -0
- package/lib/typescript/commonjs/src/ui/styles/skyflow.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/core/3DSHandler.d.ts +23 -0
- package/lib/typescript/module/src/core/3DSHandler.d.ts.map +1 -0
- package/lib/typescript/module/src/core/BaseCheckout/index.d.ts +28 -0
- package/lib/typescript/module/src/core/BaseCheckout/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts +16 -0
- package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/BaseSDK/index.d.ts +19 -0
- package/lib/typescript/module/src/core/BaseSDK/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts +15 -0
- package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts +17 -0
- package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts +21 -0
- package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/Tonder/index.d.ts +33 -0
- package/lib/typescript/module/src/core/Tonder/index.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useTonder/index-old.d.ts +1 -0
- package/lib/typescript/module/src/hooks/useTonder/index-old.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useTonder/index.d.ts +4 -0
- package/lib/typescript/module/src/hooks/useTonder/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +12 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/infrastructure/HttpClient.d.ts +20 -0
- package/lib/typescript/module/src/infrastructure/HttpClient.d.ts.map +1 -0
- package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts +19 -0
- package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts.map +1 -0
- package/lib/typescript/module/src/infrastructure/index.d.ts +3 -0
- package/lib/typescript/module/src/infrastructure/index.d.ts.map +1 -0
- package/lib/typescript/module/src/services/BusinessService.d.ts +15 -0
- package/lib/typescript/module/src/services/BusinessService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/CardService.d.ts +28 -0
- package/lib/typescript/module/src/services/CardService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/CheckoutService.d.ts +37 -0
- package/lib/typescript/module/src/services/CheckoutService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/CustomerService.d.ts +24 -0
- package/lib/typescript/module/src/services/CustomerService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/MercadoPagoService.d.ts +4 -0
- package/lib/typescript/module/src/services/MercadoPagoService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/OpenPayService.d.ts +4 -0
- package/lib/typescript/module/src/services/OpenPayService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/PaymentMethodService.d.ts +15 -0
- package/lib/typescript/module/src/services/PaymentMethodService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/SkyflowService.d.ts +15 -0
- package/lib/typescript/module/src/services/SkyflowService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/StorageService.d.ts +7 -0
- package/lib/typescript/module/src/services/StorageService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/TokenService.d.ts +16 -0
- package/lib/typescript/module/src/services/TokenService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/TransactionService.d.ts +8 -0
- package/lib/typescript/module/src/services/TransactionService.d.ts.map +1 -0
- package/lib/typescript/module/src/services/index.d.ts +13 -0
- package/lib/typescript/module/src/services/index.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/catalog/cardBrandCatalog.d.ts +2 -0
- package/lib/typescript/module/src/shared/catalog/cardBrandCatalog.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/catalog/paymentMethodsCatalog.d.ts +5 -0
- package/lib/typescript/module/src/shared/catalog/paymentMethodsCatalog.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/constants/environments.d.ts +8 -0
- package/lib/typescript/module/src/shared/constants/environments.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/constants/index.d.ts +3 -0
- package/lib/typescript/module/src/shared/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/constants/messages.d.ts +94 -0
- package/lib/typescript/module/src/shared/constants/messages.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/constants/paymentMethods.d.ts +63 -0
- package/lib/typescript/module/src/shared/constants/paymentMethods.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/constants/skyflow.d.ts +38 -0
- package/lib/typescript/module/src/shared/constants/skyflow.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/enum/ErrorKeyEnum.d.ts +48 -0
- package/lib/typescript/module/src/shared/enum/ErrorKeyEnum.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/enum/index.d.ts +2 -0
- package/lib/typescript/module/src/shared/enum/index.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/index.d.ts +4 -0
- package/lib/typescript/module/src/shared/index.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/common.d.ts +9 -0
- package/lib/typescript/module/src/shared/utils/common.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/errors.d.ts +16 -0
- package/lib/typescript/module/src/shared/utils/errors.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/numberUtils.d.ts +2 -0
- package/lib/typescript/module/src/shared/utils/numberUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/paymentMethodUtils.d.ts +2 -0
- package/lib/typescript/module/src/shared/utils/paymentMethodUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/stringUtils.d.ts +2 -0
- package/lib/typescript/module/src/shared/utils/stringUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/shared/utils/styleUtils.d.ts +8 -0
- package/lib/typescript/module/src/shared/utils/styleUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/types/base.d.ts +48 -0
- package/lib/typescript/module/src/types/base.d.ts.map +1 -0
- package/lib/typescript/module/src/types/baseCheckout.d.ts +29 -0
- package/lib/typescript/module/src/types/baseCheckout.d.ts.map +1 -0
- package/lib/typescript/module/src/types/baseEnrollment.d.ts +11 -0
- package/lib/typescript/module/src/types/baseEnrollment.d.ts.map +1 -0
- package/lib/typescript/module/src/types/baseSDK.d.ts +10 -0
- package/lib/typescript/module/src/types/baseSDK.d.ts.map +1 -0
- package/lib/typescript/module/src/types/business.d.ts +36 -0
- package/lib/typescript/module/src/types/business.d.ts.map +1 -0
- package/lib/typescript/module/src/types/card.d.ts +33 -0
- package/lib/typescript/module/src/types/card.d.ts.map +1 -0
- package/lib/typescript/module/src/types/checkout.d.ts +150 -0
- package/lib/typescript/module/src/types/checkout.d.ts.map +1 -0
- package/lib/typescript/module/src/types/common.d.ts +60 -0
- package/lib/typescript/module/src/types/common.d.ts.map +1 -0
- package/lib/typescript/module/src/types/customer.d.ts +28 -0
- package/lib/typescript/module/src/types/customer.d.ts.map +1 -0
- package/lib/typescript/module/src/types/enrollment.d.ts +66 -0
- package/lib/typescript/module/src/types/enrollment.d.ts.map +1 -0
- package/lib/typescript/module/src/types/index.d.ts +19 -0
- package/lib/typescript/module/src/types/index.d.ts.map +1 -0
- package/lib/typescript/module/src/types/inlineCheckout.d.ts +78 -0
- package/lib/typescript/module/src/types/inlineCheckout.d.ts.map +1 -0
- package/lib/typescript/module/src/types/input.d.ts +13 -0
- package/lib/typescript/module/src/types/input.d.ts.map +1 -0
- package/lib/typescript/module/src/types/liteCheckout.d.ts +90 -0
- package/lib/typescript/module/src/types/liteCheckout.d.ts.map +1 -0
- package/lib/typescript/module/src/types/openpay.d.ts +11 -0
- package/lib/typescript/module/src/types/openpay.d.ts.map +1 -0
- package/lib/typescript/module/src/types/payment.d.ts +59 -0
- package/lib/typescript/module/src/types/payment.d.ts.map +1 -0
- package/lib/typescript/module/src/types/secure.d.ts +4 -0
- package/lib/typescript/module/src/types/secure.d.ts.map +1 -0
- package/lib/typescript/module/src/types/threeDSHandler.d.ts +7 -0
- package/lib/typescript/module/src/types/threeDSHandler.d.ts.map +1 -0
- package/lib/typescript/module/src/types/transaction.d.ts +103 -0
- package/lib/typescript/module/src/types/transaction.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts +11 -0
- package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/CardForm/index.d.ts +13 -0
- package/lib/typescript/module/src/ui/components/CardForm/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Checkbox/Checkbox.d.ts +9 -0
- package/lib/typescript/module/src/ui/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts +4 -0
- package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts +10 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts +4 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts +4 -0
- package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts +4 -0
- package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts +4 -0
- package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts +11 -0
- package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts +14 -0
- package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts +14 -0
- package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/Skeleton/CardFormSkeleton.d.ts +5 -0
- package/lib/typescript/module/src/ui/components/Skeleton/CardFormSkeleton.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/components/WebView/ThreeDSWebView.d.ts +9 -0
- package/lib/typescript/module/src/ui/components/WebView/ThreeDSWebView.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/features/TonderEnrollment/index.d.ts +6 -0
- package/lib/typescript/module/src/ui/features/TonderEnrollment/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts +6 -0
- package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts +10 -0
- package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts +10 -0
- package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts +5 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts +4 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts +8 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts +10 -0
- package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/styles/payment.d.ts +20 -0
- package/lib/typescript/module/src/ui/styles/payment.d.ts.map +1 -0
- package/lib/typescript/module/src/ui/styles/skyflow.d.ts +44 -0
- package/lib/typescript/module/src/ui/styles/skyflow.d.ts.map +1 -0
- package/package.json +206 -0
- package/src/core/3DSHandler.ts +140 -0
- package/src/core/BaseCheckout/index.ts +420 -0
- package/src/core/BaseEnrollment/index.ts +99 -0
- package/src/core/BaseSDK/index.ts +93 -0
- package/src/core/EnrollmentContainer/index.ts +105 -0
- package/src/core/PaymentInlineContainer/index.ts +127 -0
- package/src/core/PaymentLiteContainer/index.ts +201 -0
- package/src/core/Tonder/index.ts +147 -0
- package/src/hooks/useTonder/index-old.ts +35 -0
- package/src/hooks/useTonder/index.ts +10 -0
- package/src/index.tsx +11 -0
- package/src/infrastructure/HttpClient.ts +121 -0
- package/src/infrastructure/ServiceManager.ts +54 -0
- package/src/infrastructure/index.ts +2 -0
- package/src/services/BusinessService.ts +33 -0
- package/src/services/CardService.ts +118 -0
- package/src/services/CheckoutService.ts +135 -0
- package/src/services/CustomerService.ts +59 -0
- package/src/services/MercadoPagoService.ts +19 -0
- package/src/services/OpenPayService.ts +22 -0
- package/src/services/PaymentMethodService.ts +38 -0
- package/src/services/SkyflowService.ts +50 -0
- package/src/services/StorageService.ts +56 -0
- package/src/services/TokenService.ts +45 -0
- package/src/services/TransactionService.ts +23 -0
- package/src/services/index.ts +12 -0
- package/src/shared/catalog/cardBrandCatalog.ts +16 -0
- package/src/shared/catalog/paymentMethodsCatalog.ts +252 -0
- package/src/shared/constants/environments.ts +8 -0
- package/src/shared/constants/index.ts +2 -0
- package/src/shared/constants/messages.ts +119 -0
- package/src/shared/constants/paymentMethods.ts +63 -0
- package/src/shared/constants/skyflow.ts +60 -0
- package/src/shared/enum/ErrorKeyEnum.ts +47 -0
- package/src/shared/enum/index.ts +1 -0
- package/src/shared/index.ts +3 -0
- package/src/shared/utils/common.ts +46 -0
- package/src/shared/utils/errors.ts +25 -0
- package/src/shared/utils/numberUtils.ts +10 -0
- package/src/shared/utils/paymentMethodUtils.ts +17 -0
- package/src/shared/utils/stringUtils.ts +3 -0
- package/src/shared/utils/styleUtils.ts +11 -0
- package/src/types/base.ts +79 -0
- package/src/types/baseCheckout.ts +42 -0
- package/src/types/baseEnrollment.ts +17 -0
- package/src/types/baseSDK.ts +10 -0
- package/src/types/business.ts +34 -0
- package/src/types/card.ts +38 -0
- package/src/types/checkout.ts +157 -0
- package/src/types/common.ts +68 -0
- package/src/types/customer.ts +29 -0
- package/src/types/enrollment.ts +70 -0
- package/src/types/index.ts +18 -0
- package/src/types/inlineCheckout.ts +96 -0
- package/src/types/input.ts +17 -0
- package/src/types/liteCheckout.ts +108 -0
- package/src/types/openpay-react-native.d.ts +3 -0
- package/src/types/openpay.ts +8 -0
- package/src/types/payment.ts +66 -0
- package/src/types/secure.ts +3 -0
- package/src/types/skyflow-react-native.d.ts +81 -0
- package/src/types/threeDSHandler.ts +10 -0
- package/src/types/transaction.ts +106 -0
- package/src/ui/components/Button/ProcessButton.tsx +57 -0
- package/src/ui/components/CardForm/index.tsx +91 -0
- package/src/ui/components/Checkbox/Checkbox.tsx +56 -0
- package/src/ui/components/Input/CardCVVInput.tsx +91 -0
- package/src/ui/components/Input/CardExpirationDateInput.tsx +95 -0
- package/src/ui/components/Input/CardExpirationMonthInput.tsx +90 -0
- package/src/ui/components/Input/CardExpirationYearInput.tsx +91 -0
- package/src/ui/components/Input/CardHolderInput.tsx +91 -0
- package/src/ui/components/Input/CardNumberInput.tsx +90 -0
- package/src/ui/components/PaymentMethodsList/index.tsx +103 -0
- package/src/ui/components/RadioButton/index.tsx +57 -0
- package/src/ui/components/SavedCardsList/index.tsx +137 -0
- package/src/ui/components/Skeleton/CardFormSkeleton.tsx +109 -0
- package/src/ui/components/WebView/ThreeDSWebView.tsx +110 -0
- package/src/ui/features/TonderEnrollment/index.tsx +141 -0
- package/src/ui/features/TonderPayment/index.tsx +243 -0
- package/src/ui/providers/InnerProvider/index.tsx +24 -0
- package/src/ui/providers/SkyflowContainerWrapper/index.tsx +35 -0
- package/src/ui/providers/TonderProvider/context.tsx +11 -0
- package/src/ui/providers/TonderProvider/hook.ts +10 -0
- package/src/ui/providers/TonderProvider/index.tsx +110 -0
- package/src/ui/providers/TonderProvider/uiWrapper.ts +67 -0
- package/src/ui/styles/payment.ts +23 -0
- package/src/ui/styles/skyflow.ts +58 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IApiConfig } from '@types';
|
|
2
|
+
export declare class HttpClient {
|
|
3
|
+
private readonly baseUrl;
|
|
4
|
+
protected readonly apiKey: string;
|
|
5
|
+
private abortController;
|
|
6
|
+
constructor(config: IApiConfig);
|
|
7
|
+
getApiKey(): string;
|
|
8
|
+
private validateConfig;
|
|
9
|
+
protected request<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
10
|
+
get<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
11
|
+
post<T>(endpoint: string, data: unknown, options?: RequestInit): Promise<T>;
|
|
12
|
+
delete<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
13
|
+
private handleRequestError;
|
|
14
|
+
private handleError;
|
|
15
|
+
/**
|
|
16
|
+
* Cleanup method to abort any pending requests
|
|
17
|
+
*/
|
|
18
|
+
cleanup(): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=HttpClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/HttpClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAKzC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAClC,OAAO,CAAC,eAAe,CAAkB;gBAE7B,MAAM,EAAE,UAAU;IAOvB,SAAS,IAAI,MAAM;IAI1B,OAAO,CAAC,cAAc;cAQN,OAAO,CAAC,CAAC,EACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC;IAyBb,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IAO/D,IAAI,CAAC,CAAC,EACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC;IAQb,MAAM,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;YAMpD,kBAAkB;IAUhC,OAAO,CAAC,WAAW;IAsBnB;;OAEG;IACI,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ISDKBaseConfig } from '@types';
|
|
2
|
+
import { CardService, CheckoutService, CustomerService, OpenPayService, PaymentMethodService, SkyflowService, TokenService, BusinessService, MercadoPagoService, TransactionService, StorageService } from '@services';
|
|
3
|
+
export declare class ServiceManager {
|
|
4
|
+
private readonly http;
|
|
5
|
+
readonly business: BusinessService;
|
|
6
|
+
readonly card: CardService;
|
|
7
|
+
readonly checkout: CheckoutService;
|
|
8
|
+
readonly customer: CustomerService;
|
|
9
|
+
readonly paymentMethod: PaymentMethodService;
|
|
10
|
+
readonly skyflow: SkyflowService;
|
|
11
|
+
readonly token: TokenService;
|
|
12
|
+
readonly openPay: OpenPayService;
|
|
13
|
+
readonly mercadoPago: MercadoPagoService;
|
|
14
|
+
readonly storage: StorageService;
|
|
15
|
+
readonly transaction: TransactionService;
|
|
16
|
+
constructor(config: ISDKBaseConfig);
|
|
17
|
+
cleanup(): void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ServiceManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceManager.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/ServiceManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EACL,WAAW,EACX,eAAe,EACf,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACf,MAAM,WAAW,CAAC;AAEnB,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAElC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;gBAE7B,MAAM,EAAE,cAAc;IAmB3B,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { GetBusinessResponse } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class BusinessService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Fetches business information from the API
|
|
9
|
+
* @param signal Optional AbortSignal for request cancellation
|
|
10
|
+
* @returns Business information
|
|
11
|
+
* @throws {TonderError} If the request fails
|
|
12
|
+
*/
|
|
13
|
+
fetchBusiness(signal?: AbortSignal): Promise<GetBusinessResponse>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=BusinessService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessService.d.ts","sourceRoot":"","sources":["../../../../../src/services/BusinessService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA+B;IACzD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAI5B;;;;;OAKG;IACG,aAAa,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAaxE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ICustomerCardsResponse, ISaveCardResponse, ISaveCardSkyflowRequest } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class CardService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Fetches customer cards from the API
|
|
9
|
+
* @throws {TonderError} If the request fails
|
|
10
|
+
*/
|
|
11
|
+
fetchCustomerCards(customerToken: string, secureToken: string, businessId: string | number): Promise<ICustomerCardsResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Saves a customer card
|
|
14
|
+
* @throws {TonderError} If the request fails
|
|
15
|
+
*/
|
|
16
|
+
saveCustomerCard(customerToken: string, secureToken: string, businessId: string | number, cardData: ISaveCardSkyflowRequest): Promise<ISaveCardResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Removes a customer card
|
|
19
|
+
* @throws {TonderError} If the request fails
|
|
20
|
+
*/
|
|
21
|
+
removeCustomerCard(customerToken: string, secureToken: string, skyflowId: string, businessId: string | number): Promise<string>;
|
|
22
|
+
private validateSecureToken;
|
|
23
|
+
/**
|
|
24
|
+
* Builds authentication headers for card operations
|
|
25
|
+
*/
|
|
26
|
+
private buildAuthHeaders;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=CardService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CardService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAIxD,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;OAGG;IACG,kBAAkB,CACtB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,MAAM,GAC1B,OAAO,CAAC,sBAAsB,CAAC;IAiBlC;;;OAGG;IACG,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,QAAQ,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC;IAmB7B;;;OAGG;IACG,kBAAkB,CACtB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,MAAM,GAC1B,OAAO,CAAC,MAAM,CAAC;IAoBlB,OAAO,CAAC,mBAAmB;IAM3B;;OAEG;IACH,OAAO,CAAC,gBAAgB;CASzB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { IStartCheckoutRequest, IStartCheckoutIdRequest, ICreateOrderResponse, ICreatePaymentResponse, ICheckoutResponse, ICreatePaymentRequest, ICreateOrderRequest } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class CheckoutService {
|
|
4
|
+
private readonly BASE_PATHS;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new order
|
|
9
|
+
* @param orderItems Order data to create
|
|
10
|
+
* @throws {TonderError} If order creation fails
|
|
11
|
+
*/
|
|
12
|
+
createOrder(orderItems: ICreateOrderRequest): Promise<ICreateOrderResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new payment
|
|
15
|
+
* @param paymentItems Payment data to create
|
|
16
|
+
* @throws {TonderError} If payment creation fails
|
|
17
|
+
*/
|
|
18
|
+
createPayment(paymentItems: ICreatePaymentRequest): Promise<ICreatePaymentResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Starts or continues a checkout process
|
|
21
|
+
* @param routerItems Checkout data or checkout ID
|
|
22
|
+
* @param deviceSessionId Optional device session ID for MercadoPago
|
|
23
|
+
* @throws {TonderError} If checkout process fails
|
|
24
|
+
*/
|
|
25
|
+
startCheckoutRouter(routerItems: IStartCheckoutRequest | IStartCheckoutIdRequest, deviceSessionId?: string): Promise<ICheckoutResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Validates order data before creation
|
|
28
|
+
* @throws {TonderError} If order data is invalid
|
|
29
|
+
*/
|
|
30
|
+
private validateOrderData;
|
|
31
|
+
/**
|
|
32
|
+
* Validates payment data before creation
|
|
33
|
+
* @throws {TonderError} If payment data is invalid
|
|
34
|
+
*/
|
|
35
|
+
private validatePaymentData;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=CheckoutService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckoutService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CheckoutService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAIhB;IAEX,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;OAIG;IACG,WAAW,CACf,UAAU,EAAE,mBAAmB,GAC9B,OAAO,CAAC,oBAAoB,CAAC;IAgBhC;;;;OAIG;IACG,aAAa,CACjB,YAAY,EAAE,qBAAqB,GAClC,OAAO,CAAC,sBAAsB,CAAC;IAgBlC;;;;;OAKG;IACG,mBAAmB,CACvB,WAAW,EAAE,qBAAqB,GAAG,uBAAuB,EAC5D,eAAe,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,iBAAiB,CAAC;IAmB7B;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAa5B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ICustomer, ICustomerResponse } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class CustomerService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Registers a new customer or fetches existing one
|
|
9
|
+
* @param customer Customer data
|
|
10
|
+
* @param signal Optional AbortSignal for request cancellation
|
|
11
|
+
* @throws {TonderError} If registration/fetch fails or validation fails
|
|
12
|
+
*/
|
|
13
|
+
registerOrFetchCustomer(customer: ICustomer, signal?: AbortSignal): Promise<ICustomerResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Validates customer data before processing
|
|
16
|
+
* @throws {TonderError} If customer data is invalid
|
|
17
|
+
*/
|
|
18
|
+
private validateCustomerData;
|
|
19
|
+
/**
|
|
20
|
+
* Validates email format
|
|
21
|
+
*/
|
|
22
|
+
private isValidEmail;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=CustomerService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CustomerService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB;IACjD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;;OAKG;IACG,uBAAuB,CAC3B,QAAQ,EAAE,SAAS,EACnB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,iBAAiB,CAAC;IAgB7B;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;OAEG;IACH,OAAO,CAAC,YAAY;CAIrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MercadoPagoService.d.ts","sourceRoot":"","sources":["../../../../../src/services/MercadoPagoService.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;IAC7B,yBAAyB;CAiB1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenPayService.d.ts","sourceRoot":"","sources":["../../../../../src/services/OpenPayService.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IACnB,kBAAkB,CACtB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,OAAc,EACzB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,MAAM,CAAC;CAanB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IPaymentMethodResponse } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class PaymentMethodService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly DEFAULT_PAGE_SIZE;
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
/**
|
|
9
|
+
* Fetches available payment methods
|
|
10
|
+
* @param params Optional parameters for filtering payment methods
|
|
11
|
+
* @throws {TonderError} If the request fails
|
|
12
|
+
*/
|
|
13
|
+
fetchPaymentMethods(params?: Record<string, string>): Promise<IPaymentMethodResponse>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=PaymentMethodService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentMethodService.d.ts","sourceRoot":"","sources":["../../../../../src/services/PaymentMethodService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6B;IACvD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAW;IAC7C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;OAIG;IACG,mBAAmB,CACvB,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG5B,GACA,OAAO,CAAC,sBAAsB,CAAC;CAcnC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
2
|
+
import type { IConfig } from 'skyflow-react-native';
|
|
3
|
+
export declare class SkyflowService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Gets a Skyflow vault token
|
|
9
|
+
* @param signal Optional AbortSignal for request cancellation
|
|
10
|
+
* @throws {TonderError} If token fetch fails
|
|
11
|
+
*/
|
|
12
|
+
getVaultToken(signal?: AbortSignal): Promise<string>;
|
|
13
|
+
createSkyflowConfig(merchantData: any): Promise<IConfig>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SkyflowService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkyflowService.d.ts","sourceRoot":"","sources":["../../../../../src/services/SkyflowService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGpD,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IACnD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAI5B;;;;OAIG;IACG,aAAa,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAmBpD,mBAAmB,CAAC,YAAY,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;CAW/D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class StorageService {
|
|
2
|
+
constructor();
|
|
3
|
+
setItem<T>(key: string, data: T, expirationMinutes?: number): Promise<void>;
|
|
4
|
+
getItemWithExpires<T>(key: string): Promise<T | null>;
|
|
5
|
+
removeItem(key: string): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=StorageService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageService.d.ts","sourceRoot":"","sources":["../../../../../src/services/StorageService.ts"],"names":[],"mappings":"AAOA,qBAAa,cAAc;;IAGnB,OAAO,CAAC,CAAC,EACb,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,CAAC,EACP,iBAAiB,GAAE,MAAW,GAC7B,OAAO,CAAC,IAAI,CAAC;IAaV,kBAAkB,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAoBrD,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ7C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IGetSecureTokenResponse } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class TokenService {
|
|
4
|
+
private readonly BASE_PATH;
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* Gets a secure token for authenticated operations
|
|
9
|
+
* @param secretApiKey Authorization token
|
|
10
|
+
* @param signal Optional AbortSignal for request cancellation
|
|
11
|
+
* @throws {TonderError} If secure token fetch fails
|
|
12
|
+
*/
|
|
13
|
+
getSecureToken(secretApiKey: string, signal?: AbortSignal): Promise<IGetSecureTokenResponse>;
|
|
14
|
+
private validateToken;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=TokenService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TokenService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwB;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;;OAKG;IACG,cAAc,CAClB,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,uBAAuB,CAAC;IAkBnC,OAAO,CAAC,aAAa;CAKtB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ITransaction } from '@types';
|
|
2
|
+
import { HttpClient } from '@infrastructure/HttpClient';
|
|
3
|
+
export declare class TransactionService {
|
|
4
|
+
private readonly http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
verifyTransactionStatus(verifyUrl: string): Promise<ITransaction>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=TransactionService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TransactionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAItB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;CAUxE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './CardService';
|
|
2
|
+
export * from './TokenService';
|
|
3
|
+
export * from './SkyflowService';
|
|
4
|
+
export * from './OpenPayService';
|
|
5
|
+
export * from './CardService';
|
|
6
|
+
export * from './CheckoutService';
|
|
7
|
+
export * from './CustomerService';
|
|
8
|
+
export * from './PaymentMethodService';
|
|
9
|
+
export * from './BusinessService';
|
|
10
|
+
export * from './MercadoPagoService';
|
|
11
|
+
export * from './TransactionService';
|
|
12
|
+
export * from './StorageService';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardBrandCatalog.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/catalog/cardBrandCatalog.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW,WAAY,MAAM,WAGzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentMethodsCatalog.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/catalog/paymentMethodsCatalog.ts"],"names":[],"mappings":"AAkPA,eAAO,MAAM,uBAAuB,gBACrB,MAAM,KAClB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAO/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const TONDER_URL_BY_MODE: Readonly<{
|
|
2
|
+
production: "https://app.tonder.io";
|
|
3
|
+
sandbox: "https://sandbox.tonder.io";
|
|
4
|
+
stage: "https://stage.tonder.io";
|
|
5
|
+
development: "http://192.168.100.117:8000";
|
|
6
|
+
}>;
|
|
7
|
+
export { TONDER_URL_BY_MODE };
|
|
8
|
+
//# sourceMappingURL=environments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/constants/environments.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB;;;;;EAKtB,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export declare const MESSAGES_EN: {
|
|
2
|
+
INIT_ERROR: string;
|
|
3
|
+
INVALID_TYPE: string;
|
|
4
|
+
STATE_ERROR: string;
|
|
5
|
+
FETCH_BUSINESS_ERROR: string;
|
|
6
|
+
INVALID_CONFIG: string;
|
|
7
|
+
MERCHANT_CREDENTIAL_REQUIRED: string;
|
|
8
|
+
INVALID_PAYMENT_REQUEST: string;
|
|
9
|
+
INVALID_PAYMENT_REQUEST_CARD_PM: string;
|
|
10
|
+
TYPE_SDK_REQUIRED: string;
|
|
11
|
+
ENVIRONMENT_REQUIRED: string;
|
|
12
|
+
FETCH_CARDS_ERROR: string;
|
|
13
|
+
CUSTOMER_AUTH_TOKEN_NOT_VALID: string;
|
|
14
|
+
SAVE_CARD_ERROR: string;
|
|
15
|
+
REMOVE_CARD_ERROR: string;
|
|
16
|
+
CREATE_PAYMENT_ERROR: string;
|
|
17
|
+
PAYMENT_PROCESS_ERROR: string;
|
|
18
|
+
CARD_SAVED_SUCCESSFULLY: string;
|
|
19
|
+
CARD_REMOVED_SUCCESSFULLY: string;
|
|
20
|
+
SAVE_CARD_PROCESS_ERROR: string;
|
|
21
|
+
START_CHECKOUT_ERROR: string;
|
|
22
|
+
CREATE_ORDER_ERROR: string;
|
|
23
|
+
BUSINESS_ID_REQUIRED: string;
|
|
24
|
+
CLIENT_ID_REQUIRED: string;
|
|
25
|
+
INVALID_AMOUNT: string;
|
|
26
|
+
INVALID_ITEMS: string;
|
|
27
|
+
CUSTOMER_OPERATION_ERROR: string;
|
|
28
|
+
INVALID_EMAIL: string;
|
|
29
|
+
FETCH_PAYMENT_METHODS_ERROR: string;
|
|
30
|
+
INVALID_VAULT_TOKEN: string;
|
|
31
|
+
VAULT_TOKEN_ERROR: string;
|
|
32
|
+
SECURE_TOKEN_ERROR: string;
|
|
33
|
+
SECURE_TOKEN_INVALID: string;
|
|
34
|
+
INVALID_SECRET_API_KEY: string;
|
|
35
|
+
REMOVE_CARD: string;
|
|
36
|
+
SKYFLOW_NOT_INITIALIZED: string;
|
|
37
|
+
ERROR_LOAD_PAYMENT_FORM: string;
|
|
38
|
+
INVALID_CARD_DATA: string;
|
|
39
|
+
ERROR_LOAD_ENROLLMENT_FORM: string;
|
|
40
|
+
REQUEST_ABORTED: string;
|
|
41
|
+
REQUEST_FAILED: string;
|
|
42
|
+
UNKNOWN_ERROR: string;
|
|
43
|
+
CREATE_ERROR: string;
|
|
44
|
+
FETCH_TRANSACTION_ERROR: string;
|
|
45
|
+
THREEDS_REDIRECTION_ERROR: string;
|
|
46
|
+
REMOVE_SDK_ERROR: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const MESSAGES_ES: {
|
|
49
|
+
INIT_ERROR: string;
|
|
50
|
+
STATE_ERROR: string;
|
|
51
|
+
FETCH_BUSINESS_ERROR: string;
|
|
52
|
+
INVALID_CONFIG: string;
|
|
53
|
+
TYPE_SDK_REQUIRED: string;
|
|
54
|
+
ENVIRONMENT_REQUIRED: string;
|
|
55
|
+
FETCH_CARDS_ERROR: string;
|
|
56
|
+
SAVE_CARD_ERROR: string;
|
|
57
|
+
REMOVE_CARD_ERROR: string;
|
|
58
|
+
CREATE_PAYMENT_ERROR: string;
|
|
59
|
+
START_CHECKOUT_ERROR: string;
|
|
60
|
+
CREATE_ORDER_ERROR: string;
|
|
61
|
+
BUSINESS_ID_REQUIRED: string;
|
|
62
|
+
CLIENT_ID_REQUIRED: string;
|
|
63
|
+
INVALID_AMOUNT: string;
|
|
64
|
+
INVALID_ITEMS: string;
|
|
65
|
+
CUSTOMER_OPERATION_ERROR: string;
|
|
66
|
+
INVALID_EMAIL: string;
|
|
67
|
+
FETCH_PAYMENT_METHODS_ERROR: string;
|
|
68
|
+
INVALID_VAULT_TOKEN: string;
|
|
69
|
+
VAULT_TOKEN_ERROR: string;
|
|
70
|
+
SECURE_TOKEN_ERROR: string;
|
|
71
|
+
INVALID_SECRET_API_KEY: string;
|
|
72
|
+
CUSTOMER_AUTH_TOKEN_NOT_VALID: string;
|
|
73
|
+
SECURE_TOKEN_INVALID: string;
|
|
74
|
+
REMOVE_CARD: string;
|
|
75
|
+
SKYFLOW_NOT_INITIALIZED: string;
|
|
76
|
+
INVALID_TYPE: string;
|
|
77
|
+
PAYMENT_PROCESS_ERROR: string;
|
|
78
|
+
INVALID_PAYMENT_REQUEST: string;
|
|
79
|
+
INVALID_PAYMENT_REQUEST_CARD_PM: string;
|
|
80
|
+
SAVE_CARD_PROCESS_ERROR: string;
|
|
81
|
+
ERROR_LOAD_PAYMENT_FORM: string;
|
|
82
|
+
INVALID_CARD_DATA: string;
|
|
83
|
+
ERROR_LOAD_ENROLLMENT_FORM: string;
|
|
84
|
+
CARD_SAVED_SUCCESSFULLY: string;
|
|
85
|
+
CARD_REMOVED_SUCCESSFULLY: string;
|
|
86
|
+
REQUEST_ABORTED: string;
|
|
87
|
+
REQUEST_FAILED: string;
|
|
88
|
+
UNKNOWN_ERROR: string;
|
|
89
|
+
CREATE_ERROR: string;
|
|
90
|
+
FETCH_TRANSACTION_ERROR: string;
|
|
91
|
+
THREEDS_REDIRECTION_ERROR: string;
|
|
92
|
+
REMOVE_SDK_ERROR: string;
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/constants/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDvB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const PAYMENT_METHODS: Readonly<{
|
|
2
|
+
SORIANA: "SORIANA";
|
|
3
|
+
OXXO: "OXXO";
|
|
4
|
+
SPEI: "SPEI";
|
|
5
|
+
CODI: "CODI";
|
|
6
|
+
MERCADOPAGO: "MERCADOPAGO";
|
|
7
|
+
PAYPAL: "PAYPAL";
|
|
8
|
+
COMERCIALMEXICANA: "COMERCIALMEXICANA";
|
|
9
|
+
BANCOMER: "BANCOMER";
|
|
10
|
+
WALMART: "WALMART";
|
|
11
|
+
BODEGA: "BODEGA";
|
|
12
|
+
SAMSCLUB: "SAMSCLUB";
|
|
13
|
+
SUPERAMA: "SUPERAMA";
|
|
14
|
+
CALIMAX: "CALIMAX";
|
|
15
|
+
EXTRA: "EXTRA";
|
|
16
|
+
CIRCULOK: "CIRCULOK";
|
|
17
|
+
SEVEN11: "7ELEVEN";
|
|
18
|
+
TELECOMM: "TELECOMM";
|
|
19
|
+
BANORTE: "BANORTE";
|
|
20
|
+
BENAVIDES: "BENAVIDES";
|
|
21
|
+
DELAHORRO: "DELAHORRO";
|
|
22
|
+
ELASTURIANO: "ELASTURIANO";
|
|
23
|
+
WALDOS: "WALDOS";
|
|
24
|
+
ALSUPER: "ALSUPER";
|
|
25
|
+
KIOSKO: "KIOSKO";
|
|
26
|
+
STAMARIA: "STAMARIA";
|
|
27
|
+
LAMASBARATA: "LAMASBARATA";
|
|
28
|
+
FARMROMA: "FARMROMA";
|
|
29
|
+
FARMUNION: "FARMUNION";
|
|
30
|
+
FARMATODO: "FARMATODO";
|
|
31
|
+
SFDEASIS: "SFDEASIS";
|
|
32
|
+
FARM911: "FARM911";
|
|
33
|
+
FARMECONOMICAS: "FARMECONOMICAS";
|
|
34
|
+
FARMMEDICITY: "FARMMEDICITY";
|
|
35
|
+
RIANXEIRA: "RIANXEIRA";
|
|
36
|
+
WESTERNUNION: "WESTERNUNION";
|
|
37
|
+
ZONAPAGO: "ZONAPAGO";
|
|
38
|
+
CAJALOSANDES: "CAJALOSANDES";
|
|
39
|
+
CAJAPAITA: "CAJAPAITA";
|
|
40
|
+
CAJASANTA: "CAJASANTA";
|
|
41
|
+
CAJASULLANA: "CAJASULLANA";
|
|
42
|
+
CAJATRUJILLO: "CAJATRUJILLO";
|
|
43
|
+
EDPYME: "EDPYME";
|
|
44
|
+
KASNET: "KASNET";
|
|
45
|
+
NORANDINO: "NORANDINO";
|
|
46
|
+
QAPAQ: "QAPAQ";
|
|
47
|
+
RAIZ: "RAIZ";
|
|
48
|
+
PAYSER: "PAYSER";
|
|
49
|
+
WUNION: "WUNION";
|
|
50
|
+
BANCOCONTINENTAL: "BANCOCONTINENTAL";
|
|
51
|
+
GMONEY: "GMONEY";
|
|
52
|
+
GOPAY: "GOPAY";
|
|
53
|
+
WU: "WU";
|
|
54
|
+
PUNTOSHEY: "PUNTOSHEY";
|
|
55
|
+
AMPM: "AMPM";
|
|
56
|
+
JUMBOMARKET: "JUMBOMARKET";
|
|
57
|
+
SMELPUEBLO: "SMELPUEBLO";
|
|
58
|
+
BAM: "BAM";
|
|
59
|
+
REFACIL: "REFACIL";
|
|
60
|
+
ACYVALORES: "ACYVALORES";
|
|
61
|
+
}>;
|
|
62
|
+
export { PAYMENT_METHODS };
|
|
63
|
+
//# sourceMappingURL=paymentMethods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentMethods.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/constants/paymentMethods.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DnB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ValidationRuleType } from 'skyflow-react-native';
|
|
2
|
+
declare const lengthMatchRule: {
|
|
3
|
+
type: ValidationRuleType;
|
|
4
|
+
params: {
|
|
5
|
+
max: number;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const regexMatchRule: {
|
|
9
|
+
type: ValidationRuleType;
|
|
10
|
+
params: {
|
|
11
|
+
regex: RegExp;
|
|
12
|
+
error: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const getErrorField: (event: {
|
|
16
|
+
elementType?: string;
|
|
17
|
+
isEmpty?: boolean;
|
|
18
|
+
isFocused?: boolean;
|
|
19
|
+
isValid?: boolean;
|
|
20
|
+
value?: string;
|
|
21
|
+
}, field: string) => string;
|
|
22
|
+
declare const DEFAULT_SKYFLOW_lABELS: {
|
|
23
|
+
nameLabel: string;
|
|
24
|
+
cardLabel: string;
|
|
25
|
+
cvvLabel: string;
|
|
26
|
+
expiryMonthLabel: string;
|
|
27
|
+
expiryYearLabel: string;
|
|
28
|
+
expiryDateLabel: string;
|
|
29
|
+
};
|
|
30
|
+
declare const DEFAULT_SKYFLOW_PLACEHOLDERS: {
|
|
31
|
+
namePlaceholder: string;
|
|
32
|
+
cardPlaceholder: string;
|
|
33
|
+
cvvPlaceholder: string;
|
|
34
|
+
expiryMonthPlaceholder: string;
|
|
35
|
+
expiryYearPlaceholder: string;
|
|
36
|
+
};
|
|
37
|
+
export { lengthMatchRule, regexMatchRule, getErrorField, DEFAULT_SKYFLOW_lABELS, DEFAULT_SKYFLOW_PLACEHOLDERS, };
|
|
38
|
+
//# sourceMappingURL=skyflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skyflow.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/constants/skyflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,QAAA,MAAM,eAAe;;;;;CAKpB,CAAC;AAGF,QAAA,MAAM,cAAc;;;;;;CAMnB,CAAC;AAEF,QAAA,MAAM,aAAa,UACV;IACL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,SACM,MAAM,WASd,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;CAO3B,CAAC;AAEF,QAAA,MAAM,4BAA4B;;;;;;CAMjC,CAAC;AAEF,OAAO,EACL,eAAe,EACf,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,4BAA4B,GAC7B,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare enum ErrorKeyEnum {
|
|
2
|
+
INIT_ERROR = "INIT_ERROR",
|
|
3
|
+
CREATE_ERROR = "CREATE_ERROR",
|
|
4
|
+
REMOVE_SDK_ERROR = "REMOVE_SDK_ERROR",
|
|
5
|
+
INVALID_TYPE = "INVALID_TYPE",
|
|
6
|
+
STATE_ERROR = "STATE_ERROR",
|
|
7
|
+
FETCH_BUSINESS_ERROR = "FETCH_BUSINESS_ERROR",
|
|
8
|
+
INVALID_CONFIG = "INVALID_CONFIG",
|
|
9
|
+
MERCHANT_CREDENTIAL_REQUIRED = "MERCHANT_CREDENTIAL_REQUIRED",
|
|
10
|
+
INVALID_PAYMENT_REQUEST = "INVALID_PAYMENT_REQUEST",
|
|
11
|
+
INVALID_PAYMENT_REQUEST_CARD_PM = "INVALID_PAYMENT_REQUEST_CARD_PM",
|
|
12
|
+
TYPE_SDK_REQUIRED = "TYPE_SDK_REQUIRED",
|
|
13
|
+
ENVIRONMENT_REQUIRED = "ENVIRONMENT_REQUIRED",
|
|
14
|
+
FETCH_CARDS_ERROR = "FETCH_CARDS_ERROR",
|
|
15
|
+
FETCH_TRANSACTION_ERROR = "FETCH_TRANSACTION_ERROR",
|
|
16
|
+
CUSTOMER_AUTH_TOKEN_NOT_VALID = "CUSTOMER_AUTH_TOKEN_NOT_VALID",
|
|
17
|
+
SAVE_CARD_ERROR = "SAVE_CARD_ERROR",
|
|
18
|
+
REMOVE_CARD_ERROR = "REMOVE_CARD_ERROR",
|
|
19
|
+
CREATE_PAYMENT_ERROR = "CREATE_PAYMENT_ERROR",
|
|
20
|
+
PAYMENT_PROCESS_ERROR = "PAYMENT_PROCESS_ERROR",
|
|
21
|
+
INVALID_CARD_DATA = "INVALID_CARD_DATA",
|
|
22
|
+
SAVE_CARD_PROCESS_ERROR = "SAVE_CARD_PROCESS_ERROR",
|
|
23
|
+
START_CHECKOUT_ERROR = "START_CHECKOUT_ERROR",
|
|
24
|
+
CREATE_ORDER_ERROR = "CREATE_ORDER_ERROR",
|
|
25
|
+
BUSINESS_ID_REQUIRED = "BUSINESS_ID_REQUIRED",
|
|
26
|
+
CLIENT_ID_REQUIRED = "CLIENT_ID_REQUIRED",
|
|
27
|
+
INVALID_AMOUNT = "INVALID_AMOUNT",
|
|
28
|
+
INVALID_ITEMS = "INVALID_ITEMS",
|
|
29
|
+
CUSTOMER_OPERATION_ERROR = "CUSTOMER_OPERATION_ERROR",
|
|
30
|
+
INVALID_EMAIL = "INVALID_EMAIL",
|
|
31
|
+
FETCH_PAYMENT_METHODS_ERROR = "FETCH_PAYMENT_METHODS_ERROR",
|
|
32
|
+
INVALID_VAULT_TOKEN = "INVALID_VAULT_TOKEN",
|
|
33
|
+
VAULT_TOKEN_ERROR = "VAULT_TOKEN_ERROR",
|
|
34
|
+
SECURE_TOKEN_ERROR = "SECURE_TOKEN_ERROR",
|
|
35
|
+
SECURE_TOKEN_INVALID = "SECURE_TOKEN_INVALID",
|
|
36
|
+
INVALID_SECRET_API_KEY = "INVALID_SECRET_API_KEY",
|
|
37
|
+
REMOVE_CARD = "REMOVE_CARD",
|
|
38
|
+
SKYFLOW_NOT_INITIALIZED = "SKYFLOW_NOT_INITIALIZED",
|
|
39
|
+
ERROR_LOAD_PAYMENT_FORM = "ERROR_LOAD_PAYMENT_FORM",
|
|
40
|
+
ERROR_LOAD_ENROLLMENT_FORM = "ERROR_LOAD_ENROLLMENT_FORM",
|
|
41
|
+
CARD_SAVED_SUCCESSFULLY = "CARD_SAVED_SUCCESSFULLY",
|
|
42
|
+
CARD_REMOVED_SUCCESSFULLY = "CARD_REMOVED_SUCCESSFULLY",
|
|
43
|
+
REQUEST_ABORTED = "REQUEST_ABORTED",
|
|
44
|
+
REQUEST_FAILED = "REQUEST_FAILED",
|
|
45
|
+
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
46
|
+
THREEDS_REDIRECTION_ERROR = "THREEDS_REDIRECTION_ERROR"
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=ErrorKeyEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorKeyEnum.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/enum/ErrorKeyEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,4BAA4B,iCAAiC;IAC7D,uBAAuB,4BAA4B;IACnD,+BAA+B,oCAAoC;IACnE,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,6BAA6B,kCAAkC;IAC/D,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAC7C,kBAAkB,uBAAuB;IACzC,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,wBAAwB,6BAA6B;IACrD,aAAa,kBAAkB;IAC/B,2BAA2B,gCAAgC;IAC3D,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAC7C,sBAAsB,2BAA2B;IACjD,WAAW,gBAAgB;IAC3B,uBAAuB,4BAA4B;IACnD,uBAAuB,4BAA4B;IACnD,0BAA0B,+BAA+B;IACzD,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IACvD,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,yBAAyB,8BAA8B;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|