@tap-payments/auth-jsconnect 2.0.47-test → 2.0.47
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/README.md +34 -34
- package/build/@types/app.d.ts +165 -27
- package/build/@types/app.js +44 -3
- package/build/@types/form.d.ts +88 -32
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/theme.d.ts +1 -1
- package/build/@types/user.d.ts +141 -0
- package/build/@types/user.js +1 -0
- package/build/api/account.d.ts +6 -1
- package/build/api/account.js +9 -1
- package/build/api/auth.d.ts +42 -21
- package/build/api/auth.js +51 -4
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +3 -3
- package/build/api/board.d.ts +20 -3
- package/build/api/board.js +17 -1
- package/build/api/brand.d.ts +3 -1
- package/build/api/brand.js +18 -1
- package/build/api/country.d.ts +7 -1
- package/build/api/country.js +12 -2
- package/build/api/data.d.ts +46 -7
- package/build/api/data.js +73 -17
- package/build/api/entity.d.ts +91 -15
- package/build/api/entity.js +50 -10
- package/build/api/file.d.ts +13 -0
- package/build/api/file.js +24 -0
- package/build/api/firebase.d.ts +1 -1
- package/build/api/firebase.js +3 -1
- package/build/api/index.d.ts +75 -19
- package/build/api/index.js +5 -3
- package/build/api/individual.d.ts +136 -23
- package/build/api/individual.js +37 -2
- package/build/api/lead.d.ts +25 -16
- package/build/api/lead.js +24 -1
- package/build/api/location.d.ts +5 -0
- package/build/api/location.js +19 -0
- package/build/api/operator.d.ts +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +7 -1
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +2 -2
- package/build/app/rootReducer.js +4 -4
- package/build/app/settings.d.ts +20 -2
- package/build/app/settings.js +51 -33
- package/build/app/store.d.ts +9 -9
- package/build/assets/locales/ar.json +323 -183
- package/build/assets/locales/en.json +258 -108
- package/build/components/AnimationFlow/AnimationFlow.d.ts +4 -1
- package/build/components/AnimationFlow/AnimationFlow.js +6 -8
- package/build/components/AnimationFlow/BottomSheet.d.ts +2 -1
- package/build/components/AnimationFlow/BottomSheet.js +4 -3
- package/build/components/AnimationFlow/Dialog.d.ts +4 -1
- package/build/components/AnimationFlow/Dialog.js +5 -3
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +13 -0
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +94 -0
- package/build/components/ArabicDatePicker/index.d.ts +2 -0
- package/build/components/ArabicDatePicker/index.js +2 -0
- package/build/components/ArabicDatePicker/style.css +24 -0
- package/build/components/Button/Button.js +1 -5
- package/build/components/DatePicker/DatePicker.js +5 -3
- package/build/components/FileInput/DragAndDrop.d.ts +12 -2
- package/build/components/FileInput/DragAndDrop.js +109 -11
- package/build/components/Lottie/Lottie.d.ts +4204 -0
- package/build/components/Lottie/Lottie.js +66 -0
- package/build/components/Lottie/files/account_creating.json +732 -0
- package/build/components/Lottie/files/error.json +692 -0
- package/build/components/Lottie/files/pulsating_circle_waves.json +236 -0
- package/build/components/Lottie/files/start_loading.json +1140 -0
- package/build/components/Lottie/files/still_loading.json +1140 -0
- package/build/components/Lottie/files/success.json +425 -0
- package/build/components/Lottie/index.d.ts +3 -0
- package/build/components/Lottie/index.js +3 -0
- package/build/components/OTPField/OTPField.d.ts +2 -1
- package/build/components/OTPField/OTPField.js +2 -2
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +16 -0
- package/build/components/ProgressBar/CircularProgressBar.js +48 -0
- package/build/components/ProgressBar/index.d.ts +2 -0
- package/build/components/ProgressBar/index.js +2 -0
- package/build/components/Radio/Radio.js +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +5 -2
- package/build/components/RadioLabel/RadioLabel.js +2 -2
- package/build/components/SimpleList/SimpleList.d.ts +4 -1
- package/build/components/SimpleList/SimpleList.js +22 -10
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +2 -6
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +4 -49
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +12 -3
- package/build/constants/api.d.ts +14 -0
- package/build/constants/api.js +30 -2
- package/build/constants/app.d.ts +27 -4
- package/build/constants/app.js +248 -39
- package/build/constants/assets.d.ts +21 -0
- package/build/constants/assets.js +23 -2
- package/build/constants/dummy.d.ts +1 -1
- package/build/constants/dummy.js +2 -2
- package/build/constants/validation.d.ts +13 -0
- package/build/constants/validation.js +14 -1
- package/build/features/app/bank/bankStore.d.ts +88 -15
- package/build/features/app/bank/bankStore.js +108 -81
- package/build/features/app/brand/brandStore.d.ts +193 -0
- package/build/features/app/brand/brandStore.js +674 -0
- package/build/features/app/business/businessStore.d.ts +200 -20
- package/build/features/app/business/businessStore.js +514 -363
- package/build/features/app/connect/connectStore.d.ts +148 -40
- package/build/features/app/connect/connectStore.js +465 -374
- package/build/features/app/connectExpress/connectExpressStore.d.ts +282 -0
- package/build/features/app/connectExpress/connectExpressStore.js +1019 -0
- package/build/features/app/entity/entityStore.d.ts +129 -18
- package/build/features/app/entity/entityStore.js +438 -192
- package/build/features/app/individual/individualStore.d.ts +186 -16
- package/build/features/app/individual/individualStore.js +767 -159
- package/build/features/app/password/passwordStore.d.ts +107 -24
- package/build/features/app/password/passwordStore.js +50 -34
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +24 -47
- package/build/features/app/tax/taxStore.d.ts +69 -9
- package/build/features/app/tax/taxStore.js +121 -102
- package/build/features/bank/Bank.d.ts +5 -3
- package/build/features/bank/Bank.js +39 -36
- package/build/features/bank/screens/BankDetails/BankDetails.js +28 -10
- package/build/features/bank/screens/BankDetails/BankName.js +15 -11
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +4 -1
- package/build/features/bank/screens/BankDetails/BankStatement.js +19 -13
- package/build/features/bank/screens/BankDetails/Beneficiary.js +19 -21
- package/build/features/bank/screens/BankDetails/IBAN.js +16 -9
- package/build/features/bank/screens/BankDetails/validation.d.ts +29 -13
- package/build/features/bank/screens/BankDetails/validation.js +34 -28
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/bank/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/bank/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/bank/screens/Success/Success.js +7 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -93
- package/build/features/brand/Brand.d.ts +9 -0
- package/build/features/brand/Brand.js +72 -0
- package/build/features/brand/index.d.ts +1 -0
- package/build/features/brand/index.js +1 -0
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +91 -0
- package/build/features/{entity/screens/EntityInfoConfirm → brand/screens/BrandActivities}/ActivitiesList.js +58 -33
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -0
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +82 -0
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +82 -0
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +146 -0
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +8 -0
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +97 -0
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +8 -0
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +133 -0
- package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +20 -0
- package/build/features/brand/screens/BrandActivities/OperationStartDate.js +45 -0
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +36 -0
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +82 -0
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +6 -0
- package/build/features/brand/screens/BrandActivities/TAC.js +84 -0
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -0
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +42 -0
- package/build/features/brand/screens/BrandActivities/index.d.ts +2 -0
- package/build/features/brand/screens/BrandActivities/index.js +2 -0
- package/build/features/brand/screens/BrandActivities/validation.d.ts +71 -0
- package/build/features/brand/screens/BrandActivities/validation.js +32 -0
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -0
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +79 -0
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/BrandName.js +143 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +5 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +42 -0
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/Segments.js +74 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.js +74 -0
- package/build/features/brand/screens/BrandInfo/index.d.ts +2 -0
- package/build/features/brand/screens/BrandInfo/index.js +2 -0
- package/build/features/brand/screens/BrandInfo/validation.d.ts +41 -0
- package/build/features/brand/screens/BrandInfo/validation.js +116 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/brand/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/brand/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/brand/screens/Success/Success.d.ts +5 -0
- package/build/features/brand/screens/Success/Success.js +20 -0
- package/build/features/brand/screens/Success/index.d.ts +3 -0
- package/build/features/brand/screens/Success/index.js +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +22 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/{otp/screens/OTPVerify → brand/screens/Verify}/OTPInput.js +2 -2
- package/build/features/{otp/screens/OTPVerify → brand/screens/Verify}/Verify.d.ts +0 -0
- package/build/features/brand/screens/Verify/Verify.js +91 -0
- package/build/features/{otp/screens/OTPVerify → brand/screens/Verify}/index.d.ts +0 -0
- package/build/features/{otp/screens/OTPVerify → brand/screens/Verify}/index.js +0 -0
- package/build/features/{auth/screens/OTP → brand/screens/Verify}/validation.d.ts +0 -0
- package/build/features/{auth/screens/OTP → brand/screens/Verify}/validation.js +0 -0
- package/build/features/business/Business.d.ts +4 -3
- package/build/features/business/Business.js +12 -17
- package/build/features/business/screens/Activities/Activities.js +8 -17
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +44 -8
- package/build/features/business/screens/Activities/ActivitiesList.js +49 -16
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +15 -1
- package/build/features/business/screens/Activities/OperationStartDate.js +21 -2
- package/build/features/business/screens/Activities/validation.d.ts +0 -51
- package/build/features/business/screens/Activities/validation.js +4 -10
- package/build/features/business/screens/BusinessType/Article.d.ts +6 -0
- package/build/features/business/screens/BusinessType/Article.js +87 -0
- package/build/features/business/screens/BusinessType/BusinessType.js +23 -9
- package/build/features/business/screens/BusinessType/EntityName.d.ts +6 -0
- package/build/features/business/screens/BusinessType/EntityName.js +56 -0
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +6 -0
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +43 -0
- package/build/features/business/screens/BusinessType/LicenseList.js +27 -7
- package/build/features/business/screens/BusinessType/LicenseNumber.js +12 -6
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +34 -0
- package/build/features/business/screens/BusinessType/LicenseType.js +103 -0
- package/build/features/business/screens/BusinessType/validation.d.ts +22 -0
- package/build/features/business/screens/BusinessType/validation.js +60 -3
- package/build/features/business/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/business/screens/CivilID/CivilID.js +67 -0
- package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/business/screens/CivilID/IDNumber.js +59 -0
- package/build/features/business/screens/CivilID/index.d.ts +3 -0
- package/build/features/business/screens/CivilID/index.js +2 -0
- package/build/features/business/screens/CivilID/validation.d.ts +8 -0
- package/build/features/business/screens/CivilID/validation.js +4 -0
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +24 -11
- package/build/features/business/screens/Customers/CustomerLocations.js +31 -8
- package/build/features/business/screens/Customers/Customers.js +15 -9
- package/build/features/business/screens/Customers/ExpectedCustomers.js +15 -4
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +36 -15
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
- package/build/features/business/screens/Customers/RefundPolicy.js +6 -2
- package/build/features/business/screens/Customers/TransactionPolicy.js +6 -2
- package/build/features/business/screens/IDBOD/IDBOD.js +15 -2
- package/build/features/business/screens/OTP/OTP.js +15 -2
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/business/screens/Success/Success.js +10 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -93
- package/build/features/business/screens/Verify/Verify.js +4 -4
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/business/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/business/screens/VerifyPACI/index.js +2 -0
- package/build/features/connect/Connect.d.ts +4 -4
- package/build/features/connect/Connect.js +32 -21
- package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/connect/screens/CivilID/CivilID.js +102 -0
- package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/connect/screens/CivilID/IDNumber.js +59 -0
- package/build/features/connect/screens/CivilID/index.d.ts +3 -0
- package/build/features/connect/screens/CivilID/index.js +2 -0
- package/build/features/connect/screens/CivilID/validation.d.ts +8 -0
- package/build/features/connect/screens/CivilID/validation.js +4 -0
- package/build/features/connect/screens/Individual/Email.js +12 -4
- package/build/features/connect/screens/Individual/Individual.js +46 -29
- package/build/features/connect/screens/Individual/validation.js +2 -8
- package/build/features/connect/screens/Merchant/BrandList.js +29 -8
- package/build/features/connect/screens/Merchant/BrandName.js +13 -9
- package/build/features/connect/screens/Merchant/Merchant.js +46 -73
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +4 -4
- package/build/features/connect/screens/Merchant/SalesChannels.js +26 -102
- package/build/features/connect/screens/Merchant/Segments.d.ts +8 -0
- package/build/features/connect/screens/Merchant/Segments.js +74 -0
- package/build/features/connect/screens/Merchant/TAC.js +6 -2
- package/build/features/connect/screens/Merchant/TeamSize.d.ts +8 -0
- package/build/features/connect/screens/Merchant/TeamSize.js +74 -0
- package/build/features/connect/screens/Merchant/validation.d.ts +19 -123
- package/build/features/connect/screens/Merchant/validation.js +110 -173
- package/build/features/connect/screens/Mobile/Mobile.js +33 -12
- package/build/features/connect/screens/NID/NID.js +5 -1
- package/build/features/connect/screens/OTP/OTP.js +20 -6
- package/build/features/connect/screens/OTP/OTPInput.js +3 -2
- package/build/features/connect/screens/ThankYou/ThankYou.js +9 -2
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +95 -0
- package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/connect/screens/VerifyPACI/index.js +2 -0
- package/build/features/connectExpress/ConnectExpress.d.ts +11 -0
- package/build/features/connectExpress/ConnectExpress.js +84 -0
- package/build/features/connectExpress/index.d.ts +1 -0
- package/build/features/connectExpress/index.js +1 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +15 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/index.d.ts +3 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/index.js +2 -0
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +5 -0
- package/build/features/connectExpress/screens/Brand/Brand.js +71 -0
- package/build/features/connectExpress/screens/Brand/index.d.ts +2 -0
- package/build/features/connectExpress/screens/Brand/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.js +84 -0
- package/build/features/connectExpress/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +55 -0
- package/build/features/connectExpress/screens/CivilID/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CivilID/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/CivilID/validation.js +4 -0
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +5 -0
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +53 -0
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +55 -0
- package/build/features/connectExpress/screens/CivilIDMissed/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CivilIDMissed/index.js +2 -0
- package/build/features/connectExpress/screens/CivilIDMissed/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/CivilIDMissed/validation.js +4 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +140 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +80 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +144 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +52 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +34 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +94 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +6 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +83 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/index.js +2 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +27 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +155 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +89 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +113 -0
- package/build/features/{individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts → connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts} +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +149 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +6 -0
- package/build/features/{individual/screens/AdditionalIndividualInfo/EmployerName.js → connectExpress/screens/CollectIndividualInfo/Name.js} +15 -16
- package/build/features/connectExpress/screens/CollectIndividualInfo/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/index.js +2 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.d.ts +14 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +31 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +34 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/index.js +2 -0
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTP.d.ts +0 -0
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTP.js +26 -11
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTPInput.d.ts +0 -0
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTPInput.js +10 -2
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/index.d.ts +0 -0
- package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/index.js +0 -0
- package/build/features/{otp/screens/OTPVerify → connectExpress/screens/IdentityOTP}/validation.d.ts +0 -0
- package/build/features/{otp/screens/OTPVerify → connectExpress/screens/IdentityOTP}/validation.js +0 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +34 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +5 -0
- package/build/features/connectExpress/screens/Mobile/Mobile.js +110 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +12 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +151 -0
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +6 -0
- package/build/features/connectExpress/screens/Mobile/TAC.js +83 -0
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +8 -0
- package/build/features/connectExpress/screens/Mobile/Title.js +29 -0
- package/build/features/connectExpress/screens/Mobile/index.d.ts +3 -0
- package/build/features/connectExpress/screens/Mobile/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/Mobile/validation.js +60 -0
- package/build/features/connectExpress/screens/NID/DOB.d.ts +6 -0
- package/build/features/connectExpress/screens/NID/DOB.js +47 -0
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +6 -0
- package/build/features/connectExpress/screens/NID/IDNumber.js +61 -0
- package/build/features/connectExpress/screens/NID/NID.d.ts +5 -0
- package/build/features/connectExpress/screens/NID/NID.js +92 -0
- package/build/features/connectExpress/screens/NID/TAC.d.ts +6 -0
- package/build/features/connectExpress/screens/NID/TAC.js +83 -0
- package/build/features/connectExpress/screens/NID/index.d.ts +3 -0
- package/build/features/connectExpress/screens/NID/index.js +2 -0
- package/build/features/connectExpress/screens/NID/validation.d.ts +11 -0
- package/build/features/connectExpress/screens/NID/validation.js +22 -0
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +6 -0
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +47 -0
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.d.ts +6 -0
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +56 -0
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +5 -0
- package/build/features/connectExpress/screens/NIDMissed/NID.js +59 -0
- package/build/features/connectExpress/screens/NIDMissed/index.d.ts +3 -0
- package/build/features/connectExpress/screens/NIDMissed/index.js +2 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +11 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +9 -0
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +5 -0
- package/build/features/connectExpress/screens/OTP/OTP.js +88 -0
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/connectExpress/screens/OTP/OTPInput.js +55 -0
- package/build/features/connectExpress/screens/OTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/OTP/index.js +2 -0
- package/build/features/connectExpress/screens/OTP/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/OTP/validation.js +4 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +32 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/connectExpress/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyPACI/index.js +2 -0
- package/build/features/entity/Entity.d.ts +5 -3
- package/build/features/entity/Entity.js +39 -37
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +90 -0
- package/build/features/entity/screens/EntityCapital/ActivityList.js +175 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +47 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +42 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +47 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +75 -0
- package/build/features/entity/screens/EntityCapital/index.d.ts +2 -0
- package/build/features/entity/screens/EntityCapital/index.js +2 -0
- package/build/features/entity/screens/EntityCapital/validation.d.ts +62 -0
- package/build/features/entity/screens/EntityCapital/validation.js +21 -0
- package/build/features/entity/screens/EntityName/Article.d.ts +6 -0
- package/build/features/entity/screens/EntityName/Article.js +87 -0
- package/build/features/entity/screens/EntityName/EntityName.d.ts +5 -0
- package/build/features/entity/screens/EntityName/EntityName.js +93 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +90 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.js +151 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +19 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.js +46 -0
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +19 -0
- package/build/features/entity/screens/EntityName/IssuingDate.js +46 -0
- package/build/features/entity/screens/EntityName/LegalName.d.ts +5 -0
- package/build/features/entity/screens/EntityName/LegalName.js +48 -0
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +6 -0
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +48 -0
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +6 -0
- package/build/features/entity/screens/EntityName/LicenseNumber.js +51 -0
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +6 -0
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +43 -0
- package/build/features/entity/screens/EntityName/index.d.ts +2 -0
- package/build/features/entity/screens/EntityName/index.js +2 -0
- package/build/features/entity/screens/EntityName/validation.d.ts +60 -0
- package/build/features/entity/screens/EntityName/validation.js +116 -0
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/entity/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/entity/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/entity/screens/Success/Success.js +7 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -93
- package/build/features/entity/screens/Verify/Verify.js +18 -5
- package/build/features/featuresScreens.d.ts +2 -2
- package/build/features/featuresScreens.js +161 -14
- package/build/features/individual/Individual.d.ts +5 -3
- package/build/features/individual/Individual.js +39 -37
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +64 -46
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +35 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +12 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +19 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +11 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +28 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +31 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +35 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +41 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +48 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +31 -23
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +19 -23
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +10 -0
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +31 -0
- package/build/features/individual/screens/IndividualList/Email.d.ts +6 -0
- package/build/features/individual/screens/IndividualList/Email.js +48 -0
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +31 -0
- package/build/features/individual/screens/IndividualList/IndividualList.js +58 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.js +143 -0
- package/build/features/individual/screens/IndividualList/UserList.d.ts +5 -0
- package/build/features/individual/screens/IndividualList/UserList.js +186 -0
- package/build/features/individual/screens/IndividualList/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualList/index.js +2 -0
- package/build/features/individual/screens/IndividualList/validation.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/validation.js +39 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +8 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +109 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +10 -0
- package/build/features/individual/screens/{AdditionalIndividualInfo/EmployerLocation.js → IndividualPersonalInfo/BirthCountry.js} +14 -24
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +7 -0
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +46 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +50 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +7 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +50 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +34 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +81 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +48 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +21 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +139 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +88 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +145 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +52 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +88 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.js +2 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +38 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +68 -0
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/individual/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/individual/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/individual/screens/Success/Success.js +7 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -93
- package/build/features/individual/screens/Verify/Verify.js +13 -7
- package/build/features/password/Password.d.ts +5 -3
- package/build/features/password/Password.js +12 -17
- package/build/features/password/screens/CreatePassword/CreatePassword.js +16 -3
- package/build/features/password/screens/OTP/OTP.js +15 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/password/screens/Success/Success.js +7 -3
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -94
- package/build/features/password/screens/Verify/Verify.js +16 -3
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +1 -1
- package/build/features/shared/Address/Address.d.ts +16 -0
- package/build/features/shared/Address/Address.js +73 -0
- package/build/features/shared/Address/CountryList.d.ts +72 -0
- package/build/features/shared/Address/CountryList.js +89 -0
- package/build/features/shared/Address/InputSelect.d.ts +71 -0
- package/build/features/shared/Address/InputSelect.js +172 -0
- package/build/features/shared/Address/InputText.d.ts +12 -0
- package/build/features/shared/Address/InputText.js +12 -0
- package/build/features/shared/Address/index.d.ts +2 -0
- package/build/features/shared/Address/index.js +2 -0
- package/build/features/shared/Background/Background.d.ts +2 -5
- package/build/features/shared/Background/Background.js +7 -9
- package/build/features/shared/Button/Button.js +13 -3
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/EmailProvidersButtons.js +7 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +4 -1
- package/build/features/shared/Button/FlowsButtons.js +43 -11
- package/build/features/shared/Button/ListButton.d.ts +18 -0
- package/build/features/shared/Button/ListButton.js +125 -0
- package/build/features/shared/Button/MobileButton.d.ts +2 -1
- package/build/features/shared/Button/MobileButton.js +2 -2
- package/build/features/shared/Button/index.d.ts +2 -1
- package/build/features/shared/Button/index.js +2 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +7 -0
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +58 -0
- package/build/features/shared/CreateAccountLoading/index.d.ts +2 -0
- package/build/features/shared/CreateAccountLoading/index.js +2 -0
- package/build/features/shared/DataLoading/DataLoading.d.ts +6 -0
- package/build/features/shared/DataLoading/DataLoading.js +58 -0
- package/build/features/shared/DataLoading/index.d.ts +2 -0
- package/build/features/shared/DataLoading/index.js +2 -0
- package/build/features/shared/Dialog/CloseDialog.d.ts +11 -0
- package/build/features/shared/Dialog/CloseDialog.js +71 -0
- package/build/features/shared/Dialog/DialogContainer.d.ts +8 -0
- package/build/features/shared/Dialog/DialogContainer.js +56 -0
- package/build/features/shared/Dialog/index.d.ts +4 -0
- package/build/features/shared/Dialog/index.js +4 -0
- package/build/features/shared/Footer/Footer.js +1 -1
- package/build/features/shared/GenericError/GenericError.d.ts +7 -0
- package/build/features/shared/GenericError/GenericError.js +55 -0
- package/build/features/shared/GenericError/index.d.ts +2 -0
- package/build/features/shared/GenericError/index.js +2 -0
- package/build/features/shared/Input/Input.d.ts +9 -7
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -0
- package/build/features/shared/PaciVerification/PaciVerification.js +91 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.d.ts +7 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +27 -0
- package/build/features/shared/PaciVerification/VerifyPACISuccess.d.ts +5 -0
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +8 -0
- package/build/features/shared/PaciVerification/index.d.ts +2 -0
- package/build/features/shared/PaciVerification/index.js +2 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +11 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +100 -0
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +12 -0
- package/build/features/shared/SalesChannels/SalesChannel.js +149 -0
- package/build/features/shared/SalesChannels/index.d.ts +2 -0
- package/build/features/shared/SalesChannels/index.js +2 -0
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +17 -0
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +115 -0
- package/build/features/shared/SuccessFlowButtons/index.d.ts +2 -0
- package/build/features/shared/SuccessFlowButtons/index.js +2 -0
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +3 -2
- package/build/features/shared/UploadFile/UploadFile.d.ts +14 -6
- package/build/features/shared/UploadFile/UploadFile.js +32 -17
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +38 -0
- package/build/features/shared/UploadMultipleFile/UploadFile.js +184 -0
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +32 -0
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +171 -0
- package/build/features/shared/UploadMultipleFile/index.d.ts +2 -0
- package/build/features/shared/UploadMultipleFile/index.js +2 -0
- package/build/features/signIn/SignIn.d.ts +4 -3
- package/build/features/signIn/SignIn.js +12 -18
- package/build/features/signIn/screens/Email/Email.js +4 -2
- package/build/features/signIn/screens/Mobile/Mobile.js +5 -1
- package/build/features/signIn/screens/OTP/OTP.js +14 -1
- package/build/features/signIn/screens/Password/Password.js +15 -2
- package/build/features/tax/Tax.d.ts +5 -3
- package/build/features/tax/Tax.js +39 -38
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/tax/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/tax/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -2
- package/build/features/tax/screens/Success/Success.js +9 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -93
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +23 -11
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +6 -0
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +48 -0
- package/build/features/tax/screens/TaxDetails/VATId.js +14 -4
- package/build/features/tax/screens/TaxDetails/validation.d.ts +7 -4
- package/build/features/tax/screens/TaxDetails/validation.js +10 -4
- package/build/features/tax/screens/Verify/Verify.js +16 -3
- package/build/hooks/index.d.ts +5 -0
- package/build/hooks/index.js +5 -0
- package/build/hooks/useAppConfig.d.ts +5 -1
- package/build/hooks/useAppConfig.js +6 -4
- package/build/hooks/useAppDispatch.d.ts +2 -2
- package/build/hooks/useCountUp.d.ts +9 -0
- package/build/hooks/useCountUp.js +17 -0
- package/build/hooks/useCountry.d.ts +4 -0
- package/build/hooks/useCountry.js +7 -0
- package/build/hooks/useErrorListener.js +0 -6
- package/build/hooks/useScreen.d.ts +3 -0
- package/build/hooks/useScreen.js +14 -0
- package/build/hooks/useSetFromDefaultValues.d.ts +2 -0
- package/build/hooks/useSetFromDefaultValues.js +26 -0
- package/build/hooks/useVerifyToken.d.ts +15 -0
- package/build/hooks/useVerifyToken.js +25 -0
- package/build/index.d.ts +12 -12
- package/build/index.js +13 -24
- package/build/theme/typography.js +1 -1
- package/build/utils/array.d.ts +53 -1
- package/build/utils/array.js +90 -3
- package/build/utils/common.d.ts +2 -0
- package/build/utils/common.js +10 -0
- package/build/utils/date.d.ts +2 -0
- package/build/utils/date.js +11 -0
- package/build/utils/device.d.ts +1 -0
- package/build/utils/device.js +13 -0
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/html.d.ts +1 -2
- package/build/utils/html.js +6 -11
- package/build/utils/index.d.ts +3 -0
- package/build/utils/index.js +3 -0
- package/build/utils/locale.js +1 -1
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +12 -0
- package/build/utils/string.d.ts +30 -2
- package/build/utils/string.js +131 -6
- package/build/utils/validation.d.ts +3 -0
- package/build/utils/validation.js +9 -0
- package/package.json +4 -3
- package/build/api/ip.d.ts +0 -4
- package/build/api/ip.js +0 -12
- package/build/features/app/auth/authStore.d.ts +0 -35
- package/build/features/app/auth/authStore.js +0 -143
- package/build/features/app/otp/otpStore.d.ts +0 -28
- package/build/features/app/otp/otpStore.js +0 -153
- package/build/features/auth/Auth.d.ts +0 -9
- package/build/features/auth/Auth.js +0 -72
- package/build/features/auth/index.d.ts +0 -1
- package/build/features/auth/index.js +0 -1
- package/build/features/business/screens/Activities/SalesChannels.d.ts +0 -5
- package/build/features/business/screens/Activities/SalesChannels.js +0 -112
- package/build/features/connect/screens/Merchant/SocialMedia.d.ts +0 -9
- package/build/features/connect/screens/Merchant/SocialMedia.js +0 -162
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +0 -54
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +0 -56
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +0 -17
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +0 -28
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +0 -6
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +0 -38
- package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +0 -112
- package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/index.js +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +0 -107
- package/build/features/entity/screens/EntityInfoConfirm/validation.js +0 -17
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +0 -6
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +0 -19
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +0 -52
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +0 -3
- package/build/features/individual/screens/ShowIndividualInfo/index.js +0 -2
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +0 -7
- package/build/features/individual/screens/ShowIndividualInfo/info.js +0 -28
- package/build/features/otp/OTP.d.ts +0 -7
- package/build/features/otp/OTP.js +0 -58
- package/build/features/otp/index.d.ts +0 -0
- package/build/features/otp/index.js +0 -1
- package/build/features/otp/screens/OTPVerify/OTPInput.d.ts +0 -6
- package/build/features/otp/screens/OTPVerify/Verify.js +0 -49
package/build/api/data.js
CHANGED
|
@@ -1,27 +1,80 @@
|
|
|
1
|
-
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { httpClient } from './axios';
|
|
2
13
|
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var getChannelsOfServices = function () {
|
|
4
|
-
return
|
|
14
|
+
var getChannelsOfServices = function (data) {
|
|
15
|
+
return httpClient({
|
|
16
|
+
method: 'post',
|
|
17
|
+
url: "".concat(ENDPOINT_PATHS.CHANNEL),
|
|
18
|
+
data: data
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var getCustomerBases = function (data) {
|
|
22
|
+
return httpClient({
|
|
23
|
+
method: 'post',
|
|
24
|
+
url: "".concat(ENDPOINT_PATHS.CUSTOMER_BASES),
|
|
25
|
+
data: data
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
var getExpectedSales = function (data) {
|
|
29
|
+
return httpClient({
|
|
30
|
+
method: 'post',
|
|
31
|
+
url: "".concat(ENDPOINT_PATHS.SALES),
|
|
32
|
+
data: data
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
var getExpectedCustomerSales = function (data) {
|
|
36
|
+
return httpClient({
|
|
37
|
+
method: 'post',
|
|
38
|
+
url: "".concat(ENDPOINT_PATHS.EXPECTED_CUSTOMERS),
|
|
39
|
+
data: data
|
|
40
|
+
});
|
|
5
41
|
};
|
|
6
|
-
var
|
|
7
|
-
return
|
|
42
|
+
var getSourceOfIncome = function (data) {
|
|
43
|
+
return httpClient({
|
|
44
|
+
method: 'post',
|
|
45
|
+
url: "".concat(ENDPOINT_PATHS.SOURCE_INCOME),
|
|
46
|
+
data: data
|
|
47
|
+
});
|
|
8
48
|
};
|
|
9
|
-
var
|
|
10
|
-
return
|
|
49
|
+
var getMonthlyIncome = function (data) {
|
|
50
|
+
return httpClient({
|
|
51
|
+
method: 'post',
|
|
52
|
+
url: "".concat(ENDPOINT_PATHS.MONTHLY_INCOME),
|
|
53
|
+
data: data
|
|
54
|
+
});
|
|
11
55
|
};
|
|
12
|
-
var
|
|
13
|
-
return
|
|
56
|
+
var getOccupation = function (data) {
|
|
57
|
+
return httpClient({
|
|
58
|
+
method: 'post',
|
|
59
|
+
url: "".concat(ENDPOINT_PATHS.OCCUPATION),
|
|
60
|
+
data: data
|
|
61
|
+
});
|
|
14
62
|
};
|
|
15
|
-
var
|
|
16
|
-
return
|
|
63
|
+
var getActivities = function (config) {
|
|
64
|
+
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.RETRIEVE_ACTIVITIES_LIST_PATH) }, config));
|
|
17
65
|
};
|
|
18
|
-
var
|
|
19
|
-
return
|
|
66
|
+
var getSegments = function (data) {
|
|
67
|
+
return httpClient({
|
|
68
|
+
method: 'post',
|
|
69
|
+
url: "".concat(ENDPOINT_PATHS.SEGMENTS_PATH),
|
|
70
|
+
data: data
|
|
71
|
+
});
|
|
20
72
|
};
|
|
21
|
-
var
|
|
73
|
+
var getTeamSize = function (data) {
|
|
22
74
|
return httpClient({
|
|
23
|
-
method: '
|
|
24
|
-
url: "".concat(ENDPOINT_PATHS.
|
|
75
|
+
method: 'post',
|
|
76
|
+
url: "".concat(ENDPOINT_PATHS.TEAM_SIZE_PATH),
|
|
77
|
+
data: data
|
|
25
78
|
});
|
|
26
79
|
};
|
|
27
80
|
var dataService = {
|
|
@@ -31,6 +84,9 @@ var dataService = {
|
|
|
31
84
|
getExpectedCustomerSales: getExpectedCustomerSales,
|
|
32
85
|
getSourceOfIncome: getSourceOfIncome,
|
|
33
86
|
getMonthlyIncome: getMonthlyIncome,
|
|
34
|
-
getOccupation: getOccupation
|
|
87
|
+
getOccupation: getOccupation,
|
|
88
|
+
getSegments: getSegments,
|
|
89
|
+
getTeamSize: getTeamSize,
|
|
90
|
+
getActivities: getActivities
|
|
35
91
|
};
|
|
36
92
|
export { dataService };
|
package/build/api/entity.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type EntityInfoBody = {
|
|
3
3
|
id: string;
|
|
4
4
|
lead_id?: string;
|
|
5
|
-
activities?: Array<
|
|
5
|
+
activities?: Array<{
|
|
6
|
+
id: string;
|
|
7
|
+
}>;
|
|
6
8
|
license_name?: string;
|
|
7
9
|
license_number?: string;
|
|
8
10
|
business_operation_start_at?: string;
|
|
@@ -16,34 +18,103 @@ export declare type EntityInfoBody = {
|
|
|
16
18
|
agree_refund?: boolean;
|
|
17
19
|
employer_name?: string;
|
|
18
20
|
employer_country?: string | null;
|
|
19
|
-
source_income?: Array<
|
|
20
|
-
|
|
21
|
+
source_income?: Array<{
|
|
22
|
+
id?: string;
|
|
23
|
+
}>;
|
|
24
|
+
monthly_income?: {
|
|
25
|
+
id?: string;
|
|
26
|
+
};
|
|
21
27
|
is_relative_PEP?: boolean | null;
|
|
22
28
|
is_influencer?: boolean | null;
|
|
23
29
|
is_vat_acknowledged?: boolean;
|
|
24
|
-
occupation?:
|
|
30
|
+
occupation?: {
|
|
31
|
+
id?: string;
|
|
32
|
+
};
|
|
25
33
|
step_name: string;
|
|
26
34
|
encryption_contract?: Array<string>;
|
|
27
35
|
};
|
|
28
|
-
export
|
|
36
|
+
export type BankDocumentInfo = {
|
|
37
|
+
type?: string;
|
|
38
|
+
number?: string;
|
|
39
|
+
issuing_country?: string;
|
|
40
|
+
issuing_date?: string;
|
|
41
|
+
expiry_date?: string;
|
|
42
|
+
files: Array<string>;
|
|
43
|
+
};
|
|
44
|
+
export type EntityBankUpdateBody = {
|
|
29
45
|
wallet_id: string;
|
|
30
46
|
bank_account: {
|
|
31
|
-
bank_name
|
|
32
|
-
beneficiary_name
|
|
47
|
+
bank_name?: string;
|
|
48
|
+
beneficiary_name?: string;
|
|
33
49
|
bank_statement_file_id?: string;
|
|
34
|
-
iban
|
|
50
|
+
iban?: string;
|
|
35
51
|
swift_code?: string;
|
|
36
52
|
account_number?: string;
|
|
37
53
|
is_acknowledged: boolean;
|
|
54
|
+
document?: BankDocumentInfo;
|
|
38
55
|
};
|
|
39
56
|
step_name: string;
|
|
40
57
|
encryption_contract?: Array<string>;
|
|
41
58
|
};
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
59
|
+
export type UpdateEntityBody = {
|
|
60
|
+
id: string;
|
|
61
|
+
license?: {
|
|
62
|
+
type?: string;
|
|
63
|
+
number?: string;
|
|
64
|
+
additional_info?: {
|
|
65
|
+
unified_number: string;
|
|
66
|
+
};
|
|
67
|
+
issuing_date?: string;
|
|
68
|
+
expiry_date?: string;
|
|
69
|
+
};
|
|
70
|
+
activities?: Array<{
|
|
71
|
+
id: string;
|
|
72
|
+
action: string;
|
|
73
|
+
}>;
|
|
74
|
+
legal_name?: {
|
|
75
|
+
ar: string;
|
|
76
|
+
en: string;
|
|
77
|
+
};
|
|
78
|
+
type?: string;
|
|
79
|
+
AOA_file_id?: string;
|
|
80
|
+
capital?: {
|
|
81
|
+
paid?: string;
|
|
82
|
+
shares?: {
|
|
83
|
+
count: string;
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
encryption_contract?: Array<string>;
|
|
88
|
+
};
|
|
89
|
+
export type UpdateEntityActivityBody = {
|
|
90
|
+
id: string;
|
|
91
|
+
activities?: Array<{
|
|
92
|
+
id: string;
|
|
93
|
+
}>;
|
|
94
|
+
};
|
|
95
|
+
export type UpdateEntityCapitalBody = {
|
|
96
|
+
id: string;
|
|
97
|
+
capital: {
|
|
98
|
+
paid: string;
|
|
99
|
+
shares: {
|
|
100
|
+
count: string;
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export type DocumentInfo = {
|
|
106
|
+
type?: string;
|
|
107
|
+
number?: string;
|
|
108
|
+
issuing_country?: string;
|
|
109
|
+
issuing_date?: string;
|
|
110
|
+
expiry_date?: string;
|
|
111
|
+
images: Array<string>;
|
|
112
|
+
};
|
|
113
|
+
export type DocumentUpdateBody = {
|
|
114
|
+
entity_id?: boolean;
|
|
115
|
+
individual_type_id?: number;
|
|
116
|
+
country?: string;
|
|
117
|
+
documents: Array<DocumentInfo>;
|
|
47
118
|
};
|
|
48
119
|
declare const entityService: {
|
|
49
120
|
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -52,6 +123,11 @@ declare const entityService: {
|
|
|
52
123
|
retrieveBankAccount: (id: string) => Promise<any>;
|
|
53
124
|
retrieveEntityInfo: (entity_id: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
125
|
updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
|
|
55
|
-
|
|
126
|
+
updateDocumentInfo: (data: DocumentUpdateBody) => Promise<any>;
|
|
127
|
+
retrieveEntity: (entity_id: string) => Promise<any>;
|
|
128
|
+
updateEntity: ({ id, ...data }: UpdateEntityBody) => Promise<any>;
|
|
129
|
+
updateEntityActivity: ({ id, ...data }: UpdateEntityActivityBody) => Promise<any>;
|
|
130
|
+
retrieveEntityType: () => Promise<any>;
|
|
131
|
+
updateEntityCapital: ({ id, ...data }: UpdateEntityCapitalBody) => Promise<any>;
|
|
56
132
|
};
|
|
57
133
|
export { entityService };
|
package/build/api/entity.js
CHANGED
|
@@ -22,6 +22,36 @@ var updateEntityInfo = function (_a, config) {
|
|
|
22
22
|
var id = _a.id, data = __rest(_a, ["id"]);
|
|
23
23
|
return instance.put("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id), data, config);
|
|
24
24
|
};
|
|
25
|
+
var retrieveEntity = function (entity_id) {
|
|
26
|
+
return httpClient({
|
|
27
|
+
method: 'get',
|
|
28
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(entity_id)
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
var updateEntity = function (_a) {
|
|
32
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
33
|
+
return httpClient({
|
|
34
|
+
method: 'put',
|
|
35
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id),
|
|
36
|
+
data: data
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var updateEntityActivity = function (_a) {
|
|
40
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
41
|
+
return httpClient({
|
|
42
|
+
method: 'put',
|
|
43
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id, "/activities/add"),
|
|
44
|
+
data: data
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var updateEntityCapital = function (_a) {
|
|
48
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
49
|
+
return httpClient({
|
|
50
|
+
method: 'put',
|
|
51
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id, "/capital"),
|
|
52
|
+
data: data
|
|
53
|
+
});
|
|
54
|
+
};
|
|
25
55
|
var createBankAccount = function (data, config) {
|
|
26
56
|
return instance.put("".concat(ENDPOINT_PATHS.BANK), data, config);
|
|
27
57
|
};
|
|
@@ -31,22 +61,27 @@ var retrieveBankAccount = function (id) {
|
|
|
31
61
|
url: "".concat(ENDPOINT_PATHS.BANK, "/").concat(id)
|
|
32
62
|
});
|
|
33
63
|
};
|
|
34
|
-
var uploadFileInfo = function (data) {
|
|
35
|
-
return httpClient({
|
|
36
|
-
method: 'post',
|
|
37
|
-
url: "".concat(ENDPOINT_PATHS.FILES_PATH),
|
|
38
|
-
data: data,
|
|
39
|
-
headers: { 'Content-Type': 'multipart/form-data' }
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
64
|
var updateIndividualInfo = function (_a) {
|
|
43
65
|
var id = _a.id, data = __rest(_a, ["id"]);
|
|
44
66
|
return httpClient({
|
|
45
67
|
method: 'put',
|
|
46
|
-
url: "".concat(ENDPOINT_PATHS.
|
|
68
|
+
url: "".concat(ENDPOINT_PATHS.USER, "/").concat(id, "/info"),
|
|
47
69
|
data: data
|
|
48
70
|
});
|
|
49
71
|
};
|
|
72
|
+
var updateDocumentInfo = function (data) {
|
|
73
|
+
return httpClient({
|
|
74
|
+
method: 'post',
|
|
75
|
+
url: "".concat(ENDPOINT_PATHS.DOCUMENT),
|
|
76
|
+
data: data
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
var retrieveEntityType = function () {
|
|
80
|
+
return httpClient({
|
|
81
|
+
method: 'get',
|
|
82
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/types")
|
|
83
|
+
});
|
|
84
|
+
};
|
|
50
85
|
var entityService = {
|
|
51
86
|
createEntityInfo: createEntityInfo,
|
|
52
87
|
updateEntityInfo: updateEntityInfo,
|
|
@@ -54,6 +89,11 @@ var entityService = {
|
|
|
54
89
|
retrieveBankAccount: retrieveBankAccount,
|
|
55
90
|
retrieveEntityInfo: retrieveEntityInfo,
|
|
56
91
|
updateIndividualInfo: updateIndividualInfo,
|
|
57
|
-
|
|
92
|
+
updateDocumentInfo: updateDocumentInfo,
|
|
93
|
+
retrieveEntity: retrieveEntity,
|
|
94
|
+
updateEntity: updateEntity,
|
|
95
|
+
updateEntityActivity: updateEntityActivity,
|
|
96
|
+
retrieveEntityType: retrieveEntityType,
|
|
97
|
+
updateEntityCapital: updateEntityCapital
|
|
58
98
|
};
|
|
59
99
|
export { entityService };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
export type UploadFileBody = {
|
|
3
|
+
file_link_create: boolean;
|
|
4
|
+
file?: File;
|
|
5
|
+
title: string | undefined;
|
|
6
|
+
purpose: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const fileService: {
|
|
10
|
+
uploadFile: (data: UploadFileBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
uploadFileInfo: (data: UploadFileBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
12
|
+
};
|
|
13
|
+
export { fileService };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { ENDPOINT_PATHS } from '../constants';
|
|
13
|
+
import instance, { httpClient } from './axios';
|
|
14
|
+
var uploadFileInfo = function (data, config) {
|
|
15
|
+
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.FILES_PATH), data: data, headers: { 'Content-Type': 'multipart/form-data' } }, config));
|
|
16
|
+
};
|
|
17
|
+
var uploadFile = function (data, config) {
|
|
18
|
+
return instance.post("".concat(ENDPOINT_PATHS.FILES_PATH), data, __assign({ headers: { 'Content-Type': 'multipart/form-data' } }, config));
|
|
19
|
+
};
|
|
20
|
+
var fileService = {
|
|
21
|
+
uploadFile: uploadFile,
|
|
22
|
+
uploadFileInfo: uploadFileInfo
|
|
23
|
+
};
|
|
24
|
+
export { fileService };
|
package/build/api/firebase.d.ts
CHANGED
package/build/api/firebase.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ENDPOINT_PATHS } from '../constants';
|
|
2
2
|
import { httpClient } from './axios';
|
|
3
|
-
var getLocale = function () {
|
|
3
|
+
var getLocale = function (disableLocale) {
|
|
4
|
+
if (disableLocale)
|
|
5
|
+
return Promise.resolve(null);
|
|
4
6
|
return httpClient({
|
|
5
7
|
method: 'get',
|
|
6
8
|
url: ENDPOINT_PATHS.FIREBASE_URL
|
package/build/api/index.d.ts
CHANGED
|
@@ -1,35 +1,51 @@
|
|
|
1
1
|
import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
|
|
2
2
|
import { ValidateOperatorBody } from './operator';
|
|
3
|
-
import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody } from './auth';
|
|
3
|
+
import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, VerifyAuthExpressOTPBody } from './auth';
|
|
4
4
|
import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
|
|
5
5
|
import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
|
|
6
|
-
import { EntityInfoBody, EntityBankUpdateBody } from './entity';
|
|
7
|
-
import { CreateAccountBody } from './account';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { EntityInfoBody, EntityBankUpdateBody, BankDocumentInfo, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, UpdateEntityActivityBody, UpdateEntityCapitalBody } from './entity';
|
|
7
|
+
import { CreateAccountBody, ExpressCreateAccountBody } from './account';
|
|
8
|
+
import { DataElementBody } from './data';
|
|
9
|
+
import { BrandListBody, UpdateBrandBody, UpdateIndividualBody, GetIndividualListBody } from './individual';
|
|
10
|
+
import { UpdateBoardBody, RequestEmailBody } from './board';
|
|
11
|
+
import { GetUserListBody } from './user';
|
|
12
|
+
import { UploadFileBody } from './file';
|
|
10
13
|
declare const API: {
|
|
11
|
-
|
|
14
|
+
locationService: {
|
|
12
15
|
getIP: () => Promise<any>;
|
|
16
|
+
getAddress: (countryCode: string) => Promise<any>;
|
|
13
17
|
};
|
|
14
18
|
operatorService: {
|
|
15
19
|
validateOperator: (body: ValidateOperatorBody) => Promise<any>;
|
|
16
20
|
};
|
|
17
21
|
countryService: {
|
|
18
|
-
getCountries: () => Promise<any
|
|
22
|
+
getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
|
|
23
|
+
list: never[];
|
|
24
|
+
};
|
|
25
|
+
getCities: (data: import("./country").GetCitiesBody) => Promise<any>;
|
|
19
26
|
};
|
|
20
27
|
authService: {
|
|
21
|
-
createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<
|
|
28
|
+
createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
22
29
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
30
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
24
|
-
|
|
31
|
+
verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
32
|
+
getVerifyAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
33
|
+
getTokenVerify: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
34
|
+
createAuthKitNID: (data: CreateAuthBody) => Promise<any>;
|
|
35
|
+
createExpressAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
36
|
+
verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
37
|
+
createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
|
|
25
38
|
};
|
|
26
39
|
leadService: {
|
|
27
40
|
createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
41
|
updateLead: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
|
29
42
|
retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
+
getLeadById: (leadId: string) => Promise<any>;
|
|
30
44
|
verifyLeadToken: (data: LeadVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
45
|
verifyLeadOTP: (data: LeadOTPVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
46
|
retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
+
retrieveLeadIdentity: (leadId: string) => Promise<any>;
|
|
48
|
+
updateLeadExpress: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
|
33
49
|
};
|
|
34
50
|
entityService: {
|
|
35
51
|
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -38,7 +54,12 @@ declare const API: {
|
|
|
38
54
|
retrieveBankAccount: (id: string) => Promise<any>;
|
|
39
55
|
retrieveEntityInfo: (entity_id: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
56
|
updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
|
|
41
|
-
|
|
57
|
+
updateDocumentInfo: (data: DocumentUpdateBody) => Promise<any>;
|
|
58
|
+
retrieveEntity: (entity_id: string) => Promise<any>;
|
|
59
|
+
updateEntity: ({ id, ...data }: UpdateEntityBody) => Promise<any>;
|
|
60
|
+
updateEntityActivity: ({ id, ...data }: UpdateEntityActivityBody) => Promise<any>;
|
|
61
|
+
retrieveEntityType: () => Promise<any>;
|
|
62
|
+
updateEntityCapital: ({ id, ...data }: UpdateEntityCapitalBody) => Promise<any>;
|
|
42
63
|
};
|
|
43
64
|
availabilityServices: {
|
|
44
65
|
checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -46,22 +67,48 @@ declare const API: {
|
|
|
46
67
|
checkIbanBank: (data: import("./availabilityServices").CheckIBanBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
68
|
};
|
|
48
69
|
firebaseService: {
|
|
49
|
-
getLocale: () => Promise<any>;
|
|
70
|
+
getLocale: (disableLocale?: boolean | undefined) => Promise<any>;
|
|
50
71
|
};
|
|
51
72
|
accountService: {
|
|
52
73
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
74
|
+
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
53
75
|
};
|
|
54
76
|
dataService: {
|
|
55
|
-
getChannelsOfServices: (
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
77
|
+
getChannelsOfServices: (data: {
|
|
78
|
+
page: number;
|
|
79
|
+
}) => Promise<any>;
|
|
80
|
+
getCustomerBases: (data: {
|
|
81
|
+
page: number;
|
|
82
|
+
}) => Promise<any>;
|
|
83
|
+
getExpectedSales: (data: {
|
|
84
|
+
page: number;
|
|
85
|
+
}) => Promise<any>;
|
|
86
|
+
getExpectedCustomerSales: (data: {
|
|
87
|
+
page: number;
|
|
88
|
+
}) => Promise<any>;
|
|
89
|
+
getSourceOfIncome: (data: {
|
|
90
|
+
page: number;
|
|
91
|
+
}) => Promise<any>;
|
|
92
|
+
getMonthlyIncome: (data: {
|
|
93
|
+
page: number;
|
|
94
|
+
country_code: string[];
|
|
95
|
+
}) => Promise<any>;
|
|
96
|
+
getOccupation: (data: {
|
|
97
|
+
page: number;
|
|
98
|
+
}) => Promise<any>;
|
|
99
|
+
getSegments: (data: {
|
|
100
|
+
page: number;
|
|
101
|
+
}) => Promise<any>;
|
|
102
|
+
getTeamSize: (data: {
|
|
103
|
+
page: number;
|
|
104
|
+
}) => Promise<any>;
|
|
105
|
+
getActivities: (config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
62
106
|
};
|
|
63
107
|
individualService: {
|
|
64
108
|
retrieveIndividualInfo: (id: string) => Promise<any>;
|
|
109
|
+
retrieveIndividual: (id: string, type: string) => Promise<any>;
|
|
110
|
+
updateIndividual: ({ id, type, ...data }: UpdateIndividualBody) => Promise<any>;
|
|
111
|
+
getIndividualList: (data: GetIndividualListBody) => Promise<any>;
|
|
65
112
|
};
|
|
66
113
|
boardService: {
|
|
67
114
|
retrieveBoard: (id: string) => Promise<any>;
|
|
@@ -69,16 +116,25 @@ declare const API: {
|
|
|
69
116
|
retrieveBoardInfo: ({ id, infoId }: import("./board").RetrieveBoardInfoBody) => Promise<any>;
|
|
70
117
|
updateBoardInfo: ({ id, infoId, ...data }: import("./board").UpdateBoardInfoBody) => Promise<any>;
|
|
71
118
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
119
|
+
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
120
|
+
requestDetailsByEmail: ({ id, ...data }: RequestEmailBody) => Promise<any>;
|
|
72
121
|
};
|
|
73
122
|
userService: {
|
|
74
123
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
124
|
+
getUserList: (data: GetUserListBody) => Promise<any>;
|
|
75
125
|
};
|
|
76
126
|
brandService: {
|
|
77
127
|
retrieveBrand: (id: string) => Promise<any>;
|
|
78
128
|
getBrandList: (data: BrandListBody) => Promise<any>;
|
|
79
129
|
updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
|
|
130
|
+
updateBrandSales: ({ id, ...data }: import("./individual").UpdateSalesChannels) => void;
|
|
131
|
+
getBrandListByIndividualId: (id: string) => Promise<any>;
|
|
132
|
+
};
|
|
133
|
+
fileService: {
|
|
134
|
+
uploadFile: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
135
|
+
uploadFileInfo: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
80
136
|
};
|
|
81
137
|
};
|
|
82
|
-
export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody };
|
|
138
|
+
export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody };
|
|
83
139
|
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
84
140
|
export default API;
|
package/build/api/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
|
|
2
|
-
import {
|
|
2
|
+
import { locationService } from './location';
|
|
3
3
|
import { operatorService } from './operator';
|
|
4
4
|
import { countryService } from './country';
|
|
5
5
|
import { authService } from './auth';
|
|
@@ -13,8 +13,9 @@ import { individualService } from './individual';
|
|
|
13
13
|
import { boardService } from './board';
|
|
14
14
|
import { userService } from './user';
|
|
15
15
|
import { brandService } from './brand';
|
|
16
|
+
import { fileService } from './file';
|
|
16
17
|
var API = {
|
|
17
|
-
|
|
18
|
+
locationService: locationService,
|
|
18
19
|
operatorService: operatorService,
|
|
19
20
|
countryService: countryService,
|
|
20
21
|
authService: authService,
|
|
@@ -27,7 +28,8 @@ var API = {
|
|
|
27
28
|
individualService: individualService,
|
|
28
29
|
boardService: boardService,
|
|
29
30
|
userService: userService,
|
|
30
|
-
brandService: brandService
|
|
31
|
+
brandService: brandService,
|
|
32
|
+
fileService: fileService
|
|
31
33
|
};
|
|
32
34
|
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
33
35
|
export default API;
|