@tap-payments/auth-jsconnect 2.0.51 → 2.0.52
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/build/@types/app.d.ts +90 -7
- package/build/@types/app.js +7 -0
- package/build/@types/form.d.ts +21 -20
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +11 -11
- 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/country.d.ts +1 -1
- package/build/api/data.d.ts +10 -10
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +12 -12
- package/build/api/file.d.ts +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/lead.d.ts +10 -10
- package/build/api/operator.d.ts +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +4 -11
- package/build/app/settings.js +13 -5
- package/build/app/store.d.ts +4 -4
- package/build/assets/locales/ar.json +3 -1
- package/build/assets/locales/en.json +3 -1
- package/build/components/DatePicker/DatePicker.js +1 -0
- package/build/components/RadioGroup/RadioGroup.d.ts +5 -2
- package/build/components/RadioGroup/RadioGroup.js +5 -9
- package/build/components/RadioGroup/index.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/constants/app.d.ts +3 -2
- package/build/constants/app.js +1 -0
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/bank/bankStore.d.ts +9 -73
- package/build/features/app/bank/bankStore.js +68 -91
- package/build/features/app/brand/brandStore.d.ts +16 -103
- package/build/features/app/brand/brandStore.js +62 -49
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +4 -3
- package/build/features/app/connect/connectStore.d.ts +13 -121
- package/build/features/app/connect/connectStore.js +5 -4
- package/build/features/app/connectExpress/connectExpressStore.d.ts +22 -211
- package/build/features/app/connectExpress/connectExpressStore.js +9 -10
- package/build/features/app/entity/entityStore.d.ts +9 -74
- package/build/features/app/entity/entityStore.js +129 -152
- package/build/features/app/individual/individualStore.d.ts +21 -167
- package/build/features/app/individual/individualStore.js +176 -202
- package/build/features/app/password/passwordStore.d.ts +12 -102
- 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 +1 -1
- package/build/features/app/tax/taxStore.d.ts +8 -62
- package/build/features/app/tax/taxStore.js +48 -62
- package/build/features/bank/screens/BankDetails/BankDetails.js +20 -5
- package/build/features/bank/screens/BankDetails/BankName.d.ts +4 -1
- package/build/features/bank/screens/BankDetails/BankName.js +8 -7
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +5 -2
- package/build/features/bank/screens/BankDetails/BankStatement.js +3 -8
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/Beneficiary.js +8 -7
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +4 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +12 -13
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +3 -3
- package/build/features/bank/screens/BankDetails/validation.d.ts +14 -14
- package/build/features/bank/screens/BankDetails/validation.js +16 -21
- package/build/features/bank/screens/Verify/OTPInput.js +5 -3
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -18
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +14 -9
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +14 -5
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +12 -16
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +16 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +22 -9
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +20 -7
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +13 -6
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +23 -12
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +14 -1
- package/build/features/brand/screens/BrandActivities/TAC.js +21 -12
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +4 -1
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +18 -4
- package/build/features/brand/screens/BrandActivities/validation.d.ts +7 -7
- package/build/features/brand/screens/BrandActivities/validation.js +10 -19
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +20 -12
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +9 -0
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +52 -0
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +3 -3
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +2 -1
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/Segments.js +12 -2
- package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/TeamSize.js +12 -2
- package/build/features/brand/screens/BrandInfo/validation.d.ts +6 -6
- package/build/features/brand/screens/BrandInfo/validation.js +36 -42
- package/build/features/brand/screens/Verify/OTPInput.js +5 -3
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +12 -17
- package/build/features/business/screens/Activities/ActivitiesList.js +5 -5
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +2 -2
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +10 -15
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -5
- package/build/features/business/screens/Customers/ExpectedCustomers.js +12 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +12 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
- package/build/features/business/screens/IDBOD/DOB.js +1 -1
- package/build/features/business/screens/Verify/OTPInput.js +5 -3
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Segments.js +6 -1
- package/build/features/connect/screens/Merchant/TeamSize.js +6 -1
- package/build/features/connect/screens/Merchant/validation.js +5 -5
- package/build/features/connectExpress/screens/Brand/Brand.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +2 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +5 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +2 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +7 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +7 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +4 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +14 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +9 -10
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +9 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +2 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +3 -3
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +6 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +2 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +2 -2
- package/build/features/connectExpress/screens/Mobile/Mobile.js +4 -2
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +6 -2
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +2 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +3 -1
- package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NID/DOB.js +2 -2
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
- package/build/features/connectExpress/screens/NID/NID.js +4 -2
- package/build/features/connectExpress/screens/NID/TAC.d.ts +14 -1
- package/build/features/connectExpress/screens/NID/TAC.js +9 -10
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +14 -18
- package/build/features/entity/screens/EntityCapital/ActivityList.js +20 -27
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -3
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +7 -3
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -3
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +19 -17
- package/build/features/entity/screens/EntityCapital/validation.d.ts +10 -10
- package/build/features/entity/screens/EntityCapital/validation.js +4 -10
- package/build/features/entity/screens/EntityName/Article.d.ts +5 -2
- package/build/features/entity/screens/EntityName/Article.js +9 -6
- package/build/features/entity/screens/EntityName/EntityName.js +20 -5
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +14 -18
- package/build/features/entity/screens/EntityName/EntityTypeList.js +24 -27
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +4 -3
- package/build/features/entity/screens/EntityName/ExpiryDate.js +2 -2
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +4 -3
- package/build/features/entity/screens/EntityName/IssuingDate.js +2 -2
- package/build/features/entity/screens/EntityName/LegalName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/LegalName.js +8 -4
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +4 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -9
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +2 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +8 -5
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +2 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +8 -5
- package/build/features/entity/screens/EntityName/validation.d.ts +35 -35
- package/build/features/entity/screens/EntityName/validation.js +68 -93
- package/build/features/entity/screens/Verify/OTPInput.js +5 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +25 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +7 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +21 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +8 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +25 -25
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +25 -25
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +6 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +8 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +8 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +4 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +25 -25
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +6 -11
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
- package/build/features/individual/screens/IndividualList/MobileNumber.js +0 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +1 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +12 -2
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +12 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +3 -3
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +4 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +7 -6
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +4 -2
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +2 -7
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +20 -4
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +13 -7
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +11 -10
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +13 -7
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -0
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +6 -3
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +4 -2
- package/build/features/individual/screens/Verify/OTPInput.js +5 -3
- package/build/features/password/screens/Verify/OTPInput.js +5 -3
- package/build/features/shared/Address/CountryList.d.ts +9 -9
- package/build/features/shared/Address/CountryList.js +1 -1
- package/build/features/shared/Address/InputSelect.d.ts +9 -9
- package/build/features/shared/Address/InputSelect.js +2 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
- package/build/features/shared/Button/FlowsButtons.js +15 -20
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/GenericError/GenericError.js +1 -1
- package/build/features/shared/Input/Input.d.ts +3 -3
- package/build/features/shared/Input/Input.js +2 -3
- package/build/features/shared/OTP/OTP.d.ts +2 -1
- package/build/features/shared/OTP/OTP.js +2 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +5 -4
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.js +5 -4
- package/build/features/shared/UploadFile/FileUpload.d.ts +6 -4
- package/build/features/shared/UploadFile/FileUpload.js +19 -15
- package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadFile.js +7 -7
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +5 -3
- package/build/features/shared/UploadFile/UploadWrapper.js +3 -2
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +5 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +14 -10
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +4 -3
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +3 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +4 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +12 -12
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -4
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +4 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +3 -8
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +4 -1
- package/build/features/tax/screens/TaxDetails/VATId.js +5 -7
- package/build/features/tax/screens/TaxDetails/validation.d.ts +4 -4
- package/build/features/tax/screens/TaxDetails/validation.js +2 -5
- package/build/features/tax/screens/Verify/OTPInput.js +5 -3
- package/build/hooks/index.d.ts +3 -0
- package/build/hooks/index.js +3 -0
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +4 -2
- package/build/hooks/useDataNoneEditable.d.ts +2 -0
- package/build/hooks/useDataNoneEditable.js +19 -0
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +6 -0
- package/build/hooks/useFormErrorAndUpdateReadOnly.js +48 -0
- package/build/hooks/useFormReadOnly.d.ts +6 -0
- package/build/hooks/useFormReadOnly.js +40 -0
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/object.d.ts +4 -0
- package/build/utils/object.js +17 -0
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +13 -7
- package/package.json +2 -2
- package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +0 -20
- package/build/features/brand/screens/BrandActivities/OperationStartDate.js +0 -45
package/build/api/lead.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
type Name = {
|
|
3
|
+
declare type Name = {
|
|
4
4
|
title?: string;
|
|
5
5
|
first?: string;
|
|
6
6
|
middle?: string;
|
|
7
7
|
last?: string;
|
|
8
8
|
};
|
|
9
|
-
type Contact = {
|
|
9
|
+
declare type Contact = {
|
|
10
10
|
email?: string;
|
|
11
11
|
phone?: {
|
|
12
12
|
country_code?: string;
|
|
13
13
|
number?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
type BusinessName = {
|
|
16
|
+
declare type BusinessName = {
|
|
17
17
|
en?: string;
|
|
18
18
|
ar?: string;
|
|
19
19
|
};
|
|
20
|
-
type BrandTitle = {
|
|
20
|
+
declare type BrandTitle = {
|
|
21
21
|
en?: string;
|
|
22
22
|
ar?: string;
|
|
23
23
|
zh?: string;
|
|
24
24
|
};
|
|
25
|
-
type BrandContent = {
|
|
25
|
+
declare type BrandContent = {
|
|
26
26
|
tag_line?: BrandTitle;
|
|
27
27
|
about?: BrandTitle;
|
|
28
28
|
};
|
|
29
|
-
type BrandInfo = {
|
|
29
|
+
declare type BrandInfo = {
|
|
30
30
|
id?: string;
|
|
31
31
|
name?: BrandTitle;
|
|
32
32
|
sector?: Array<string>;
|
|
@@ -35,7 +35,7 @@ type BrandInfo = {
|
|
|
35
35
|
logo?: string;
|
|
36
36
|
content?: BrandContent;
|
|
37
37
|
};
|
|
38
|
-
export type UpdateLeadBody = {
|
|
38
|
+
export declare type UpdateLeadBody = {
|
|
39
39
|
step_name?: string;
|
|
40
40
|
id: string;
|
|
41
41
|
encryption_contract?: Array<string>;
|
|
@@ -64,7 +64,7 @@ export type UpdateLeadBody = {
|
|
|
64
64
|
team: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
export type LeadVerifyBody = {
|
|
67
|
+
export declare type LeadVerifyBody = {
|
|
68
68
|
verify_token: string;
|
|
69
69
|
service_name: string;
|
|
70
70
|
};
|
|
@@ -73,11 +73,11 @@ export interface LeadOTPVerifyBody extends LeadVerifyBody {
|
|
|
73
73
|
step_name: string;
|
|
74
74
|
encryption_contract: Array<string>;
|
|
75
75
|
}
|
|
76
|
-
export type CreateLeadBody = {
|
|
76
|
+
export declare type CreateLeadBody = {
|
|
77
77
|
individual_id: string;
|
|
78
78
|
country_code: string;
|
|
79
79
|
};
|
|
80
|
-
export type LeadIdentityUpdateBody = {
|
|
80
|
+
export declare type LeadIdentityUpdateBody = {
|
|
81
81
|
id: string;
|
|
82
82
|
identification: {
|
|
83
83
|
id: string;
|
package/build/api/operator.d.ts
CHANGED
package/build/api/operator.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/user.d.ts
CHANGED
package/build/app/settings.d.ts
CHANGED
|
@@ -12,16 +12,7 @@ export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk
|
|
|
12
12
|
locale: any;
|
|
13
13
|
deviceInfo: DeviceInfo;
|
|
14
14
|
isValidOperator: boolean;
|
|
15
|
-
}, SettingParams, {
|
|
16
|
-
state?: unknown;
|
|
17
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
-
extra?: unknown;
|
|
19
|
-
rejectValue?: unknown;
|
|
20
|
-
serializedErrorType?: unknown;
|
|
21
|
-
pendingMeta?: unknown;
|
|
22
|
-
fulfilledMeta?: unknown;
|
|
23
|
-
rejectedMeta?: unknown;
|
|
24
|
-
}>;
|
|
15
|
+
}, SettingParams, {}>;
|
|
25
16
|
export interface SettingsData {
|
|
26
17
|
skin: ThemeMode;
|
|
27
18
|
language: LanguageMode;
|
|
@@ -34,10 +25,12 @@ export interface SettingsData {
|
|
|
34
25
|
businessCountry: CountryCode;
|
|
35
26
|
countries: Array<CountryCode>;
|
|
36
27
|
isValidOperator: boolean;
|
|
28
|
+
boardMaturity: boolean;
|
|
37
29
|
}
|
|
38
30
|
export interface SettingsState extends SharedState<SettingsData> {
|
|
39
31
|
}
|
|
40
32
|
export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsState, {
|
|
33
|
+
handelBoardMaturity: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
41
34
|
handleIsTapOrigin: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
42
35
|
handleOpen: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
43
36
|
handleSkin: (state: SettingsState, action: ActionState<ThemeMode>) => void;
|
|
@@ -49,7 +42,7 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
|
|
|
49
42
|
handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
|
|
50
43
|
handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
|
|
51
44
|
}, "settings">;
|
|
52
|
-
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode,
|
|
45
|
+
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, string>, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, string>, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], string>, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, string>, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handelBoardMaturity: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
53
46
|
declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
|
|
54
47
|
export default _default;
|
|
55
48
|
export declare const settingsSelector: (state: RootState) => SettingsState;
|
package/build/app/settings.js
CHANGED
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
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;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -47,13 +47,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage } from '../utils';
|
|
50
|
+
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage, isKW, isSA } from '../utils';
|
|
51
51
|
import { DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
|
|
52
52
|
import i18n from '../i18n';
|
|
53
53
|
import { updateLocale } from '../utils/locale';
|
|
54
54
|
import API, { setAxiosGlobalHeaders } from '../api';
|
|
55
55
|
export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
|
-
var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, maturity, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, businessCountry;
|
|
56
|
+
var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, maturity, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, countryCode, isKWOrSA, businessCountry;
|
|
57
57
|
return __generator(this, function (_e) {
|
|
58
58
|
switch (_e.label) {
|
|
59
59
|
case 0:
|
|
@@ -113,7 +113,11 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
113
113
|
operatorStatus = _e.sent();
|
|
114
114
|
isValidOperator = operatorStatus === 'valid';
|
|
115
115
|
countries = sortCountries(list);
|
|
116
|
-
|
|
116
|
+
countryCode = appConfig.businessCountryCode;
|
|
117
|
+
isKWOrSA = isKW(countryCode) || isSA(countryCode);
|
|
118
|
+
if (!isKWOrSA)
|
|
119
|
+
countryCode = 'SA';
|
|
120
|
+
businessCountry = findCountryByIso2(countries, countryCode);
|
|
117
121
|
if (!businessCountry)
|
|
118
122
|
throw new Error('Business country not found, you have to pass a valid business country code in the lib config');
|
|
119
123
|
return [2, { countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, isValidOperator: isValidOperator }];
|
|
@@ -124,6 +128,7 @@ var initialState = {
|
|
|
124
128
|
error: null,
|
|
125
129
|
loading: true,
|
|
126
130
|
data: {
|
|
131
|
+
boardMaturity: true,
|
|
127
132
|
open: true,
|
|
128
133
|
isTapOrigin: true,
|
|
129
134
|
skin: getStoredData(LOCAL_STORAGE_KEYS.themeMode) || 'light',
|
|
@@ -141,6 +146,9 @@ export var settingsSlice = createSlice({
|
|
|
141
146
|
name: 'settings',
|
|
142
147
|
initialState: initialState,
|
|
143
148
|
reducers: {
|
|
149
|
+
handelBoardMaturity: function (state, action) {
|
|
150
|
+
state.data.boardMaturity = action.payload;
|
|
151
|
+
},
|
|
144
152
|
handleIsTapOrigin: function (state, action) {
|
|
145
153
|
state.data.isTapOrigin = action.payload;
|
|
146
154
|
},
|
|
@@ -259,6 +267,6 @@ export var settingsSlice = createSlice({
|
|
|
259
267
|
});
|
|
260
268
|
}
|
|
261
269
|
});
|
|
262
|
-
export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin;
|
|
270
|
+
export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin, handelBoardMaturity = _a.handelBoardMaturity;
|
|
263
271
|
export default settingsSlice.reducer;
|
|
264
272
|
export var settingsSelector = function (state) { return state.settings; };
|
package/build/app/store.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThunkAction, Action } from '@reduxjs/toolkit';
|
|
2
|
-
export declare const store: import("@reduxjs/toolkit
|
|
2
|
+
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
3
3
|
settings: import("./settings").SettingsState;
|
|
4
4
|
connect: import("../features/app/connect/connectStore").ConnectState;
|
|
5
5
|
business: import("../features/app/business/businessStore").BusinessState;
|
|
@@ -24,6 +24,6 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
|
|
|
24
24
|
brand: import("../features/app/brand/brandStore").BrandState;
|
|
25
25
|
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
26
26
|
}, import("redux").AnyAction, undefined>]>>;
|
|
27
|
-
export type AppDispatch = typeof store.dispatch;
|
|
28
|
-
export type RootState = ReturnType<typeof store.getState>;
|
|
29
|
-
export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
|
|
27
|
+
export declare type AppDispatch = typeof store.dispatch;
|
|
28
|
+
export declare type RootState = ReturnType<typeof store.getState>;
|
|
29
|
+
export declare type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
|
|
@@ -390,5 +390,7 @@
|
|
|
390
390
|
"brand": "الاسم التجاري",
|
|
391
391
|
"try_again": "حاول مرة أخرى",
|
|
392
392
|
"file_delete_error": "حدث خطأ ما في حذف الملف. حاول مرة اخرى",
|
|
393
|
-
"file_download_error": "حدث خطأ ما في تحميل الملف. حاول مرة اخرى"
|
|
393
|
+
"file_download_error": "حدث خطأ ما في تحميل الملف. حاول مرة اخرى",
|
|
394
|
+
"title_brand_logo": "لوجو العلامة التجارية",
|
|
395
|
+
"description_brand_logo": "JPG or PNG files up to 4mb."
|
|
394
396
|
}
|
|
@@ -420,5 +420,7 @@
|
|
|
420
420
|
"brand": "Brand",
|
|
421
421
|
"try_again": "Try again",
|
|
422
422
|
"file_delete_error": "Something went wrong with deleting file. Please try again",
|
|
423
|
-
"file_download_error": "Something went wrong with downloading file. Please try again"
|
|
423
|
+
"file_download_error": "Something went wrong with downloading file. Please try again",
|
|
424
|
+
"title_brand_logo": "Brand Logo",
|
|
425
|
+
"description_brand_logo": "JPG or PNG files up to 4mb."
|
|
424
426
|
}
|
|
@@ -42,6 +42,7 @@ var Container = styled(Box, { shouldForwardProp: function (prop) { return prop !
|
|
|
42
42
|
var theme = _a.theme, disabled = _a.disabled;
|
|
43
43
|
return ({
|
|
44
44
|
cursor: disabled ? 'auto' : 'pointer',
|
|
45
|
+
opacity: disabled ? '0.6' : '1',
|
|
45
46
|
fontFamily: theme.typography.fontFamily
|
|
46
47
|
});
|
|
47
48
|
});
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
interface RadioGroupStyledProps extends RadioGroupProps {
|
|
4
|
+
readOnly?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type { RadioGroupStyledProps };
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ children, ...props }: RadioGroupStyledProps) => JSX.Element>;
|
|
5
8
|
export default _default;
|
|
@@ -24,15 +24,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import * as React from 'react';
|
|
25
25
|
import { styled } from '@mui/material/styles';
|
|
26
26
|
import RadioGroup from '@mui/material/RadioGroup';
|
|
27
|
-
var RadioGroupStyled = styled(RadioGroup)(function (_a) {
|
|
28
|
-
var theme = _a.theme;
|
|
29
|
-
return ({
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
display: 'flex',
|
|
33
|
-
direction: theme.direction,
|
|
34
|
-
marginInlineStart: theme.spacing(0.25)
|
|
35
|
-
});
|
|
27
|
+
var RadioGroupStyled = styled(RadioGroup, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
|
|
28
|
+
var theme = _a.theme, readOnly = _a.readOnly;
|
|
29
|
+
return (__assign({ width: '100%', flexDirection: 'row', display: 'flex', direction: theme.direction, marginInlineStart: theme.spacing(0.25) }, (readOnly && {
|
|
30
|
+
opacity: 0.6
|
|
31
|
+
})));
|
|
36
32
|
});
|
|
37
33
|
var RadioGroupComponent = function (_a) {
|
|
38
34
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { SlideProps as MUISlideProps } from '@mui/material/Slide';
|
|
3
3
|
export interface SlideProps extends MUISlideProps {
|
|
4
4
|
}
|
|
5
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "
|
|
5
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "className" | "style" | "color" | "direction" | "translate" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "exit" | "container"> & React.RefAttributes<unknown>>>;
|
|
6
6
|
export default _default;
|
package/build/constants/app.d.ts
CHANGED
|
@@ -194,7 +194,8 @@ export declare const BUSINESS_FLOW_SUCCESS: {
|
|
|
194
194
|
url: string;
|
|
195
195
|
}[];
|
|
196
196
|
export declare enum FileRemoveType {
|
|
197
|
-
AOA_FILE_ID = "AOA_file_id"
|
|
197
|
+
AOA_FILE_ID = "AOA_file_id",
|
|
198
|
+
BRAND_LOGO_FILE_ID = "Brand_logo_id"
|
|
198
199
|
}
|
|
199
200
|
export declare enum FileType {
|
|
200
201
|
IMAGES = "images",
|
|
@@ -214,7 +215,7 @@ export declare enum DeleteFileStatus {
|
|
|
214
215
|
ERROR = "error",
|
|
215
216
|
SUCCESS = "success"
|
|
216
217
|
}
|
|
217
|
-
export type FileInfo = {
|
|
218
|
+
export declare type FileInfo = {
|
|
218
219
|
fileId: string;
|
|
219
220
|
docId: string;
|
|
220
221
|
name: string;
|
package/build/constants/app.js
CHANGED
|
@@ -699,6 +699,7 @@ export var BUSINESS_FLOW_SUCCESS = [{ name: 'business', status: 'completed', url
|
|
|
699
699
|
export var FileRemoveType;
|
|
700
700
|
(function (FileRemoveType) {
|
|
701
701
|
FileRemoveType["AOA_FILE_ID"] = "AOA_file_id";
|
|
702
|
+
FileRemoveType["BRAND_LOGO_FILE_ID"] = "Brand_logo_id";
|
|
702
703
|
})(FileRemoveType || (FileRemoveType = {}));
|
|
703
704
|
export var FileType;
|
|
704
705
|
(function (FileType) {
|
|
@@ -14,6 +14,7 @@ export declare const SAUDI_NUMBER_LENGTH = 9;
|
|
|
14
14
|
export declare const MAX_FILE_SIZE = 5000000;
|
|
15
15
|
export declare const MAX_FILE_SIZE_FOUR_MB = 4000000;
|
|
16
16
|
export declare const VALID_FILE_FORMATS: string[];
|
|
17
|
+
export declare const VALID_FILE_FORMATS_FOR_IMAGE: string[];
|
|
17
18
|
export declare const REGEX_FULL_NAME: RegExp;
|
|
18
19
|
export declare const REGEX_WEBSITE: RegExp;
|
|
19
20
|
export declare const REGEX_BENEFICIARY_NAME: RegExp;
|
|
@@ -14,6 +14,7 @@ export var SAUDI_NUMBER_LENGTH = 9;
|
|
|
14
14
|
export var MAX_FILE_SIZE = 5000000;
|
|
15
15
|
export var MAX_FILE_SIZE_FOUR_MB = 4000000;
|
|
16
16
|
export var VALID_FILE_FORMATS = ['image/jpeg', 'image/png', 'image/jpg', 'application/pdf'];
|
|
17
|
+
export var VALID_FILE_FORMATS_FOR_IMAGE = ['image/jpeg', 'image/png', 'image/jpg'];
|
|
17
18
|
export var REGEX_FULL_NAME = /^([a-zA-Z]{2,}\s{1}[a-zA-Z]{1,}|[a-zA-Z]+\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z]{1,}|[a-zA-Z]+\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z]{1,})$/g;
|
|
18
19
|
export var REGEX_WEBSITE = /^[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9]+)*\.[a-zA-Z]{2,63}(:[0-9]{1,5})?(\/.*)?$/;
|
|
19
20
|
export var REGEX_BENEFICIARY_NAME = /^([\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z()\s])*$/g;
|
|
@@ -17,99 +17,35 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
17
17
|
contact: any;
|
|
18
18
|
business: any;
|
|
19
19
|
individuals: any;
|
|
20
|
-
flows: any;
|
|
21
20
|
};
|
|
22
21
|
token: string;
|
|
23
|
-
}, VerifyLeadTokenProps, {
|
|
24
|
-
state?: unknown;
|
|
25
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
26
|
-
extra?: unknown;
|
|
27
|
-
rejectValue?: unknown;
|
|
28
|
-
serializedErrorType?: unknown;
|
|
29
|
-
pendingMeta?: unknown;
|
|
30
|
-
fulfilledMeta?: unknown;
|
|
31
|
-
rejectedMeta?: unknown;
|
|
32
|
-
}>;
|
|
22
|
+
}, VerifyLeadTokenProps, {}>;
|
|
33
23
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
34
24
|
data: any;
|
|
35
|
-
}, void, {
|
|
36
|
-
state?: unknown;
|
|
37
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
38
|
-
extra?: unknown;
|
|
39
|
-
rejectValue?: unknown;
|
|
40
|
-
serializedErrorType?: unknown;
|
|
41
|
-
pendingMeta?: unknown;
|
|
42
|
-
fulfilledMeta?: unknown;
|
|
43
|
-
rejectedMeta?: unknown;
|
|
44
|
-
}>;
|
|
25
|
+
}, void, {}>;
|
|
45
26
|
export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
46
27
|
data: any;
|
|
47
28
|
formData: OTPFormValues;
|
|
48
|
-
}, OTPFormValues, {
|
|
49
|
-
state?: unknown;
|
|
50
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
51
|
-
extra?: unknown;
|
|
52
|
-
rejectValue?: unknown;
|
|
53
|
-
serializedErrorType?: unknown;
|
|
54
|
-
pendingMeta?: unknown;
|
|
55
|
-
fulfilledMeta?: unknown;
|
|
56
|
-
rejectedMeta?: unknown;
|
|
57
|
-
}>;
|
|
29
|
+
}, OTPFormValues, {}>;
|
|
58
30
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
59
31
|
data: any;
|
|
60
|
-
}, string, {
|
|
61
|
-
state?: unknown;
|
|
62
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
63
|
-
extra?: unknown;
|
|
64
|
-
rejectValue?: unknown;
|
|
65
|
-
serializedErrorType?: unknown;
|
|
66
|
-
pendingMeta?: unknown;
|
|
67
|
-
fulfilledMeta?: unknown;
|
|
68
|
-
rejectedMeta?: unknown;
|
|
69
|
-
}>;
|
|
32
|
+
}, string, {}>;
|
|
70
33
|
export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
71
34
|
data: any;
|
|
72
35
|
formData: BankFormValues;
|
|
73
|
-
}, BankFormValues, {
|
|
74
|
-
state?: unknown;
|
|
75
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
76
|
-
extra?: unknown;
|
|
77
|
-
rejectValue?: unknown;
|
|
78
|
-
serializedErrorType?: unknown;
|
|
79
|
-
pendingMeta?: unknown;
|
|
80
|
-
fulfilledMeta?: unknown;
|
|
81
|
-
rejectedMeta?: unknown;
|
|
82
|
-
}>;
|
|
36
|
+
}, BankFormValues, {}>;
|
|
83
37
|
export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
|
|
84
38
|
data: any;
|
|
85
39
|
}, {
|
|
86
40
|
iban: string;
|
|
87
41
|
cancelToken: CancelToken;
|
|
88
42
|
onSuccess?: (() => void) | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
state?: unknown;
|
|
91
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
92
|
-
extra?: unknown;
|
|
93
|
-
rejectValue?: unknown;
|
|
94
|
-
serializedErrorType?: unknown;
|
|
95
|
-
pendingMeta?: unknown;
|
|
96
|
-
fulfilledMeta?: unknown;
|
|
97
|
-
rejectedMeta?: unknown;
|
|
98
|
-
}>;
|
|
43
|
+
}, {}>;
|
|
99
44
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
100
45
|
response: any;
|
|
101
46
|
formData: void;
|
|
102
|
-
} | undefined, void, {
|
|
103
|
-
|
|
104
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
105
|
-
extra?: unknown;
|
|
106
|
-
rejectValue?: unknown;
|
|
107
|
-
serializedErrorType?: unknown;
|
|
108
|
-
pendingMeta?: unknown;
|
|
109
|
-
fulfilledMeta?: unknown;
|
|
110
|
-
rejectedMeta?: unknown;
|
|
111
|
-
}>;
|
|
112
|
-
type VerifyData = {
|
|
47
|
+
} | undefined, void, {}>;
|
|
48
|
+
declare type VerifyData = {
|
|
113
49
|
token: string;
|
|
114
50
|
};
|
|
115
51
|
export interface BankData {
|
|
@@ -127,7 +63,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
|
|
|
127
63
|
resetOTPScreen: (state: BankState) => void;
|
|
128
64
|
bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
|
|
129
65
|
}, "bank/store">;
|
|
130
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
66
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
131
67
|
declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
|
|
132
68
|
export default _default;
|
|
133
69
|
export declare const bankSelector: (state: RootState) => BankState;
|