@tap-payments/auth-jsconnect 2.9.1-development → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/@types/app.d.ts +28 -20
- package/build/@types/app.js +7 -0
- package/build/@types/config.d.ts +5 -1
- package/build/@types/form.d.ts +31 -24
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +5 -3
- package/build/api/account.js +7 -0
- package/build/api/auth.d.ts +30 -15
- package/build/api/availabilityServices.d.ts +3 -3
- 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 +10 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +4 -3
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +13 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +3 -3
- package/build/app/settings.d.ts +4 -21
- package/build/app/settings.js +15 -9
- 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 +18 -1
- package/build/assets/locales/en.json +44 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.js +16 -12
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.js +3 -1
- package/build/components/AnimationFlow/Error.d.ts +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- 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 +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- 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/Input/Input.js +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 +2 -1
- 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 +7 -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/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +2 -0
- package/build/constants/api.js +4 -0
- package/build/constants/app.d.ts +18 -1
- package/build/constants/app.js +97 -17
- 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/flows.d.ts +4 -0
- package/build/constants/flows.js +4 -0
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/auth/authStore.d.ts +43 -204
- package/build/features/app/auth/authStore.js +198 -96
- package/build/features/app/bank/bankStore.d.ts +12 -93
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +9 -41
- package/build/features/app/board/boardStore.js +41 -36
- package/build/features/app/brand/brandStore.d.ts +17 -143
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +29 -173
- package/build/features/app/business/businessStore.js +165 -36
- package/build/features/app/connect/connectStore.d.ts +25 -162
- package/build/features/app/connect/connectStore.js +182 -69
- package/build/features/app/connectExpress/connectExpressStore.d.ts +47 -272
- package/build/features/app/connectExpress/connectExpressStore.js +449 -118
- package/build/features/app/entity/entityStore.d.ts +12 -93
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +24 -186
- package/build/features/app/individual/individualStore.js +3 -5
- package/build/features/app/kyc/kycStore.d.ts +8 -62
- package/build/features/app/kyc/kycStore.js +89 -67
- package/build/features/app/password/passwordStore.d.ts +15 -123
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +20 -16
- package/build/features/app/tax/taxStore.d.ts +11 -83
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +3 -2
- 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 +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- 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 +2 -1
- 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/Mobile/MobileNumber.js +2 -2
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +14 -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 +16 -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 +6 -1
- package/build/features/bank/Bank.js +15 -7
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- 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 +2 -1
- package/build/features/board/Board.js +1 -1
- 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 +6 -1
- package/build/features/brand/Brand.js +15 -7
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -8
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- 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 +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
- 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 +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- 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 +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
- 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/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -8
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- 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 +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +103 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/business/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/business/screens/MobileOwnership/index.js +2 -0
- package/build/features/business/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/business/screens/MobileOwnership/validation.js +38 -0
- 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 +2 -1
- package/build/features/connect/Connect.js +2 -2
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
- 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 +2 -1
- 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/MobileNumber.js +2 -2
- 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 +2 -1
- 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/MobileNumber.js +2 -2
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +104 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connect/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connect/screens/MobileOwnership/index.js +2 -0
- package/build/features/connect/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connect/screens/MobileOwnership/validation.js +38 -0
- 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 +2 -1
- package/build/features/connectExpress/ConnectExpress.js +2 -2
- 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 +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- 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/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- 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/MobileNumber.js +2 -2
- 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 +2 -1
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +3 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.js +9 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.js +2 -0
- 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/MobileNumber.js +2 -2
- 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 +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +106 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.js +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- 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/VerifyNafath/VerifyNafath.js +9 -3
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +5 -1
- package/build/features/entity/Entity.js +15 -7
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- 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 +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- 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/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 +35 -0
- package/build/features/individual/Individual.d.ts +5 -1
- package/build/features/individual/Individual.js +15 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- 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 +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- 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 +2 -1
- 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 +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- 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 +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- 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 +2 -1
- package/build/features/kyc/KYC.js +5 -1
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +5 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +19 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +2 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.js +2 -0
- 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/Success/Success.js +18 -5
- 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/Terms/Terms.js +19 -4
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +5 -0
- package/build/features/kyc/screens/TokenError/TokenError.js +9 -0
- package/build/features/kyc/screens/TokenError/index.d.ts +2 -0
- package/build/features/kyc/screens/TokenError/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.d.ts +1 -1
- package/build/features/kyc/screens/Users/Users.js +6 -3
- 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 +5 -1
- package/build/features/password/Password.js +14 -7
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- 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 +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/Button.js +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +6 -3
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +2 -1
- package/build/features/shared/Button/NafathButton.d.ts +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- 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 +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +15 -7
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- 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 +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- 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/Mobile/MobileNumber.js +2 -2
- 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 +5 -1
- package/build/features/tax/Tax.js +15 -7
- 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 +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- 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 +6 -5
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/string.d.ts +3 -2
- package/build/utils/string.js +8 -2
- package/build/utils/validation.js +1 -1
- package/package.json +3 -4
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PaymentProvider, SettingAsyncData } from './config';
|
|
2
|
+
import { PaymentProvider, SDKNotification, SettingAsyncData } from './config';
|
|
3
3
|
import { LanguageMode, DialogEdgeFormat } from './theme';
|
|
4
4
|
export interface CountryCode {
|
|
5
5
|
created: number;
|
|
@@ -210,7 +210,7 @@ interface LibCallbacks {
|
|
|
210
210
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
211
211
|
onCreated?: (res: Record<string, any>) => void;
|
|
212
212
|
onBoardCompleted?: () => void;
|
|
213
|
-
onMaturityChanged?: (maturity: 'full' | 'express') => void
|
|
213
|
+
onMaturityChanged?: (maturity: 'full' | 'express') => Promise<void>;
|
|
214
214
|
onSwitchToBoard?: (boardId: string, authId: string) => void;
|
|
215
215
|
}
|
|
216
216
|
export interface LibConfig extends LibCallbacks {
|
|
@@ -242,8 +242,10 @@ export interface LibConfig extends LibCallbacks {
|
|
|
242
242
|
redirectUrl?: string;
|
|
243
243
|
data?: Array<string>;
|
|
244
244
|
mode?: 'popup' | 'page' | 'content';
|
|
245
|
+
notification?: SDKNotification;
|
|
245
246
|
boardMaturity?: boolean;
|
|
246
247
|
settingData?: SettingAsyncData;
|
|
248
|
+
region?: string;
|
|
247
249
|
}
|
|
248
250
|
export interface OSDetails {
|
|
249
251
|
name: string;
|
|
@@ -298,7 +300,7 @@ export interface LocalProps {
|
|
|
298
300
|
};
|
|
299
301
|
};
|
|
300
302
|
}
|
|
301
|
-
export type BrandInfo = {
|
|
303
|
+
export declare type BrandInfo = {
|
|
302
304
|
segment?: {
|
|
303
305
|
type: {
|
|
304
306
|
id: string;
|
|
@@ -339,7 +341,7 @@ export declare enum FlowsTypes {
|
|
|
339
341
|
BOARD = "board",
|
|
340
342
|
kyc = "kyc"
|
|
341
343
|
}
|
|
342
|
-
export type FlowInfo = {
|
|
344
|
+
export declare type FlowInfo = {
|
|
343
345
|
name: string;
|
|
344
346
|
status: string;
|
|
345
347
|
url: string;
|
|
@@ -350,12 +352,18 @@ export declare enum AuthForType {
|
|
|
350
352
|
NATIONAL_ID = "national_id",
|
|
351
353
|
NATIONAL_ID_MISSED = "national_id_missed"
|
|
352
354
|
}
|
|
355
|
+
export declare enum AuthForScreen {
|
|
356
|
+
INDIVIDUAL = "individual",
|
|
357
|
+
DOB = "dob",
|
|
358
|
+
MOBILE_OWNERSHIP = "mobile_ownership"
|
|
359
|
+
}
|
|
353
360
|
export declare enum AuthTypeNumber {
|
|
354
361
|
EMAIL_OTP = 5,
|
|
355
362
|
MOBILE_OTP = 2,
|
|
356
363
|
PASSWORD = 1,
|
|
357
364
|
MIGRATION = 10,
|
|
358
|
-
RESET_PASSWORD = 7
|
|
365
|
+
RESET_PASSWORD = 7,
|
|
366
|
+
PASSCODE = 11
|
|
359
367
|
}
|
|
360
368
|
export declare enum MigrationStatus {
|
|
361
369
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -367,7 +375,7 @@ export declare enum AddressFormateType {
|
|
|
367
375
|
NUMBER = "number",
|
|
368
376
|
TEXT = "text"
|
|
369
377
|
}
|
|
370
|
-
export type AddressFormat = {
|
|
378
|
+
export declare type AddressFormat = {
|
|
371
379
|
code: string;
|
|
372
380
|
name: {
|
|
373
381
|
ar: string;
|
|
@@ -378,14 +386,14 @@ export type AddressFormat = {
|
|
|
378
386
|
sort: number;
|
|
379
387
|
type: AddressFormateType;
|
|
380
388
|
};
|
|
381
|
-
export type AddressType = {
|
|
389
|
+
export declare type AddressType = {
|
|
382
390
|
code: string;
|
|
383
391
|
name: {
|
|
384
392
|
ar: string;
|
|
385
393
|
en: string;
|
|
386
394
|
};
|
|
387
395
|
};
|
|
388
|
-
export type AddressProps = {
|
|
396
|
+
export declare type AddressProps = {
|
|
389
397
|
format: AddressFormat[];
|
|
390
398
|
type: AddressType;
|
|
391
399
|
};
|
|
@@ -418,7 +426,7 @@ export declare enum DocumentPurpose {
|
|
|
418
426
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
419
427
|
BRAND_LOGO = "business_logo"
|
|
420
428
|
}
|
|
421
|
-
export type FileDetails = {
|
|
429
|
+
export declare type FileDetails = {
|
|
422
430
|
created: string;
|
|
423
431
|
id: string;
|
|
424
432
|
object: string;
|
|
@@ -433,7 +441,7 @@ export declare enum VerificationStatus {
|
|
|
433
441
|
ENTERED = "entered",
|
|
434
442
|
NOT_ENTERED = "not_entered"
|
|
435
443
|
}
|
|
436
|
-
export type BankDataStatus = {
|
|
444
|
+
export declare type BankDataStatus = {
|
|
437
445
|
iban: FieldType;
|
|
438
446
|
account_number: FieldType;
|
|
439
447
|
swift_code: FieldType;
|
|
@@ -442,7 +450,7 @@ export type BankDataStatus = {
|
|
|
442
450
|
bank_statement_file_id: FieldType;
|
|
443
451
|
is_acknowledged: FieldType;
|
|
444
452
|
};
|
|
445
|
-
export type EntityDataStatus = {
|
|
453
|
+
export declare type EntityDataStatus = {
|
|
446
454
|
type: FieldType;
|
|
447
455
|
'license.status': FieldType;
|
|
448
456
|
'license.provider': FieldType;
|
|
@@ -471,7 +479,7 @@ export type EntityDataStatus = {
|
|
|
471
479
|
billing_address: FieldType;
|
|
472
480
|
AOA_file_id: FieldType;
|
|
473
481
|
};
|
|
474
|
-
export type IndividualDataStatus = {
|
|
482
|
+
export declare type IndividualDataStatus = {
|
|
475
483
|
status: FieldType;
|
|
476
484
|
'name.en': FieldType;
|
|
477
485
|
'name.ar': FieldType;
|
|
@@ -497,7 +505,7 @@ export type IndividualDataStatus = {
|
|
|
497
505
|
is_influencer: FieldType;
|
|
498
506
|
gender: FieldType;
|
|
499
507
|
};
|
|
500
|
-
export type BrandDataStatus = {
|
|
508
|
+
export declare type BrandDataStatus = {
|
|
501
509
|
status: FieldType;
|
|
502
510
|
'name.en': FieldType;
|
|
503
511
|
'name.ar': FieldType;
|
|
@@ -573,7 +581,7 @@ export interface ActivitiesIsIc {
|
|
|
573
581
|
created: string;
|
|
574
582
|
divisions?: Array<ActivityDivision>;
|
|
575
583
|
}
|
|
576
|
-
export type BankDataVerification = {
|
|
584
|
+
export declare type BankDataVerification = {
|
|
577
585
|
account_number: string;
|
|
578
586
|
bank_name: string;
|
|
579
587
|
bank_statement_file_id: string;
|
|
@@ -583,7 +591,7 @@ export type BankDataVerification = {
|
|
|
583
591
|
is_acknowledged: string;
|
|
584
592
|
swift_code: string;
|
|
585
593
|
};
|
|
586
|
-
export type BrandDataVerification = {
|
|
594
|
+
export declare type BrandDataVerification = {
|
|
587
595
|
logo: string;
|
|
588
596
|
'name.en': string;
|
|
589
597
|
'name.ar': string;
|
|
@@ -601,7 +609,7 @@ export type BrandDataVerification = {
|
|
|
601
609
|
'segment.tech_type': string;
|
|
602
610
|
terms: string;
|
|
603
611
|
};
|
|
604
|
-
export type EntityDataVerification = {
|
|
612
|
+
export declare type EntityDataVerification = {
|
|
605
613
|
AOA_file_id: string;
|
|
606
614
|
billing_address: string;
|
|
607
615
|
'capital.announced': string;
|
|
@@ -628,7 +636,7 @@ export type EntityDataVerification = {
|
|
|
628
636
|
taxable: string;
|
|
629
637
|
type: string;
|
|
630
638
|
};
|
|
631
|
-
export type IndividualDataVerification = {
|
|
639
|
+
export declare type IndividualDataVerification = {
|
|
632
640
|
'birth.city': string;
|
|
633
641
|
'birth.country': string;
|
|
634
642
|
'birth.date': string;
|
|
@@ -676,7 +684,7 @@ export interface PageTrackingData {
|
|
|
676
684
|
title?: string;
|
|
677
685
|
connect_flow?: string;
|
|
678
686
|
}
|
|
679
|
-
export type VerifyExpressTokenParams = {
|
|
687
|
+
export declare type VerifyExpressTokenParams = {
|
|
680
688
|
public_key: string;
|
|
681
689
|
post: {
|
|
682
690
|
url: string;
|
|
@@ -763,7 +771,7 @@ interface TerminalAuthorizes {
|
|
|
763
771
|
status: string;
|
|
764
772
|
status_message: string;
|
|
765
773
|
}
|
|
766
|
-
export type CountryInfo = {
|
|
774
|
+
export declare type CountryInfo = {
|
|
767
775
|
id: number;
|
|
768
776
|
label: string;
|
|
769
777
|
country: {
|
|
@@ -778,7 +786,7 @@ export type CountryInfo = {
|
|
|
778
786
|
max_digits: number;
|
|
779
787
|
};
|
|
780
788
|
};
|
|
781
|
-
export type BusinessCountryInfo = {
|
|
789
|
+
export declare type BusinessCountryInfo = {
|
|
782
790
|
id: number;
|
|
783
791
|
title: string;
|
|
784
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
|
@@ -18,6 +18,10 @@ export interface PaymentProvider {
|
|
|
18
18
|
interface Redirect {
|
|
19
19
|
url: string;
|
|
20
20
|
}
|
|
21
|
+
export interface SDKNotification {
|
|
22
|
+
email: boolean;
|
|
23
|
+
mobile?: boolean;
|
|
24
|
+
}
|
|
21
25
|
interface Interface {
|
|
22
26
|
locale?: 'dynamic' | 'ar' | 'en';
|
|
23
27
|
edges?: 'straight' | 'curved';
|
|
@@ -32,7 +36,7 @@ interface Lead {
|
|
|
32
36
|
interface Operator {
|
|
33
37
|
public_key: string;
|
|
34
38
|
}
|
|
35
|
-
type RecordType = Record<string, any>;
|
|
39
|
+
declare type RecordType = Record<string, any>;
|
|
36
40
|
export interface SettingAsyncData {
|
|
37
41
|
fingerPrint: RecordType;
|
|
38
42
|
locale: RecordType;
|
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 type MobileFormValues = {
|
|
2
|
+
export declare type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export type EmailFormValues = {
|
|
7
|
+
export declare type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export type OTPFormValues = {
|
|
10
|
+
export declare type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export type
|
|
13
|
+
export declare type PasscodeFormValues = {
|
|
14
|
+
passcode: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type PasswordFormValues = {
|
|
14
17
|
password: string;
|
|
15
18
|
};
|
|
16
|
-
export type NIDFormValues = {
|
|
19
|
+
export declare type NIDFormValues = {
|
|
17
20
|
nid: string;
|
|
18
21
|
dob?: any;
|
|
19
22
|
termAndConditionChecked?: boolean;
|
|
20
23
|
};
|
|
21
|
-
export type DOBFormValues = {
|
|
24
|
+
export declare type DOBFormValues = {
|
|
22
25
|
dob: any;
|
|
23
26
|
};
|
|
24
|
-
export type CivilFormValues = {
|
|
27
|
+
export declare type CivilFormValues = {
|
|
25
28
|
civilId: string;
|
|
26
29
|
termAndConditionChecked?: boolean;
|
|
27
30
|
};
|
|
28
|
-
export type AuthEmailFormValues = {
|
|
31
|
+
export declare type AuthEmailFormValues = {
|
|
29
32
|
email: string;
|
|
30
33
|
};
|
|
31
|
-
export type IndividualFormValues = {
|
|
34
|
+
export declare type IndividualFormValues = {
|
|
32
35
|
name: string;
|
|
33
36
|
email: string;
|
|
34
37
|
mobile: string | null;
|
|
35
38
|
countryCode: CountryCode;
|
|
36
39
|
};
|
|
37
|
-
export type BrandFormValues = {
|
|
40
|
+
export declare 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 type BrandSegmentFormValues = {
|
|
47
|
+
export declare 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 type BrandActivitiesFormValues = {
|
|
53
|
+
export declare type BrandActivitiesFormValues = {
|
|
51
54
|
activities: Array<Activity>;
|
|
52
55
|
customerLocations: Array<CustomerLocation>;
|
|
53
56
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -56,7 +59,7 @@ export type BrandActivitiesFormValues = {
|
|
|
56
59
|
refundPolicy: boolean;
|
|
57
60
|
transactionPolicy: boolean;
|
|
58
61
|
};
|
|
59
|
-
export type BusinessTypeFormValues = {
|
|
62
|
+
export declare type BusinessTypeFormValues = {
|
|
60
63
|
licenseNumber: string;
|
|
61
64
|
entityLegalName?: string;
|
|
62
65
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -64,18 +67,18 @@ export type BusinessTypeFormValues = {
|
|
|
64
67
|
certificateId?: Array<string>;
|
|
65
68
|
articleId?: string;
|
|
66
69
|
};
|
|
67
|
-
export type ActivitiesFormValues = {
|
|
70
|
+
export declare type ActivitiesFormValues = {
|
|
68
71
|
activities: Array<Activity> | undefined;
|
|
69
72
|
operationStartDate: string;
|
|
70
73
|
};
|
|
71
|
-
export type CustomersFormValues = {
|
|
74
|
+
export declare type CustomersFormValues = {
|
|
72
75
|
customerLocations: Array<CustomerLocation>;
|
|
73
76
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
74
77
|
expectedSale: ExpectedSaleRange | undefined;
|
|
75
78
|
refundPolicy: boolean;
|
|
76
79
|
transactionPolicy: boolean;
|
|
77
80
|
};
|
|
78
|
-
export type BankFormValues = {
|
|
81
|
+
export declare type BankFormValues = {
|
|
79
82
|
iban: string;
|
|
80
83
|
beneficiaryName: string;
|
|
81
84
|
bankName: string;
|
|
@@ -83,7 +86,7 @@ export type BankFormValues = {
|
|
|
83
86
|
uploading?: boolean;
|
|
84
87
|
confirmPolicy: boolean;
|
|
85
88
|
};
|
|
86
|
-
export type TaxFormValues = {
|
|
89
|
+
export declare type TaxFormValues = {
|
|
87
90
|
vatId: string;
|
|
88
91
|
confirmPolicy: boolean;
|
|
89
92
|
documentId?: Array<string>;
|
|
@@ -117,17 +120,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
117
120
|
shareValue: string;
|
|
118
121
|
isAuthorized: boolean;
|
|
119
122
|
}
|
|
120
|
-
export type IndividualAttachmentsFormValues = {
|
|
123
|
+
export declare type IndividualAttachmentsFormValues = {
|
|
121
124
|
civilID?: Array<string>;
|
|
122
125
|
signatureFileId?: Array<string>;
|
|
123
126
|
civilIDUploading?: boolean;
|
|
124
127
|
signatureFileUploading?: boolean;
|
|
125
128
|
};
|
|
126
|
-
export type PasswordCreateFormValues = {
|
|
129
|
+
export declare type PasswordCreateFormValues = {
|
|
127
130
|
password: string;
|
|
128
131
|
confirmPassword: string;
|
|
129
132
|
};
|
|
130
|
-
export type EntityNameFormValues = {
|
|
133
|
+
export declare type EntityNameFormValues = {
|
|
131
134
|
legalName: string;
|
|
132
135
|
licenseNumber: string;
|
|
133
136
|
licenseType: string;
|
|
@@ -138,25 +141,29 @@ export type EntityNameFormValues = {
|
|
|
138
141
|
certificateId?: Array<string>;
|
|
139
142
|
articleId?: string;
|
|
140
143
|
};
|
|
141
|
-
export type EntityCapitalFormValues = {
|
|
144
|
+
export declare type EntityCapitalFormValues = {
|
|
142
145
|
activities: Array<Activity>;
|
|
143
146
|
capitalPaid: string;
|
|
144
147
|
capitalShareCount: string;
|
|
145
148
|
capitalShareValue: string;
|
|
146
149
|
};
|
|
147
|
-
export type BusinessDataFormValues = {
|
|
150
|
+
export declare type BusinessDataFormValues = {
|
|
148
151
|
brandName: string;
|
|
149
152
|
licenseNumber: string;
|
|
150
153
|
selectedLicense?: License;
|
|
151
154
|
termAndConditionChecked?: boolean;
|
|
152
155
|
};
|
|
153
|
-
export type AuthenticationListFormValues = {
|
|
156
|
+
export declare type AuthenticationListFormValues = {
|
|
154
157
|
brandInfo?: BrandInfo;
|
|
155
158
|
entityInfo?: EntityLicenseAuth;
|
|
156
159
|
licenseNumber?: string;
|
|
157
160
|
legalName?: string;
|
|
158
161
|
licenseType?: string;
|
|
159
162
|
};
|
|
160
|
-
export type AuthMerchantFormValues = {
|
|
163
|
+
export declare type AuthMerchantFormValues = {
|
|
161
164
|
merchantInfo?: AuthMerchantInfo;
|
|
162
165
|
};
|
|
166
|
+
export declare type MobileOwnershipFormValues = {
|
|
167
|
+
mobile: string;
|
|
168
|
+
countryCode: CountryCode;
|
|
169
|
+
};
|
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 type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
14
|
+
export declare 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
|
-
import { PaymentProvider } from '../@types';
|
|
2
|
-
export type CreateAccountBody = {
|
|
1
|
+
import { PaymentProvider, SDKNotification } from '../@types';
|
|
2
|
+
export declare type CreateAccountBody = {
|
|
3
3
|
lead_id: string;
|
|
4
4
|
notify: {
|
|
5
5
|
email: boolean;
|
|
@@ -9,16 +9,18 @@ export type CreateAccountBody = {
|
|
|
9
9
|
is_acknowledged: boolean;
|
|
10
10
|
step_name: string;
|
|
11
11
|
};
|
|
12
|
-
export type ExpressCreateAccountBody = {
|
|
12
|
+
export declare type ExpressCreateAccountBody = {
|
|
13
13
|
post_url: string;
|
|
14
14
|
lead_id: string;
|
|
15
15
|
platforms?: string[];
|
|
16
16
|
payment_provider?: PaymentProvider;
|
|
17
|
+
notification?: SDKNotification;
|
|
17
18
|
};
|
|
18
19
|
declare const accountService: {
|
|
19
20
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
20
21
|
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
21
22
|
checkAccountAvailability: (individualId: string) => Promise<any>;
|
|
23
|
+
checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
|
|
22
24
|
checkMigrationStatus: (jobId: string) => Promise<any>;
|
|
23
25
|
};
|
|
24
26
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -20,6 +20,12 @@ var checkAccountAvailability = function (individualId) {
|
|
|
20
20
|
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
+
var checkAccountAvailabilityStatus = function (individualId) {
|
|
24
|
+
return httpClient({
|
|
25
|
+
method: 'get',
|
|
26
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
|
|
27
|
+
});
|
|
28
|
+
};
|
|
23
29
|
var checkMigrationStatus = function (jobId) {
|
|
24
30
|
return httpClient({
|
|
25
31
|
method: 'get',
|
|
@@ -30,6 +36,7 @@ var accountService = {
|
|
|
30
36
|
createAccount: createAccount,
|
|
31
37
|
expressCreateAccount: expressCreateAccount,
|
|
32
38
|
checkAccountAvailability: checkAccountAvailability,
|
|
39
|
+
checkAccountAvailabilityStatus: checkAccountAvailabilityStatus,
|
|
33
40
|
checkMigrationStatus: checkMigrationStatus
|
|
34
41
|
};
|
|
35
42
|
export { accountService };
|
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 type MobileCredential = {
|
|
3
|
+
export declare type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export type EmailCredential = {
|
|
7
|
+
export declare type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export type IDCredential = {
|
|
10
|
+
export declare 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 type CivilID = {
|
|
16
|
+
export declare type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export type CreateAuthBody = {
|
|
20
|
+
export declare type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -31,8 +31,9 @@ export type CreateAuthBody = {
|
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
board_id?: string;
|
|
33
33
|
user_id?: string;
|
|
34
|
+
login?: boolean;
|
|
34
35
|
};
|
|
35
|
-
export type CreateNafathAuthBody = {
|
|
36
|
+
export declare type CreateNafathAuthBody = {
|
|
36
37
|
country: string;
|
|
37
38
|
scope: string;
|
|
38
39
|
user_credentail: IDCredential;
|
|
@@ -47,7 +48,21 @@ export type CreateNafathAuthBody = {
|
|
|
47
48
|
board_id?: string;
|
|
48
49
|
user_id?: string;
|
|
49
50
|
};
|
|
50
|
-
export type
|
|
51
|
+
export declare type CreateKYCAuthBody = {
|
|
52
|
+
country: string;
|
|
53
|
+
scope: string;
|
|
54
|
+
auth_type?: number;
|
|
55
|
+
email_url?: string;
|
|
56
|
+
sign_in?: boolean;
|
|
57
|
+
is_lead?: boolean;
|
|
58
|
+
step_name?: string;
|
|
59
|
+
encryption_contract: Array<string>;
|
|
60
|
+
lang?: LanguageMode;
|
|
61
|
+
lead_id?: string;
|
|
62
|
+
board_id?: string;
|
|
63
|
+
user_id?: string;
|
|
64
|
+
};
|
|
65
|
+
export declare type VerifyAuthBody = {
|
|
51
66
|
auth_token: string;
|
|
52
67
|
auth_type: number;
|
|
53
68
|
data: string;
|
|
@@ -62,28 +77,28 @@ export type VerifyAuthBody = {
|
|
|
62
77
|
lead_id?: string;
|
|
63
78
|
terms?: Array<string>;
|
|
64
79
|
};
|
|
65
|
-
export type VerifyOperationAuthBody = {
|
|
80
|
+
export declare type VerifyOperationAuthBody = {
|
|
66
81
|
auth_token: string;
|
|
67
82
|
auth_type: number;
|
|
68
83
|
};
|
|
69
|
-
export type ResetPasswordCredential = {
|
|
84
|
+
export declare type ResetPasswordCredential = {
|
|
70
85
|
otp: string;
|
|
71
86
|
new_password: string;
|
|
72
87
|
};
|
|
73
|
-
export type ResetPasswordVerifyAuthBody = {
|
|
88
|
+
export declare type ResetPasswordVerifyAuthBody = {
|
|
74
89
|
auth_token: string;
|
|
75
90
|
auth_type: number;
|
|
76
91
|
step_name: string;
|
|
77
92
|
user_credentail: ResetPasswordCredential;
|
|
78
93
|
encryption_contract: Array<string>;
|
|
79
94
|
};
|
|
80
|
-
export type CreatePasswordBody = {
|
|
95
|
+
export declare type CreatePasswordBody = {
|
|
81
96
|
password: string;
|
|
82
97
|
signup_token?: string;
|
|
83
98
|
step_name: string;
|
|
84
99
|
encryption_contract: Array<string>;
|
|
85
100
|
};
|
|
86
|
-
export type VerifyAuthExpressOTPBody = {
|
|
101
|
+
export declare type VerifyAuthExpressOTPBody = {
|
|
87
102
|
auth_token?: string;
|
|
88
103
|
verify_token?: string;
|
|
89
104
|
lead_id?: string;
|
|
@@ -98,13 +113,13 @@ export type VerifyAuthExpressOTPBody = {
|
|
|
98
113
|
terms?: Array<string>;
|
|
99
114
|
encryption_contract: Array<string>;
|
|
100
115
|
};
|
|
101
|
-
export type getExpressTokenVerifyParams = {
|
|
116
|
+
export declare type getExpressTokenVerifyParams = {
|
|
102
117
|
token: string;
|
|
103
118
|
leadId: string;
|
|
104
119
|
};
|
|
105
|
-
export type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
|
|
120
|
+
export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
|
|
106
121
|
declare const authService: {
|
|
107
|
-
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
122
|
+
createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
108
123
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
109
124
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
110
125
|
verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export type CheckEmailBody = {
|
|
2
|
+
export declare type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
country: string;
|
|
5
5
|
encryption_contract: Array<string>;
|
|
6
6
|
};
|
|
7
|
-
export type CheckBrandBody = {
|
|
7
|
+
export declare type CheckBrandBody = {
|
|
8
8
|
profile_name: string;
|
|
9
9
|
country_code: string;
|
|
10
10
|
encryption_contract: Array<string>;
|
|
11
11
|
};
|
|
12
|
-
export type CheckIBanBody = {
|
|
12
|
+
export declare type CheckIBanBody = {
|
|
13
13
|
iban_number: string;
|
|
14
14
|
encryption_contract?: Array<string>;
|
|
15
15
|
};
|
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 (
|
|
16
|
+
while (_) 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 type UpdateBoardBody = {
|
|
1
|
+
export declare 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 type RetrieveBoardInfoBody = {
|
|
8
|
+
export declare type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export type UpdateBoardInfoBody = {
|
|
12
|
+
export declare 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