@tap-payments/auth-jsconnect 2.0.30-test → 2.0.31
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/package.json +129 -128
- package/build/@types/app.d.ts +0 -197
- package/build/@types/app.js +0 -20
- package/build/@types/form.d.ts +0 -76
- package/build/@types/form.js +0 -1
- package/build/@types/index.d.ts +0 -4
- package/build/@types/index.js +0 -4
- package/build/@types/redux.d.ts +0 -14
- package/build/@types/redux.js +0 -1
- package/build/@types/theme.d.ts +0 -14
- package/build/@types/theme.js +0 -15
- package/build/api/account.d.ts +0 -14
- package/build/api/account.js +0 -13
- package/build/api/auth.d.ts +0 -64
- package/build/api/auth.js +0 -21
- package/build/api/availabilityServices.d.ts +0 -20
- package/build/api/availabilityServices.js +0 -17
- package/build/api/axios.d.ts +0 -7
- package/build/api/axios.js +0 -110
- package/build/api/board.d.ts +0 -26
- package/build/api/board.js +0 -56
- package/build/api/brand.d.ts +0 -7
- package/build/api/brand.js +0 -40
- package/build/api/country.d.ts +0 -4
- package/build/api/country.js +0 -12
- package/build/api/data.d.ts +0 -10
- package/build/api/data.js +0 -36
- package/build/api/entity.d.ts +0 -55
- package/build/api/entity.js +0 -59
- package/build/api/firebase.d.ts +0 -4
- package/build/api/firebase.js +0 -12
- package/build/api/index.d.ts +0 -83
- package/build/api/index.js +0 -33
- package/build/api/individual.d.ts +0 -32
- package/build/api/individual.js +0 -12
- package/build/api/ip.d.ts +0 -4
- package/build/api/ip.js +0 -12
- package/build/api/lead.d.ts +0 -93
- package/build/api/lead.js +0 -45
- package/build/api/operator.d.ts +0 -12
- package/build/api/operator.js +0 -65
- package/build/api/user.d.ts +0 -8
- package/build/api/user.js +0 -12
- package/build/app/rootReducer.d.ts +0 -11
- package/build/app/rootReducer.js +0 -19
- package/build/app/settings.d.ts +0 -37
- package/build/app/settings.js +0 -240
- package/build/app/store.d.ts +0 -23
- package/build/app/store.js +0 -11
- package/build/assets/locales/ar.json +0 -248
- package/build/assets/locales/en.json +0 -268
- package/build/components/AnimationFlow/AnimationFlow.d.ts +0 -13
- package/build/components/AnimationFlow/AnimationFlow.js +0 -36
- package/build/components/AnimationFlow/BottomSheet.d.ts +0 -10
- package/build/components/AnimationFlow/BottomSheet.js +0 -85
- package/build/components/AnimationFlow/Dialog.d.ts +0 -11
- package/build/components/AnimationFlow/Dialog.js +0 -105
- package/build/components/AnimationFlow/Error.d.ts +0 -6
- package/build/components/AnimationFlow/Error.js +0 -32
- package/build/components/AnimationFlow/Loader.d.ts +0 -2
- package/build/components/AnimationFlow/Loader.js +0 -24
- package/build/components/AnimationFlow/index.d.ts +0 -2
- package/build/components/AnimationFlow/index.js +0 -2
- package/build/components/Button/Button.d.ts +0 -14
- package/build/components/Button/Button.js +0 -101
- package/build/components/Button/index.d.ts +0 -4
- package/build/components/Button/index.js +0 -2
- package/build/components/CheckBox/CheckBox.d.ts +0 -5
- package/build/components/CheckBox/CheckBox.js +0 -39
- package/build/components/CheckBox/index.d.ts +0 -4
- package/build/components/CheckBox/index.js +0 -2
- package/build/components/Collapse/Collapse.d.ts +0 -5
- package/build/components/Collapse/Collapse.js +0 -28
- package/build/components/Collapse/index.d.ts +0 -3
- package/build/components/Collapse/index.js +0 -2
- package/build/components/DatePicker/DatePicker.d.ts +0 -14
- package/build/components/DatePicker/DatePicker.js +0 -101
- package/build/components/DatePicker/customStyle.css +0 -86
- package/build/components/DatePicker/index.d.ts +0 -3
- package/build/components/DatePicker/index.js +0 -2
- package/build/components/ExpandIcon/ExpandIcon.d.ts +0 -7
- package/build/components/ExpandIcon/ExpandIcon.js +0 -24
- package/build/components/ExpandIcon/index.d.ts +0 -2
- package/build/components/ExpandIcon/index.js +0 -2
- package/build/components/FileInput/DragAndDrop.d.ts +0 -7
- package/build/components/FileInput/DragAndDrop.js +0 -38
- package/build/components/FileInput/UploadInput.d.ts +0 -7
- package/build/components/FileInput/UploadInput.js +0 -38
- package/build/components/FileInput/index.d.ts +0 -3
- package/build/components/FileInput/index.js +0 -3
- package/build/components/Footer/Footer.d.ts +0 -15
- package/build/components/Footer/Footer.js +0 -62
- package/build/components/Footer/index.d.ts +0 -4
- package/build/components/Footer/index.js +0 -2
- package/build/components/Form/Form.d.ts +0 -11
- package/build/components/Form/Form.js +0 -38
- package/build/components/Form/index.d.ts +0 -3
- package/build/components/Form/index.js +0 -2
- package/build/components/Icon/Icon.d.ts +0 -11
- package/build/components/Icon/Icon.js +0 -26
- package/build/components/Icon/index.d.ts +0 -3
- package/build/components/Icon/index.js +0 -2
- package/build/components/Input/Input.d.ts +0 -19
- package/build/components/Input/Input.js +0 -84
- package/build/components/Input/index.d.ts +0 -3
- package/build/components/Input/index.js +0 -2
- package/build/components/InputAdornment/InputAdornment.d.ts +0 -10
- package/build/components/InputAdornment/InputAdornment.js +0 -46
- package/build/components/InputAdornment/index.d.ts +0 -3
- package/build/components/InputAdornment/index.js +0 -2
- package/build/components/List/List.d.ts +0 -5
- package/build/components/List/List.js +0 -52
- package/build/components/List/index.d.ts +0 -3
- package/build/components/List/index.js +0 -2
- package/build/components/ListItem/ListItem.d.ts +0 -5
- package/build/components/ListItem/ListItem.js +0 -35
- package/build/components/ListItem/index.d.ts +0 -3
- package/build/components/ListItem/index.js +0 -2
- package/build/components/Loader/Loader.d.ts +0 -24
- package/build/components/Loader/Loader.js +0 -41
- package/build/components/Loader/index.d.ts +0 -4
- package/build/components/Loader/index.js +0 -2
- package/build/components/LogoBadge/LogoBadge.d.ts +0 -7
- package/build/components/LogoBadge/LogoBadge.js +0 -61
- package/build/components/LogoBadge/index.d.ts +0 -3
- package/build/components/LogoBadge/index.js +0 -2
- package/build/components/OTPField/OTPField.d.ts +0 -17
- package/build/components/OTPField/OTPField.js +0 -45
- package/build/components/OTPField/index.d.ts +0 -4
- package/build/components/OTPField/index.js +0 -2
- package/build/components/OTPTimer/OTPTimer.d.ts +0 -14
- package/build/components/OTPTimer/OTPTimer.js +0 -70
- package/build/components/OTPTimer/index.d.ts +0 -4
- package/build/components/OTPTimer/index.js +0 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +0 -6
- package/build/components/ProgressBar/ProgressBar.js +0 -45
- package/build/components/ProgressBar/index.d.ts +0 -4
- package/build/components/ProgressBar/index.js +0 -2
- package/build/components/Providers/ReduxProvider.d.ts +0 -7
- package/build/components/Providers/ReduxProvider.js +0 -17
- package/build/components/Providers/ThemeProvider.d.ts +0 -8
- package/build/components/Providers/ThemeProvider.js +0 -22
- package/build/components/Providers/index.d.ts +0 -3
- package/build/components/Providers/index.js +0 -3
- package/build/components/Radio/Radio.d.ts +0 -5
- package/build/components/Radio/Radio.js +0 -31
- package/build/components/Radio/index.d.ts +0 -3
- package/build/components/Radio/index.js +0 -2
- package/build/components/RadioGroup/RadioGroup.d.ts +0 -5
- package/build/components/RadioGroup/RadioGroup.js +0 -41
- package/build/components/RadioGroup/index.d.ts +0 -3
- package/build/components/RadioGroup/index.js +0 -2
- package/build/components/RadioLabel/RadioLabel.d.ts +0 -7
- package/build/components/RadioLabel/RadioLabel.js +0 -34
- package/build/components/RadioLabel/index.d.ts +0 -3
- package/build/components/RadioLabel/index.js +0 -2
- package/build/components/SimpleList/SimpleList.d.ts +0 -18
- package/build/components/SimpleList/SimpleList.js +0 -104
- package/build/components/SimpleList/index.d.ts +0 -3
- package/build/components/SimpleList/index.js +0 -2
- package/build/components/Slide/Slide.d.ts +0 -6
- package/build/components/Slide/Slide.js +0 -30
- package/build/components/Slide/index.d.ts +0 -3
- package/build/components/Slide/index.js +0 -2
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +0 -14
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +0 -86
- package/build/components/SocialMediaGroup/index.d.ts +0 -3
- package/build/components/SocialMediaGroup/index.js +0 -2
- package/build/components/Text/Text.d.ts +0 -5
- package/build/components/Text/Text.js +0 -35
- package/build/components/Text/index.d.ts +0 -3
- package/build/components/Text/index.js +0 -2
- package/build/components/ToggleButton/ToggleButton.d.ts +0 -5
- package/build/components/ToggleButton/ToggleButton.js +0 -44
- package/build/components/ToggleButton/index.d.ts +0 -3
- package/build/components/ToggleButton/index.js +0 -2
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -5
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +0 -37
- package/build/components/ToggleButtonGroup/index.d.ts +0 -3
- package/build/components/ToggleButtonGroup/index.js +0 -2
- package/build/components/Tooltip/Tooltip.d.ts +0 -10
- package/build/components/Tooltip/Tooltip.js +0 -44
- package/build/components/Tooltip/index.d.ts +0 -3
- package/build/components/Tooltip/index.js +0 -2
- package/build/components/Warning/Warning.d.ts +0 -13
- package/build/components/Warning/Warning.js +0 -53
- package/build/components/Warning/index.d.ts +0 -4
- package/build/components/Warning/index.js +0 -2
- package/build/constants/api.d.ts +0 -34
- package/build/constants/api.js +0 -66
- package/build/constants/app.d.ts +0 -157
- package/build/constants/app.js +0 -413
- package/build/constants/assets.d.ts +0 -69
- package/build/constants/assets.js +0 -69
- package/build/constants/dummy.d.ts +0 -328
- package/build/constants/dummy.js +0 -6436
- package/build/constants/index.d.ts +0 -5
- package/build/constants/index.js +0 -5
- package/build/constants/validation.d.ts +0 -14
- package/build/constants/validation.js +0 -14
- package/build/features/app/bank/bankStore.d.ts +0 -60
- package/build/features/app/bank/bankStore.js +0 -422
- package/build/features/app/business/businessStore.d.ts +0 -93
- package/build/features/app/business/businessStore.js +0 -991
- package/build/features/app/connect/connectStore.d.ts +0 -100
- package/build/features/app/connect/connectStore.js +0 -776
- package/build/features/app/individual/individualStore.d.ts +0 -68
- package/build/features/app/individual/individualStore.js +0 -452
- package/build/features/app/password/passwordStore.d.ts +0 -90
- package/build/features/app/password/passwordStore.js +0 -522
- package/build/features/app/signIn/signInStore.d.ts +0 -33
- package/build/features/app/signIn/signInStore.js +0 -390
- package/build/features/app/tax/taxStore.d.ts +0 -46
- package/build/features/app/tax/taxStore.js +0 -375
- package/build/features/bank/Bank.d.ts +0 -7
- package/build/features/bank/Bank.js +0 -63
- package/build/features/bank/index.d.ts +0 -1
- package/build/features/bank/index.js +0 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +0 -5
- package/build/features/bank/screens/BankDetails/BankDetails.js +0 -66
- package/build/features/bank/screens/BankDetails/BankName.d.ts +0 -3
- package/build/features/bank/screens/BankDetails/BankName.js +0 -59
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +0 -3
- package/build/features/bank/screens/BankDetails/BankStatement.js +0 -30
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +0 -5
- package/build/features/bank/screens/BankDetails/Beneficiary.js +0 -51
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +0 -3
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +0 -67
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +0 -7
- package/build/features/bank/screens/BankDetails/IBAN.js +0 -97
- package/build/features/bank/screens/BankDetails/index.d.ts +0 -3
- package/build/features/bank/screens/BankDetails/index.js +0 -2
- package/build/features/bank/screens/BankDetails/validation.d.ts +0 -23
- package/build/features/bank/screens/BankDetails/validation.js +0 -29
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
- package/build/features/bank/screens/ResetPasswordSuccess/index.d.ts +0 -3
- package/build/features/bank/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/bank/screens/Success/Success.d.ts +0 -5
- package/build/features/bank/screens/Success/Success.js +0 -16
- package/build/features/bank/screens/Success/index.d.ts +0 -3
- package/build/features/bank/screens/Success/index.js +0 -2
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
- package/build/features/bank/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/bank/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/bank/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/bank/screens/Verify/OTPInput.js +0 -47
- package/build/features/bank/screens/Verify/Verify.d.ts +0 -5
- package/build/features/bank/screens/Verify/Verify.js +0 -78
- package/build/features/bank/screens/Verify/index.d.ts +0 -2
- package/build/features/bank/screens/Verify/index.js +0 -2
- package/build/features/bank/screens/Verify/validation.d.ts +0 -8
- package/build/features/bank/screens/Verify/validation.js +0 -4
- package/build/features/business/Business.d.ts +0 -7
- package/build/features/business/Business.js +0 -63
- package/build/features/business/index.d.ts +0 -1
- package/build/features/business/index.js +0 -1
- package/build/features/business/screens/Activities/Activities.d.ts +0 -5
- package/build/features/business/screens/Activities/Activities.js +0 -78
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +0 -54
- package/build/features/business/screens/Activities/ActivitiesList.js +0 -131
- package/build/features/business/screens/Activities/LicenseName.d.ts +0 -5
- package/build/features/business/screens/Activities/LicenseName.js +0 -30
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +0 -6
- package/build/features/business/screens/Activities/OperationStartDate.js +0 -26
- package/build/features/business/screens/Activities/SalesChannels.d.ts +0 -5
- package/build/features/business/screens/Activities/SalesChannels.js +0 -112
- package/build/features/business/screens/Activities/index.d.ts +0 -3
- package/build/features/business/screens/Activities/index.js +0 -2
- package/build/features/business/screens/Activities/validation.d.ts +0 -107
- package/build/features/business/screens/Activities/validation.js +0 -17
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +0 -5
- package/build/features/business/screens/BusinessType/BusinessType.js +0 -60
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +0 -8
- package/build/features/business/screens/BusinessType/LicenseList.js +0 -128
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +0 -7
- package/build/features/business/screens/BusinessType/LicenseNumber.js +0 -46
- package/build/features/business/screens/BusinessType/SelectType.d.ts +0 -8
- package/build/features/business/screens/BusinessType/SelectType.js +0 -106
- package/build/features/business/screens/BusinessType/Switch.d.ts +0 -7
- package/build/features/business/screens/BusinessType/Switch.js +0 -35
- package/build/features/business/screens/BusinessType/index.d.ts +0 -3
- package/build/features/business/screens/BusinessType/index.js +0 -2
- package/build/features/business/screens/BusinessType/validation.d.ts +0 -11
- package/build/features/business/screens/BusinessType/validation.js +0 -32
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +0 -69
- package/build/features/business/screens/Customers/CustomerLocations.js +0 -120
- package/build/features/business/screens/Customers/Customers.d.ts +0 -5
- package/build/features/business/screens/Customers/Customers.js +0 -84
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +0 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +0 -86
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +0 -8
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +0 -109
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +0 -36
- package/build/features/business/screens/Customers/RefundPolicy.js +0 -78
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +0 -3
- package/build/features/business/screens/Customers/TransactionPolicy.js +0 -38
- package/build/features/business/screens/Customers/index.d.ts +0 -3
- package/build/features/business/screens/Customers/index.js +0 -2
- package/build/features/business/screens/Customers/validation.d.ts +0 -20
- package/build/features/business/screens/Customers/validation.js +0 -13
- package/build/features/business/screens/IDBOD/DOB.d.ts +0 -6
- package/build/features/business/screens/IDBOD/DOB.js +0 -45
- package/build/features/business/screens/IDBOD/ID.d.ts +0 -5
- package/build/features/business/screens/IDBOD/ID.js +0 -28
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +0 -5
- package/build/features/business/screens/IDBOD/IDBOD.js +0 -55
- package/build/features/business/screens/IDBOD/index.d.ts +0 -3
- package/build/features/business/screens/IDBOD/index.js +0 -2
- package/build/features/business/screens/IDBOD/validation.d.ts +0 -11
- package/build/features/business/screens/IDBOD/validation.js +0 -9
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -77
- package/build/features/business/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/business/screens/OTP/OTPInput.js +0 -46
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/business/screens/OTP/validation.d.ts +0 -8
- package/build/features/business/screens/OTP/validation.js +0 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
- package/build/features/business/screens/ResetPasswordSuccess/index.d.ts +0 -3
- package/build/features/business/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/business/screens/Success/Success.d.ts +0 -5
- package/build/features/business/screens/Success/Success.js +0 -16
- package/build/features/business/screens/Success/index.d.ts +0 -3
- package/build/features/business/screens/Success/index.js +0 -2
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
- package/build/features/business/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/business/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/business/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/business/screens/Verify/OTPInput.js +0 -47
- package/build/features/business/screens/Verify/Verify.d.ts +0 -5
- package/build/features/business/screens/Verify/Verify.js +0 -78
- package/build/features/business/screens/Verify/index.d.ts +0 -2
- package/build/features/business/screens/Verify/index.js +0 -2
- package/build/features/business/screens/Verify/validation.d.ts +0 -8
- package/build/features/business/screens/Verify/validation.js +0 -4
- package/build/features/connect/Connect.d.ts +0 -7
- package/build/features/connect/Connect.js +0 -49
- package/build/features/connect/index.d.ts +0 -1
- package/build/features/connect/index.js +0 -1
- package/build/features/connect/screens/Individual/Email.d.ts +0 -8
- package/build/features/connect/screens/Individual/Email.js +0 -108
- package/build/features/connect/screens/Individual/Individual.d.ts +0 -5
- package/build/features/connect/screens/Individual/Individual.js +0 -84
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +0 -10
- package/build/features/connect/screens/Individual/MobileNumber.js +0 -152
- package/build/features/connect/screens/Individual/Name.d.ts +0 -6
- package/build/features/connect/screens/Individual/Name.js +0 -48
- package/build/features/connect/screens/Individual/index.d.ts +0 -3
- package/build/features/connect/screens/Individual/index.js +0 -2
- package/build/features/connect/screens/Individual/validation.d.ts +0 -24
- package/build/features/connect/screens/Individual/validation.js +0 -41
- package/build/features/connect/screens/Merchant/BrandList.d.ts +0 -10
- package/build/features/connect/screens/Merchant/BrandList.js +0 -85
- package/build/features/connect/screens/Merchant/BrandName.d.ts +0 -8
- package/build/features/connect/screens/Merchant/BrandName.js +0 -139
- package/build/features/connect/screens/Merchant/Merchant.d.ts +0 -5
- package/build/features/connect/screens/Merchant/Merchant.js +0 -109
- package/build/features/connect/screens/Merchant/SocialMedia.d.ts +0 -9
- package/build/features/connect/screens/Merchant/SocialMedia.js +0 -117
- package/build/features/connect/screens/Merchant/TAC.d.ts +0 -6
- package/build/features/connect/screens/Merchant/TAC.js +0 -80
- package/build/features/connect/screens/Merchant/index.d.ts +0 -3
- package/build/features/connect/screens/Merchant/index.js +0 -2
- package/build/features/connect/screens/Merchant/validation.d.ts +0 -55
- package/build/features/connect/screens/Merchant/validation.js +0 -131
- package/build/features/connect/screens/Mobile/Mobile.d.ts +0 -5
- package/build/features/connect/screens/Mobile/Mobile.js +0 -112
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +0 -12
- package/build/features/connect/screens/Mobile/MobileNumber.js +0 -154
- package/build/features/connect/screens/Mobile/Title.d.ts +0 -8
- package/build/features/connect/screens/Mobile/Title.js +0 -29
- package/build/features/connect/screens/Mobile/index.d.ts +0 -3
- package/build/features/connect/screens/Mobile/index.js +0 -2
- package/build/features/connect/screens/Mobile/validation.d.ts +0 -8
- package/build/features/connect/screens/Mobile/validation.js +0 -28
- package/build/features/connect/screens/NID/DOB.d.ts +0 -6
- package/build/features/connect/screens/NID/DOB.js +0 -47
- package/build/features/connect/screens/NID/IDNumber.d.ts +0 -6
- package/build/features/connect/screens/NID/IDNumber.js +0 -60
- package/build/features/connect/screens/NID/NID.d.ts +0 -5
- package/build/features/connect/screens/NID/NID.js +0 -90
- package/build/features/connect/screens/NID/index.d.ts +0 -3
- package/build/features/connect/screens/NID/index.js +0 -2
- package/build/features/connect/screens/NID/validation.d.ts +0 -11
- package/build/features/connect/screens/NID/validation.js +0 -9
- package/build/features/connect/screens/OTP/OTP.d.ts +0 -5
- package/build/features/connect/screens/OTP/OTP.js +0 -80
- package/build/features/connect/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/connect/screens/OTP/OTPInput.js +0 -53
- package/build/features/connect/screens/OTP/index.d.ts +0 -3
- package/build/features/connect/screens/OTP/index.js +0 -2
- package/build/features/connect/screens/OTP/validation.d.ts +0 -8
- package/build/features/connect/screens/OTP/validation.js +0 -4
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +0 -5
- package/build/features/connect/screens/ThankYou/ThankYou.js +0 -9
- package/build/features/connect/screens/ThankYou/index.d.ts +0 -3
- package/build/features/connect/screens/ThankYou/index.js +0 -2
- package/build/features/featuresScreens.d.ts +0 -8
- package/build/features/featuresScreens.js +0 -193
- package/build/features/individual/Individual.d.ts +0 -7
- package/build/features/individual/Individual.js +0 -63
- package/build/features/individual/index.d.ts +0 -1
- package/build/features/individual/index.js +0 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +0 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +0 -101
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +0 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +0 -92
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +0 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +0 -46
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +0 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +0 -45
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +0 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +0 -89
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +0 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +0 -89
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +0 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +0 -45
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +0 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +0 -89
- package/build/features/individual/screens/AdditionalIndividualInfo/index.d.ts +0 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/index.js +0 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +0 -25
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +0 -24
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
- package/build/features/individual/screens/ResetPasswordSuccess/index.d.ts +0 -3
- package/build/features/individual/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +0 -19
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +0 -52
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +0 -3
- package/build/features/individual/screens/ShowIndividualInfo/index.js +0 -2
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +0 -7
- package/build/features/individual/screens/ShowIndividualInfo/info.js +0 -28
- package/build/features/individual/screens/Success/Success.d.ts +0 -5
- package/build/features/individual/screens/Success/Success.js +0 -16
- package/build/features/individual/screens/Success/index.d.ts +0 -3
- package/build/features/individual/screens/Success/index.js +0 -2
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
- package/build/features/individual/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/individual/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/individual/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/individual/screens/Verify/OTPInput.js +0 -47
- package/build/features/individual/screens/Verify/Verify.d.ts +0 -5
- package/build/features/individual/screens/Verify/Verify.js +0 -78
- package/build/features/individual/screens/Verify/index.d.ts +0 -2
- package/build/features/individual/screens/Verify/index.js +0 -2
- package/build/features/individual/screens/Verify/validation.d.ts +0 -8
- package/build/features/individual/screens/Verify/validation.js +0 -4
- package/build/features/password/Password.d.ts +0 -7
- package/build/features/password/Password.js +0 -70
- package/build/features/password/index.d.ts +0 -1
- package/build/features/password/index.js +0 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +0 -7
- package/build/features/password/screens/CreatePassword/ConditionText.js +0 -23
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +0 -8
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +0 -22
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +0 -5
- package/build/features/password/screens/CreatePassword/CreatePassword.js +0 -60
- package/build/features/password/screens/CreatePassword/Password.d.ts +0 -5
- package/build/features/password/screens/CreatePassword/Password.js +0 -76
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +0 -7
- package/build/features/password/screens/CreatePassword/PasswordBar.js +0 -29
- package/build/features/password/screens/CreatePassword/index.d.ts +0 -3
- package/build/features/password/screens/CreatePassword/index.js +0 -2
- package/build/features/password/screens/CreatePassword/validation.d.ts +0 -11
- package/build/features/password/screens/CreatePassword/validation.js +0 -8
- package/build/features/password/screens/OTP/OTP.d.ts +0 -8
- package/build/features/password/screens/OTP/OTP.js +0 -78
- package/build/features/password/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/password/screens/OTP/OTPInput.js +0 -46
- package/build/features/password/screens/OTP/index.d.ts +0 -3
- package/build/features/password/screens/OTP/index.js +0 -2
- package/build/features/password/screens/OTP/validation.d.ts +0 -8
- package/build/features/password/screens/OTP/validation.js +0 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
- package/build/features/password/screens/ResetPasswordSuccess/index.d.ts +0 -3
- package/build/features/password/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/password/screens/Success/Success.d.ts +0 -5
- package/build/features/password/screens/Success/Success.js +0 -22
- package/build/features/password/screens/Success/index.d.ts +0 -3
- package/build/features/password/screens/Success/index.js +0 -2
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -110
- package/build/features/password/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/password/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/password/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/password/screens/Verify/OTPInput.js +0 -47
- package/build/features/password/screens/Verify/Verify.d.ts +0 -5
- package/build/features/password/screens/Verify/Verify.js +0 -78
- package/build/features/password/screens/Verify/index.d.ts +0 -2
- package/build/features/password/screens/Verify/index.js +0 -2
- package/build/features/password/screens/Verify/validation.d.ts +0 -8
- package/build/features/password/screens/Verify/validation.js +0 -4
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +0 -7
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +0 -65
- package/build/features/shared/AcceptancePayouts/index.d.ts +0 -2
- package/build/features/shared/AcceptancePayouts/index.js +0 -2
- package/build/features/shared/Background/Background.d.ts +0 -10
- package/build/features/shared/Background/Background.js +0 -30
- package/build/features/shared/Background/LogoBackground.d.ts +0 -3
- package/build/features/shared/Background/LogoBackground.js +0 -42
- package/build/features/shared/Background/index.d.ts +0 -2
- package/build/features/shared/Background/index.js +0 -2
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +0 -3
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.js +0 -31
- package/build/features/shared/BouncingDotsLoader/index.d.ts +0 -2
- package/build/features/shared/BouncingDotsLoader/index.js +0 -2
- package/build/features/shared/Button/AbsherButton.d.ts +0 -8
- package/build/features/shared/Button/AbsherButton.js +0 -46
- package/build/features/shared/Button/Button.d.ts +0 -12
- package/build/features/shared/Button/Button.js +0 -101
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +0 -13
- package/build/features/shared/Button/EmailProvidersButtons.js +0 -62
- package/build/features/shared/Button/FlowsButtons.d.ts +0 -24
- package/build/features/shared/Button/FlowsButtons.js +0 -194
- package/build/features/shared/Button/MobileButton.d.ts +0 -8
- package/build/features/shared/Button/MobileButton.js +0 -44
- package/build/features/shared/Button/SuccessButton.d.ts +0 -9
- package/build/features/shared/Button/SuccessButton.js +0 -86
- package/build/features/shared/Button/index.d.ts +0 -8
- package/build/features/shared/Button/index.js +0 -8
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +0 -2
- package/build/features/shared/CheckIcon/CheckIcon.js +0 -14
- package/build/features/shared/CheckIcon/index.d.ts +0 -2
- package/build/features/shared/CheckIcon/index.js +0 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +0 -6
- package/build/features/shared/ClearIcon/ClearIcon.js +0 -26
- package/build/features/shared/ClearIcon/index.d.ts +0 -2
- package/build/features/shared/ClearIcon/index.js +0 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +0 -4
- package/build/features/shared/Containers/FeatureContainer.js +0 -36
- package/build/features/shared/Containers/ScreenContainer.d.ts +0 -4
- package/build/features/shared/Containers/ScreenContainer.js +0 -29
- package/build/features/shared/Containers/index.d.ts +0 -3
- package/build/features/shared/Containers/index.js +0 -3
- package/build/features/shared/Footer/Footer.d.ts +0 -2
- package/build/features/shared/Footer/Footer.js +0 -20
- package/build/features/shared/Footer/index.d.ts +0 -2
- package/build/features/shared/Footer/index.js +0 -2
- package/build/features/shared/Input/Input.d.ts +0 -26
- package/build/features/shared/Input/Input.js +0 -56
- package/build/features/shared/Input/index.d.ts +0 -2
- package/build/features/shared/Input/index.js +0 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +0 -2
- package/build/features/shared/Mandatory/Mandatory.js +0 -20
- package/build/features/shared/Mandatory/index.d.ts +0 -2
- package/build/features/shared/Mandatory/index.js +0 -2
- package/build/features/shared/OTP/OTP.d.ts +0 -10
- package/build/features/shared/OTP/OTP.js +0 -93
- package/build/features/shared/OTP/index.d.ts +0 -2
- package/build/features/shared/OTP/index.js +0 -2
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +0 -8
- package/build/features/shared/PasswordIcon/PasswordIcon.js +0 -37
- package/build/features/shared/PasswordIcon/index.d.ts +0 -2
- package/build/features/shared/PasswordIcon/index.js +0 -2
- package/build/features/shared/Search/Search.d.ts +0 -7
- package/build/features/shared/Search/Search.js +0 -13
- package/build/features/shared/Search/index.d.ts +0 -2
- package/build/features/shared/Search/index.js +0 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +0 -6
- package/build/features/shared/SearchIcon/SearchIcon.js +0 -26
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +0 -12
- package/build/features/shared/SuccessScreen/SuccessScreen.js +0 -61
- package/build/features/shared/SuccessScreen/index.d.ts +0 -2
- package/build/features/shared/SuccessScreen/index.js +0 -2
- package/build/features/shared/UploadFile/UploadFile.d.ts +0 -21
- package/build/features/shared/UploadFile/UploadFile.js +0 -76
- package/build/features/shared/UploadFile/index.d.ts +0 -2
- package/build/features/shared/UploadFile/index.js +0 -2
- package/build/features/signIn/SignIn.d.ts +0 -7
- package/build/features/signIn/SignIn.js +0 -49
- package/build/features/signIn/index.d.ts +0 -1
- package/build/features/signIn/index.js +0 -1
- package/build/features/signIn/screens/Email/Email.d.ts +0 -5
- package/build/features/signIn/screens/Email/Email.js +0 -95
- package/build/features/signIn/screens/Email/EmailField.d.ts +0 -5
- package/build/features/signIn/screens/Email/EmailField.js +0 -55
- package/build/features/signIn/screens/Email/index.d.ts +0 -3
- package/build/features/signIn/screens/Email/index.js +0 -2
- package/build/features/signIn/screens/Email/validation.d.ts +0 -8
- package/build/features/signIn/screens/Email/validation.js +0 -5
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +0 -5
- package/build/features/signIn/screens/Mobile/Mobile.js +0 -106
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +0 -11
- package/build/features/signIn/screens/Mobile/MobileNumber.js +0 -151
- package/build/features/signIn/screens/Mobile/index.d.ts +0 -3
- package/build/features/signIn/screens/Mobile/index.js +0 -2
- package/build/features/signIn/screens/Mobile/validation.d.ts +0 -8
- package/build/features/signIn/screens/Mobile/validation.js +0 -28
- package/build/features/signIn/screens/OTP/OTP.d.ts +0 -5
- package/build/features/signIn/screens/OTP/OTP.js +0 -80
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/signIn/screens/OTP/OTPInput.js +0 -53
- package/build/features/signIn/screens/OTP/index.d.ts +0 -3
- package/build/features/signIn/screens/OTP/index.js +0 -2
- package/build/features/signIn/screens/OTP/validation.d.ts +0 -8
- package/build/features/signIn/screens/OTP/validation.js +0 -4
- package/build/features/signIn/screens/Password/Password.d.ts +0 -5
- package/build/features/signIn/screens/Password/Password.js +0 -54
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +0 -5
- package/build/features/signIn/screens/Password/PasswordInput.js +0 -28
- package/build/features/signIn/screens/Password/index.d.ts +0 -3
- package/build/features/signIn/screens/Password/index.js +0 -2
- package/build/features/signIn/screens/Password/validation.d.ts +0 -8
- package/build/features/signIn/screens/Password/validation.js +0 -4
- package/build/features/tax/Tax.d.ts +0 -7
- package/build/features/tax/Tax.js +0 -63
- package/build/features/tax/index.d.ts +0 -1
- package/build/features/tax/index.js +0 -1
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
- package/build/features/tax/screens/ResetPasswordSuccess/index.d.ts +0 -3
- package/build/features/tax/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/tax/screens/Success/Success.d.ts +0 -5
- package/build/features/tax/screens/Success/Success.js +0 -16
- package/build/features/tax/screens/Success/index.d.ts +0 -3
- package/build/features/tax/screens/Success/index.js +0 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
- package/build/features/tax/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +0 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +0 -66
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +0 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +0 -50
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +0 -3
- package/build/features/tax/screens/TaxDetails/VATId.js +0 -37
- package/build/features/tax/screens/TaxDetails/index.d.ts +0 -3
- package/build/features/tax/screens/TaxDetails/index.js +0 -2
- package/build/features/tax/screens/TaxDetails/validation.d.ts +0 -11
- package/build/features/tax/screens/TaxDetails/validation.js +0 -5
- package/build/features/tax/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/tax/screens/Verify/OTPInput.js +0 -47
- package/build/features/tax/screens/Verify/Verify.d.ts +0 -5
- package/build/features/tax/screens/Verify/Verify.js +0 -78
- package/build/features/tax/screens/Verify/index.d.ts +0 -2
- package/build/features/tax/screens/Verify/index.js +0 -2
- package/build/features/tax/screens/Verify/validation.d.ts +0 -8
- package/build/features/tax/screens/Verify/validation.js +0 -4
- package/build/hooks/index.d.ts +0 -12
- package/build/hooks/index.js +0 -12
- package/build/hooks/useAppConfig.d.ts +0 -6
- package/build/hooks/useAppConfig.js +0 -59
- package/build/hooks/useAppDispatch.d.ts +0 -10
- package/build/hooks/useAppDispatch.js +0 -2
- package/build/hooks/useAppSelector.d.ts +0 -3
- package/build/hooks/useAppSelector.js +0 -2
- package/build/hooks/useAppTheme.d.ts +0 -4
- package/build/hooks/useAppTheme.js +0 -15
- package/build/hooks/useContainerDimensions.d.ts +0 -4
- package/build/hooks/useContainerDimensions.js +0 -21
- package/build/hooks/useErrorListener.d.ts +0 -1
- package/build/hooks/useErrorListener.js +0 -17
- package/build/hooks/useEventListener.d.ts +0 -5
- package/build/hooks/useEventListener.js +0 -20
- package/build/hooks/useLanguage.d.ts +0 -4
- package/build/hooks/useLanguage.js +0 -8
- package/build/hooks/useRedirectionListener.d.ts +0 -4
- package/build/hooks/useRedirectionListener.js +0 -12
- package/build/hooks/useStepStartedListener.d.ts +0 -1
- package/build/hooks/useStepStartedListener.js +0 -10
- package/build/hooks/useThemeMode.d.ts +0 -4
- package/build/hooks/useThemeMode.js +0 -7
- package/build/hooks/useWindowSize.d.ts +0 -6
- package/build/hooks/useWindowSize.js +0 -19
- package/build/i18n.d.ts +0 -2
- package/build/i18n.js +0 -34
- package/build/index.css +0 -140
- package/build/index.d.ts +0 -11
- package/build/index.js +0 -27
- package/build/theme/components.d.ts +0 -2
- package/build/theme/components.js +0 -19
- package/build/theme/index.d.ts +0 -1
- package/build/theme/index.js +0 -1
- package/build/theme/palette.d.ts +0 -3
- package/build/theme/palette.js +0 -68
- package/build/theme/shadows.d.ts +0 -2
- package/build/theme/shadows.js +0 -27
- package/build/theme/theme.d.ts +0 -2
- package/build/theme/theme.js +0 -43
- package/build/theme/typography.d.ts +0 -2
- package/build/theme/typography.js +0 -31
- package/build/utils/array.d.ts +0 -13
- package/build/utils/array.js +0 -65
- package/build/utils/device.d.ts +0 -4
- package/build/utils/device.js +0 -13
- package/build/utils/html.d.ts +0 -4
- package/build/utils/html.js +0 -26
- package/build/utils/index.d.ts +0 -9
- package/build/utils/index.js +0 -9
- package/build/utils/locale.d.ts +0 -2
- package/build/utils/locale.js +0 -22
- package/build/utils/object.d.ts +0 -4
- package/build/utils/object.js +0 -23
- package/build/utils/rsa.d.ts +0 -2
- package/build/utils/rsa.js +0 -19
- package/build/utils/storage.d.ts +0 -5
- package/build/utils/storage.js +0 -21
- package/build/utils/string.d.ts +0 -43
- package/build/utils/string.js +0 -169
- package/build/utils/style.d.ts +0 -1
- package/build/utils/style.js +0 -1
- package/build/utils/validation.d.ts +0 -15
- package/build/utils/validation.js +0 -45
package/build/api/auth.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { LanguageMode } from '../@types';
|
|
3
|
-
export declare type MobileCredential = {
|
|
4
|
-
code: string;
|
|
5
|
-
phone: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type EmailCredential = {
|
|
8
|
-
email: string;
|
|
9
|
-
};
|
|
10
|
-
export declare type IDCredential = {
|
|
11
|
-
country_code: string;
|
|
12
|
-
identification_id: string;
|
|
13
|
-
identification_id_type: string;
|
|
14
|
-
date_of_birth: string;
|
|
15
|
-
};
|
|
16
|
-
export declare type CreateAuthBody = {
|
|
17
|
-
user_credentail: MobileCredential | EmailCredential | IDCredential;
|
|
18
|
-
auth_type?: number;
|
|
19
|
-
email_url?: string;
|
|
20
|
-
sign_in?: boolean;
|
|
21
|
-
step_name?: string;
|
|
22
|
-
encryption_contract: Array<string>;
|
|
23
|
-
lang?: LanguageMode;
|
|
24
|
-
};
|
|
25
|
-
export declare type VerifyAuthBody = {
|
|
26
|
-
auth_token: string;
|
|
27
|
-
auth_type: number;
|
|
28
|
-
data: string;
|
|
29
|
-
device_token: string;
|
|
30
|
-
step_name: string;
|
|
31
|
-
service_name: string;
|
|
32
|
-
new_user: boolean;
|
|
33
|
-
sign_in: boolean;
|
|
34
|
-
encryption_contract: Array<string>;
|
|
35
|
-
remember_me?: boolean;
|
|
36
|
-
scopes?: Array<string>;
|
|
37
|
-
};
|
|
38
|
-
export declare type VerifyOperationAuthBody = {
|
|
39
|
-
auth_token: string;
|
|
40
|
-
auth_type: number;
|
|
41
|
-
};
|
|
42
|
-
export declare type ResetPasswordCredential = {
|
|
43
|
-
otp: string;
|
|
44
|
-
new_password: string;
|
|
45
|
-
};
|
|
46
|
-
export declare type ResetPasswordVerifyAuthBody = {
|
|
47
|
-
auth_token: string;
|
|
48
|
-
auth_type: number;
|
|
49
|
-
step_name: string;
|
|
50
|
-
user_credentail: ResetPasswordCredential;
|
|
51
|
-
encryption_contract: Array<string>;
|
|
52
|
-
};
|
|
53
|
-
export declare type CreatePasswordBody = {
|
|
54
|
-
password: string;
|
|
55
|
-
signup_token?: string;
|
|
56
|
-
step_name: string;
|
|
57
|
-
encryption_contract: Array<string>;
|
|
58
|
-
};
|
|
59
|
-
declare const authService: {
|
|
60
|
-
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
|
-
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
63
|
-
};
|
|
64
|
-
export { authService };
|
package/build/api/auth.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import instance, { httpClient } from './axios';
|
|
2
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var createAuth = function (data, config) {
|
|
4
|
-
return instance.post("".concat(ENDPOINT_PATHS.AUTH), data, config);
|
|
5
|
-
};
|
|
6
|
-
var verifyAuth = function (data, config) {
|
|
7
|
-
return instance.put("".concat(ENDPOINT_PATHS.AUTH), data, config);
|
|
8
|
-
};
|
|
9
|
-
var createPassword = function (data) {
|
|
10
|
-
return httpClient({
|
|
11
|
-
method: 'post',
|
|
12
|
-
url: "".concat(ENDPOINT_PATHS.SIGNUP),
|
|
13
|
-
data: data
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
var authService = {
|
|
17
|
-
createAuth: createAuth,
|
|
18
|
-
verifyAuth: verifyAuth,
|
|
19
|
-
createPassword: createPassword
|
|
20
|
-
};
|
|
21
|
-
export { authService };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export declare type CheckEmailBody = {
|
|
3
|
-
email: string | null;
|
|
4
|
-
encryption_contract: Array<string>;
|
|
5
|
-
};
|
|
6
|
-
export declare type CheckBrandBody = {
|
|
7
|
-
profile_name: string;
|
|
8
|
-
country_code: string;
|
|
9
|
-
encryption_contract: Array<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type CheckIBanBody = {
|
|
12
|
-
iban_number: string;
|
|
13
|
-
encryption_contract?: Array<string>;
|
|
14
|
-
};
|
|
15
|
-
declare const availabilityServices: {
|
|
16
|
-
checkEmail: (data: CheckEmailBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
checkBrand: (data: CheckBrandBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
checkIbanBank: (data: CheckIBanBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
};
|
|
20
|
-
export default availabilityServices;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import instance from './axios';
|
|
2
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var checkEmail = function (data, config) {
|
|
4
|
-
return instance.post("".concat(ENDPOINT_PATHS.CHECK_EMAIL), data, config);
|
|
5
|
-
};
|
|
6
|
-
var checkBrand = function (data, config) {
|
|
7
|
-
return instance.post("".concat(ENDPOINT_PATHS.CHECK_BRAND), data, config);
|
|
8
|
-
};
|
|
9
|
-
var checkIbanBank = function (data, config) {
|
|
10
|
-
return instance.post("".concat(ENDPOINT_PATHS.IBAN_BANK), data, config);
|
|
11
|
-
};
|
|
12
|
-
var availabilityServices = {
|
|
13
|
-
checkEmail: checkEmail,
|
|
14
|
-
checkBrand: checkBrand,
|
|
15
|
-
checkIbanBank: checkIbanBank
|
|
16
|
-
};
|
|
17
|
-
export default availabilityServices;
|
package/build/api/axios.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
declare const instance: import("axios").AxiosInstance;
|
|
3
|
-
export declare const setAxiosGlobalHeaders: (headers: Record<string, string>) => void;
|
|
4
|
-
export declare const removeAxiosGlobalHeaders: (arr: Array<string>) => void;
|
|
5
|
-
export declare const getAxiosHeaders: () => import("axios").AxiosRequestHeaders;
|
|
6
|
-
export declare const httpClient: (config: AxiosRequestConfig) => Promise<any>;
|
|
7
|
-
export default instance;
|
package/build/api/axios.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
-
function step(op) {
|
|
15
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
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
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
-
switch (op[0]) {
|
|
20
|
-
case 0: case 1: t = op; break;
|
|
21
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
-
default:
|
|
25
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
-
if (t[2]) _.ops.pop();
|
|
30
|
-
_.trys.pop(); continue;
|
|
31
|
-
}
|
|
32
|
-
op = body.call(thisArg, _);
|
|
33
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
import axios from 'axios';
|
|
38
|
-
import { get, set } from 'lodash-es';
|
|
39
|
-
import { ENCRYPTION_FLAG } from '../constants';
|
|
40
|
-
import { encryptString } from '../utils';
|
|
41
|
-
var instance = axios.create({
|
|
42
|
-
headers: {
|
|
43
|
-
'Content-Type': 'application/json',
|
|
44
|
-
'Access-Control-Allow-Headers': true
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
instance.interceptors.request.use(function (config) {
|
|
48
|
-
return encryptionContractTransformer(config);
|
|
49
|
-
}, function (error) { return Promise.reject(error); });
|
|
50
|
-
instance.interceptors.response.use(function (response) { return response; }, function (error) {
|
|
51
|
-
return Promise.reject(error);
|
|
52
|
-
});
|
|
53
|
-
var encryptionContractTransformer = function (config) {
|
|
54
|
-
var _a;
|
|
55
|
-
var data = config.data;
|
|
56
|
-
if ((_a = data === null || data === void 0 ? void 0 : data[ENCRYPTION_FLAG]) === null || _a === void 0 ? void 0 : _a.length) {
|
|
57
|
-
data[ENCRYPTION_FLAG].forEach(function (key) {
|
|
58
|
-
var value = get(data, key);
|
|
59
|
-
if (value && typeof value !== 'string') {
|
|
60
|
-
value = value.toString();
|
|
61
|
-
}
|
|
62
|
-
if (value)
|
|
63
|
-
set(data, key, encryptString(value));
|
|
64
|
-
});
|
|
65
|
-
config.data = data;
|
|
66
|
-
}
|
|
67
|
-
return config;
|
|
68
|
-
};
|
|
69
|
-
export var setAxiosGlobalHeaders = function (headers) {
|
|
70
|
-
Object.keys(headers).forEach(function (key) {
|
|
71
|
-
instance.defaults.headers.common[key] = headers[key];
|
|
72
|
-
axios.defaults.headers.common[key] = headers[key];
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
export var removeAxiosGlobalHeaders = function (arr) {
|
|
76
|
-
arr.forEach(function (key) {
|
|
77
|
-
delete instance.defaults.headers.common[key];
|
|
78
|
-
delete axios.defaults.headers.common[key];
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
export var getAxiosHeaders = function () {
|
|
82
|
-
return instance.defaults.headers.common;
|
|
83
|
-
};
|
|
84
|
-
export var httpClient = function (config) { return __awaiter(void 0, void 0, void 0, function () {
|
|
85
|
-
var data, _a, description, error, err_1, response, message, data, _b, description, error;
|
|
86
|
-
return __generator(this, function (_c) {
|
|
87
|
-
switch (_c.label) {
|
|
88
|
-
case 0:
|
|
89
|
-
_c.trys.push([0, 2, , 3]);
|
|
90
|
-
return [4, instance(config)];
|
|
91
|
-
case 1:
|
|
92
|
-
data = (_c.sent()).data;
|
|
93
|
-
_a = (data.errors || [{}])[0], description = _a.description, error = _a.error;
|
|
94
|
-
if (description || error) {
|
|
95
|
-
throw new Error(description, error);
|
|
96
|
-
}
|
|
97
|
-
return [2, data];
|
|
98
|
-
case 2:
|
|
99
|
-
err_1 = _c.sent();
|
|
100
|
-
response = err_1.response, message = err_1.message;
|
|
101
|
-
data = (response || {}).data;
|
|
102
|
-
if (typeof data === 'string')
|
|
103
|
-
throw new Error(data);
|
|
104
|
-
_b = ((data === null || data === void 0 ? void 0 : data.errors) || [{}])[0], description = _b.description, error = _b.error;
|
|
105
|
-
throw new Error(description || error || message || 'Internal server error');
|
|
106
|
-
case 3: return [2];
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}); };
|
|
110
|
-
export default instance;
|
package/build/api/board.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare type UpdateBoardBody = {
|
|
2
|
-
id?: string;
|
|
3
|
-
infoId?: string;
|
|
4
|
-
step_name: string;
|
|
5
|
-
lang: string;
|
|
6
|
-
encryption_contract?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type RetrieveBoardInfoBody = {
|
|
9
|
-
id: string;
|
|
10
|
-
infoId: string;
|
|
11
|
-
};
|
|
12
|
-
export declare type UpdateBoardInfoBody = {
|
|
13
|
-
id: string;
|
|
14
|
-
infoId: string;
|
|
15
|
-
step_name: string;
|
|
16
|
-
lang: string;
|
|
17
|
-
encryption_contract?: string;
|
|
18
|
-
};
|
|
19
|
-
declare const boardService: {
|
|
20
|
-
retrieveBoard: (id: string) => Promise<any>;
|
|
21
|
-
updateBoard: ({ id, ...data }: UpdateBoardBody) => Promise<any>;
|
|
22
|
-
retrieveBoardInfo: ({ id, infoId }: RetrieveBoardInfoBody) => Promise<any>;
|
|
23
|
-
updateBoardInfo: ({ id, infoId, ...data }: UpdateBoardInfoBody) => Promise<any>;
|
|
24
|
-
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
25
|
-
};
|
|
26
|
-
export { boardService };
|
package/build/api/board.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
13
|
-
import { httpClient } from './axios';
|
|
14
|
-
var retrieveBoardInfo = function (_a) {
|
|
15
|
-
var id = _a.id, infoId = _a.infoId;
|
|
16
|
-
return httpClient({
|
|
17
|
-
method: 'get',
|
|
18
|
-
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect/").concat(infoId)
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
var retrieveBoard = function (id) {
|
|
22
|
-
return httpClient({
|
|
23
|
-
method: 'get',
|
|
24
|
-
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id)
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
var retrieveBoardDetails = function (id) {
|
|
28
|
-
return httpClient({
|
|
29
|
-
method: 'get',
|
|
30
|
-
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/details")
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
var updateBoard = function (_a) {
|
|
34
|
-
var id = _a.id, data = __rest(_a, ["id"]);
|
|
35
|
-
return httpClient({
|
|
36
|
-
method: 'put',
|
|
37
|
-
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id),
|
|
38
|
-
data: data
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
var updateBoardInfo = function (_a) {
|
|
42
|
-
var id = _a.id, infoId = _a.infoId, data = __rest(_a, ["id", "infoId"]);
|
|
43
|
-
return httpClient({
|
|
44
|
-
method: 'put',
|
|
45
|
-
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect/").concat(infoId),
|
|
46
|
-
data: data
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
var boardService = {
|
|
50
|
-
retrieveBoard: retrieveBoard,
|
|
51
|
-
updateBoard: updateBoard,
|
|
52
|
-
retrieveBoardInfo: retrieveBoardInfo,
|
|
53
|
-
updateBoardInfo: updateBoardInfo,
|
|
54
|
-
retrieveBoardDetails: retrieveBoardDetails
|
|
55
|
-
};
|
|
56
|
-
export { boardService };
|
package/build/api/brand.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BrandListBody, UpdateBrandBody } from '../api/individual';
|
|
2
|
-
declare const brandService: {
|
|
3
|
-
retrieveBrand: (id: string) => Promise<any>;
|
|
4
|
-
getBrandList: (data: BrandListBody) => Promise<any>;
|
|
5
|
-
updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
|
|
6
|
-
};
|
|
7
|
-
export { brandService };
|
package/build/api/brand.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { httpClient } from './axios';
|
|
13
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
14
|
-
var retrieveBrand = function (id) {
|
|
15
|
-
return httpClient({
|
|
16
|
-
method: 'get',
|
|
17
|
-
url: "".concat(ENDPOINT_PATHS.BRAND, "/").concat(id)
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
var getBrandList = function (data) {
|
|
21
|
-
return httpClient({
|
|
22
|
-
method: 'post',
|
|
23
|
-
url: "".concat(ENDPOINT_PATHS.BRAND_LIST),
|
|
24
|
-
data: data
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
var updateBrandInfo = function (_a) {
|
|
28
|
-
var id = _a.id, data = __rest(_a, ["id"]);
|
|
29
|
-
return httpClient({
|
|
30
|
-
method: 'put',
|
|
31
|
-
url: "".concat(ENDPOINT_PATHS.BRAND, "/").concat(id),
|
|
32
|
-
data: data
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
var brandService = {
|
|
36
|
-
retrieveBrand: retrieveBrand,
|
|
37
|
-
getBrandList: getBrandList,
|
|
38
|
-
updateBrandInfo: updateBrandInfo
|
|
39
|
-
};
|
|
40
|
-
export { brandService };
|
package/build/api/country.d.ts
DELETED
package/build/api/country.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { httpClient } from './axios';
|
|
2
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var getCountries = function () {
|
|
4
|
-
return httpClient({
|
|
5
|
-
method: 'post',
|
|
6
|
-
url: ENDPOINT_PATHS.COUNTRIES
|
|
7
|
-
});
|
|
8
|
-
};
|
|
9
|
-
var countryService = {
|
|
10
|
-
getCountries: getCountries
|
|
11
|
-
};
|
|
12
|
-
export { countryService };
|
package/build/api/data.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const dataService: {
|
|
2
|
-
getChannelsOfServices: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
getCustomerBases: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
getExpectedSales: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
getExpectedCustomerSales: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
getSourceOfIncome: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
getMonthlyIncome: (countryCode: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
getOccupation: () => Promise<any>;
|
|
9
|
-
};
|
|
10
|
-
export { dataService };
|
package/build/api/data.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import instance, { httpClient } from './axios';
|
|
2
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
3
|
-
var getChannelsOfServices = function () {
|
|
4
|
-
return instance.get("".concat(ENDPOINT_PATHS.CHANNEL));
|
|
5
|
-
};
|
|
6
|
-
var getCustomerBases = function () {
|
|
7
|
-
return instance.get("".concat(ENDPOINT_PATHS.CUSTOMER_BASES));
|
|
8
|
-
};
|
|
9
|
-
var getExpectedSales = function () {
|
|
10
|
-
return instance.get("".concat(ENDPOINT_PATHS.SALES));
|
|
11
|
-
};
|
|
12
|
-
var getExpectedCustomerSales = function () {
|
|
13
|
-
return instance.get("".concat(ENDPOINT_PATHS.EXPECTED_CUSTOMERS));
|
|
14
|
-
};
|
|
15
|
-
var getSourceOfIncome = function () {
|
|
16
|
-
return instance.get("".concat(ENDPOINT_PATHS.SOURCE_INCOME));
|
|
17
|
-
};
|
|
18
|
-
var getMonthlyIncome = function (countryCode) {
|
|
19
|
-
return instance.get("".concat(ENDPOINT_PATHS.MONTHLY_INCOME, "/").concat(countryCode));
|
|
20
|
-
};
|
|
21
|
-
var getOccupation = function () {
|
|
22
|
-
return httpClient({
|
|
23
|
-
method: 'get',
|
|
24
|
-
url: "".concat(ENDPOINT_PATHS.OCCUPATION)
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
var dataService = {
|
|
28
|
-
getChannelsOfServices: getChannelsOfServices,
|
|
29
|
-
getCustomerBases: getCustomerBases,
|
|
30
|
-
getExpectedSales: getExpectedSales,
|
|
31
|
-
getExpectedCustomerSales: getExpectedCustomerSales,
|
|
32
|
-
getSourceOfIncome: getSourceOfIncome,
|
|
33
|
-
getMonthlyIncome: getMonthlyIncome,
|
|
34
|
-
getOccupation: getOccupation
|
|
35
|
-
};
|
|
36
|
-
export { dataService };
|
package/build/api/entity.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export declare type EntityInfoBody = {
|
|
3
|
-
id: string;
|
|
4
|
-
lead_id?: string;
|
|
5
|
-
activities?: Array<string>;
|
|
6
|
-
business_operation_start_at?: string;
|
|
7
|
-
channel_services?: Array<string>;
|
|
8
|
-
physical_store_available?: boolean;
|
|
9
|
-
monthly_sales_range?: string;
|
|
10
|
-
customers_served_monthly?: number;
|
|
11
|
-
customers_base?: Array<string>;
|
|
12
|
-
vat_id?: string;
|
|
13
|
-
agree_chargeback?: boolean;
|
|
14
|
-
agree_refund?: boolean;
|
|
15
|
-
employer_name?: string;
|
|
16
|
-
employer_country?: string | null;
|
|
17
|
-
source_income?: Array<string | undefined>;
|
|
18
|
-
actual_income?: string;
|
|
19
|
-
is_relative_PEP?: boolean | null;
|
|
20
|
-
is_influencer?: boolean | null;
|
|
21
|
-
is_vat_acknowledged?: boolean;
|
|
22
|
-
occupation?: string;
|
|
23
|
-
step_name: string;
|
|
24
|
-
encryption_contract?: Array<string>;
|
|
25
|
-
};
|
|
26
|
-
export declare type EntityBankUpdateBody = {
|
|
27
|
-
wallet_id: string;
|
|
28
|
-
bank_account: {
|
|
29
|
-
bank_name: string;
|
|
30
|
-
beneficiary_name: string;
|
|
31
|
-
bank_statement_file_id?: string;
|
|
32
|
-
iban: string;
|
|
33
|
-
swift_code?: string;
|
|
34
|
-
account_number?: string;
|
|
35
|
-
is_acknowledged: boolean;
|
|
36
|
-
};
|
|
37
|
-
step_name: string;
|
|
38
|
-
encryption_contract?: Array<string>;
|
|
39
|
-
};
|
|
40
|
-
export declare type UploadFileBody = {
|
|
41
|
-
file_link_create: boolean;
|
|
42
|
-
file?: File;
|
|
43
|
-
title: string | undefined;
|
|
44
|
-
purpose: string;
|
|
45
|
-
};
|
|
46
|
-
declare const entityService: {
|
|
47
|
-
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
48
|
-
updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
49
|
-
createBankAccount: (data: EntityBankUpdateBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
50
|
-
retrieveBankAccount: (id: string) => Promise<any>;
|
|
51
|
-
retrieveEntityInfo: (entity_id: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
-
updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
|
|
53
|
-
uploadFileInfo: (data: UploadFileBody) => Promise<any>;
|
|
54
|
-
};
|
|
55
|
-
export { entityService };
|
package/build/api/entity.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
13
|
-
import instance, { httpClient } from './axios';
|
|
14
|
-
var retrieveEntityInfo = function (entity_id, config) {
|
|
15
|
-
return instance.get("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(entity_id), config);
|
|
16
|
-
};
|
|
17
|
-
var createEntityInfo = function (_a, config) {
|
|
18
|
-
var id = _a.id, data = __rest(_a, ["id"]);
|
|
19
|
-
return instance.post("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id, "/info"), data, config);
|
|
20
|
-
};
|
|
21
|
-
var updateEntityInfo = function (_a, config) {
|
|
22
|
-
var id = _a.id, data = __rest(_a, ["id"]);
|
|
23
|
-
return instance.put("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id), data, config);
|
|
24
|
-
};
|
|
25
|
-
var createBankAccount = function (data, config) {
|
|
26
|
-
return instance.put("".concat(ENDPOINT_PATHS.BANK), data, config);
|
|
27
|
-
};
|
|
28
|
-
var retrieveBankAccount = function (id) {
|
|
29
|
-
return httpClient({
|
|
30
|
-
method: 'get',
|
|
31
|
-
url: "".concat(ENDPOINT_PATHS.BANK, "/").concat(id)
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var uploadFileInfo = function (data) {
|
|
35
|
-
return httpClient({
|
|
36
|
-
method: 'post',
|
|
37
|
-
url: "".concat(ENDPOINT_PATHS.FILES_PATH),
|
|
38
|
-
data: data,
|
|
39
|
-
headers: { 'Content-Type': 'multipart/form-data' }
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
var updateIndividualInfo = function (_a) {
|
|
43
|
-
var id = _a.id, data = __rest(_a, ["id"]);
|
|
44
|
-
return httpClient({
|
|
45
|
-
method: 'put',
|
|
46
|
-
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(id, "/info"),
|
|
47
|
-
data: data
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
var entityService = {
|
|
51
|
-
createEntityInfo: createEntityInfo,
|
|
52
|
-
updateEntityInfo: updateEntityInfo,
|
|
53
|
-
createBankAccount: createBankAccount,
|
|
54
|
-
retrieveBankAccount: retrieveBankAccount,
|
|
55
|
-
retrieveEntityInfo: retrieveEntityInfo,
|
|
56
|
-
updateIndividualInfo: updateIndividualInfo,
|
|
57
|
-
uploadFileInfo: uploadFileInfo
|
|
58
|
-
};
|
|
59
|
-
export { entityService };
|
package/build/api/firebase.d.ts
DELETED
package/build/api/firebase.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ENDPOINT_PATHS } from '../constants';
|
|
2
|
-
import { httpClient } from './axios';
|
|
3
|
-
var getLocale = function () {
|
|
4
|
-
return httpClient({
|
|
5
|
-
method: 'get',
|
|
6
|
-
url: ENDPOINT_PATHS.FIREBASE_URL
|
|
7
|
-
});
|
|
8
|
-
};
|
|
9
|
-
var firebaseService = {
|
|
10
|
-
getLocale: getLocale
|
|
11
|
-
};
|
|
12
|
-
export { firebaseService };
|
package/build/api/index.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
|
|
2
|
-
import { ValidateOperatorBody } from './operator';
|
|
3
|
-
import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody } from './auth';
|
|
4
|
-
import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
|
|
5
|
-
import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
|
|
6
|
-
import { EntityInfoBody, EntityBankUpdateBody } from './entity';
|
|
7
|
-
import { CreateAccountBody } from './account';
|
|
8
|
-
import { BrandListBody, UpdateBrandBody } from './individual';
|
|
9
|
-
import { UpdateBoardBody } from './board';
|
|
10
|
-
declare const API: {
|
|
11
|
-
ipService: {
|
|
12
|
-
getIP: () => Promise<any>;
|
|
13
|
-
};
|
|
14
|
-
operatorService: {
|
|
15
|
-
validateOperator: (body: ValidateOperatorBody) => Promise<any>;
|
|
16
|
-
};
|
|
17
|
-
countryService: {
|
|
18
|
-
getCountries: () => Promise<any>;
|
|
19
|
-
};
|
|
20
|
-
authService: {
|
|
21
|
-
createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
-
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
24
|
-
};
|
|
25
|
-
leadService: {
|
|
26
|
-
createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
27
|
-
updateLead: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
|
28
|
-
retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
verifyLeadToken: (data: LeadVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
verifyLeadOTP: (data: LeadOTPVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
-
retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
-
};
|
|
33
|
-
entityService: {
|
|
34
|
-
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
-
updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
-
createBankAccount: (data: EntityBankUpdateBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
retrieveBankAccount: (id: string) => Promise<any>;
|
|
38
|
-
retrieveEntityInfo: (entity_id: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
39
|
-
updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
|
|
40
|
-
uploadFileInfo: (data: import("./entity").UploadFileBody) => Promise<any>;
|
|
41
|
-
};
|
|
42
|
-
availabilityServices: {
|
|
43
|
-
checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
checkBrand: (data: CheckBrandBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
checkIbanBank: (data: import("./availabilityServices").CheckIBanBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
-
};
|
|
47
|
-
firebaseService: {
|
|
48
|
-
getLocale: () => Promise<any>;
|
|
49
|
-
};
|
|
50
|
-
accountService: {
|
|
51
|
-
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
52
|
-
};
|
|
53
|
-
dataService: {
|
|
54
|
-
getChannelsOfServices: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
55
|
-
getCustomerBases: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
56
|
-
getExpectedSales: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
57
|
-
getExpectedCustomerSales: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
getSourceOfIncome: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
59
|
-
getMonthlyIncome: (countryCode: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
60
|
-
getOccupation: () => Promise<any>;
|
|
61
|
-
};
|
|
62
|
-
individualService: {
|
|
63
|
-
retrieveIndividualInfo: (id: string) => Promise<any>;
|
|
64
|
-
};
|
|
65
|
-
boardService: {
|
|
66
|
-
retrieveBoard: (id: string) => Promise<any>;
|
|
67
|
-
updateBoard: ({ id, ...data }: UpdateBoardBody) => Promise<any>;
|
|
68
|
-
retrieveBoardInfo: ({ id, infoId }: import("./board").RetrieveBoardInfoBody) => Promise<any>;
|
|
69
|
-
updateBoardInfo: ({ id, infoId, ...data }: import("./board").UpdateBoardInfoBody) => Promise<any>;
|
|
70
|
-
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
71
|
-
};
|
|
72
|
-
userService: {
|
|
73
|
-
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
74
|
-
};
|
|
75
|
-
brandService: {
|
|
76
|
-
retrieveBrand: (id: string) => Promise<any>;
|
|
77
|
-
getBrandList: (data: BrandListBody) => Promise<any>;
|
|
78
|
-
updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody };
|
|
82
|
-
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
83
|
-
export default API;
|