@tap-payments/auth-jsconnect 2.0.46-test → 2.0.46
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 +45 -16
- package/build/api/auth.js +57 -2
- 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 -18
- 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 +8 -8
- 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/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 +15 -0
- package/build/constants/api.js +32 -1
- 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 -3
- 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 +129 -128
- package/build/api/ip.d.ts +0 -4
- package/build/api/ip.js +0 -12
- package/build/features/app/auth/authStore.d.ts +0 -20
- package/build/features/app/auth/authStore.js +0 -99
- 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 -59
- 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
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
status: string;
|
|
5
|
+
created: number;
|
|
6
|
+
names: Names;
|
|
7
|
+
contact: Contact;
|
|
8
|
+
nationality: string;
|
|
9
|
+
gender: string;
|
|
10
|
+
birth: Birth;
|
|
11
|
+
identification: Identification;
|
|
12
|
+
role: Role[];
|
|
13
|
+
is_authorized: boolean;
|
|
14
|
+
verification: Verification;
|
|
15
|
+
source_income: Role[];
|
|
16
|
+
occupation: Role;
|
|
17
|
+
entities: Entity[];
|
|
18
|
+
documents: string[];
|
|
19
|
+
monthly_income: Role;
|
|
20
|
+
employer_country: string;
|
|
21
|
+
is_relative_PEP: boolean;
|
|
22
|
+
is_influencer: boolean;
|
|
23
|
+
is_verified: boolean;
|
|
24
|
+
individual_id: string;
|
|
25
|
+
data_status: DataStatus;
|
|
26
|
+
data_verification: DataVerification;
|
|
27
|
+
isRequestedEmail?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface DataVerification {
|
|
30
|
+
status: string;
|
|
31
|
+
name: string;
|
|
32
|
+
contact: Contact;
|
|
33
|
+
nationality: string;
|
|
34
|
+
birth: BirthDataVerify;
|
|
35
|
+
identification: IdentificationDataVerify;
|
|
36
|
+
role: string;
|
|
37
|
+
relation: string;
|
|
38
|
+
occupation: string;
|
|
39
|
+
address: string;
|
|
40
|
+
is_authorized: string;
|
|
41
|
+
source_of_income: string;
|
|
42
|
+
monthly_income: string;
|
|
43
|
+
is_relative_PEP: string;
|
|
44
|
+
is_influencer: string;
|
|
45
|
+
}
|
|
46
|
+
interface BirthDataVerify {
|
|
47
|
+
date: string;
|
|
48
|
+
city: string;
|
|
49
|
+
country: string;
|
|
50
|
+
}
|
|
51
|
+
interface DataStatus {
|
|
52
|
+
status: string;
|
|
53
|
+
name: string;
|
|
54
|
+
contact: Contact;
|
|
55
|
+
nationality: string;
|
|
56
|
+
identification: IdentificationDataVerify;
|
|
57
|
+
role: string;
|
|
58
|
+
relation: string;
|
|
59
|
+
occupation: string;
|
|
60
|
+
address: string;
|
|
61
|
+
is_authorized: string;
|
|
62
|
+
source_of_income: string;
|
|
63
|
+
monthly_income: string;
|
|
64
|
+
is_relative_PEP: string;
|
|
65
|
+
is_influencer: string;
|
|
66
|
+
}
|
|
67
|
+
interface IdentificationDataVerify {
|
|
68
|
+
id: string;
|
|
69
|
+
type: string;
|
|
70
|
+
expiry: string;
|
|
71
|
+
issuer_country: string;
|
|
72
|
+
}
|
|
73
|
+
interface Entity {
|
|
74
|
+
id: string;
|
|
75
|
+
operator_id: string;
|
|
76
|
+
}
|
|
77
|
+
interface Verification {
|
|
78
|
+
national_id: NationalId;
|
|
79
|
+
identification: NationalId;
|
|
80
|
+
phone: NationalId;
|
|
81
|
+
date_of_birth: NationalId;
|
|
82
|
+
name: NationalId;
|
|
83
|
+
login: NationalId;
|
|
84
|
+
email: Email;
|
|
85
|
+
}
|
|
86
|
+
interface Email {
|
|
87
|
+
type: string;
|
|
88
|
+
is_verified: boolean;
|
|
89
|
+
verified_at: number;
|
|
90
|
+
}
|
|
91
|
+
interface NationalId {
|
|
92
|
+
type: string;
|
|
93
|
+
is_verified: boolean;
|
|
94
|
+
verified_at: number;
|
|
95
|
+
verified_by: string;
|
|
96
|
+
}
|
|
97
|
+
interface Role {
|
|
98
|
+
id: string;
|
|
99
|
+
name: Name;
|
|
100
|
+
}
|
|
101
|
+
interface Name {
|
|
102
|
+
ar: string;
|
|
103
|
+
en: string;
|
|
104
|
+
}
|
|
105
|
+
interface Identification {
|
|
106
|
+
id: string;
|
|
107
|
+
issued_country_code: string;
|
|
108
|
+
type: string;
|
|
109
|
+
expiry: number;
|
|
110
|
+
}
|
|
111
|
+
interface Birth {
|
|
112
|
+
date: number;
|
|
113
|
+
city: string;
|
|
114
|
+
country: string;
|
|
115
|
+
}
|
|
116
|
+
interface Contact {
|
|
117
|
+
email: string;
|
|
118
|
+
phone: Phone;
|
|
119
|
+
}
|
|
120
|
+
interface Phone {
|
|
121
|
+
country_code: string;
|
|
122
|
+
number: string;
|
|
123
|
+
}
|
|
124
|
+
interface Names {
|
|
125
|
+
ar: Ar;
|
|
126
|
+
en: En;
|
|
127
|
+
}
|
|
128
|
+
interface En {
|
|
129
|
+
title: string;
|
|
130
|
+
first: string;
|
|
131
|
+
middle: string;
|
|
132
|
+
last: string;
|
|
133
|
+
third: string;
|
|
134
|
+
}
|
|
135
|
+
interface Ar {
|
|
136
|
+
first: string;
|
|
137
|
+
middle: string;
|
|
138
|
+
last: string;
|
|
139
|
+
third: string;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CreateAccountBody = {
|
|
2
2
|
lead_id: string;
|
|
3
3
|
notify: {
|
|
4
4
|
email: boolean;
|
|
@@ -8,7 +8,12 @@ export declare type CreateAccountBody = {
|
|
|
8
8
|
is_acknowledged: boolean;
|
|
9
9
|
step_name: string;
|
|
10
10
|
};
|
|
11
|
+
export type ExpressCreateAccountBody = {
|
|
12
|
+
post_url: string;
|
|
13
|
+
lead_id: string;
|
|
14
|
+
};
|
|
11
15
|
declare const accountService: {
|
|
12
16
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
17
|
+
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
13
18
|
};
|
|
14
19
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -7,7 +7,15 @@ var createAccount = function (data) {
|
|
|
7
7
|
data: data
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
+
var expressCreateAccount = function (data) {
|
|
11
|
+
return httpClient({
|
|
12
|
+
method: 'post',
|
|
13
|
+
url: ENDPOINT_PATHS.EXPRESS_CREATE_ACCOUNT,
|
|
14
|
+
data: data
|
|
15
|
+
});
|
|
16
|
+
};
|
|
10
17
|
var accountService = {
|
|
11
|
-
createAccount: createAccount
|
|
18
|
+
createAccount: createAccount,
|
|
19
|
+
expressCreateAccount: expressCreateAccount
|
|
12
20
|
};
|
|
13
21
|
export { accountService };
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,64 +1,93 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
export
|
|
3
|
+
export type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
country_code
|
|
10
|
+
export type IDCredential = {
|
|
11
|
+
country_code?: string;
|
|
12
|
+
identification_id: string;
|
|
13
|
+
identification_id_type?: string;
|
|
14
|
+
date_of_birth?: string;
|
|
15
|
+
};
|
|
16
|
+
export type CivilID = {
|
|
12
17
|
identification_id: string;
|
|
13
|
-
|
|
14
|
-
date_of_birth: string;
|
|
18
|
+
country_code: string;
|
|
15
19
|
};
|
|
16
|
-
export
|
|
17
|
-
|
|
20
|
+
export type CreateAuthBody = {
|
|
21
|
+
country: string;
|
|
22
|
+
scope: string;
|
|
23
|
+
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
18
24
|
auth_type?: number;
|
|
19
25
|
email_url?: string;
|
|
20
26
|
sign_in?: boolean;
|
|
27
|
+
is_lead?: boolean;
|
|
21
28
|
step_name?: string;
|
|
22
29
|
encryption_contract: Array<string>;
|
|
23
30
|
lang?: LanguageMode;
|
|
31
|
+
lead_id?: string;
|
|
24
32
|
};
|
|
25
|
-
export
|
|
33
|
+
export type VerifyAuthBody = {
|
|
26
34
|
auth_token: string;
|
|
27
35
|
auth_type: number;
|
|
28
36
|
data: string;
|
|
29
37
|
device_token: string;
|
|
30
38
|
step_name: string;
|
|
31
39
|
service_name: string;
|
|
32
|
-
new_user
|
|
40
|
+
new_user?: boolean;
|
|
33
41
|
sign_in: boolean;
|
|
34
42
|
encryption_contract: Array<string>;
|
|
35
43
|
remember_me?: boolean;
|
|
36
|
-
scopes?: Array<string>;
|
|
37
44
|
};
|
|
38
|
-
export
|
|
45
|
+
export type VerifyOperationAuthBody = {
|
|
39
46
|
auth_token: string;
|
|
40
47
|
auth_type: number;
|
|
41
48
|
};
|
|
42
|
-
export
|
|
49
|
+
export type ResetPasswordCredential = {
|
|
43
50
|
otp: string;
|
|
44
51
|
new_password: string;
|
|
45
52
|
};
|
|
46
|
-
export
|
|
53
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
47
54
|
auth_token: string;
|
|
48
55
|
auth_type: number;
|
|
49
56
|
step_name: string;
|
|
50
57
|
user_credentail: ResetPasswordCredential;
|
|
51
58
|
encryption_contract: Array<string>;
|
|
52
59
|
};
|
|
53
|
-
export
|
|
60
|
+
export type CreatePasswordBody = {
|
|
54
61
|
password: string;
|
|
55
62
|
signup_token?: string;
|
|
56
63
|
step_name: string;
|
|
57
64
|
encryption_contract: Array<string>;
|
|
58
65
|
};
|
|
66
|
+
export type VerifyAuthExpressOTPBody = {
|
|
67
|
+
auth_token?: string;
|
|
68
|
+
verify_token?: string;
|
|
69
|
+
lead_id?: string;
|
|
70
|
+
data: string;
|
|
71
|
+
auth_type?: number;
|
|
72
|
+
service_name: string;
|
|
73
|
+
sign_in: boolean;
|
|
74
|
+
step_name?: string;
|
|
75
|
+
device_token?: string;
|
|
76
|
+
post_url?: string;
|
|
77
|
+
scopes?: Array<string>;
|
|
78
|
+
terms?: Array<string>;
|
|
79
|
+
encryption_contract: Array<string>;
|
|
80
|
+
};
|
|
59
81
|
declare const authService: {
|
|
60
|
-
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<
|
|
82
|
+
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
61
83
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
84
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
85
|
+
verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
86
|
+
getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
87
|
+
getTokenVerify: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
88
|
+
createAuthKitNID: (data: CreateAuthBody) => Promise<any>;
|
|
89
|
+
createExpressAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
90
|
+
verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
91
|
+
createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
|
|
63
92
|
};
|
|
64
93
|
export { authService };
|
package/build/api/auth.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
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
|
+
};
|
|
1
12
|
import instance, { httpClient } from './axios';
|
|
2
13
|
import { ENDPOINT_PATHS } from '../constants';
|
|
3
14
|
var createAuth = function (data, config) {
|
|
4
|
-
return
|
|
15
|
+
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.AUTH), data: data }, config));
|
|
16
|
+
};
|
|
17
|
+
var createExpressAuth = function (data, config) {
|
|
18
|
+
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.CREATE_EXPRESS_AUTH_PATH), data: data }, config));
|
|
5
19
|
};
|
|
6
20
|
var verifyAuth = function (data, config) {
|
|
7
21
|
return instance.put("".concat(ENDPOINT_PATHS.AUTH), data, config);
|
|
@@ -13,9 +27,50 @@ var createPassword = function (data) {
|
|
|
13
27
|
data: data
|
|
14
28
|
});
|
|
15
29
|
};
|
|
30
|
+
var getVerifyAuth = function (token, config) {
|
|
31
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.AUTH, "/").concat(token) }, config));
|
|
32
|
+
};
|
|
33
|
+
var getTokenVerify = function (token, config) {
|
|
34
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.TOKEN_VERIFY, "/").concat(token) }, config));
|
|
35
|
+
};
|
|
36
|
+
var verifyExpressAuth = function (data) {
|
|
37
|
+
return httpClient({
|
|
38
|
+
method: 'put',
|
|
39
|
+
url: "".concat(ENDPOINT_PATHS.Verify_Express_Auth_OTP_PATH),
|
|
40
|
+
data: data
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
var verifyExpressLeadIdentity = function (data) {
|
|
44
|
+
return httpClient({
|
|
45
|
+
method: 'put',
|
|
46
|
+
url: "".concat(ENDPOINT_PATHS.EXPRESS_LEAD_IDENTITY_AUTH_PATH),
|
|
47
|
+
data: data
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var createExpressLeadIdentityAuth = function (data) {
|
|
51
|
+
return httpClient({
|
|
52
|
+
method: 'post',
|
|
53
|
+
url: "".concat(ENDPOINT_PATHS.EXPRESS_LEAD_IDENTITY_AUTH_PATH),
|
|
54
|
+
data: data
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
var createAuthKitNID = function (data) {
|
|
58
|
+
return httpClient({
|
|
59
|
+
method: 'post',
|
|
60
|
+
url: "".concat(ENDPOINT_PATHS.CREATE_AUTH_NID),
|
|
61
|
+
data: data
|
|
62
|
+
});
|
|
63
|
+
};
|
|
16
64
|
var authService = {
|
|
17
65
|
createAuth: createAuth,
|
|
18
66
|
verifyAuth: verifyAuth,
|
|
19
|
-
createPassword: createPassword
|
|
67
|
+
createPassword: createPassword,
|
|
68
|
+
verifyExpressAuth: verifyExpressAuth,
|
|
69
|
+
getVerifyAuth: getVerifyAuth,
|
|
70
|
+
getTokenVerify: getTokenVerify,
|
|
71
|
+
createAuthKitNID: createAuthKitNID,
|
|
72
|
+
createExpressAuth: createExpressAuth,
|
|
73
|
+
verifyExpressLeadIdentity: verifyExpressLeadIdentity,
|
|
74
|
+
createExpressLeadIdentityAuth: createExpressLeadIdentityAuth
|
|
20
75
|
};
|
|
21
76
|
export { authService };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
encryption_contract: Array<string>;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CheckBrandBody = {
|
|
7
7
|
profile_name: string;
|
|
8
8
|
country_code: string;
|
|
9
9
|
encryption_contract: Array<string>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type CheckIBanBody = {
|
|
12
12
|
iban_number: string;
|
|
13
13
|
encryption_contract?: Array<string>;
|
|
14
14
|
};
|
package/build/api/axios.js
CHANGED
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
|
@@ -91,8 +91,8 @@ export var httpClient = function (config) { return __awaiter(void 0, void 0, voi
|
|
|
91
91
|
case 1:
|
|
92
92
|
data = (_c.sent()).data;
|
|
93
93
|
_a = (data.errors || [{}])[0], description = _a.description, error = _a.error;
|
|
94
|
-
if (description || error) {
|
|
95
|
-
throw new Error(description
|
|
94
|
+
if (description || error || (data === null || data === void 0 ? void 0 : data.status) === 'fail' || data.mw_error) {
|
|
95
|
+
throw new Error(description || error || (data === null || data === void 0 ? void 0 : data.message) || data.mw_error || 'Internal server error');
|
|
96
96
|
}
|
|
97
97
|
return [2, data];
|
|
98
98
|
case 2:
|
package/build/api/board.d.ts
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type UpdateBoardBody = {
|
|
2
2
|
id?: string;
|
|
3
3
|
infoId?: string;
|
|
4
4
|
step_name: string;
|
|
5
5
|
lang: string;
|
|
6
6
|
encryption_contract?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type UpdateBoardInfoBody = {
|
|
13
13
|
id: string;
|
|
14
14
|
infoId: string;
|
|
15
15
|
step_name: string;
|
|
16
16
|
lang: string;
|
|
17
17
|
encryption_contract?: string;
|
|
18
18
|
};
|
|
19
|
+
export interface RequestEmailBody {
|
|
20
|
+
id: string;
|
|
21
|
+
merchant_id: string;
|
|
22
|
+
info: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
}>;
|
|
25
|
+
notification: Notification;
|
|
26
|
+
}
|
|
27
|
+
interface Notification {
|
|
28
|
+
recipient: {
|
|
29
|
+
id: string;
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
channel: string[];
|
|
33
|
+
}
|
|
19
34
|
declare const boardService: {
|
|
20
35
|
retrieveBoard: (id: string) => Promise<any>;
|
|
21
36
|
updateBoard: ({ id, ...data }: UpdateBoardBody) => Promise<any>;
|
|
22
37
|
retrieveBoardInfo: ({ id, infoId }: RetrieveBoardInfoBody) => Promise<any>;
|
|
23
38
|
updateBoardInfo: ({ id, infoId, ...data }: UpdateBoardInfoBody) => Promise<any>;
|
|
24
39
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
40
|
+
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
41
|
+
requestDetailsByEmail: ({ id, ...data }: RequestEmailBody) => Promise<any>;
|
|
25
42
|
};
|
|
26
43
|
export { boardService };
|
package/build/api/board.js
CHANGED
|
@@ -18,6 +18,12 @@ var retrieveBoardInfo = function (_a) {
|
|
|
18
18
|
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect/").concat(infoId)
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
+
var retrieveBoardInfoStatus = function (id) {
|
|
22
|
+
return httpClient({
|
|
23
|
+
method: 'get',
|
|
24
|
+
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/status")
|
|
25
|
+
});
|
|
26
|
+
};
|
|
21
27
|
var retrieveBoard = function (id) {
|
|
22
28
|
return httpClient({
|
|
23
29
|
method: 'get',
|
|
@@ -46,11 +52,21 @@ var updateBoardInfo = function (_a) {
|
|
|
46
52
|
data: data
|
|
47
53
|
});
|
|
48
54
|
};
|
|
55
|
+
var requestDetailsByEmail = function (_a) {
|
|
56
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
57
|
+
return httpClient({
|
|
58
|
+
method: 'post',
|
|
59
|
+
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect"),
|
|
60
|
+
data: data
|
|
61
|
+
});
|
|
62
|
+
};
|
|
49
63
|
var boardService = {
|
|
50
64
|
retrieveBoard: retrieveBoard,
|
|
51
65
|
updateBoard: updateBoard,
|
|
52
66
|
retrieveBoardInfo: retrieveBoardInfo,
|
|
53
67
|
updateBoardInfo: updateBoardInfo,
|
|
54
|
-
retrieveBoardDetails: retrieveBoardDetails
|
|
68
|
+
retrieveBoardDetails: retrieveBoardDetails,
|
|
69
|
+
retrieveBoardInfoStatus: retrieveBoardInfoStatus,
|
|
70
|
+
requestDetailsByEmail: requestDetailsByEmail
|
|
55
71
|
};
|
|
56
72
|
export { boardService };
|
package/build/api/brand.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { BrandListBody, UpdateBrandBody } from '../api/individual';
|
|
1
|
+
import { BrandListBody, UpdateBrandBody, UpdateSalesChannels } from '../api/individual';
|
|
2
2
|
declare const brandService: {
|
|
3
3
|
retrieveBrand: (id: string) => Promise<any>;
|
|
4
4
|
getBrandList: (data: BrandListBody) => Promise<any>;
|
|
5
5
|
updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
|
|
6
|
+
updateBrandSales: ({ id, ...data }: UpdateSalesChannels) => void;
|
|
7
|
+
getBrandListByIndividualId: (id: string) => Promise<any>;
|
|
6
8
|
};
|
|
7
9
|
export { brandService };
|
package/build/api/brand.js
CHANGED
|
@@ -24,6 +24,13 @@ var getBrandList = function (data) {
|
|
|
24
24
|
data: data
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
+
var getBrandListByIndividualId = function (id) {
|
|
28
|
+
return httpClient({
|
|
29
|
+
method: 'post',
|
|
30
|
+
url: "".concat(ENDPOINT_PATHS.BRAND_LIST),
|
|
31
|
+
data: { individual_id: id }
|
|
32
|
+
});
|
|
33
|
+
};
|
|
27
34
|
var updateBrandInfo = function (_a) {
|
|
28
35
|
var id = _a.id, data = __rest(_a, ["id"]);
|
|
29
36
|
return httpClient({
|
|
@@ -32,9 +39,19 @@ var updateBrandInfo = function (_a) {
|
|
|
32
39
|
data: data
|
|
33
40
|
});
|
|
34
41
|
};
|
|
42
|
+
var updateBrandSales = function (_a) {
|
|
43
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
44
|
+
httpClient({
|
|
45
|
+
method: 'put',
|
|
46
|
+
url: "".concat(ENDPOINT_PATHS.BRAND_SALES_CHANNELS, "/").concat(id),
|
|
47
|
+
data: data
|
|
48
|
+
});
|
|
49
|
+
};
|
|
35
50
|
var brandService = {
|
|
36
51
|
retrieveBrand: retrieveBrand,
|
|
37
52
|
getBrandList: getBrandList,
|
|
38
|
-
updateBrandInfo: updateBrandInfo
|
|
53
|
+
updateBrandInfo: updateBrandInfo,
|
|
54
|
+
updateBrandSales: updateBrandSales,
|
|
55
|
+
getBrandListByIndividualId: getBrandListByIndividualId
|
|
39
56
|
};
|
|
40
57
|
export { brandService };
|
package/build/api/country.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
export type GetCitiesBody = {
|
|
2
|
+
country: string[];
|
|
3
|
+
};
|
|
1
4
|
declare const countryService: {
|
|
2
|
-
getCountries: () => Promise<any
|
|
5
|
+
getCountries: (disableCountries?: boolean) => Promise<any> | {
|
|
6
|
+
list: never[];
|
|
7
|
+
};
|
|
8
|
+
getCities: (data: GetCitiesBody) => Promise<any>;
|
|
3
9
|
};
|
|
4
10
|
export { countryService };
|
package/build/api/country.js
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import { httpClient } from './axios';
|
|
2
2
|
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var getCountries = function () {
|
|
3
|
+
var getCountries = function (disableCountries) {
|
|
4
|
+
if (disableCountries)
|
|
5
|
+
return { list: [] };
|
|
4
6
|
return httpClient({
|
|
5
7
|
method: 'post',
|
|
6
8
|
url: ENDPOINT_PATHS.COUNTRIES
|
|
7
9
|
});
|
|
8
10
|
};
|
|
11
|
+
var getCities = function (data) {
|
|
12
|
+
return httpClient({
|
|
13
|
+
method: 'post',
|
|
14
|
+
url: ENDPOINT_PATHS.CITIES,
|
|
15
|
+
data: data
|
|
16
|
+
});
|
|
17
|
+
};
|
|
9
18
|
var countryService = {
|
|
10
|
-
getCountries: getCountries
|
|
19
|
+
getCountries: getCountries,
|
|
20
|
+
getCities: getCities
|
|
11
21
|
};
|
|
12
22
|
export { countryService };
|
package/build/api/data.d.ts
CHANGED
|
@@ -1,10 +1,49 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
type GetOccupationBody = {
|
|
3
|
+
page: number;
|
|
4
|
+
};
|
|
5
|
+
type GetSegmentsBody = {
|
|
6
|
+
page: number;
|
|
7
|
+
};
|
|
8
|
+
type GetTeamSizeBody = {
|
|
9
|
+
page: number;
|
|
10
|
+
};
|
|
11
|
+
type GetMonthlyIncomeBody = {
|
|
12
|
+
page: number;
|
|
13
|
+
country_code: Array<string>;
|
|
14
|
+
};
|
|
15
|
+
export type DataElementBody = {
|
|
16
|
+
id: string;
|
|
17
|
+
name: {
|
|
18
|
+
en: string;
|
|
19
|
+
ar: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type GetCustomerBasesBody = {
|
|
23
|
+
page: number;
|
|
24
|
+
};
|
|
25
|
+
type GetExpectedSalesBody = {
|
|
26
|
+
page: number;
|
|
27
|
+
};
|
|
28
|
+
type GetExpectedCustomerSalesBody = {
|
|
29
|
+
page: number;
|
|
30
|
+
};
|
|
31
|
+
type GetSourceOfIncomeBody = {
|
|
32
|
+
page: number;
|
|
33
|
+
};
|
|
34
|
+
type GetChannelsOfServicesBody = {
|
|
35
|
+
page: number;
|
|
36
|
+
};
|
|
1
37
|
declare const dataService: {
|
|
2
|
-
getChannelsOfServices: () => Promise<
|
|
3
|
-
getCustomerBases: () => Promise<
|
|
4
|
-
getExpectedSales: () => Promise<
|
|
5
|
-
getExpectedCustomerSales: () => Promise<
|
|
6
|
-
getSourceOfIncome: () => Promise<
|
|
7
|
-
getMonthlyIncome: (
|
|
8
|
-
getOccupation: () => Promise<any>;
|
|
38
|
+
getChannelsOfServices: (data: GetChannelsOfServicesBody) => Promise<any>;
|
|
39
|
+
getCustomerBases: (data: GetCustomerBasesBody) => Promise<any>;
|
|
40
|
+
getExpectedSales: (data: GetExpectedSalesBody) => Promise<any>;
|
|
41
|
+
getExpectedCustomerSales: (data: GetExpectedCustomerSalesBody) => Promise<any>;
|
|
42
|
+
getSourceOfIncome: (data: GetSourceOfIncomeBody) => Promise<any>;
|
|
43
|
+
getMonthlyIncome: (data: GetMonthlyIncomeBody) => Promise<any>;
|
|
44
|
+
getOccupation: (data: GetOccupationBody) => Promise<any>;
|
|
45
|
+
getSegments: (data: GetSegmentsBody) => Promise<any>;
|
|
46
|
+
getTeamSize: (data: GetTeamSizeBody) => Promise<any>;
|
|
47
|
+
getActivities: (config?: AxiosRequestConfig) => Promise<any>;
|
|
9
48
|
};
|
|
10
49
|
export { dataService };
|