@tap-payments/auth-jsconnect 2.10.10-beta → 2.10.10
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 +2 -2
- package/build/@types/app.d.ts +25 -18
- package/build/@types/app.js +7 -0
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +32 -27
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +4 -4
- package/build/api/account.js +7 -4
- package/build/api/auth.d.ts +17 -16
- package/build/api/auth.js +7 -3
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.d.ts +1 -1
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +13 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/headers.d.ts +5 -0
- package/build/api/headers.js +3 -0
- package/build/api/index.d.ts +4 -4
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +14 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +3 -3
- package/build/api/operator.js +6 -3
- package/build/api/user.d.ts +3 -3
- package/build/app/settings.d.ts +22 -3
- package/build/app/settings.js +9 -6
- package/build/app/store.d.ts +4 -4
- package/build/assets/currencies/AEDSymbol.d.ts +7 -0
- package/build/assets/currencies/AEDSymbol.js +28 -0
- package/build/assets/currencies/SARSymbol.d.ts +7 -0
- package/build/assets/currencies/SARSymbol.js +28 -0
- package/build/assets/currencies/index.d.ts +2 -0
- package/build/assets/currencies/index.js +2 -0
- package/build/assets/currencies/utils.d.ts +4 -0
- package/build/assets/currencies/utils.js +6 -0
- package/build/assets/locales/ar.json +53 -7
- package/build/assets/locales/en.json +58 -11
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/TextWithCurrency/TextWithCurrency.d.ts +6 -0
- package/build/components/TextWithCurrency/TextWithCurrency.js +14 -0
- package/build/components/TextWithCurrency/index.d.ts +2 -0
- package/build/components/TextWithCurrency/index.js +2 -0
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +13 -1
- package/build/constants/app.js +139 -26
- package/build/constants/assets.d.ts +12 -3
- package/build/constants/assets.js +123 -105
- package/build/constants/dummy.js +27 -20
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/auth/authStore.d.ts +232 -24
- package/build/features/app/auth/authStore.js +194 -117
- package/build/features/app/bank/bankStore.d.ts +93 -12
- package/build/features/app/bank/bankStore.js +25 -21
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +12 -8
- package/build/features/app/brand/brandStore.d.ts +143 -17
- package/build/features/app/brand/brandStore.js +23 -19
- package/build/features/app/business/businessStore.d.ts +192 -21
- package/build/features/app/business/businessStore.js +46 -37
- package/build/features/app/connect/connectStore.d.ts +186 -23
- package/build/features/app/connect/connectStore.js +49 -32
- package/build/features/app/connectExpress/connectExpressStore.d.ts +324 -36
- package/build/features/app/connectExpress/connectExpressStore.js +236 -47
- package/build/features/app/entity/entityStore.d.ts +93 -12
- package/build/features/app/entity/entityStore.js +22 -18
- package/build/features/app/individual/individualStore.d.ts +186 -24
- package/build/features/app/individual/individualStore.js +34 -29
- package/build/features/app/kyc/kycStore.d.ts +62 -8
- package/build/features/app/kyc/kycStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +123 -15
- package/build/features/app/password/passwordStore.js +45 -47
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +13 -17
- package/build/features/app/tax/taxStore.d.ts +83 -11
- package/build/features/app/tax/taxStore.js +22 -18
- package/build/features/auth/Auth.d.ts +2 -3
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
- package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +6 -3
- package/build/features/auth/screens/OTP/OTP.js +15 -3
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OTP/index.d.ts +1 -2
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Passcode/Passcode.d.ts +8 -0
- package/build/features/auth/screens/Passcode/Passcode.js +82 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +6 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.js +42 -0
- package/build/features/auth/screens/Passcode/index.d.ts +2 -0
- package/build/features/auth/screens/Passcode/index.js +2 -0
- package/build/features/auth/screens/Passcode/validation.d.ts +8 -0
- package/build/features/auth/screens/Passcode/validation.js +4 -0
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -8
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
- package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
- package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
- package/build/features/business/screens/BusinessType/validation.js +31 -10
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -8
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -20
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- package/build/features/business/screens/DOB/DOB.d.ts +1 -1
- package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +1 -2
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.js +49 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.js +88 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.js +4 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +3 -7
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +3 -7
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +16 -15
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
- package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
- package/build/features/entity/screens/EntityName/validation.js +100 -85
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.js +65 -0
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +3 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/kyc/KYC.d.ts +1 -2
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
- package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/kyc/screens/Success/Success.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
- package/build/features/kyc/screens/Users/Users.d.ts +1 -1
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.js +5 -17
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/Button.js +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- 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 +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +7 -15
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
- package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
- package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
- package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useAppConfig.js +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/build/utils/common.d.ts +1 -1
- package/build/utils/common.js +14 -8
- package/build/utils/error.d.ts +2 -0
- package/build/utils/error.js +6 -0
- package/build/utils/string.d.ts +3 -2
- package/build/utils/string.js +4 -1
- package/build/utils/validation.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -77,8 +77,8 @@ const App = () => {
|
|
|
77
77
|
<meta charset="utf-8" />
|
|
78
78
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no" />
|
|
79
79
|
<title>Auth-JsConnect</title>
|
|
80
|
-
<script src="https://auth-jsconnect
|
|
81
|
-
<link href="https://auth-jsconnect
|
|
80
|
+
<script src="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.js"></script>
|
|
81
|
+
<link href="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.css" rel="stylesheet" />
|
|
82
82
|
</head>
|
|
83
83
|
<body>
|
|
84
84
|
<div id="root"></div>
|
package/build/@types/app.d.ts
CHANGED
|
@@ -245,6 +245,7 @@ export interface LibConfig extends LibCallbacks {
|
|
|
245
245
|
notification?: SDKNotification;
|
|
246
246
|
boardMaturity?: boolean;
|
|
247
247
|
settingData?: SettingAsyncData;
|
|
248
|
+
region?: string;
|
|
248
249
|
}
|
|
249
250
|
export interface OSDetails {
|
|
250
251
|
name: string;
|
|
@@ -299,7 +300,7 @@ export interface LocalProps {
|
|
|
299
300
|
};
|
|
300
301
|
};
|
|
301
302
|
}
|
|
302
|
-
export
|
|
303
|
+
export type BrandInfo = {
|
|
303
304
|
segment?: {
|
|
304
305
|
type: {
|
|
305
306
|
id: string;
|
|
@@ -340,7 +341,7 @@ export declare enum FlowsTypes {
|
|
|
340
341
|
BOARD = "board",
|
|
341
342
|
kyc = "kyc"
|
|
342
343
|
}
|
|
343
|
-
export
|
|
344
|
+
export type FlowInfo = {
|
|
344
345
|
name: string;
|
|
345
346
|
status: string;
|
|
346
347
|
url: string;
|
|
@@ -351,12 +352,18 @@ export declare enum AuthForType {
|
|
|
351
352
|
NATIONAL_ID = "national_id",
|
|
352
353
|
NATIONAL_ID_MISSED = "national_id_missed"
|
|
353
354
|
}
|
|
355
|
+
export declare enum AuthForScreen {
|
|
356
|
+
INDIVIDUAL = "individual",
|
|
357
|
+
DOB = "dob",
|
|
358
|
+
MOBILE_OWNERSHIP = "mobile_ownership"
|
|
359
|
+
}
|
|
354
360
|
export declare enum AuthTypeNumber {
|
|
355
361
|
EMAIL_OTP = 5,
|
|
356
362
|
MOBILE_OTP = 2,
|
|
357
363
|
PASSWORD = 1,
|
|
358
364
|
MIGRATION = 10,
|
|
359
|
-
RESET_PASSWORD = 7
|
|
365
|
+
RESET_PASSWORD = 7,
|
|
366
|
+
PASSCODE = 11
|
|
360
367
|
}
|
|
361
368
|
export declare enum MigrationStatus {
|
|
362
369
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -368,7 +375,7 @@ export declare enum AddressFormateType {
|
|
|
368
375
|
NUMBER = "number",
|
|
369
376
|
TEXT = "text"
|
|
370
377
|
}
|
|
371
|
-
export
|
|
378
|
+
export type AddressFormat = {
|
|
372
379
|
code: string;
|
|
373
380
|
name: {
|
|
374
381
|
ar: string;
|
|
@@ -379,14 +386,14 @@ export declare type AddressFormat = {
|
|
|
379
386
|
sort: number;
|
|
380
387
|
type: AddressFormateType;
|
|
381
388
|
};
|
|
382
|
-
export
|
|
389
|
+
export type AddressType = {
|
|
383
390
|
code: string;
|
|
384
391
|
name: {
|
|
385
392
|
ar: string;
|
|
386
393
|
en: string;
|
|
387
394
|
};
|
|
388
395
|
};
|
|
389
|
-
export
|
|
396
|
+
export type AddressProps = {
|
|
390
397
|
format: AddressFormat[];
|
|
391
398
|
type: AddressType;
|
|
392
399
|
};
|
|
@@ -419,7 +426,7 @@ export declare enum DocumentPurpose {
|
|
|
419
426
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
420
427
|
BRAND_LOGO = "business_logo"
|
|
421
428
|
}
|
|
422
|
-
export
|
|
429
|
+
export type FileDetails = {
|
|
423
430
|
created: string;
|
|
424
431
|
id: string;
|
|
425
432
|
object: string;
|
|
@@ -434,7 +441,7 @@ export declare enum VerificationStatus {
|
|
|
434
441
|
ENTERED = "entered",
|
|
435
442
|
NOT_ENTERED = "not_entered"
|
|
436
443
|
}
|
|
437
|
-
export
|
|
444
|
+
export type BankDataStatus = {
|
|
438
445
|
iban: FieldType;
|
|
439
446
|
account_number: FieldType;
|
|
440
447
|
swift_code: FieldType;
|
|
@@ -443,7 +450,7 @@ export declare type BankDataStatus = {
|
|
|
443
450
|
bank_statement_file_id: FieldType;
|
|
444
451
|
is_acknowledged: FieldType;
|
|
445
452
|
};
|
|
446
|
-
export
|
|
453
|
+
export type EntityDataStatus = {
|
|
447
454
|
type: FieldType;
|
|
448
455
|
'license.status': FieldType;
|
|
449
456
|
'license.provider': FieldType;
|
|
@@ -472,7 +479,7 @@ export declare type EntityDataStatus = {
|
|
|
472
479
|
billing_address: FieldType;
|
|
473
480
|
AOA_file_id: FieldType;
|
|
474
481
|
};
|
|
475
|
-
export
|
|
482
|
+
export type IndividualDataStatus = {
|
|
476
483
|
status: FieldType;
|
|
477
484
|
'name.en': FieldType;
|
|
478
485
|
'name.ar': FieldType;
|
|
@@ -498,7 +505,7 @@ export declare type IndividualDataStatus = {
|
|
|
498
505
|
is_influencer: FieldType;
|
|
499
506
|
gender: FieldType;
|
|
500
507
|
};
|
|
501
|
-
export
|
|
508
|
+
export type BrandDataStatus = {
|
|
502
509
|
status: FieldType;
|
|
503
510
|
'name.en': FieldType;
|
|
504
511
|
'name.ar': FieldType;
|
|
@@ -574,7 +581,7 @@ export interface ActivitiesIsIc {
|
|
|
574
581
|
created: string;
|
|
575
582
|
divisions?: Array<ActivityDivision>;
|
|
576
583
|
}
|
|
577
|
-
export
|
|
584
|
+
export type BankDataVerification = {
|
|
578
585
|
account_number: string;
|
|
579
586
|
bank_name: string;
|
|
580
587
|
bank_statement_file_id: string;
|
|
@@ -584,7 +591,7 @@ export declare type BankDataVerification = {
|
|
|
584
591
|
is_acknowledged: string;
|
|
585
592
|
swift_code: string;
|
|
586
593
|
};
|
|
587
|
-
export
|
|
594
|
+
export type BrandDataVerification = {
|
|
588
595
|
logo: string;
|
|
589
596
|
'name.en': string;
|
|
590
597
|
'name.ar': string;
|
|
@@ -602,7 +609,7 @@ export declare type BrandDataVerification = {
|
|
|
602
609
|
'segment.tech_type': string;
|
|
603
610
|
terms: string;
|
|
604
611
|
};
|
|
605
|
-
export
|
|
612
|
+
export type EntityDataVerification = {
|
|
606
613
|
AOA_file_id: string;
|
|
607
614
|
billing_address: string;
|
|
608
615
|
'capital.announced': string;
|
|
@@ -629,7 +636,7 @@ export declare type EntityDataVerification = {
|
|
|
629
636
|
taxable: string;
|
|
630
637
|
type: string;
|
|
631
638
|
};
|
|
632
|
-
export
|
|
639
|
+
export type IndividualDataVerification = {
|
|
633
640
|
'birth.city': string;
|
|
634
641
|
'birth.country': string;
|
|
635
642
|
'birth.date': string;
|
|
@@ -677,7 +684,7 @@ export interface PageTrackingData {
|
|
|
677
684
|
title?: string;
|
|
678
685
|
connect_flow?: string;
|
|
679
686
|
}
|
|
680
|
-
export
|
|
687
|
+
export type VerifyExpressTokenParams = {
|
|
681
688
|
public_key: string;
|
|
682
689
|
post: {
|
|
683
690
|
url: string;
|
|
@@ -764,7 +771,7 @@ interface TerminalAuthorizes {
|
|
|
764
771
|
status: string;
|
|
765
772
|
status_message: string;
|
|
766
773
|
}
|
|
767
|
-
export
|
|
774
|
+
export type CountryInfo = {
|
|
768
775
|
id: number;
|
|
769
776
|
label: string;
|
|
770
777
|
country: {
|
|
@@ -779,7 +786,7 @@ export declare type CountryInfo = {
|
|
|
779
786
|
max_digits: number;
|
|
780
787
|
};
|
|
781
788
|
};
|
|
782
|
-
export
|
|
789
|
+
export type BusinessCountryInfo = {
|
|
783
790
|
id: number;
|
|
784
791
|
title: string;
|
|
785
792
|
title_ar: string;
|
package/build/@types/app.js
CHANGED
|
@@ -43,6 +43,12 @@ export var AuthForType;
|
|
|
43
43
|
AuthForType["NATIONAL_ID"] = "national_id";
|
|
44
44
|
AuthForType["NATIONAL_ID_MISSED"] = "national_id_missed";
|
|
45
45
|
})(AuthForType || (AuthForType = {}));
|
|
46
|
+
export var AuthForScreen;
|
|
47
|
+
(function (AuthForScreen) {
|
|
48
|
+
AuthForScreen["INDIVIDUAL"] = "individual";
|
|
49
|
+
AuthForScreen["DOB"] = "dob";
|
|
50
|
+
AuthForScreen["MOBILE_OWNERSHIP"] = "mobile_ownership";
|
|
51
|
+
})(AuthForScreen || (AuthForScreen = {}));
|
|
46
52
|
export var AuthTypeNumber;
|
|
47
53
|
(function (AuthTypeNumber) {
|
|
48
54
|
AuthTypeNumber[AuthTypeNumber["EMAIL_OTP"] = 5] = "EMAIL_OTP";
|
|
@@ -50,6 +56,7 @@ export var AuthTypeNumber;
|
|
|
50
56
|
AuthTypeNumber[AuthTypeNumber["PASSWORD"] = 1] = "PASSWORD";
|
|
51
57
|
AuthTypeNumber[AuthTypeNumber["MIGRATION"] = 10] = "MIGRATION";
|
|
52
58
|
AuthTypeNumber[AuthTypeNumber["RESET_PASSWORD"] = 7] = "RESET_PASSWORD";
|
|
59
|
+
AuthTypeNumber[AuthTypeNumber["PASSCODE"] = 11] = "PASSCODE";
|
|
53
60
|
})(AuthTypeNumber || (AuthTypeNumber = {}));
|
|
54
61
|
export var MigrationStatus;
|
|
55
62
|
(function (MigrationStatus) {
|
package/build/@types/config.d.ts
CHANGED
package/build/@types/form.d.ts
CHANGED
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
|
|
2
|
-
export
|
|
2
|
+
export type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type PasscodeFormValues = {
|
|
14
|
+
passcode: string;
|
|
15
|
+
};
|
|
16
|
+
export type PasswordFormValues = {
|
|
14
17
|
password: string;
|
|
15
18
|
};
|
|
16
|
-
export
|
|
19
|
+
export type NIDFormValues = {
|
|
17
20
|
nid: string;
|
|
18
21
|
dob?: any;
|
|
19
22
|
termAndConditionChecked?: boolean;
|
|
20
23
|
};
|
|
21
|
-
export
|
|
24
|
+
export type DOBFormValues = {
|
|
22
25
|
dob: any;
|
|
23
26
|
};
|
|
24
|
-
export
|
|
27
|
+
export type CivilFormValues = {
|
|
25
28
|
civilId: string;
|
|
26
29
|
termAndConditionChecked?: boolean;
|
|
27
30
|
};
|
|
28
|
-
export
|
|
31
|
+
export type AuthEmailFormValues = {
|
|
29
32
|
email: string;
|
|
30
33
|
};
|
|
31
|
-
export
|
|
34
|
+
export type IndividualFormValues = {
|
|
32
35
|
name: string;
|
|
33
36
|
email: string;
|
|
34
37
|
mobile: string | null;
|
|
35
38
|
countryCode: CountryCode;
|
|
36
39
|
};
|
|
37
|
-
export
|
|
40
|
+
export type BrandFormValues = {
|
|
38
41
|
brandName: string;
|
|
39
42
|
brandLogoId?: string;
|
|
40
43
|
salesChannels: Array<SaleChannel>;
|
|
41
44
|
termAndConditionChecked?: boolean;
|
|
42
45
|
selectedBrandItem: BrandInfo;
|
|
43
46
|
};
|
|
44
|
-
export
|
|
47
|
+
export type BrandSegmentFormValues = {
|
|
45
48
|
segmentLocation?: Segment | undefined;
|
|
46
49
|
segmentProfit?: Segment | undefined;
|
|
47
50
|
segmentTech?: Segment | undefined;
|
|
48
51
|
teamSize?: TeamSize | undefined;
|
|
49
52
|
};
|
|
50
|
-
export
|
|
53
|
+
export type BrandActivitiesFormValues = {
|
|
51
54
|
activities: Array<Activity>;
|
|
52
55
|
customerLocations: Array<CustomerLocation>;
|
|
53
56
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -56,26 +59,27 @@ export declare type BrandActivitiesFormValues = {
|
|
|
56
59
|
refundPolicy: boolean;
|
|
57
60
|
transactionPolicy: boolean;
|
|
58
61
|
};
|
|
59
|
-
export
|
|
62
|
+
export type BusinessTypeFormValues = {
|
|
60
63
|
licenseNumber: string;
|
|
64
|
+
unifiedNumber: string;
|
|
61
65
|
entityLegalName?: string;
|
|
62
66
|
selectedEntityLicense?: EntityLicense;
|
|
63
67
|
selectedLicense?: License;
|
|
64
68
|
certificateId?: Array<string>;
|
|
65
69
|
articleId?: string;
|
|
66
70
|
};
|
|
67
|
-
export
|
|
71
|
+
export type ActivitiesFormValues = {
|
|
68
72
|
activities: Array<Activity> | undefined;
|
|
69
73
|
operationStartDate: string;
|
|
70
74
|
};
|
|
71
|
-
export
|
|
75
|
+
export type CustomersFormValues = {
|
|
72
76
|
customerLocations: Array<CustomerLocation>;
|
|
73
77
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
74
78
|
expectedSale: ExpectedSaleRange | undefined;
|
|
75
79
|
refundPolicy: boolean;
|
|
76
80
|
transactionPolicy: boolean;
|
|
77
81
|
};
|
|
78
|
-
export
|
|
82
|
+
export type BankFormValues = {
|
|
79
83
|
iban: string;
|
|
80
84
|
beneficiaryName: string;
|
|
81
85
|
bankName: string;
|
|
@@ -83,7 +87,7 @@ export declare type BankFormValues = {
|
|
|
83
87
|
uploading?: boolean;
|
|
84
88
|
confirmPolicy: boolean;
|
|
85
89
|
};
|
|
86
|
-
export
|
|
90
|
+
export type TaxFormValues = {
|
|
87
91
|
vatId: string;
|
|
88
92
|
confirmPolicy: boolean;
|
|
89
93
|
documentId?: Array<string>;
|
|
@@ -100,8 +104,8 @@ export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileF
|
|
|
100
104
|
gender: string | null;
|
|
101
105
|
nid: string;
|
|
102
106
|
issuedCountry: CountryCode | undefined;
|
|
103
|
-
expiryDate: string;
|
|
104
|
-
dob: string;
|
|
107
|
+
expiryDate: string | undefined;
|
|
108
|
+
dob: string | undefined;
|
|
105
109
|
placeOfBirthCountry: CountryCode | undefined;
|
|
106
110
|
placeOfBirthCity: City | undefined;
|
|
107
111
|
nationality: CountryCode | undefined;
|
|
@@ -117,17 +121,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
117
121
|
shareValue: string;
|
|
118
122
|
isAuthorized: boolean;
|
|
119
123
|
}
|
|
120
|
-
export
|
|
124
|
+
export type IndividualAttachmentsFormValues = {
|
|
121
125
|
civilID?: Array<string>;
|
|
122
126
|
signatureFileId?: Array<string>;
|
|
123
127
|
civilIDUploading?: boolean;
|
|
124
128
|
signatureFileUploading?: boolean;
|
|
125
129
|
};
|
|
126
|
-
export
|
|
130
|
+
export type PasswordCreateFormValues = {
|
|
127
131
|
password: string;
|
|
128
132
|
confirmPassword: string;
|
|
129
133
|
};
|
|
130
|
-
export
|
|
134
|
+
export type EntityNameFormValues = {
|
|
131
135
|
legalName: string;
|
|
132
136
|
licenseNumber: string;
|
|
133
137
|
licenseType: string;
|
|
@@ -138,29 +142,30 @@ export declare type EntityNameFormValues = {
|
|
|
138
142
|
certificateId?: Array<string>;
|
|
139
143
|
articleId?: string;
|
|
140
144
|
};
|
|
141
|
-
export
|
|
145
|
+
export type EntityCapitalFormValues = {
|
|
142
146
|
activities: Array<Activity>;
|
|
143
147
|
capitalPaid: string;
|
|
144
148
|
capitalShareCount: string;
|
|
145
149
|
capitalShareValue: string;
|
|
146
150
|
};
|
|
147
|
-
export
|
|
151
|
+
export type BusinessDataFormValues = {
|
|
148
152
|
brandName: string;
|
|
149
153
|
licenseNumber: string;
|
|
154
|
+
unifiedNumber: string;
|
|
150
155
|
selectedLicense?: License;
|
|
151
156
|
termAndConditionChecked?: boolean;
|
|
152
157
|
};
|
|
153
|
-
export
|
|
158
|
+
export type AuthenticationListFormValues = {
|
|
154
159
|
brandInfo?: BrandInfo;
|
|
155
160
|
entityInfo?: EntityLicenseAuth;
|
|
156
161
|
licenseNumber?: string;
|
|
157
162
|
legalName?: string;
|
|
158
163
|
licenseType?: string;
|
|
159
164
|
};
|
|
160
|
-
export
|
|
165
|
+
export type AuthMerchantFormValues = {
|
|
161
166
|
merchantInfo?: AuthMerchantInfo;
|
|
162
167
|
};
|
|
163
|
-
export
|
|
168
|
+
export type MobileOwnershipFormValues = {
|
|
164
169
|
mobile: string;
|
|
165
170
|
countryCode: CountryCode;
|
|
166
171
|
};
|
package/build/@types/theme.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare enum DirectionMode {
|
|
|
11
11
|
RTL = "rtl",
|
|
12
12
|
LTR = "ltr"
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
15
|
export declare enum DialogEdgeFormat {
|
|
16
16
|
STRAIGHT = "straight",
|
|
17
17
|
CURVED = "curved"
|
package/build/api/account.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaymentProvider, SDKNotification } from '../@types';
|
|
2
|
-
export
|
|
2
|
+
export type CreateAccountBody = {
|
|
3
3
|
lead_id: string;
|
|
4
4
|
notify: {
|
|
5
5
|
email: boolean;
|
|
@@ -9,7 +9,7 @@ export declare type CreateAccountBody = {
|
|
|
9
9
|
is_acknowledged: boolean;
|
|
10
10
|
step_name: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ExpressCreateAccountBody = {
|
|
13
13
|
post_url: string;
|
|
14
14
|
lead_id: string;
|
|
15
15
|
platforms?: string[];
|
|
@@ -19,8 +19,8 @@ export declare type ExpressCreateAccountBody = {
|
|
|
19
19
|
declare const accountService: {
|
|
20
20
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
21
21
|
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
22
|
-
checkAccountAvailability: (individualId: string) => Promise<any>;
|
|
23
|
-
checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
|
|
22
|
+
checkAccountAvailability: (individualId: string, authSession?: string) => Promise<any>;
|
|
23
|
+
checkAccountAvailabilityStatus: (individualId: string, authSession?: string) => Promise<any>;
|
|
24
24
|
checkMigrationStatus: (jobId: string) => Promise<any>;
|
|
25
25
|
};
|
|
26
26
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ENDPOINT_PATHS } from '../constants';
|
|
2
2
|
import { httpClient } from './axios';
|
|
3
|
+
import { getAuthHeaders } from './headers';
|
|
3
4
|
var createAccount = function (data) {
|
|
4
5
|
return httpClient({
|
|
5
6
|
method: 'post',
|
|
@@ -14,16 +15,18 @@ var expressCreateAccount = function (data) {
|
|
|
14
15
|
data: data
|
|
15
16
|
});
|
|
16
17
|
};
|
|
17
|
-
var checkAccountAvailability = function (individualId) {
|
|
18
|
+
var checkAccountAvailability = function (individualId, authSession) {
|
|
18
19
|
return httpClient({
|
|
19
20
|
method: 'get',
|
|
20
|
-
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
|
|
21
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts"),
|
|
22
|
+
headers: getAuthHeaders(authSession)
|
|
21
23
|
});
|
|
22
24
|
};
|
|
23
|
-
var checkAccountAvailabilityStatus = function (individualId) {
|
|
25
|
+
var checkAccountAvailabilityStatus = function (individualId, authSession) {
|
|
24
26
|
return httpClient({
|
|
25
27
|
method: 'get',
|
|
26
|
-
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
|
|
28
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status"),
|
|
29
|
+
headers: getAuthHeaders(authSession)
|
|
27
30
|
});
|
|
28
31
|
};
|
|
29
32
|
var checkMigrationStatus = function (jobId) {
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { ConfigInfo, 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
|
|
10
|
+
export type IDCredential = {
|
|
11
11
|
country_code?: string;
|
|
12
12
|
identification_id: string;
|
|
13
13
|
identification_id_type?: string;
|
|
14
14
|
date_of_birth?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -31,8 +31,9 @@ export declare type CreateAuthBody = {
|
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
board_id?: string;
|
|
33
33
|
user_id?: string;
|
|
34
|
+
login?: boolean;
|
|
34
35
|
};
|
|
35
|
-
export
|
|
36
|
+
export type CreateNafathAuthBody = {
|
|
36
37
|
country: string;
|
|
37
38
|
scope: string;
|
|
38
39
|
user_credentail: IDCredential;
|
|
@@ -47,7 +48,7 @@ export declare type CreateNafathAuthBody = {
|
|
|
47
48
|
board_id?: string;
|
|
48
49
|
user_id?: string;
|
|
49
50
|
};
|
|
50
|
-
export
|
|
51
|
+
export type CreateKYCAuthBody = {
|
|
51
52
|
country: string;
|
|
52
53
|
scope: string;
|
|
53
54
|
auth_type?: number;
|
|
@@ -61,7 +62,7 @@ export declare type CreateKYCAuthBody = {
|
|
|
61
62
|
board_id?: string;
|
|
62
63
|
user_id?: string;
|
|
63
64
|
};
|
|
64
|
-
export
|
|
65
|
+
export type VerifyAuthBody = {
|
|
65
66
|
auth_token: string;
|
|
66
67
|
auth_type: number;
|
|
67
68
|
data: string;
|
|
@@ -76,28 +77,28 @@ export declare type VerifyAuthBody = {
|
|
|
76
77
|
lead_id?: string;
|
|
77
78
|
terms?: Array<string>;
|
|
78
79
|
};
|
|
79
|
-
export
|
|
80
|
+
export type VerifyOperationAuthBody = {
|
|
80
81
|
auth_token: string;
|
|
81
82
|
auth_type: number;
|
|
82
83
|
};
|
|
83
|
-
export
|
|
84
|
+
export type ResetPasswordCredential = {
|
|
84
85
|
otp: string;
|
|
85
86
|
new_password: string;
|
|
86
87
|
};
|
|
87
|
-
export
|
|
88
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
88
89
|
auth_token: string;
|
|
89
90
|
auth_type: number;
|
|
90
91
|
step_name: string;
|
|
91
92
|
user_credentail: ResetPasswordCredential;
|
|
92
93
|
encryption_contract: Array<string>;
|
|
93
94
|
};
|
|
94
|
-
export
|
|
95
|
+
export type CreatePasswordBody = {
|
|
95
96
|
password: string;
|
|
96
97
|
signup_token?: string;
|
|
97
98
|
step_name: string;
|
|
98
99
|
encryption_contract: Array<string>;
|
|
99
100
|
};
|
|
100
|
-
export
|
|
101
|
+
export type VerifyAuthExpressOTPBody = {
|
|
101
102
|
auth_token?: string;
|
|
102
103
|
verify_token?: string;
|
|
103
104
|
lead_id?: string;
|
|
@@ -112,14 +113,14 @@ export declare type VerifyAuthExpressOTPBody = {
|
|
|
112
113
|
terms?: Array<string>;
|
|
113
114
|
encryption_contract: Array<string>;
|
|
114
115
|
};
|
|
115
|
-
export
|
|
116
|
+
export type getExpressTokenVerifyParams = {
|
|
116
117
|
token: string;
|
|
117
118
|
leadId: string;
|
|
118
119
|
};
|
|
119
|
-
export
|
|
120
|
+
export type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
|
|
120
121
|
declare const authService: {
|
|
121
122
|
createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
122
|
-
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody
|
|
123
|
+
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
|
|
123
124
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
124
125
|
verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
125
126
|
getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
package/build/api/auth.js
CHANGED
|
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import
|
|
12
|
+
import { httpClient } from './axios';
|
|
13
13
|
import { ENDPOINT_PATHS } from '../constants';
|
|
14
14
|
var createAuth = function (data, config) {
|
|
15
15
|
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.AUTH), data: data }, config));
|
|
@@ -17,8 +17,12 @@ var createAuth = function (data, config) {
|
|
|
17
17
|
var createExpressAuth = function (data, config) {
|
|
18
18
|
return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.CREATE_EXPRESS_AUTH_PATH), data: data }, config));
|
|
19
19
|
};
|
|
20
|
-
var verifyAuth = function (data
|
|
21
|
-
return
|
|
20
|
+
var verifyAuth = function (data) {
|
|
21
|
+
return httpClient({
|
|
22
|
+
method: 'put',
|
|
23
|
+
url: "".concat(ENDPOINT_PATHS.AUTH),
|
|
24
|
+
data: data
|
|
25
|
+
});
|
|
22
26
|
};
|
|
23
27
|
var createPassword = function (data) {
|
|
24
28
|
return httpClient({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
country: string;
|
|
5
5
|
encryption_contract: Array<string>;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type CheckBrandBody = {
|
|
8
8
|
profile_name: string;
|
|
9
9
|
country_code: string;
|
|
10
10
|
encryption_contract: Array<string>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type CheckIBanBody = {
|
|
13
13
|
iban_number: string;
|
|
14
14
|
encryption_contract?: Array<string>;
|
|
15
15
|
};
|
package/build/api/axios.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
declare const instance: import("axios").AxiosInstance;
|
|
3
3
|
export declare const setAxiosGlobalHeaders: (headers: Record<string, string>) => void;
|
|
4
4
|
export declare const removeAxiosGlobalHeaders: (arr: Array<string>) => void;
|
|
5
|
-
export declare const getAxiosHeaders: () =>
|
|
5
|
+
export declare const getAxiosHeaders: () => Record<string, any>;
|
|
6
6
|
export declare const httpClient: (config: AxiosRequestConfig) => Promise<any>;
|
|
7
7
|
export default instance;
|
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]) {
|
package/build/api/board.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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;
|
package/build/api/brand.d.ts
CHANGED
package/build/api/country.d.ts
CHANGED