@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
|
@@ -4,49 +4,13 @@ import { CancelToken } from 'axios';
|
|
|
4
4
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
5
|
response: any;
|
|
6
6
|
formData: MobileFormValues;
|
|
7
|
-
}, MobileFormValues, {
|
|
8
|
-
state?: unknown;
|
|
9
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
10
|
-
extra?: unknown;
|
|
11
|
-
rejectValue?: unknown;
|
|
12
|
-
serializedErrorType?: unknown;
|
|
13
|
-
pendingMeta?: unknown;
|
|
14
|
-
fulfilledMeta?: unknown;
|
|
15
|
-
rejectedMeta?: unknown;
|
|
16
|
-
}>;
|
|
7
|
+
}, MobileFormValues, {}>;
|
|
17
8
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
18
9
|
response: any;
|
|
19
10
|
formData: CivilFormValues;
|
|
20
|
-
}, CivilFormValues, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
extra?: unknown;
|
|
24
|
-
rejectValue?: unknown;
|
|
25
|
-
serializedErrorType?: unknown;
|
|
26
|
-
pendingMeta?: unknown;
|
|
27
|
-
fulfilledMeta?: unknown;
|
|
28
|
-
rejectedMeta?: unknown;
|
|
29
|
-
}>;
|
|
30
|
-
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
31
|
-
state?: unknown;
|
|
32
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
33
|
-
extra?: unknown;
|
|
34
|
-
rejectValue?: unknown;
|
|
35
|
-
serializedErrorType?: unknown;
|
|
36
|
-
pendingMeta?: unknown;
|
|
37
|
-
fulfilledMeta?: unknown;
|
|
38
|
-
rejectedMeta?: unknown;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const resendOTPNID: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
41
|
-
state?: unknown;
|
|
42
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
43
|
-
extra?: unknown;
|
|
44
|
-
rejectValue?: unknown;
|
|
45
|
-
serializedErrorType?: unknown;
|
|
46
|
-
pendingMeta?: unknown;
|
|
47
|
-
fulfilledMeta?: unknown;
|
|
48
|
-
rejectedMeta?: unknown;
|
|
49
|
-
}>;
|
|
11
|
+
}, CivilFormValues, {}>;
|
|
12
|
+
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
13
|
+
export declare const resendOTPNID: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
50
14
|
export declare const createNIDAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
51
15
|
response: any;
|
|
52
16
|
formData: {
|
|
@@ -55,30 +19,12 @@ export declare const createNIDAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
55
19
|
dob: string;
|
|
56
20
|
termAndConditionChecked?: boolean | undefined;
|
|
57
21
|
};
|
|
58
|
-
}, NIDFormValues, {
|
|
59
|
-
state?: unknown;
|
|
60
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
61
|
-
extra?: unknown;
|
|
62
|
-
rejectValue?: unknown;
|
|
63
|
-
serializedErrorType?: unknown;
|
|
64
|
-
pendingMeta?: unknown;
|
|
65
|
-
fulfilledMeta?: unknown;
|
|
66
|
-
rejectedMeta?: unknown;
|
|
67
|
-
}>;
|
|
22
|
+
}, NIDFormValues, {}>;
|
|
68
23
|
export declare const verifyAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
69
24
|
authResponse: any;
|
|
70
25
|
leadResponse: any;
|
|
71
26
|
countryCode: CountryCode;
|
|
72
|
-
}, OTPFormValues, {
|
|
73
|
-
state?: unknown;
|
|
74
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
75
|
-
extra?: unknown;
|
|
76
|
-
rejectValue?: unknown;
|
|
77
|
-
serializedErrorType?: unknown;
|
|
78
|
-
pendingMeta?: unknown;
|
|
79
|
-
fulfilledMeta?: unknown;
|
|
80
|
-
rejectedMeta?: unknown;
|
|
81
|
-
}>;
|
|
27
|
+
}, OTPFormValues, {}>;
|
|
82
28
|
interface verifyPACIParams {
|
|
83
29
|
onSuccess?: () => void;
|
|
84
30
|
}
|
|
@@ -86,29 +32,11 @@ export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
86
32
|
authResponse: any;
|
|
87
33
|
leadResponse: any;
|
|
88
34
|
countryCode: CountryCode;
|
|
89
|
-
}, verifyPACIParams, {
|
|
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
|
-
}>;
|
|
35
|
+
}, verifyPACIParams, {}>;
|
|
99
36
|
export declare const updateLeadIndividual: import("@reduxjs/toolkit").AsyncThunk<{
|
|
100
37
|
leadResponse: any;
|
|
101
38
|
formData: IndividualFormValues;
|
|
102
|
-
}, IndividualFormValues, {
|
|
103
|
-
state?: unknown;
|
|
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
|
-
}>;
|
|
39
|
+
}, IndividualFormValues, {}>;
|
|
112
40
|
export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
41
|
response: any;
|
|
114
42
|
formData: BrandFormValues & {
|
|
@@ -116,16 +44,7 @@ export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
116
44
|
};
|
|
117
45
|
}, BrandFormValues & {
|
|
118
46
|
isNewBrand: boolean;
|
|
119
|
-
}, {
|
|
120
|
-
state?: unknown;
|
|
121
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
122
|
-
extra?: unknown;
|
|
123
|
-
rejectValue?: unknown;
|
|
124
|
-
serializedErrorType?: unknown;
|
|
125
|
-
pendingMeta?: unknown;
|
|
126
|
-
fulfilledMeta?: unknown;
|
|
127
|
-
rejectedMeta?: unknown;
|
|
128
|
-
}>;
|
|
47
|
+
}, {}>;
|
|
129
48
|
export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
130
49
|
response: any;
|
|
131
50
|
formData: string;
|
|
@@ -133,16 +52,7 @@ export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThu
|
|
|
133
52
|
email: string;
|
|
134
53
|
cancelToken: CancelToken;
|
|
135
54
|
onSuccess?: (() => void) | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
state?: unknown;
|
|
138
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
139
|
-
extra?: unknown;
|
|
140
|
-
rejectValue?: unknown;
|
|
141
|
-
serializedErrorType?: unknown;
|
|
142
|
-
pendingMeta?: unknown;
|
|
143
|
-
fulfilledMeta?: unknown;
|
|
144
|
-
rejectedMeta?: unknown;
|
|
145
|
-
}>;
|
|
55
|
+
}, {}>;
|
|
146
56
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
147
57
|
response: any;
|
|
148
58
|
formData: {
|
|
@@ -152,29 +62,11 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
152
62
|
name: string;
|
|
153
63
|
cancelToken: CancelToken;
|
|
154
64
|
onSuccess?: (() => void) | undefined;
|
|
155
|
-
}, {
|
|
156
|
-
state?: unknown;
|
|
157
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
158
|
-
extra?: unknown;
|
|
159
|
-
rejectValue?: unknown;
|
|
160
|
-
serializedErrorType?: unknown;
|
|
161
|
-
pendingMeta?: unknown;
|
|
162
|
-
fulfilledMeta?: unknown;
|
|
163
|
-
rejectedMeta?: unknown;
|
|
164
|
-
}>;
|
|
65
|
+
}, {}>;
|
|
165
66
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
166
67
|
response: any;
|
|
167
68
|
formData: void;
|
|
168
|
-
}, void, {
|
|
169
|
-
state?: unknown;
|
|
170
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
171
|
-
extra?: unknown;
|
|
172
|
-
rejectValue?: unknown;
|
|
173
|
-
serializedErrorType?: unknown;
|
|
174
|
-
pendingMeta?: unknown;
|
|
175
|
-
fulfilledMeta?: unknown;
|
|
176
|
-
rejectedMeta?: unknown;
|
|
177
|
-
}>;
|
|
69
|
+
}, void, {}>;
|
|
178
70
|
export interface ConnectData {
|
|
179
71
|
mobileData: (MobileFormValues | undefined) & ResponseData;
|
|
180
72
|
nidData: NIDFormValues & ResponseData & {
|
|
@@ -203,7 +95,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectState
|
|
|
203
95
|
setDefaultCountryCode: (state: ConnectState, action: ActionState<CountryCode>) => void;
|
|
204
96
|
resetStore: (state: ConnectState) => void;
|
|
205
97
|
}, "connect/store">;
|
|
206
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
98
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMerchantScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setDefaultCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>;
|
|
207
99
|
declare const _default: import("redux").Reducer<ConnectState, import("redux").AnyAction>;
|
|
208
100
|
export default _default;
|
|
209
101
|
export declare const connectSelector: (state: RootState) => ConnectState;
|
|
@@ -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]) {
|
|
@@ -156,19 +156,20 @@ export var resendOTPMobile = createAsyncThunk('resendOTPMobile', function (param
|
|
|
156
156
|
});
|
|
157
157
|
}); });
|
|
158
158
|
export var resendOTPNID = createAsyncThunk('resendOTPNID', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
159
|
-
var _a, settings, connect, _b, nid, dob,
|
|
159
|
+
var _a, settings, connect, _b, nid, dob, identification_id_type, requestBody, data;
|
|
160
160
|
return __generator(this, function (_c) {
|
|
161
161
|
switch (_c.label) {
|
|
162
162
|
case 0:
|
|
163
163
|
_a = thunkApi.getState(), settings = _a.settings, connect = _a.connect;
|
|
164
|
-
_b = connect.data.nidData, nid = _b.nid, dob = _b.dob
|
|
164
|
+
_b = connect.data.nidData, nid = _b.nid, dob = _b.dob;
|
|
165
|
+
identification_id_type = nid.startsWith('1') ? IDENTIFICATION_TYPE.NID : IDENTIFICATION_TYPE.IQAMA;
|
|
165
166
|
requestBody = {
|
|
166
167
|
country: settings.data.businessCountry.iso2,
|
|
167
168
|
scope: settings.data.appConfig.scope,
|
|
168
169
|
lang: settings.data.language,
|
|
169
170
|
user_credentail: {
|
|
170
171
|
identification_id: nid,
|
|
171
|
-
identification_id_type:
|
|
172
|
+
identification_id_type: identification_id_type,
|
|
172
173
|
date_of_birth: dob,
|
|
173
174
|
country_code: settings.data.businessCountry.iso2
|
|
174
175
|
},
|
|
@@ -11,197 +11,53 @@ export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").A
|
|
|
11
11
|
countryCode: CountryCode;
|
|
12
12
|
boardInfo: any;
|
|
13
13
|
boardData: any;
|
|
14
|
-
}, string, {
|
|
15
|
-
state?: unknown;
|
|
16
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
17
|
-
extra?: unknown;
|
|
18
|
-
rejectValue?: unknown;
|
|
19
|
-
serializedErrorType?: unknown;
|
|
20
|
-
pendingMeta?: unknown;
|
|
21
|
-
fulfilledMeta?: unknown;
|
|
22
|
-
rejectedMeta?: unknown;
|
|
23
|
-
}>;
|
|
14
|
+
}, string, {}>;
|
|
24
15
|
export declare const getLeadByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
25
16
|
data: any;
|
|
26
17
|
countryCode: CountryCode;
|
|
27
|
-
}, string, {
|
|
28
|
-
|
|
29
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
30
|
-
extra?: unknown;
|
|
31
|
-
rejectValue?: unknown;
|
|
32
|
-
serializedErrorType?: unknown;
|
|
33
|
-
pendingMeta?: unknown;
|
|
34
|
-
fulfilledMeta?: unknown;
|
|
35
|
-
rejectedMeta?: unknown;
|
|
36
|
-
}>;
|
|
37
|
-
export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
38
|
-
state?: unknown;
|
|
39
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
-
extra?: unknown;
|
|
41
|
-
rejectValue?: unknown;
|
|
42
|
-
serializedErrorType?: unknown;
|
|
43
|
-
pendingMeta?: unknown;
|
|
44
|
-
fulfilledMeta?: unknown;
|
|
45
|
-
rejectedMeta?: unknown;
|
|
46
|
-
}>;
|
|
18
|
+
}, string, {}>;
|
|
19
|
+
export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
|
|
47
20
|
export declare const createMobileAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
21
|
response: any;
|
|
49
22
|
formData: MobileFormValues;
|
|
50
|
-
}, MobileFormValues, {
|
|
51
|
-
state?: unknown;
|
|
52
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
rejectValue?: unknown;
|
|
55
|
-
serializedErrorType?: unknown;
|
|
56
|
-
pendingMeta?: unknown;
|
|
57
|
-
fulfilledMeta?: unknown;
|
|
58
|
-
rejectedMeta?: unknown;
|
|
59
|
-
}>;
|
|
23
|
+
}, MobileFormValues, {}>;
|
|
60
24
|
export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
61
25
|
response: any;
|
|
62
26
|
formData: MobileFormValues;
|
|
63
|
-
}, MobileFormValues, {
|
|
64
|
-
state?: unknown;
|
|
65
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
66
|
-
extra?: unknown;
|
|
67
|
-
rejectValue?: unknown;
|
|
68
|
-
serializedErrorType?: unknown;
|
|
69
|
-
pendingMeta?: unknown;
|
|
70
|
-
fulfilledMeta?: unknown;
|
|
71
|
-
rejectedMeta?: unknown;
|
|
72
|
-
}>;
|
|
27
|
+
}, MobileFormValues, {}>;
|
|
73
28
|
export declare const createNIDAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
74
29
|
response: any;
|
|
75
30
|
formData: NIDFormValues;
|
|
76
|
-
}, NIDFormValues, {
|
|
77
|
-
state?: unknown;
|
|
78
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
-
extra?: unknown;
|
|
80
|
-
rejectValue?: unknown;
|
|
81
|
-
serializedErrorType?: unknown;
|
|
82
|
-
pendingMeta?: unknown;
|
|
83
|
-
fulfilledMeta?: unknown;
|
|
84
|
-
rejectedMeta?: unknown;
|
|
85
|
-
}>;
|
|
31
|
+
}, NIDFormValues, {}>;
|
|
86
32
|
export declare const resendNIDAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
87
33
|
response: any;
|
|
88
34
|
formData: NIDFormValues;
|
|
89
|
-
}, NIDFormValues, {
|
|
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
|
-
}>;
|
|
35
|
+
}, NIDFormValues, {}>;
|
|
99
36
|
export declare const createCivilIdAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
100
37
|
response: any;
|
|
101
38
|
formData: CivilFormValues;
|
|
102
|
-
}, CivilFormValues, {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
rejectValue?: unknown;
|
|
107
|
-
serializedErrorType?: unknown;
|
|
108
|
-
pendingMeta?: unknown;
|
|
109
|
-
fulfilledMeta?: unknown;
|
|
110
|
-
rejectedMeta?: unknown;
|
|
111
|
-
}>;
|
|
112
|
-
export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
113
|
-
state?: unknown;
|
|
114
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
115
|
-
extra?: unknown;
|
|
116
|
-
rejectValue?: unknown;
|
|
117
|
-
serializedErrorType?: unknown;
|
|
118
|
-
pendingMeta?: unknown;
|
|
119
|
-
fulfilledMeta?: unknown;
|
|
120
|
-
rejectedMeta?: unknown;
|
|
121
|
-
}>;
|
|
122
|
-
export declare const verifyNIDOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
123
|
-
state?: unknown;
|
|
124
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
125
|
-
extra?: unknown;
|
|
126
|
-
rejectValue?: unknown;
|
|
127
|
-
serializedErrorType?: unknown;
|
|
128
|
-
pendingMeta?: unknown;
|
|
129
|
-
fulfilledMeta?: unknown;
|
|
130
|
-
rejectedMeta?: unknown;
|
|
131
|
-
}>;
|
|
132
|
-
export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<void, verifyPACIAsyncParams, {
|
|
133
|
-
state?: unknown;
|
|
134
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
135
|
-
extra?: unknown;
|
|
136
|
-
rejectValue?: unknown;
|
|
137
|
-
serializedErrorType?: unknown;
|
|
138
|
-
pendingMeta?: unknown;
|
|
139
|
-
fulfilledMeta?: unknown;
|
|
140
|
-
rejectedMeta?: unknown;
|
|
141
|
-
}>;
|
|
39
|
+
}, CivilFormValues, {}>;
|
|
40
|
+
export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
41
|
+
export declare const verifyNIDOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
42
|
+
export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<void, verifyPACIAsyncParams, {}>;
|
|
142
43
|
export declare const createCivilIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
143
44
|
response: any;
|
|
144
45
|
formData: CivilFormValues;
|
|
145
|
-
}, CivilFormValues, {
|
|
146
|
-
state?: unknown;
|
|
147
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
148
|
-
extra?: unknown;
|
|
149
|
-
rejectValue?: unknown;
|
|
150
|
-
serializedErrorType?: unknown;
|
|
151
|
-
pendingMeta?: unknown;
|
|
152
|
-
fulfilledMeta?: unknown;
|
|
153
|
-
rejectedMeta?: unknown;
|
|
154
|
-
}>;
|
|
46
|
+
}, CivilFormValues, {}>;
|
|
155
47
|
export declare const createNIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
156
48
|
response: {
|
|
157
49
|
verify_token: any;
|
|
158
50
|
};
|
|
159
51
|
formData: NIDFormValues;
|
|
160
|
-
}, NIDFormValues, {
|
|
161
|
-
state?: unknown;
|
|
162
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
163
|
-
extra?: unknown;
|
|
164
|
-
rejectValue?: unknown;
|
|
165
|
-
serializedErrorType?: unknown;
|
|
166
|
-
pendingMeta?: unknown;
|
|
167
|
-
fulfilledMeta?: unknown;
|
|
168
|
-
rejectedMeta?: unknown;
|
|
169
|
-
}>;
|
|
52
|
+
}, NIDFormValues, {}>;
|
|
170
53
|
export declare const resendNIDAuthIdentityOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
171
54
|
response: {
|
|
172
55
|
verify_token: any;
|
|
173
56
|
};
|
|
174
57
|
formData: NIDFormValues;
|
|
175
|
-
}, NIDFormValues, {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
extra?: unknown;
|
|
179
|
-
rejectValue?: unknown;
|
|
180
|
-
serializedErrorType?: unknown;
|
|
181
|
-
pendingMeta?: unknown;
|
|
182
|
-
fulfilledMeta?: unknown;
|
|
183
|
-
rejectedMeta?: unknown;
|
|
184
|
-
}>;
|
|
185
|
-
export declare const verifyNIDOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
186
|
-
state?: unknown;
|
|
187
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
188
|
-
extra?: unknown;
|
|
189
|
-
rejectValue?: unknown;
|
|
190
|
-
serializedErrorType?: unknown;
|
|
191
|
-
pendingMeta?: unknown;
|
|
192
|
-
fulfilledMeta?: unknown;
|
|
193
|
-
rejectedMeta?: unknown;
|
|
194
|
-
}>;
|
|
195
|
-
export declare const verifyPaciOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
196
|
-
state?: unknown;
|
|
197
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
198
|
-
extra?: unknown;
|
|
199
|
-
rejectValue?: unknown;
|
|
200
|
-
serializedErrorType?: unknown;
|
|
201
|
-
pendingMeta?: unknown;
|
|
202
|
-
fulfilledMeta?: unknown;
|
|
203
|
-
rejectedMeta?: unknown;
|
|
204
|
-
}>;
|
|
58
|
+
}, NIDFormValues, {}>;
|
|
59
|
+
export declare const verifyNIDOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
60
|
+
export declare const verifyPaciOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
205
61
|
export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
206
62
|
response: any;
|
|
207
63
|
formData: string;
|
|
@@ -209,16 +65,7 @@ export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").Asy
|
|
|
209
65
|
email: string;
|
|
210
66
|
cancelToken: CancelToken;
|
|
211
67
|
onSuccess?: (() => void) | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
state?: unknown;
|
|
214
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
215
|
-
extra?: unknown;
|
|
216
|
-
rejectValue?: unknown;
|
|
217
|
-
serializedErrorType?: unknown;
|
|
218
|
-
pendingMeta?: unknown;
|
|
219
|
-
fulfilledMeta?: unknown;
|
|
220
|
-
rejectedMeta?: unknown;
|
|
221
|
-
}>;
|
|
68
|
+
}, {}>;
|
|
222
69
|
export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
223
70
|
response: any;
|
|
224
71
|
formData: {
|
|
@@ -228,59 +75,23 @@ export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit")
|
|
|
228
75
|
name: string;
|
|
229
76
|
cancelToken: CancelToken;
|
|
230
77
|
onSuccess?: (() => void) | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
state?: unknown;
|
|
233
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
234
|
-
extra?: unknown;
|
|
235
|
-
rejectValue?: unknown;
|
|
236
|
-
serializedErrorType?: unknown;
|
|
237
|
-
pendingMeta?: unknown;
|
|
238
|
-
fulfilledMeta?: unknown;
|
|
239
|
-
rejectedMeta?: unknown;
|
|
240
|
-
}>;
|
|
78
|
+
}, {}>;
|
|
241
79
|
export declare const createAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
242
80
|
boardInfo: any;
|
|
243
81
|
boardData: any;
|
|
244
82
|
account: any;
|
|
245
|
-
} | undefined, void, {
|
|
246
|
-
state?: unknown;
|
|
247
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
248
|
-
extra?: unknown;
|
|
249
|
-
rejectValue?: unknown;
|
|
250
|
-
serializedErrorType?: unknown;
|
|
251
|
-
pendingMeta?: unknown;
|
|
252
|
-
fulfilledMeta?: unknown;
|
|
253
|
-
rejectedMeta?: unknown;
|
|
254
|
-
}>;
|
|
83
|
+
} | undefined, void, {}>;
|
|
255
84
|
interface verifyPACIAsyncParams {
|
|
256
85
|
onSuccess: () => void;
|
|
257
86
|
}
|
|
258
87
|
export declare const updateLeadIndividualAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
259
88
|
response: any;
|
|
260
89
|
formData: IndividualFormValues;
|
|
261
|
-
}, IndividualFormValues, {
|
|
262
|
-
state?: unknown;
|
|
263
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
264
|
-
extra?: unknown;
|
|
265
|
-
rejectValue?: unknown;
|
|
266
|
-
serializedErrorType?: unknown;
|
|
267
|
-
pendingMeta?: unknown;
|
|
268
|
-
fulfilledMeta?: unknown;
|
|
269
|
-
rejectedMeta?: unknown;
|
|
270
|
-
}>;
|
|
90
|
+
}, IndividualFormValues, {}>;
|
|
271
91
|
export declare const updateLeadBusinessDataAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
272
92
|
response: any;
|
|
273
93
|
formData: BusinessDataFormValues;
|
|
274
|
-
}, BusinessDataFormValues, {
|
|
275
|
-
state?: unknown;
|
|
276
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
277
|
-
extra?: unknown;
|
|
278
|
-
rejectValue?: unknown;
|
|
279
|
-
serializedErrorType?: unknown;
|
|
280
|
-
pendingMeta?: unknown;
|
|
281
|
-
fulfilledMeta?: unknown;
|
|
282
|
-
rejectedMeta?: unknown;
|
|
283
|
-
}>;
|
|
94
|
+
}, BusinessDataFormValues, {}>;
|
|
284
95
|
interface ResponseData {
|
|
285
96
|
responseData?: Record<string, any>;
|
|
286
97
|
}
|
|
@@ -317,7 +128,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpre
|
|
|
317
128
|
resetStore: (state: ConnectExpressState) => void;
|
|
318
129
|
resetIndividualScreen: (state: ConnectExpressState) => void;
|
|
319
130
|
}, "connectExpress/store">;
|
|
320
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
131
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setPostUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setShowBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
321
132
|
declare const _default: import("redux").Reducer<ConnectExpressState, import("redux").AnyAction>;
|
|
322
133
|
export default _default;
|
|
323
134
|
export declare const connectExpressSelector: (state: RootState) => ConnectExpressState;
|
|
@@ -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]) {
|
|
@@ -1027,7 +1027,7 @@ export var connectSlice = createSlice({
|
|
|
1027
1027
|
state.error = null;
|
|
1028
1028
|
})
|
|
1029
1029
|
.addCase(retrieveEntityListAsync.fulfilled, function (state, action) {
|
|
1030
|
-
var _a, _b
|
|
1030
|
+
var _a, _b;
|
|
1031
1031
|
state.loading = false;
|
|
1032
1032
|
var data = action.payload;
|
|
1033
1033
|
var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
@@ -1047,8 +1047,8 @@ export var connectSlice = createSlice({
|
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
1049
|
licenseList = __spreadArray(__spreadArray([], licenseList, true), [OTHER_CR_LICENSE, OTHER_FL_LICENSE], false);
|
|
1050
|
-
var
|
|
1051
|
-
var selectedLicense =
|
|
1050
|
+
var _c = ((_b = state.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}, license_number = _c.license_number, license_type = _c.license_type;
|
|
1051
|
+
var selectedLicense = undefined;
|
|
1052
1052
|
if (license_number) {
|
|
1053
1053
|
var findLicense = licenseList.find(function (_a) {
|
|
1054
1054
|
var license = _a.license;
|
|
@@ -1056,15 +1056,14 @@ export var connectSlice = createSlice({
|
|
|
1056
1056
|
});
|
|
1057
1057
|
if (findLicense)
|
|
1058
1058
|
selectedLicense = findLicense;
|
|
1059
|
+
else if (!findLicense && license_type === 'freelance') {
|
|
1060
|
+
selectedLicense = __assign(__assign({}, OTHER_FL_LICENSE), { license: { number: license_number } });
|
|
1061
|
+
}
|
|
1059
1062
|
else
|
|
1060
|
-
selectedLicense =
|
|
1061
|
-
|
|
1062
|
-
? __assign(__assign({}, OTHER_FL_LICENSE), { license: { number: license_number } }) : __assign(__assign({}, OTHER_CR_LICENSE), { license: { number: license_number } });
|
|
1063
|
+
selectedLicense = __assign(__assign({}, OTHER_CR_LICENSE), { license: { number: license_number } });
|
|
1064
|
+
state.data.businessData.licenseNumber = license_number;
|
|
1063
1065
|
}
|
|
1064
1066
|
state.data.businessData.selectedLicense = selectedLicense;
|
|
1065
|
-
var isOtherLicense = ((_c = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _c === void 0 ? void 0 : _c.number) === 'other_fl' || ((_d = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _d === void 0 ? void 0 : _d.number) === 'other_cr';
|
|
1066
|
-
if (!isOtherLicense)
|
|
1067
|
-
state.data.businessData.licenseNumber = ((_e = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _e === void 0 ? void 0 : _e.number) || '';
|
|
1068
1067
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { licenseList: licenseList });
|
|
1069
1068
|
})
|
|
1070
1069
|
.addCase(retrieveEntityListAsync.rejected, function (state, action) {
|