@mychoice/mychoice-sdk-store 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/cjs/handlers/dataHandlers/AuthDataHandler/AuthDataHandler.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/AuthDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/AuthDataHandler/interfaces.d.ts +9 -0
- package/dist/cjs/handlers/dataHandlers/ClearFormDataHandler/ClearFormDataHandler.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/ClearFormDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/ClearFormDataHandler/interfaces.d.ts +6 -0
- package/dist/cjs/handlers/dataHandlers/PartnerDataHandler/PartnerDataHandler.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/PartnerDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/PartnerDataHandler/interfaces.d.ts +4 -0
- package/dist/cjs/handlers/dataHandlers/PostalDataHandler/PostalDataHandler.d.ts +3 -0
- package/dist/cjs/handlers/dataHandlers/PostalDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/PostalDataHandler/interfaces.d.ts +4 -0
- package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/QuoteDataHandler.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +5 -0
- package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/QuoterEmailDataHandler.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/interfaces.d.ts +4 -0
- package/dist/cjs/handlers/dataHandlers/VehicleDataHandlers/VehicleInfoDataHandlers.d.ts +3 -0
- package/dist/cjs/handlers/dataHandlers/VehicleDataHandlers/index.d.ts +1 -0
- package/dist/cjs/handlers/dataHandlers/VehicleDataHandlers/interfaces.d.ts +10 -0
- package/dist/cjs/handlers/dataHandlers/index.d.ts +7 -0
- package/dist/cjs/handlers/dataHandlers/shared/dataReducer/actions.d.ts +7 -0
- package/dist/cjs/handlers/dataHandlers/shared/dataReducer/index.d.ts +4 -0
- package/dist/cjs/handlers/dataHandlers/shared/dataReducer/initialState.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/shared/dataReducer/interfaces.d.ts +14 -0
- package/dist/cjs/handlers/dataHandlers/shared/dataReducer/reducer.d.ts +2 -0
- package/dist/cjs/handlers/dataHandlers/shared/index.d.ts +1 -0
- package/dist/cjs/handlers/helper.d.ts +2 -0
- package/dist/cjs/handlers/index.d.ts +3 -0
- package/dist/cjs/handlers/validationHandlers/index.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/car/CarDiscountValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/car/DriverValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/car/VehicleValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/car/index.d.ts +3 -0
- package/dist/cjs/handlers/validationHandlers/insurances/car/interfaces.d.ts +20 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/AddressValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/ApplicantValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/DwellingValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/HomeDiscountValidationHandler.d.ts +2 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/index.d.ts +4 -0
- package/dist/cjs/handlers/validationHandlers/insurances/home/interfaces.d.ts +25 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +4998 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/services/httpRequest/hoox.d.ts +10 -0
- package/dist/cjs/services/httpRequest/httpHeader.d.ts +9 -0
- package/dist/cjs/services/httpRequest/httpRequest.d.ts +3 -0
- package/dist/cjs/services/httpRequest/index.d.ts +5 -0
- package/dist/cjs/services/httpRequest/initHttpRequest.d.ts +1 -0
- package/dist/cjs/services/httpRequest/interfaces.d.ts +29 -0
- package/dist/cjs/services/token.d.ts +11 -0
- package/dist/cjs/states/StoreProvider.d.ts +2 -0
- package/dist/cjs/states/index.d.ts +4 -0
- package/dist/cjs/states/reducers/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/hoox.d.ts +1 -0
- package/dist/cjs/states/reducers/index.d.ts +2 -0
- package/dist/cjs/states/reducers/interfaces.d.ts +29 -0
- package/dist/cjs/states/reducers/reducers.d.ts +27 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/actions.d.ts +8 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/interfaces.d.ts +34 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/localStore.d.ts +1 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/actions.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/hoox.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/interfaces.d.ts +38 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/actions.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/interfaces.d.ts +22 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/interfaces.d.ts +41 -0
- package/dist/cjs/states/reducers/states/ConfigState/AppModalState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/ConfigState/actions.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/hoox.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/index.d.ts +4 -0
- package/dist/cjs/states/reducers/states/ConfigState/reducer.d.ts +6 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/actions.d.ts +10 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/hoox.d.ts +5 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/initialState.d.ts +4 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/interfaces.d.ts +62 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/localStorage.d.ts +6 -0
- package/dist/cjs/states/reducers/states/GlobalState/ClientState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/actions.d.ts +4 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/helper.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/interfaces.d.ts +20 -0
- package/dist/cjs/states/reducers/states/GlobalState/PartnerState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/actions.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/GlobalState/index.d.ts +3 -0
- package/dist/cjs/states/reducers/states/GlobalState/reducer.d.ts +4 -0
- package/dist/cjs/states/reducers/states/actions.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/actions.d.ts +4 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/constants.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/interfaces.d.ts +65 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +27 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/helper.d.ts +9 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/initialState.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +185 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/localStore.d.ts +4 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces.d.ts +38 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/actions.d.ts +10 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/interfaces.d.ts +54 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/actions.d.ts +10 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces.d.ts +59 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/actions.d.ts +11 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/interfaces.d.ts +51 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +38 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/actions.d.ts +14 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +80 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/actions.d.ts +10 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces.d.ts +59 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/actions.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +45 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/actions.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/helper.d.ts +17 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/hoox.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/initialState.d.ts +42 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +114 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/reducer.d.ts +11 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/actions.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/helper.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/interfaces.d.ts +28 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/actions.d.ts +9 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/helper.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +68 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/actions.d.ts +31 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/helper.d.ts +10 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/initialState.d.ts +15 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +200 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/actions.d.ts +6 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/hoox.d.ts +6 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/index.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/reducer.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/actions.d.ts +9 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/interfaces.d.ts +52 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/AddressState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces.d.ts +38 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces.d.ts +38 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/actions.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces.d.ts +45 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/actions.d.ts +9 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces.d.ts +50 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/actions.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces.d.ts +44 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/actions.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/helper.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/hoox.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/initialState.d.ts +17 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/interfaces.d.ts +49 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/reducer.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +12 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +71 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/localStore.d.ts +4 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/actions.d.ts +26 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/helper.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/initialState.d.ts +15 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/interfaces.d.ts +166 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/actions.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/helper.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/index.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/initialState.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/interfaces.d.ts +40 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/localStore.d.ts +3 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/reducer.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/actions.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/hoox.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/index.d.ts +6 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/reducer.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/actions.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/hoox.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/index.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/shared/createTab.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/shared/helpers.d.ts +5 -0
- package/dist/cjs/states/reducers/states/formStates/shared/index.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/shared/initialStates.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/shared/interfaces.d.ts +20 -0
- package/dist/cjs/states/reducers/states/hoox.d.ts +3 -0
- package/dist/cjs/states/reducers/states/index.d.ts +3 -0
- package/dist/cjs/states/reducers/useTypedSelect.d.ts +3 -0
- package/dist/cjs/states/store.d.ts +27 -0
- package/dist/esm/handlers/dataHandlers/AuthDataHandler/AuthDataHandler.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/AuthDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/AuthDataHandler/interfaces.d.ts +9 -0
- package/dist/esm/handlers/dataHandlers/ClearFormDataHandler/ClearFormDataHandler.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/ClearFormDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/ClearFormDataHandler/interfaces.d.ts +6 -0
- package/dist/esm/handlers/dataHandlers/PartnerDataHandler/PartnerDataHandler.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/PartnerDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/PartnerDataHandler/interfaces.d.ts +4 -0
- package/dist/esm/handlers/dataHandlers/PostalDataHandler/PostalDataHandler.d.ts +3 -0
- package/dist/esm/handlers/dataHandlers/PostalDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/PostalDataHandler/interfaces.d.ts +4 -0
- package/dist/esm/handlers/dataHandlers/QuoteDataHandler/QuoteDataHandler.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/QuoteDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +5 -0
- package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/QuoterEmailDataHandler.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/interfaces.d.ts +4 -0
- package/dist/esm/handlers/dataHandlers/VehicleDataHandlers/VehicleInfoDataHandlers.d.ts +3 -0
- package/dist/esm/handlers/dataHandlers/VehicleDataHandlers/index.d.ts +1 -0
- package/dist/esm/handlers/dataHandlers/VehicleDataHandlers/interfaces.d.ts +10 -0
- package/dist/esm/handlers/dataHandlers/index.d.ts +7 -0
- package/dist/esm/handlers/dataHandlers/shared/dataReducer/actions.d.ts +7 -0
- package/dist/esm/handlers/dataHandlers/shared/dataReducer/index.d.ts +4 -0
- package/dist/esm/handlers/dataHandlers/shared/dataReducer/initialState.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/shared/dataReducer/interfaces.d.ts +14 -0
- package/dist/esm/handlers/dataHandlers/shared/dataReducer/reducer.d.ts +2 -0
- package/dist/esm/handlers/dataHandlers/shared/index.d.ts +1 -0
- package/dist/esm/handlers/helper.d.ts +2 -0
- package/dist/esm/handlers/index.d.ts +3 -0
- package/dist/esm/handlers/validationHandlers/index.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/car/CarDiscountValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/car/DriverValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/car/VehicleValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/car/index.d.ts +3 -0
- package/dist/esm/handlers/validationHandlers/insurances/car/interfaces.d.ts +20 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/AddressValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/ApplicantValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/DwellingValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/HomeDiscountValidationHandler.d.ts +2 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/index.d.ts +4 -0
- package/dist/esm/handlers/validationHandlers/insurances/home/interfaces.d.ts +25 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +4932 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/services/httpRequest/hoox.d.ts +10 -0
- package/dist/esm/services/httpRequest/httpHeader.d.ts +9 -0
- package/dist/esm/services/httpRequest/httpRequest.d.ts +3 -0
- package/dist/esm/services/httpRequest/index.d.ts +5 -0
- package/dist/esm/services/httpRequest/initHttpRequest.d.ts +1 -0
- package/dist/esm/services/httpRequest/interfaces.d.ts +29 -0
- package/dist/esm/services/token.d.ts +11 -0
- package/dist/esm/states/StoreProvider.d.ts +2 -0
- package/dist/esm/states/index.d.ts +4 -0
- package/dist/esm/states/reducers/actions.d.ts +1 -0
- package/dist/esm/states/reducers/hoox.d.ts +1 -0
- package/dist/esm/states/reducers/index.d.ts +2 -0
- package/dist/esm/states/reducers/interfaces.d.ts +29 -0
- package/dist/esm/states/reducers/reducers.d.ts +27 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/actions.d.ts +8 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/interfaces.d.ts +34 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/localStore.d.ts +1 -0
- package/dist/esm/states/reducers/states/ConfigState/AppConfigState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/actions.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/hoox.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/interfaces.d.ts +38 -0
- package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/actions.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/interfaces.d.ts +22 -0
- package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/interfaces.d.ts +41 -0
- package/dist/esm/states/reducers/states/ConfigState/AppModalState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/ConfigState/actions.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/hoox.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/index.d.ts +4 -0
- package/dist/esm/states/reducers/states/ConfigState/reducer.d.ts +6 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/actions.d.ts +10 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/hoox.d.ts +5 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/initialState.d.ts +4 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/interfaces.d.ts +62 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/localStorage.d.ts +6 -0
- package/dist/esm/states/reducers/states/GlobalState/ClientState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/actions.d.ts +4 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/helper.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/interfaces.d.ts +20 -0
- package/dist/esm/states/reducers/states/GlobalState/PartnerState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/actions.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/GlobalState/index.d.ts +3 -0
- package/dist/esm/states/reducers/states/GlobalState/reducer.d.ts +4 -0
- package/dist/esm/states/reducers/states/actions.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/actions.d.ts +4 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/constants.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/interfaces.d.ts +65 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +27 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/helper.d.ts +9 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/initialState.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +185 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/localStore.d.ts +4 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces.d.ts +38 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/actions.d.ts +10 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/interfaces.d.ts +54 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/actions.d.ts +10 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces.d.ts +59 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/actions.d.ts +11 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/interfaces.d.ts +51 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +38 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/actions.d.ts +14 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +80 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/actions.d.ts +10 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces.d.ts +59 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/actions.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +45 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/actions.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/helper.d.ts +17 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/hoox.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/initialState.d.ts +42 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +114 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/reducer.d.ts +11 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/actions.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/helper.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/interfaces.d.ts +28 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/actions.d.ts +9 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/helper.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +68 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/actions.d.ts +31 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/helper.d.ts +10 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/initialState.d.ts +15 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +200 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/actions.d.ts +6 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/hoox.d.ts +6 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/index.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/reducer.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/actions.d.ts +9 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/interfaces.d.ts +52 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces.d.ts +38 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces.d.ts +38 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/actions.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces.d.ts +45 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/actions.d.ts +9 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces.d.ts +50 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/actions.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces.d.ts +44 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/actions.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/helper.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/hoox.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/initialState.d.ts +17 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/interfaces.d.ts +49 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/reducer.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +12 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +71 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/localStore.d.ts +4 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/actions.d.ts +26 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/helper.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/initialState.d.ts +15 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/interfaces.d.ts +166 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/actions.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/helper.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/index.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/initialState.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/interfaces.d.ts +40 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/localStore.d.ts +3 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/reducer.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/actions.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/hoox.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/index.d.ts +6 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/reducer.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/actions.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/hoox.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/index.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/shared/createTab.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/shared/helpers.d.ts +5 -0
- package/dist/esm/states/reducers/states/formStates/shared/index.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/shared/initialStates.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/shared/interfaces.d.ts +20 -0
- package/dist/esm/states/reducers/states/hoox.d.ts +3 -0
- package/dist/esm/states/reducers/states/index.d.ts +3 -0
- package/dist/esm/states/reducers/useTypedSelect.d.ts +3 -0
- package/dist/esm/states/store.d.ts +27 -0
- package/dist/index.d.ts +2377 -0
- package/package.json +41 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2377 @@
|
|
|
1
|
+
import { SdkFC, ModalTypes, AppTypes, InsuranceTypes, DeviceTypes, ScreenBPTypes, VehicleConditionTypes, DriverLicenceTypes, GenderTypes, OccupationTypes, DriverPriorityTypes, ValidationStatusTypes, HomeOwnerTypes, RequestStatusTypes, SelectOptionInterface } from '@mychoice/mychoice-sdk-components';
|
|
2
|
+
import * as redux from 'redux';
|
|
3
|
+
|
|
4
|
+
declare const initHttpResponse: () => void;
|
|
5
|
+
|
|
6
|
+
declare class export_default{
|
|
7
|
+
static getActiveIndex: () => string;
|
|
8
|
+
static getAccessToken: () => string;
|
|
9
|
+
static getRefreshToken: () => string;
|
|
10
|
+
static setAccessToken(access: string): void;
|
|
11
|
+
static setTokens(data: {
|
|
12
|
+
access: string;
|
|
13
|
+
refresh: string;
|
|
14
|
+
}): void;
|
|
15
|
+
static clearTokens: () => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare const StoreProvider: SdkFC;
|
|
19
|
+
|
|
20
|
+
declare enum StoreClientActionTypes {
|
|
21
|
+
ClientSet = "ClientSet",
|
|
22
|
+
ClientClear = "ClientClear",
|
|
23
|
+
ClientInitial = "ClientInitial",
|
|
24
|
+
ClientGetLocal = "ClientGetLocal",
|
|
25
|
+
TokensSet = "TokensSet",
|
|
26
|
+
TokensAccessSet = "TokensAccessSet",
|
|
27
|
+
TokensRefreshSet = "TokensRefreshSet",
|
|
28
|
+
TokensClear = "TokensClear"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface ClientTokenInterface {
|
|
32
|
+
access: string;
|
|
33
|
+
refresh: string;
|
|
34
|
+
}
|
|
35
|
+
interface ClientProfileInterface {
|
|
36
|
+
id: string;
|
|
37
|
+
firstName: string;
|
|
38
|
+
lastName: string;
|
|
39
|
+
email: string;
|
|
40
|
+
gender: string;
|
|
41
|
+
}
|
|
42
|
+
interface ClientStateInterface {
|
|
43
|
+
isLoggedIn: boolean;
|
|
44
|
+
profile: ClientProfileInterface;
|
|
45
|
+
tokens: ClientTokenInterface;
|
|
46
|
+
}
|
|
47
|
+
declare type ClientStateActionType = {
|
|
48
|
+
type: StoreClientActionTypes.ClientSet;
|
|
49
|
+
payload: ClientProfileInterface;
|
|
50
|
+
index?: string;
|
|
51
|
+
} | {
|
|
52
|
+
type: StoreClientActionTypes.ClientClear;
|
|
53
|
+
payload?: null;
|
|
54
|
+
index?: string;
|
|
55
|
+
} | {
|
|
56
|
+
type: StoreClientActionTypes.ClientGetLocal;
|
|
57
|
+
payload?: null;
|
|
58
|
+
index?: string;
|
|
59
|
+
} | {
|
|
60
|
+
type: StoreClientActionTypes.TokensSet;
|
|
61
|
+
payload: ClientTokenInterface;
|
|
62
|
+
index?: string;
|
|
63
|
+
} | {
|
|
64
|
+
type: StoreClientActionTypes.TokensAccessSet;
|
|
65
|
+
payload: string;
|
|
66
|
+
index?: string;
|
|
67
|
+
} | {
|
|
68
|
+
type: StoreClientActionTypes.TokensRefreshSet;
|
|
69
|
+
payload: string;
|
|
70
|
+
index?: string;
|
|
71
|
+
} | {
|
|
72
|
+
type: StoreClientActionTypes.TokensClear;
|
|
73
|
+
payload?: null;
|
|
74
|
+
index?: string;
|
|
75
|
+
};
|
|
76
|
+
interface ClientHookInterface {
|
|
77
|
+
clientState: ClientStateInterface;
|
|
78
|
+
dispatchClientState: (props: ClientStateActionType) => void;
|
|
79
|
+
}
|
|
80
|
+
interface ClientLoggedInHookInterface {
|
|
81
|
+
isLoggedIn: boolean;
|
|
82
|
+
}
|
|
83
|
+
interface ProfileHookInterface {
|
|
84
|
+
profileState: ClientProfileInterface;
|
|
85
|
+
dispatchClientState: (props: ClientStateActionType) => void;
|
|
86
|
+
}
|
|
87
|
+
interface TokenHookInterface {
|
|
88
|
+
tokenState: ClientTokenInterface;
|
|
89
|
+
dispatchTokenState: (props: ClientStateActionType) => void;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare const useStoreClient: () => ClientHookInterface;
|
|
93
|
+
declare const useStoreClientLoggedIn: () => ClientLoggedInHookInterface;
|
|
94
|
+
declare const useStoreClientProfile: () => ProfileHookInterface;
|
|
95
|
+
declare const useStoreClientToken: () => TokenHookInterface;
|
|
96
|
+
|
|
97
|
+
declare enum StorePartnerActionTypes {
|
|
98
|
+
PartnerSet = "PartnerSet",
|
|
99
|
+
PartnerClear = "PartnerClear"
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface PartnerStateInterface {
|
|
103
|
+
logo: string;
|
|
104
|
+
name: string;
|
|
105
|
+
urlPath: string;
|
|
106
|
+
primaryColor: string;
|
|
107
|
+
secondaryColor: string;
|
|
108
|
+
redirectUrl: string;
|
|
109
|
+
}
|
|
110
|
+
declare type PartnerStateActionType = {
|
|
111
|
+
type: StorePartnerActionTypes.PartnerSet;
|
|
112
|
+
payload: PartnerStateInterface;
|
|
113
|
+
} | {
|
|
114
|
+
type: StorePartnerActionTypes.PartnerClear;
|
|
115
|
+
};
|
|
116
|
+
interface PartnerHookInterface {
|
|
117
|
+
partnerState: PartnerStateInterface;
|
|
118
|
+
dispatchPartnerState: (props: PartnerStateActionType) => void;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare const useStorePartner: () => PartnerHookInterface;
|
|
122
|
+
|
|
123
|
+
declare enum StoreConfigAppLoaderActionTypes {
|
|
124
|
+
AppLoaderOpen = "AppLoaderOpen",
|
|
125
|
+
AppLoaderClose = "AppLoaderClose"
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface AppLoaderStateInterface {
|
|
129
|
+
isOpen: boolean;
|
|
130
|
+
description: string;
|
|
131
|
+
}
|
|
132
|
+
declare type AppLoaderStateActionType = {
|
|
133
|
+
type: StoreConfigAppLoaderActionTypes.AppLoaderOpen;
|
|
134
|
+
payload: {
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
137
|
+
} | {
|
|
138
|
+
type: StoreConfigAppLoaderActionTypes.AppLoaderClose;
|
|
139
|
+
};
|
|
140
|
+
interface AppLoaderHookInterface {
|
|
141
|
+
appLoaderState: AppLoaderStateInterface;
|
|
142
|
+
dispatchAppLoaderState: (props: AppLoaderStateActionType) => void;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare const useStoreAppLoader: () => AppLoaderHookInterface;
|
|
146
|
+
|
|
147
|
+
declare enum StoreConfigAppModalActionTypes {
|
|
148
|
+
AppModalMessageModal = "AppModalMessageModal",
|
|
149
|
+
AppModalConfirmModal = "AppModalConfirmModal",
|
|
150
|
+
AppModalPostalModal = "AppModalPostalModal",
|
|
151
|
+
AppModalFinaleModal = "AppModalFinaleModal",
|
|
152
|
+
AppModalClose = "AppModalClose"
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface AppModalStateInterface {
|
|
156
|
+
isOpen: boolean;
|
|
157
|
+
modalType: ModalTypes;
|
|
158
|
+
title?: string;
|
|
159
|
+
description?: string;
|
|
160
|
+
submitButtonText?: string;
|
|
161
|
+
cancelButtonText?: string;
|
|
162
|
+
submitCallBack?: () => void;
|
|
163
|
+
cancelCallBack?: () => void;
|
|
164
|
+
}
|
|
165
|
+
declare type PayloadType = {
|
|
166
|
+
title?: string;
|
|
167
|
+
description?: string;
|
|
168
|
+
submitButtonText?: string;
|
|
169
|
+
cancelButtonText?: string;
|
|
170
|
+
submitCallBack?: () => void;
|
|
171
|
+
cancelCallBack?: () => void;
|
|
172
|
+
};
|
|
173
|
+
declare type AppModalStateActionType = {
|
|
174
|
+
type: StoreConfigAppModalActionTypes.AppModalMessageModal;
|
|
175
|
+
payload: PayloadType;
|
|
176
|
+
} | {
|
|
177
|
+
type: StoreConfigAppModalActionTypes.AppModalConfirmModal;
|
|
178
|
+
payload: PayloadType;
|
|
179
|
+
} | {
|
|
180
|
+
type: StoreConfigAppModalActionTypes.AppModalPostalModal;
|
|
181
|
+
payload: PayloadType;
|
|
182
|
+
} | {
|
|
183
|
+
type: StoreConfigAppModalActionTypes.AppModalFinaleModal;
|
|
184
|
+
payload: PayloadType;
|
|
185
|
+
} | {
|
|
186
|
+
type: StoreConfigAppModalActionTypes.AppModalClose;
|
|
187
|
+
};
|
|
188
|
+
interface AppModalHookInterface {
|
|
189
|
+
appModalState: AppModalStateInterface;
|
|
190
|
+
dispatchAppModalState: (props: AppModalStateActionType) => void;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare const useStoreAppModal: () => AppModalHookInterface;
|
|
194
|
+
|
|
195
|
+
declare enum StoreConfigAppConfigActionTypes {
|
|
196
|
+
AppConfigSetIsReady = "AppConfigSetIsReady",
|
|
197
|
+
AppConfigSetDrawWrapper = "AppConfigSetDrawWrapper",
|
|
198
|
+
AppConfigSetAppType = "AppConfigSetAppType",
|
|
199
|
+
AppConfigSetInsuranceType = "AppConfigSetInsuranceType",
|
|
200
|
+
AppConfigSetPreloaded = "AppConfigSetPreloaded",
|
|
201
|
+
AppConfigSetLocalIndex = "AppConfigSetLocalIndex"
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
interface AppConfigStateInterface {
|
|
205
|
+
isReady: boolean;
|
|
206
|
+
appType: AppTypes;
|
|
207
|
+
insuranceType: InsuranceTypes;
|
|
208
|
+
localIndex: string;
|
|
209
|
+
drawWrapper: boolean;
|
|
210
|
+
isPreloaded: boolean;
|
|
211
|
+
}
|
|
212
|
+
declare type AppConfigStateActionType = {
|
|
213
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetIsReady;
|
|
214
|
+
payload: boolean;
|
|
215
|
+
} | {
|
|
216
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetDrawWrapper;
|
|
217
|
+
payload: boolean;
|
|
218
|
+
} | {
|
|
219
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetAppType;
|
|
220
|
+
payload: AppTypes;
|
|
221
|
+
} | {
|
|
222
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetInsuranceType;
|
|
223
|
+
payload: InsuranceTypes;
|
|
224
|
+
} | {
|
|
225
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetPreloaded;
|
|
226
|
+
payload: boolean;
|
|
227
|
+
} | {
|
|
228
|
+
type: StoreConfigAppConfigActionTypes.AppConfigSetLocalIndex;
|
|
229
|
+
payload: string;
|
|
230
|
+
};
|
|
231
|
+
interface AppConfigHookInterface {
|
|
232
|
+
appConfigState: AppConfigStateInterface;
|
|
233
|
+
dispatchAppConfigState: (props: AppConfigStateActionType) => void;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare const useStoreAppConfig: () => AppConfigHookInterface;
|
|
237
|
+
|
|
238
|
+
declare enum StoreConfigAppDeviceActionTypes {
|
|
239
|
+
AppDeviceSetSize = "AppDeviceSetSize",
|
|
240
|
+
AppDeviceSetDeviceType = "AppDeviceSetDeviceType"
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
interface DeviceScreenInterface {
|
|
244
|
+
width: number;
|
|
245
|
+
height: number;
|
|
246
|
+
breakPoint: ScreenBPTypes;
|
|
247
|
+
}
|
|
248
|
+
interface AppDeviceStateInterface {
|
|
249
|
+
deviceType: DeviceTypes;
|
|
250
|
+
deviceScreen: DeviceScreenInterface;
|
|
251
|
+
}
|
|
252
|
+
declare type AppDeviceStateActionType = {
|
|
253
|
+
type: StoreConfigAppDeviceActionTypes.AppDeviceSetDeviceType;
|
|
254
|
+
payload: DeviceTypes;
|
|
255
|
+
} | {
|
|
256
|
+
type: StoreConfigAppDeviceActionTypes.AppDeviceSetSize;
|
|
257
|
+
payload: {
|
|
258
|
+
width: number;
|
|
259
|
+
height: number;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
interface AppDeviceHookInterface {
|
|
263
|
+
appDeviceState: AppDeviceStateInterface;
|
|
264
|
+
dispatchDeviceState: (props: AppDeviceStateActionType) => void;
|
|
265
|
+
}
|
|
266
|
+
interface AppDeviceTypeHookInterface {
|
|
267
|
+
appDeviceType: DeviceTypes;
|
|
268
|
+
dispatchAppLoaderState: (props: AppDeviceStateActionType) => void;
|
|
269
|
+
}
|
|
270
|
+
interface AppDeviceBPHookInterface {
|
|
271
|
+
appDeviceBP: ScreenBPTypes;
|
|
272
|
+
dispatchAppLoaderState: (props: AppDeviceStateActionType) => void;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
declare const useStoreAppDevice: () => AppDeviceHookInterface;
|
|
276
|
+
declare const useStoreDeviceType: () => AppDeviceTypeHookInterface;
|
|
277
|
+
declare const useStoreDeviceBP: () => AppDeviceBPHookInterface;
|
|
278
|
+
|
|
279
|
+
declare enum StoreFormCarVehicleActionTypes {
|
|
280
|
+
FormCarVehicleCreateVehicle = "FormCarVehicleCreateVehicle",
|
|
281
|
+
FormCarVehicleDeleteVehicle = "FormCarVehicleDeleteVehicle",
|
|
282
|
+
FormCarVehicleSelect = "FormCarVehicleSelect",
|
|
283
|
+
FormCarVehicleSet = "FormCarVehicleSet",
|
|
284
|
+
FormCarVehicleClear = "FormCarVehicleClear",
|
|
285
|
+
FormCarVehicleGetLocal = "FormCarVehicleGetLocal",
|
|
286
|
+
FormCarVehicleSetLocal = "FormCarVehicleSetLocal",
|
|
287
|
+
FormCarVehicleYearSet = "FormCarVehicleYearSet",
|
|
288
|
+
FormCarVehicleMakeSet = "FormCarVehicleMakeSet",
|
|
289
|
+
FormCarVehicleModelSet = "FormCarVehicleModelSet",
|
|
290
|
+
FormCarVehicleConditionSelect = "FormCarVehicleConditionSelect",
|
|
291
|
+
FormCarVehicleCarStatusSelect = "FormCarVehicleCarStatusSelect",
|
|
292
|
+
FormCarVehiclePurchaseDaySelect = "FormCarVehiclePurchaseDaySelect",
|
|
293
|
+
FormCarVehiclePurchaseMonthSelect = "FormCarVehiclePurchaseMonthSelect",
|
|
294
|
+
FormCarVehiclePurchaseYearSelect = "FormCarVehiclePurchaseYearSelect",
|
|
295
|
+
FormCarVehicleWinterTiresSelect = "FormCarVehicleWinterTiresSelect",
|
|
296
|
+
FormCarVehicleUsageSelect = "FormCarVehicleUsageSelect",
|
|
297
|
+
FormCarParkingLocationSelect = "FormCarParkingLocationSelect",
|
|
298
|
+
FormCarDailyDistanceSelect = "FormCarDailyDistanceSelect",
|
|
299
|
+
FormCarBusinessDistanceSelect = "FormCarBusinessDistanceSelect",
|
|
300
|
+
FormCarYearlyDistanceSelect = "FormCarYearlyDistanceSelect",
|
|
301
|
+
FormCarComprehensiveCoverageSelect = "FormCarComprehensiveCoverageSelect",
|
|
302
|
+
FormCarComprehensiveDeductibleSelect = "FormCarComprehensiveDeductibleSelect",
|
|
303
|
+
FormCarCollisionCoverageSelect = "FormCarCollisionCoverageSelect",
|
|
304
|
+
FormCarCollisionDeductibleSelect = "FormCarCollisionDeductibleSelect",
|
|
305
|
+
FormCarLiabilityCoverageSelect = "FormCarLiabilityCoverageSelect",
|
|
306
|
+
FormCarLiabilityLimitSelect = "FormCarLiabilityLimitSelect",
|
|
307
|
+
FormCarVehicleValidate = "FormCarVehicleValidate",
|
|
308
|
+
FormCarVehicleValidateSet = "FormCarVehicleValidateSet"
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
interface PostalStateSharedInterface {
|
|
312
|
+
city?: string;
|
|
313
|
+
postalCode?: string;
|
|
314
|
+
locationIndex?: string;
|
|
315
|
+
provinceCode: string;
|
|
316
|
+
provinceName: string;
|
|
317
|
+
redirectURL?: string;
|
|
318
|
+
}
|
|
319
|
+
interface TabItemInterface {
|
|
320
|
+
name: string;
|
|
321
|
+
index: number;
|
|
322
|
+
}
|
|
323
|
+
interface TabStateInterface {
|
|
324
|
+
tabs: TabItemInterface[];
|
|
325
|
+
activeIndex: number;
|
|
326
|
+
}
|
|
327
|
+
interface StateBaseInterface {
|
|
328
|
+
inValidation?: boolean;
|
|
329
|
+
isValid?: boolean;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
interface VehicleComprehensiveInterface {
|
|
333
|
+
coverage: boolean;
|
|
334
|
+
deductible: number;
|
|
335
|
+
}
|
|
336
|
+
interface VehicleCollisionInterface {
|
|
337
|
+
coverage: boolean;
|
|
338
|
+
deductible: number;
|
|
339
|
+
}
|
|
340
|
+
interface VehicleLiabilityInterface {
|
|
341
|
+
coverage: boolean;
|
|
342
|
+
limit: number;
|
|
343
|
+
}
|
|
344
|
+
interface VehicleItemInterface {
|
|
345
|
+
year: string | undefined;
|
|
346
|
+
make: string | undefined;
|
|
347
|
+
model: string | undefined;
|
|
348
|
+
leased: boolean;
|
|
349
|
+
purchaseDate: string;
|
|
350
|
+
purchaseYear?: string;
|
|
351
|
+
purchaseMonth?: string;
|
|
352
|
+
purchaseDay?: string;
|
|
353
|
+
winterTires: boolean;
|
|
354
|
+
parkingLocation: string;
|
|
355
|
+
primaryUse: string;
|
|
356
|
+
distanceDaily: number;
|
|
357
|
+
distanceBusiness?: number;
|
|
358
|
+
distanceYearly: number;
|
|
359
|
+
comprehensive: VehicleComprehensiveInterface;
|
|
360
|
+
collision: VehicleCollisionInterface;
|
|
361
|
+
liability: VehicleLiabilityInterface;
|
|
362
|
+
postalCode: string;
|
|
363
|
+
locationIndex: string;
|
|
364
|
+
city: string;
|
|
365
|
+
condition: VehicleConditionTypes;
|
|
366
|
+
}
|
|
367
|
+
interface FormCarVehicleStateInterface extends TabStateInterface, StateBaseInterface {
|
|
368
|
+
items: VehicleItemInterface[];
|
|
369
|
+
}
|
|
370
|
+
declare type FormCarVehicleStateActionType = {
|
|
371
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleValidate;
|
|
372
|
+
payload: {
|
|
373
|
+
inValidation: boolean;
|
|
374
|
+
};
|
|
375
|
+
localIndex?: string;
|
|
376
|
+
} | {
|
|
377
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleValidateSet;
|
|
378
|
+
payload: {
|
|
379
|
+
isValid: boolean;
|
|
380
|
+
};
|
|
381
|
+
localIndex?: string;
|
|
382
|
+
} | {
|
|
383
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleCreateVehicle;
|
|
384
|
+
payload?: null;
|
|
385
|
+
localIndex?: string;
|
|
386
|
+
} | {
|
|
387
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleDeleteVehicle;
|
|
388
|
+
payload: {
|
|
389
|
+
vehicleIndex: number;
|
|
390
|
+
};
|
|
391
|
+
localIndex?: string;
|
|
392
|
+
} | {
|
|
393
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleSet;
|
|
394
|
+
payload?: null;
|
|
395
|
+
localIndex?: string;
|
|
396
|
+
} | {
|
|
397
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleSelect;
|
|
398
|
+
payload: {
|
|
399
|
+
vehicleIndex: number;
|
|
400
|
+
};
|
|
401
|
+
localIndex?: string;
|
|
402
|
+
} | {
|
|
403
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleGetLocal;
|
|
404
|
+
payload?: null;
|
|
405
|
+
localIndex?: string;
|
|
406
|
+
} | {
|
|
407
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleSetLocal;
|
|
408
|
+
payload?: null;
|
|
409
|
+
localIndex?: string;
|
|
410
|
+
} | {
|
|
411
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleClear;
|
|
412
|
+
payload?: null;
|
|
413
|
+
localIndex?: string;
|
|
414
|
+
} | {
|
|
415
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleYearSet;
|
|
416
|
+
payload: {
|
|
417
|
+
year: string;
|
|
418
|
+
};
|
|
419
|
+
localIndex?: string;
|
|
420
|
+
} | {
|
|
421
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleMakeSet;
|
|
422
|
+
payload: {
|
|
423
|
+
make: string;
|
|
424
|
+
};
|
|
425
|
+
localIndex?: string;
|
|
426
|
+
} | {
|
|
427
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleModelSet;
|
|
428
|
+
payload: {
|
|
429
|
+
model: string;
|
|
430
|
+
};
|
|
431
|
+
localIndex?: string;
|
|
432
|
+
} | {
|
|
433
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleConditionSelect;
|
|
434
|
+
payload: {
|
|
435
|
+
condition: VehicleConditionTypes;
|
|
436
|
+
};
|
|
437
|
+
localIndex?: string;
|
|
438
|
+
} | {
|
|
439
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleCarStatusSelect;
|
|
440
|
+
payload: {
|
|
441
|
+
leased: boolean;
|
|
442
|
+
};
|
|
443
|
+
localIndex?: string;
|
|
444
|
+
} | {
|
|
445
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehiclePurchaseDaySelect;
|
|
446
|
+
payload: {
|
|
447
|
+
purchaseDay: string;
|
|
448
|
+
};
|
|
449
|
+
localIndex?: string;
|
|
450
|
+
} | {
|
|
451
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehiclePurchaseMonthSelect;
|
|
452
|
+
payload: {
|
|
453
|
+
purchaseMonth: string;
|
|
454
|
+
};
|
|
455
|
+
localIndex?: string;
|
|
456
|
+
} | {
|
|
457
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehiclePurchaseYearSelect;
|
|
458
|
+
payload: {
|
|
459
|
+
purchaseYear: string;
|
|
460
|
+
};
|
|
461
|
+
localIndex?: string;
|
|
462
|
+
} | {
|
|
463
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleWinterTiresSelect;
|
|
464
|
+
payload: {
|
|
465
|
+
winterTires: boolean;
|
|
466
|
+
};
|
|
467
|
+
localIndex?: string;
|
|
468
|
+
} | {
|
|
469
|
+
type: StoreFormCarVehicleActionTypes.FormCarVehicleUsageSelect;
|
|
470
|
+
payload: {
|
|
471
|
+
primaryUse: string;
|
|
472
|
+
};
|
|
473
|
+
localIndex?: string;
|
|
474
|
+
} | {
|
|
475
|
+
type: StoreFormCarVehicleActionTypes.FormCarParkingLocationSelect;
|
|
476
|
+
payload: {
|
|
477
|
+
parkingLocation: string;
|
|
478
|
+
};
|
|
479
|
+
localIndex?: string;
|
|
480
|
+
} | {
|
|
481
|
+
type: StoreFormCarVehicleActionTypes.FormCarDailyDistanceSelect;
|
|
482
|
+
payload: {
|
|
483
|
+
distanceDaily: string;
|
|
484
|
+
};
|
|
485
|
+
localIndex?: string;
|
|
486
|
+
} | {
|
|
487
|
+
type: StoreFormCarVehicleActionTypes.FormCarBusinessDistanceSelect;
|
|
488
|
+
payload: {
|
|
489
|
+
distanceBusiness: string;
|
|
490
|
+
};
|
|
491
|
+
localIndex?: string;
|
|
492
|
+
} | {
|
|
493
|
+
type: StoreFormCarVehicleActionTypes.FormCarYearlyDistanceSelect;
|
|
494
|
+
payload: {
|
|
495
|
+
distanceYearly: string;
|
|
496
|
+
};
|
|
497
|
+
localIndex?: string;
|
|
498
|
+
} | {
|
|
499
|
+
type: StoreFormCarVehicleActionTypes.FormCarComprehensiveCoverageSelect;
|
|
500
|
+
payload: {
|
|
501
|
+
coverage: boolean;
|
|
502
|
+
deductible: number;
|
|
503
|
+
};
|
|
504
|
+
localIndex?: string;
|
|
505
|
+
} | {
|
|
506
|
+
type: StoreFormCarVehicleActionTypes.FormCarCollisionCoverageSelect;
|
|
507
|
+
payload: {
|
|
508
|
+
coverage: boolean;
|
|
509
|
+
deductible: number;
|
|
510
|
+
};
|
|
511
|
+
localIndex?: string;
|
|
512
|
+
} | {
|
|
513
|
+
type: StoreFormCarVehicleActionTypes.FormCarLiabilityCoverageSelect;
|
|
514
|
+
payload: {
|
|
515
|
+
coverage: boolean;
|
|
516
|
+
limit: number;
|
|
517
|
+
};
|
|
518
|
+
localIndex?: string;
|
|
519
|
+
};
|
|
520
|
+
interface FormCarVehicleHookInterface {
|
|
521
|
+
vehicleState: FormCarVehicleStateInterface;
|
|
522
|
+
dispatchVehicleState: (props: FormCarVehicleStateActionType) => void;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
declare const useStoreFormCarVehicle: () => FormCarVehicleHookInterface;
|
|
526
|
+
|
|
527
|
+
declare enum StoreFormCarDriverAccidentActionTypes {
|
|
528
|
+
FormCarDriverAccidentSelect = "FormCarDriverAccidentSelect",
|
|
529
|
+
FormCarDriverAccidentYearSelect = "FormCarDriverAccidentYearSelect",
|
|
530
|
+
FormCarDriverAccidentMonthSelect = "FormCarDriverAccidentMonthSelect",
|
|
531
|
+
FormCarDriverAccidentAdd = "FormCarDriverAccidentAdd",
|
|
532
|
+
FormCarDriverAccidentDelete = "FormCarDriverAccidentDelete"
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
declare enum StoreFormCarConfigActionTypes {
|
|
536
|
+
FormCarConfigSet = "FormCarConfigSet",
|
|
537
|
+
FormCarConfigClear = "FormCarConfigClear"
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
interface LicenceConfigInterface {
|
|
541
|
+
title: string;
|
|
542
|
+
minLicenceAge: number;
|
|
543
|
+
g1: {
|
|
544
|
+
title: string;
|
|
545
|
+
name: string;
|
|
546
|
+
id: string;
|
|
547
|
+
description: string;
|
|
548
|
+
};
|
|
549
|
+
g2: {
|
|
550
|
+
title: string;
|
|
551
|
+
name: string;
|
|
552
|
+
id: string;
|
|
553
|
+
description: string;
|
|
554
|
+
};
|
|
555
|
+
g: {
|
|
556
|
+
title: string;
|
|
557
|
+
name: string;
|
|
558
|
+
id: string;
|
|
559
|
+
description: string;
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
interface FormCarConfigStateInterface {
|
|
563
|
+
name: string;
|
|
564
|
+
code: string;
|
|
565
|
+
toolTip: {
|
|
566
|
+
licenceAge: string;
|
|
567
|
+
licenceType: string;
|
|
568
|
+
};
|
|
569
|
+
licenceConfig: LicenceConfigInterface;
|
|
570
|
+
minDates: {
|
|
571
|
+
g1: {
|
|
572
|
+
minMonth: number;
|
|
573
|
+
defaultMonth: number;
|
|
574
|
+
};
|
|
575
|
+
g2: {
|
|
576
|
+
minMonth: number;
|
|
577
|
+
defaultMonth: number;
|
|
578
|
+
};
|
|
579
|
+
g: {
|
|
580
|
+
minMonth: number;
|
|
581
|
+
defaultMonth: number;
|
|
582
|
+
specialDate: string;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
declare type FormCarConfigStateActionType = {
|
|
587
|
+
type: StoreFormCarConfigActionTypes.FormCarConfigSet;
|
|
588
|
+
payload: {
|
|
589
|
+
province: string;
|
|
590
|
+
localIndex?: string;
|
|
591
|
+
};
|
|
592
|
+
} | {
|
|
593
|
+
type: StoreFormCarConfigActionTypes.FormCarConfigClear;
|
|
594
|
+
payload: {
|
|
595
|
+
province: string;
|
|
596
|
+
localIndex?: string;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
interface FormCarConfigHookInterface {
|
|
600
|
+
configState: FormCarConfigStateInterface;
|
|
601
|
+
dispatchConfigState: (props: FormCarConfigStateActionType) => void;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
interface DriverLicenceInterface {
|
|
605
|
+
licenceType: DriverLicenceTypes | '';
|
|
606
|
+
firstLicenceAge: number;
|
|
607
|
+
g1LicenceDate?: string;
|
|
608
|
+
g1LicenceYear?: string;
|
|
609
|
+
g1LicenceMonth?: string;
|
|
610
|
+
g2LicenceDate?: string;
|
|
611
|
+
g2LicenceYear?: string;
|
|
612
|
+
g2LicenceMonth?: string;
|
|
613
|
+
gLicenceDate?: string;
|
|
614
|
+
gLicenceYear?: string;
|
|
615
|
+
gLicenceMonth?: string;
|
|
616
|
+
passedDriverTraining?: boolean;
|
|
617
|
+
previousLicence?: boolean;
|
|
618
|
+
}
|
|
619
|
+
interface DriverCancellationItemInterface {
|
|
620
|
+
reason: string;
|
|
621
|
+
cancellationReason?: string;
|
|
622
|
+
startDate: string;
|
|
623
|
+
startYear?: string;
|
|
624
|
+
startMonth?: string;
|
|
625
|
+
endDate: string;
|
|
626
|
+
endYear?: string;
|
|
627
|
+
endMonth?: string;
|
|
628
|
+
}
|
|
629
|
+
interface SuspensionItemInterface {
|
|
630
|
+
reason: string;
|
|
631
|
+
suspensionReason?: string;
|
|
632
|
+
suspensionDate: string;
|
|
633
|
+
suspensionYear?: string;
|
|
634
|
+
suspensionMonth?: string;
|
|
635
|
+
reinstatementDate: string;
|
|
636
|
+
reinstatementYear?: string;
|
|
637
|
+
reinstatementMonth?: string;
|
|
638
|
+
}
|
|
639
|
+
interface AccidentItemInterface {
|
|
640
|
+
accidentDate: string;
|
|
641
|
+
accidentYear?: string;
|
|
642
|
+
accidentMonth?: string;
|
|
643
|
+
}
|
|
644
|
+
interface TicketItemInterface {
|
|
645
|
+
reason: string;
|
|
646
|
+
ticketReason?: string;
|
|
647
|
+
ticketDate: string;
|
|
648
|
+
ticketYear?: string;
|
|
649
|
+
ticketMonth?: string;
|
|
650
|
+
}
|
|
651
|
+
interface DriverMinMaxDates {
|
|
652
|
+
gMin: string;
|
|
653
|
+
gMax: string;
|
|
654
|
+
gDefault: string;
|
|
655
|
+
gBlock: boolean;
|
|
656
|
+
gOneMin: string;
|
|
657
|
+
gOneMax: string;
|
|
658
|
+
gOneDefault: string;
|
|
659
|
+
gOneBlock: boolean;
|
|
660
|
+
gTwoMin: string;
|
|
661
|
+
gTwoMax: string;
|
|
662
|
+
gTwoDefault: string;
|
|
663
|
+
gTwoBlock: boolean;
|
|
664
|
+
licenceAgeMax: number;
|
|
665
|
+
}
|
|
666
|
+
interface DriverItemInterface {
|
|
667
|
+
firstName: string;
|
|
668
|
+
dateOfBirth: string;
|
|
669
|
+
birthDay?: string;
|
|
670
|
+
birthMonth?: string;
|
|
671
|
+
birthYear?: string;
|
|
672
|
+
maritalStatus: string;
|
|
673
|
+
gender: GenderTypes;
|
|
674
|
+
occupation: OccupationTypes;
|
|
675
|
+
applicantRelationship?: string;
|
|
676
|
+
licenceInfo: DriverLicenceInterface;
|
|
677
|
+
minMaxDates?: DriverMinMaxDates;
|
|
678
|
+
listed: boolean;
|
|
679
|
+
listedYear?: string;
|
|
680
|
+
listedMonth?: string;
|
|
681
|
+
insured: boolean;
|
|
682
|
+
insuredDate?: string;
|
|
683
|
+
insuredYear?: string;
|
|
684
|
+
insuranceCancellation: boolean;
|
|
685
|
+
insuranceCancellationList?: DriverCancellationItemInterface[];
|
|
686
|
+
licenceSuspension: boolean;
|
|
687
|
+
licenceSuspensionList?: SuspensionItemInterface[];
|
|
688
|
+
accident: boolean;
|
|
689
|
+
accidentList?: AccidentItemInterface[];
|
|
690
|
+
ticket: boolean;
|
|
691
|
+
ticketList?: TicketItemInterface[];
|
|
692
|
+
}
|
|
693
|
+
interface FormCarDriverStateInterface extends TabStateInterface, StateBaseInterface {
|
|
694
|
+
items: DriverItemInterface[];
|
|
695
|
+
}
|
|
696
|
+
declare type ConfigType = {
|
|
697
|
+
config: FormCarConfigStateInterface;
|
|
698
|
+
};
|
|
699
|
+
declare type BirthDatePayloadType = ConfigType & {
|
|
700
|
+
[x in 'birthYear' | 'birthMonth' | 'birthDay']: string;
|
|
701
|
+
};
|
|
702
|
+
declare type LicenceAgePayloadType = ConfigType & {
|
|
703
|
+
firstLicenceAge: string | number;
|
|
704
|
+
};
|
|
705
|
+
declare type LicenceDatePayloadType = {
|
|
706
|
+
value: string;
|
|
707
|
+
config?: FormCarConfigStateInterface;
|
|
708
|
+
type?: DriverLicenceTypes;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
declare type FormCarDriverAccidentStateActionType = {
|
|
712
|
+
type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentAdd;
|
|
713
|
+
payload?: null;
|
|
714
|
+
localIndex?: string;
|
|
715
|
+
} | {
|
|
716
|
+
type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentDelete;
|
|
717
|
+
payload: {
|
|
718
|
+
itemIndex: number;
|
|
719
|
+
};
|
|
720
|
+
localIndex?: string;
|
|
721
|
+
} | {
|
|
722
|
+
type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentSelect;
|
|
723
|
+
payload: {
|
|
724
|
+
accident: boolean;
|
|
725
|
+
};
|
|
726
|
+
localIndex?: string;
|
|
727
|
+
} | {
|
|
728
|
+
type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentYearSelect;
|
|
729
|
+
payload: {
|
|
730
|
+
accidentYear: string;
|
|
731
|
+
index: number;
|
|
732
|
+
};
|
|
733
|
+
localIndex?: string;
|
|
734
|
+
} | {
|
|
735
|
+
type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentMonthSelect;
|
|
736
|
+
payload: {
|
|
737
|
+
accidentMonth: string;
|
|
738
|
+
index: number;
|
|
739
|
+
};
|
|
740
|
+
localIndex?: string;
|
|
741
|
+
};
|
|
742
|
+
interface FormCarDriverAccidentHookInterface {
|
|
743
|
+
driverState: FormCarDriverStateInterface;
|
|
744
|
+
dispatchDriverAccidentState: (props: FormCarDriverAccidentStateActionType) => void;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
declare const useStoreFormCarDriverAccident: () => FormCarDriverAccidentHookInterface;
|
|
748
|
+
|
|
749
|
+
declare enum StoreFormCarDriverCancellationActionTypes {
|
|
750
|
+
FormCarDriverInsuranceCancellationSelect = "FormCarDriverInsuranceCancellationSelect",
|
|
751
|
+
FormCarDriverInsuranceCancelReasonSelect = "FormCarDriverInsuranceCancelReasonSelect",
|
|
752
|
+
FormCarDriverInsuranceCancelStartYearSelect = "FormCarDriverInsuranceCancelStartYearSelect",
|
|
753
|
+
FormCarDriverInsuranceCancelStartMonthSelect = "FormCarDriverInsuranceCancelStartMonthSelect",
|
|
754
|
+
FormCarDriverInsuranceCancelEndYearSelect = "FormCarDriverInsuranceCancelEndYearSelect",
|
|
755
|
+
FormCarDriverInsuranceCancelEndMonthSelect = "FormCarDriverInsuranceCancelEndMonthSelect",
|
|
756
|
+
FormCarDriverInsuranceCancellationAdd = "FormCarDriverInsuranceCancellationAdd",
|
|
757
|
+
FormCarDriverInsuranceCancellationDelete = "FormCarDriverInsuranceCancellationDelete"
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
declare type FormCarDriverCancellationStateActionType = {
|
|
761
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancellationAdd;
|
|
762
|
+
payload?: null;
|
|
763
|
+
localIndex?: string;
|
|
764
|
+
} | {
|
|
765
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancellationDelete;
|
|
766
|
+
payload: {
|
|
767
|
+
itemIndex: number;
|
|
768
|
+
};
|
|
769
|
+
localIndex?: string;
|
|
770
|
+
} | {
|
|
771
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancellationSelect;
|
|
772
|
+
payload: {
|
|
773
|
+
insuranceCancellation: boolean;
|
|
774
|
+
};
|
|
775
|
+
localIndex?: string;
|
|
776
|
+
} | {
|
|
777
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancelReasonSelect;
|
|
778
|
+
payload: {
|
|
779
|
+
reason: string;
|
|
780
|
+
index: number;
|
|
781
|
+
};
|
|
782
|
+
localIndex?: string;
|
|
783
|
+
} | {
|
|
784
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancelStartYearSelect;
|
|
785
|
+
payload: {
|
|
786
|
+
startYear: string;
|
|
787
|
+
index: number;
|
|
788
|
+
};
|
|
789
|
+
localIndex?: string;
|
|
790
|
+
} | {
|
|
791
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancelStartMonthSelect;
|
|
792
|
+
payload: {
|
|
793
|
+
startMonth: string;
|
|
794
|
+
index: number;
|
|
795
|
+
};
|
|
796
|
+
localIndex?: string;
|
|
797
|
+
} | {
|
|
798
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancelEndYearSelect;
|
|
799
|
+
payload: {
|
|
800
|
+
endYear: string;
|
|
801
|
+
index: number;
|
|
802
|
+
};
|
|
803
|
+
localIndex?: string;
|
|
804
|
+
} | {
|
|
805
|
+
type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancelEndMonthSelect;
|
|
806
|
+
payload: {
|
|
807
|
+
endMonth: string;
|
|
808
|
+
index: number;
|
|
809
|
+
};
|
|
810
|
+
localIndex?: string;
|
|
811
|
+
};
|
|
812
|
+
interface FormCarDriverCancellationHookInterface {
|
|
813
|
+
driverState: FormCarDriverStateInterface;
|
|
814
|
+
dispatchDriverCancellationState: (props: FormCarDriverCancellationStateActionType) => void;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare const useStoreFormCarDriverCancellation: () => FormCarDriverCancellationHookInterface;
|
|
818
|
+
|
|
819
|
+
declare enum StoreFormCarDriverInfoActionTypes {
|
|
820
|
+
FormCarDriverNameSet = "FormCarDriverNameSet",
|
|
821
|
+
FormCarDriverMaritalStatusSelect = "FormCarDriverMaritalStatusSelect",
|
|
822
|
+
FormCarDriverBirthDateSelect = "FormCarDriverBirthDateSelect",
|
|
823
|
+
FormCarDriverBirthDaySelect = "FormCarDriverBirthDaySelect",
|
|
824
|
+
FormCarDriverBirthMonthSelect = "FormCarDriverBirthMonthSelect",
|
|
825
|
+
FormCarDriverBirthYearSelect = "FormCarDriverBirthYearSelect",
|
|
826
|
+
FormCarDriverOccupationSelect = "FormCarDriverOccupationSelect",
|
|
827
|
+
FormCarDriverGenderSelect = "FormCarDriverGenderSelect",
|
|
828
|
+
FormCarDriverApplicantRelationshipSelect = "FormCarDriverApplicantRelationshipSelect"
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
declare type FormCarDriverInfoStateActionType = {
|
|
832
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverNameSet;
|
|
833
|
+
payload: {
|
|
834
|
+
firstName: string;
|
|
835
|
+
};
|
|
836
|
+
localIndex?: string;
|
|
837
|
+
} | {
|
|
838
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverMaritalStatusSelect;
|
|
839
|
+
payload: {
|
|
840
|
+
maritalStatus: string;
|
|
841
|
+
};
|
|
842
|
+
localIndex?: string;
|
|
843
|
+
} | {
|
|
844
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverBirthDaySelect;
|
|
845
|
+
payload: BirthDatePayloadType;
|
|
846
|
+
localIndex?: string;
|
|
847
|
+
} | {
|
|
848
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverBirthMonthSelect;
|
|
849
|
+
payload: BirthDatePayloadType;
|
|
850
|
+
localIndex?: string;
|
|
851
|
+
} | {
|
|
852
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverBirthYearSelect;
|
|
853
|
+
payload: BirthDatePayloadType;
|
|
854
|
+
localIndex?: string;
|
|
855
|
+
} | {
|
|
856
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverOccupationSelect;
|
|
857
|
+
payload: {
|
|
858
|
+
occupation: OccupationTypes;
|
|
859
|
+
};
|
|
860
|
+
localIndex?: string;
|
|
861
|
+
} | {
|
|
862
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverGenderSelect;
|
|
863
|
+
payload: {
|
|
864
|
+
gender: GenderTypes;
|
|
865
|
+
};
|
|
866
|
+
localIndex?: string;
|
|
867
|
+
} | {
|
|
868
|
+
type: StoreFormCarDriverInfoActionTypes.FormCarDriverApplicantRelationshipSelect;
|
|
869
|
+
payload: {
|
|
870
|
+
applicantRelationship: string;
|
|
871
|
+
};
|
|
872
|
+
localIndex?: string;
|
|
873
|
+
};
|
|
874
|
+
interface FormCarDriverInfoHookInterface {
|
|
875
|
+
driverState: FormCarDriverStateInterface;
|
|
876
|
+
dispatchDriverInfoState: (props: FormCarDriverInfoStateActionType) => void;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare const useStoreFormCarDriverInfo: () => FormCarDriverInfoHookInterface;
|
|
880
|
+
|
|
881
|
+
declare enum StoreFormCarDriverInsuranceActionTypes {
|
|
882
|
+
FormCarDriverListedSelect = "FormCarDriverListedSelect",
|
|
883
|
+
FormCarDriverListedYearSelect = "FormCarDriverListedYearSelect",
|
|
884
|
+
FormCarDriverListedMonthSelect = "FormCarDriverListedMonthSelect",
|
|
885
|
+
FormCarDriverInsuredSelect = "FormCarDriverInsuredSelect",
|
|
886
|
+
FormCarDriverInsuredDateSelect = "FormCarDriverInsuredDateSelect"
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
declare type FormCarDriverInsuranceStateActionType = {
|
|
890
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverListedSelect;
|
|
891
|
+
payload: {
|
|
892
|
+
listed: boolean;
|
|
893
|
+
};
|
|
894
|
+
localIndex?: string;
|
|
895
|
+
} | {
|
|
896
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverListedYearSelect;
|
|
897
|
+
payload: {
|
|
898
|
+
listedYear: string;
|
|
899
|
+
};
|
|
900
|
+
localIndex?: string;
|
|
901
|
+
} | {
|
|
902
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverListedMonthSelect;
|
|
903
|
+
payload: {
|
|
904
|
+
listedMonth: string;
|
|
905
|
+
};
|
|
906
|
+
localIndex?: string;
|
|
907
|
+
} | {
|
|
908
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverInsuredSelect;
|
|
909
|
+
payload: {
|
|
910
|
+
insured: boolean;
|
|
911
|
+
};
|
|
912
|
+
localIndex?: string;
|
|
913
|
+
} | {
|
|
914
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverInsuredDateSelect;
|
|
915
|
+
payload: {
|
|
916
|
+
insuredDate: string;
|
|
917
|
+
};
|
|
918
|
+
localIndex?: string;
|
|
919
|
+
};
|
|
920
|
+
interface FormCarDriverInsuranceHookInterface {
|
|
921
|
+
driverState: FormCarDriverStateInterface;
|
|
922
|
+
dispatchDriverInsuranceState: (props: FormCarDriverInsuranceStateActionType) => void;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
declare const useStoreFormCarDriverInsurance: () => FormCarDriverInsuranceHookInterface;
|
|
926
|
+
|
|
927
|
+
declare enum StoreFormCarDriverLicenceActionTypes {
|
|
928
|
+
FormCarDriverLicenceAgeSelect = "FormCarDriverLicenceAgeSelect",
|
|
929
|
+
FormCarDriverLicenceTypeSelect = "FormCarDriverLicenceTypeSelect",
|
|
930
|
+
FormCarDriverGLicenceMinSelect = "FormCarDriverGLicenceMinSelect",
|
|
931
|
+
FormCarDriverG2LicenceMinSelect = "FormCarDriverG2LicenceMinSelect",
|
|
932
|
+
FormCarDriverG1LicenceMinSelect = "FormCarDriverG1LicenceMinSelect",
|
|
933
|
+
FormCarDriverGLicenceMaxSelect = "FormCarDriverGLicenceMaxSelect",
|
|
934
|
+
FormCarDriverG2LicenceMaxSelect = "FormCarDriverG2LicenceMaxSelect",
|
|
935
|
+
FormCarDriverG1LicenceMaxSelect = "FormCarDriverG1LicenceMaxSelect",
|
|
936
|
+
FormCarDriverTrainingSelect = "FormCarDriverTrainingSelect",
|
|
937
|
+
FormCarDriverPreviousLicenceSelect = "FormCarDriverPreviousLicenceSelect",
|
|
938
|
+
FormCarDriverLicenceYearSelect = "FormCarDriverLicenceYearSelect",
|
|
939
|
+
FormCarDriverLicenceMonthSelect = "FormCarDriverLicenceMonthSelect"
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare type FormCarDriverLicenceStateActionType = {
|
|
943
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverLicenceAgeSelect;
|
|
944
|
+
payload: {
|
|
945
|
+
firstLicenceAge: string | number;
|
|
946
|
+
config: FormCarConfigStateInterface;
|
|
947
|
+
};
|
|
948
|
+
localIndex?: string;
|
|
949
|
+
} | {
|
|
950
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverLicenceTypeSelect;
|
|
951
|
+
payload: {
|
|
952
|
+
licenceType: DriverLicenceTypes;
|
|
953
|
+
config: FormCarConfigStateInterface;
|
|
954
|
+
};
|
|
955
|
+
localIndex?: string;
|
|
956
|
+
} | {
|
|
957
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverLicenceYearSelect;
|
|
958
|
+
payload: LicenceDatePayloadType;
|
|
959
|
+
localIndex?: string;
|
|
960
|
+
} | {
|
|
961
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverLicenceMonthSelect;
|
|
962
|
+
payload: LicenceDatePayloadType;
|
|
963
|
+
localIndex?: string;
|
|
964
|
+
} | {
|
|
965
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverTrainingSelect;
|
|
966
|
+
payload: {
|
|
967
|
+
training: boolean;
|
|
968
|
+
};
|
|
969
|
+
localIndex?: string;
|
|
970
|
+
} | {
|
|
971
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverPreviousLicenceSelect;
|
|
972
|
+
payload: {
|
|
973
|
+
previousLicence: boolean;
|
|
974
|
+
};
|
|
975
|
+
localIndex?: string;
|
|
976
|
+
} | {
|
|
977
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverGLicenceMinSelect;
|
|
978
|
+
payload: {
|
|
979
|
+
gMin: string;
|
|
980
|
+
};
|
|
981
|
+
localIndex?: string;
|
|
982
|
+
} | {
|
|
983
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverG2LicenceMinSelect;
|
|
984
|
+
payload: {
|
|
985
|
+
gTwoMin: string;
|
|
986
|
+
};
|
|
987
|
+
localIndex?: string;
|
|
988
|
+
} | {
|
|
989
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverG1LicenceMinSelect;
|
|
990
|
+
payload: {
|
|
991
|
+
gOneMin: string;
|
|
992
|
+
};
|
|
993
|
+
localIndex?: string;
|
|
994
|
+
} | {
|
|
995
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverGLicenceMaxSelect;
|
|
996
|
+
payload: {
|
|
997
|
+
gMax: string;
|
|
998
|
+
};
|
|
999
|
+
localIndex?: string;
|
|
1000
|
+
} | {
|
|
1001
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverG2LicenceMaxSelect;
|
|
1002
|
+
payload: {
|
|
1003
|
+
gTwoMax: string;
|
|
1004
|
+
};
|
|
1005
|
+
localIndex?: string;
|
|
1006
|
+
} | {
|
|
1007
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverG1LicenceMaxSelect;
|
|
1008
|
+
payload: {
|
|
1009
|
+
gOneMax: string;
|
|
1010
|
+
};
|
|
1011
|
+
localIndex?: string;
|
|
1012
|
+
};
|
|
1013
|
+
interface FormCarDriverLicenceHookInterface {
|
|
1014
|
+
driverState: FormCarDriverStateInterface;
|
|
1015
|
+
dispatchDriverLicenceState: (props: FormCarDriverLicenceStateActionType) => void;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
declare const useStoreFormCarDriverLicence: () => FormCarDriverLicenceHookInterface;
|
|
1019
|
+
|
|
1020
|
+
declare enum StoreFormCarDriverSuspensionActionTypes {
|
|
1021
|
+
FormCarDriverLicenceSuspensionSelect = "FormCarDriverLicenceSuspensionSelect",
|
|
1022
|
+
FormCarDriverLicenceSuspensionReasonSelect = "FormCarDriverLicenceSuspensionReasonSelect",
|
|
1023
|
+
FormCarDriverLicenceSuspensionYearSelect = "FormCarDriverLicenceSuspensionYearSelect",
|
|
1024
|
+
FormCarDriverLicenceSuspensionMonthSelect = "FormCarDriverLicenceSuspensionMonthSelect",
|
|
1025
|
+
FormCarDriverLicenceReinstatementYearSelect = "FormCarDriverLicenceReinstatementYearSelect",
|
|
1026
|
+
FormCarDriverLicenceReinstatementMonthSelect = "FormCarDriverLicenceReinstatementMonthSelect",
|
|
1027
|
+
FormCarDriverLicenceSuspensionAdd = "FormCarDriverLicenceSuspensionAdd",
|
|
1028
|
+
FormCarDriverLicenceSuspensionDelete = "FormCarDriverLicenceSuspensionDelete"
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
declare type FormCarDriverSuspensionStateActionType = {
|
|
1032
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionAdd;
|
|
1033
|
+
payload?: null;
|
|
1034
|
+
localIndex?: string;
|
|
1035
|
+
} | {
|
|
1036
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionDelete;
|
|
1037
|
+
payload: {
|
|
1038
|
+
itemIndex: number;
|
|
1039
|
+
};
|
|
1040
|
+
localIndex?: string;
|
|
1041
|
+
} | {
|
|
1042
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionSelect;
|
|
1043
|
+
payload: {
|
|
1044
|
+
licenceSuspension: boolean;
|
|
1045
|
+
};
|
|
1046
|
+
localIndex?: string;
|
|
1047
|
+
} | {
|
|
1048
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionReasonSelect;
|
|
1049
|
+
payload: {
|
|
1050
|
+
reason: string;
|
|
1051
|
+
index: number;
|
|
1052
|
+
};
|
|
1053
|
+
localIndex?: string;
|
|
1054
|
+
} | {
|
|
1055
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionYearSelect;
|
|
1056
|
+
payload: {
|
|
1057
|
+
suspensionYear: string;
|
|
1058
|
+
index: number;
|
|
1059
|
+
};
|
|
1060
|
+
localIndex?: string;
|
|
1061
|
+
} | {
|
|
1062
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionMonthSelect;
|
|
1063
|
+
payload: {
|
|
1064
|
+
suspensionMonth: string;
|
|
1065
|
+
index: number;
|
|
1066
|
+
};
|
|
1067
|
+
localIndex?: string;
|
|
1068
|
+
} | {
|
|
1069
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceReinstatementYearSelect;
|
|
1070
|
+
payload: {
|
|
1071
|
+
reinstatementYear: string;
|
|
1072
|
+
index: number;
|
|
1073
|
+
};
|
|
1074
|
+
localIndex?: string;
|
|
1075
|
+
} | {
|
|
1076
|
+
type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceReinstatementMonthSelect;
|
|
1077
|
+
payload: {
|
|
1078
|
+
reinstatementMonth: string;
|
|
1079
|
+
index: number;
|
|
1080
|
+
};
|
|
1081
|
+
localIndex?: string;
|
|
1082
|
+
};
|
|
1083
|
+
interface FormCarDriverSuspensionHookInterface {
|
|
1084
|
+
driverState: FormCarDriverStateInterface;
|
|
1085
|
+
dispatchDriverSuspensionState: (props: FormCarDriverSuspensionStateActionType) => void;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
declare const useStoreFormCarDriverSuspension: () => FormCarDriverSuspensionHookInterface;
|
|
1089
|
+
|
|
1090
|
+
declare enum StoreFormCarDriverTicketActionTypes {
|
|
1091
|
+
FormCarDriverTrafficTicketSelect = "FormCarDriverTrafficTicketSelect",
|
|
1092
|
+
FormCarDriverTrafficTicketReasonSelect = "FormCarDriverTrafficTicketReasonSelect",
|
|
1093
|
+
FormCarDriverTrafficTicketYearSelect = "FormCarDriverTrafficTicketYearSelect",
|
|
1094
|
+
FormCarDriverTrafficTicketMonthSelect = "FormCarDriverTrafficTicketMonthSelect",
|
|
1095
|
+
FormCarDriverTrafficTicketAdd = "FormCarDriverTrafficTicketAdd",
|
|
1096
|
+
FormCarDriverTrafficTicketDelete = "FormCarDriverTrafficTicketDelete"
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
declare type FormCarDriverTicketStateActionType = {
|
|
1100
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketAdd;
|
|
1101
|
+
payload?: null;
|
|
1102
|
+
localIndex?: string;
|
|
1103
|
+
} | {
|
|
1104
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketDelete;
|
|
1105
|
+
payload: {
|
|
1106
|
+
itemIndex: number;
|
|
1107
|
+
};
|
|
1108
|
+
localIndex?: string;
|
|
1109
|
+
} | {
|
|
1110
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketSelect;
|
|
1111
|
+
payload: {
|
|
1112
|
+
ticket: boolean;
|
|
1113
|
+
};
|
|
1114
|
+
localIndex?: string;
|
|
1115
|
+
} | {
|
|
1116
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketReasonSelect;
|
|
1117
|
+
payload: {
|
|
1118
|
+
reason: string;
|
|
1119
|
+
index: number;
|
|
1120
|
+
};
|
|
1121
|
+
localIndex?: string;
|
|
1122
|
+
} | {
|
|
1123
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketYearSelect;
|
|
1124
|
+
payload: {
|
|
1125
|
+
ticketYear: string;
|
|
1126
|
+
index: number;
|
|
1127
|
+
};
|
|
1128
|
+
localIndex?: string;
|
|
1129
|
+
} | {
|
|
1130
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketMonthSelect;
|
|
1131
|
+
payload: {
|
|
1132
|
+
ticketMonth: string;
|
|
1133
|
+
index: number;
|
|
1134
|
+
};
|
|
1135
|
+
localIndex?: string;
|
|
1136
|
+
};
|
|
1137
|
+
interface FormCarDriverTicketHookInterface {
|
|
1138
|
+
driverState: FormCarDriverStateInterface;
|
|
1139
|
+
dispatchDriverTicketState: (props: FormCarDriverTicketStateActionType) => void;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
declare const useStoreFormCarDriverTicket: () => FormCarDriverTicketHookInterface;
|
|
1143
|
+
|
|
1144
|
+
declare enum StoreFormCarDriverBaseActionTypes {
|
|
1145
|
+
FormCarDriverGetLocal = "FormCarDriverGetLocal",
|
|
1146
|
+
FormCarDriverCreate = "FormCarDriverCreate",
|
|
1147
|
+
FormCarDriverDelete = "FormCarDriverDelete",
|
|
1148
|
+
FormCarDriverSelect = "FormCarDriverSelect",
|
|
1149
|
+
FormCarDriverValidate = "FormCarDriverValidate",
|
|
1150
|
+
FormCarDriverValidateSet = "FormCarDriverValidateSet",
|
|
1151
|
+
FormCarDriverClear = "FormCarDriverClear",
|
|
1152
|
+
FormCarDriverInitialList = "FormCarDriverInitialList"
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
declare type FormCarDriverBaseStateActionType = {
|
|
1156
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverValidate;
|
|
1157
|
+
payload: {
|
|
1158
|
+
inValidation: boolean;
|
|
1159
|
+
};
|
|
1160
|
+
localIndex?: string;
|
|
1161
|
+
} | {
|
|
1162
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverValidateSet;
|
|
1163
|
+
payload: {
|
|
1164
|
+
isValid: boolean;
|
|
1165
|
+
};
|
|
1166
|
+
localIndex?: string;
|
|
1167
|
+
} | {
|
|
1168
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverCreate;
|
|
1169
|
+
payload?: null;
|
|
1170
|
+
localIndex?: string;
|
|
1171
|
+
} | {
|
|
1172
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverGetLocal;
|
|
1173
|
+
payload?: null;
|
|
1174
|
+
localIndex?: string;
|
|
1175
|
+
} | {
|
|
1176
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverDelete;
|
|
1177
|
+
payload: {
|
|
1178
|
+
driverIndex: number;
|
|
1179
|
+
};
|
|
1180
|
+
localIndex?: string;
|
|
1181
|
+
} | {
|
|
1182
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverSelect;
|
|
1183
|
+
payload: {
|
|
1184
|
+
driverIndex: number;
|
|
1185
|
+
};
|
|
1186
|
+
localIndex?: string;
|
|
1187
|
+
} | {
|
|
1188
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverClear;
|
|
1189
|
+
payload?: null;
|
|
1190
|
+
localIndex?: string;
|
|
1191
|
+
} | {
|
|
1192
|
+
type: StoreFormCarDriverBaseActionTypes.FormCarDriverInitialList;
|
|
1193
|
+
payload: {
|
|
1194
|
+
listKey: string;
|
|
1195
|
+
};
|
|
1196
|
+
localIndex?: string;
|
|
1197
|
+
};
|
|
1198
|
+
interface FormCarDriverBaseHookInterface {
|
|
1199
|
+
driverState: FormCarDriverStateInterface;
|
|
1200
|
+
dispatchDriverBaseState: (props: FormCarDriverBaseStateActionType) => void;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
declare const useStoreFormCarDriverBase: () => FormCarDriverBaseHookInterface;
|
|
1204
|
+
|
|
1205
|
+
declare enum StoreFormCarDiscountActionTypes {
|
|
1206
|
+
FormCarDiscountGetLocal = "FormCarDiscountGetLocal",
|
|
1207
|
+
FormCarDiscountPolicyStartDaySelect = "FormCarDiscountPolicyStartDaySelect",
|
|
1208
|
+
FormCarDiscountPolicyStartMonthSelect = "FormCarDiscountPolicyStartMonthSelect",
|
|
1209
|
+
FormCarDiscountPolicyStartYearSelect = "FormCarDiscountPolicyStartYearSelect",
|
|
1210
|
+
FormCarDiscountMultiplePoliciesSelect = "FormCarDiscountMultiplePoliciesSelect",
|
|
1211
|
+
FormCarDiscountCaaMemberSelect = "FormCarDiscountCaaMemberSelect",
|
|
1212
|
+
FormCarDiscountAppInstallSelect = "FormCarDiscountAppInstallSelect",
|
|
1213
|
+
FormCarDiscountQuoterEmailSet = "FormCarDiscountQuoterEmailSet",
|
|
1214
|
+
FormCarDiscountQuoterFirstNameSet = "FormCarDiscountQuoterFirstNameSet",
|
|
1215
|
+
FormCarDiscountQuoterLastNameSet = "FormCarDiscountQuoterLastNameSet",
|
|
1216
|
+
FormCarDiscountQuoterPhoneSet = "FormCarDiscountQuoterPhoneSet",
|
|
1217
|
+
FormCarDiscountVehlinkAdd = "FormCarDiscountVehlinkAdd",
|
|
1218
|
+
FormCarDiscountVehlinkSelect = "FormCarDiscountVehlinkSelect",
|
|
1219
|
+
FormCarDiscountVehlinkByVehicleDelete = "FormCarDiscountVehlinkByVehicleDelete",
|
|
1220
|
+
FormCarDiscountVehlinkByDriverDelete = "FormCarDiscountVehlinkByDriverDelete",
|
|
1221
|
+
FormCarDiscountQuoterEmailStatusSet = "FormCarDiscountQuoterEmailStatusSet",
|
|
1222
|
+
FormCarDiscountValidate = "FormCarDiscountValidate",
|
|
1223
|
+
FormCarDiscountValidateSet = "FormCarDiscountValidateSet",
|
|
1224
|
+
FormCarDiscountClear = "FormCarDiscountClear",
|
|
1225
|
+
FormCarDiscountQuoterDriverLicenseSet = "FormCarDiscountQuoterDriverLicenseSet",
|
|
1226
|
+
FormCarDiscountQuoterCaslConsentSet = "FormCarDiscountQuoterCaslConsentSet",
|
|
1227
|
+
FormCarDiscountQuoterBrokerInfoSet = "FormCarDiscountQuoterBrokerInfoSet",
|
|
1228
|
+
FormCarDiscountQuoterUtmSourceSet = "FormCarDiscountQuoterUtmSourceSet",
|
|
1229
|
+
FormCarDiscountQuoterUtmCampaignSet = "FormCarDiscountQuoterUtmCampaignSet",
|
|
1230
|
+
FormCarDiscountQuoterInitialSet = "FormCarDiscountQuoterInitialSet"
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
interface DiscountQuoterInfoInterface {
|
|
1234
|
+
firstName: string;
|
|
1235
|
+
lastName: string;
|
|
1236
|
+
phone: string;
|
|
1237
|
+
recalculate: boolean;
|
|
1238
|
+
utmSource?: string;
|
|
1239
|
+
utmCampaign?: string;
|
|
1240
|
+
brokerInfo?: {
|
|
1241
|
+
[key: string]: string | number | boolean;
|
|
1242
|
+
};
|
|
1243
|
+
driverLicense?: string;
|
|
1244
|
+
splashScreen?: boolean;
|
|
1245
|
+
caslConsent?: boolean;
|
|
1246
|
+
partner?: string;
|
|
1247
|
+
initial: boolean;
|
|
1248
|
+
}
|
|
1249
|
+
interface DiscountVehLinkInterface {
|
|
1250
|
+
driverIndex: number;
|
|
1251
|
+
priority: DriverPriorityTypes;
|
|
1252
|
+
vehicleIndex: number;
|
|
1253
|
+
}
|
|
1254
|
+
interface FormCarDiscountStateInterface extends StateBaseInterface {
|
|
1255
|
+
appInstallDiscount: boolean;
|
|
1256
|
+
caaMemberDiscount: boolean;
|
|
1257
|
+
emailTo: {
|
|
1258
|
+
email: string;
|
|
1259
|
+
emailStatus: ValidationStatusTypes;
|
|
1260
|
+
};
|
|
1261
|
+
multiplePoliciesDiscount: boolean;
|
|
1262
|
+
policyStart: string;
|
|
1263
|
+
policyStartDay?: string;
|
|
1264
|
+
policyStartMonth?: string;
|
|
1265
|
+
policyStartYear?: string;
|
|
1266
|
+
quoterInfo: DiscountQuoterInfoInterface;
|
|
1267
|
+
vehlinks: DiscountVehLinkInterface[];
|
|
1268
|
+
}
|
|
1269
|
+
declare type FormCarDiscountStateActionType = {
|
|
1270
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountValidate;
|
|
1271
|
+
payload: {
|
|
1272
|
+
inValidation: boolean;
|
|
1273
|
+
};
|
|
1274
|
+
localIndex?: string;
|
|
1275
|
+
} | {
|
|
1276
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountValidateSet;
|
|
1277
|
+
payload: {
|
|
1278
|
+
isValid: boolean;
|
|
1279
|
+
};
|
|
1280
|
+
localIndex?: string;
|
|
1281
|
+
} | {
|
|
1282
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountGetLocal;
|
|
1283
|
+
payload?: null;
|
|
1284
|
+
localIndex?: string;
|
|
1285
|
+
} | {
|
|
1286
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountVehlinkAdd;
|
|
1287
|
+
payload?: null;
|
|
1288
|
+
localIndex?: string;
|
|
1289
|
+
} | {
|
|
1290
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountVehlinkByVehicleDelete;
|
|
1291
|
+
payload: {
|
|
1292
|
+
vehicleIndex: number;
|
|
1293
|
+
};
|
|
1294
|
+
localIndex?: string;
|
|
1295
|
+
} | {
|
|
1296
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountVehlinkSelect;
|
|
1297
|
+
payload: {
|
|
1298
|
+
driverIndex: number;
|
|
1299
|
+
vehicleIndex: number;
|
|
1300
|
+
};
|
|
1301
|
+
localIndex?: string;
|
|
1302
|
+
} | {
|
|
1303
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountVehlinkByDriverDelete;
|
|
1304
|
+
payload: {
|
|
1305
|
+
driverIndex: number;
|
|
1306
|
+
};
|
|
1307
|
+
localIndex?: string;
|
|
1308
|
+
} | {
|
|
1309
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountMultiplePoliciesSelect;
|
|
1310
|
+
payload: {
|
|
1311
|
+
multiplePoliciesDiscount: boolean;
|
|
1312
|
+
};
|
|
1313
|
+
localIndex?: string;
|
|
1314
|
+
} | {
|
|
1315
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountCaaMemberSelect;
|
|
1316
|
+
payload: {
|
|
1317
|
+
caaMemberDiscount: boolean;
|
|
1318
|
+
};
|
|
1319
|
+
localIndex?: string;
|
|
1320
|
+
} | {
|
|
1321
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountAppInstallSelect;
|
|
1322
|
+
payload: {
|
|
1323
|
+
appInstallDiscount: boolean;
|
|
1324
|
+
};
|
|
1325
|
+
localIndex?: string;
|
|
1326
|
+
} | {
|
|
1327
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterFirstNameSet;
|
|
1328
|
+
payload: {
|
|
1329
|
+
firstName: string;
|
|
1330
|
+
};
|
|
1331
|
+
localIndex?: string;
|
|
1332
|
+
} | {
|
|
1333
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterLastNameSet;
|
|
1334
|
+
payload: {
|
|
1335
|
+
lastName: string;
|
|
1336
|
+
};
|
|
1337
|
+
localIndex?: string;
|
|
1338
|
+
} | {
|
|
1339
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterPhoneSet;
|
|
1340
|
+
payload: {
|
|
1341
|
+
phone: string;
|
|
1342
|
+
};
|
|
1343
|
+
localIndex?: string;
|
|
1344
|
+
} | {
|
|
1345
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterBrokerInfoSet;
|
|
1346
|
+
payload: {
|
|
1347
|
+
[key: string]: string | number | boolean;
|
|
1348
|
+
};
|
|
1349
|
+
localIndex?: string;
|
|
1350
|
+
} | {
|
|
1351
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmSourceSet;
|
|
1352
|
+
payload: {
|
|
1353
|
+
utmSource: string;
|
|
1354
|
+
};
|
|
1355
|
+
localIndex?: string;
|
|
1356
|
+
} | {
|
|
1357
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmCampaignSet;
|
|
1358
|
+
payload: {
|
|
1359
|
+
utmCampaign: string;
|
|
1360
|
+
};
|
|
1361
|
+
localIndex?: string;
|
|
1362
|
+
} | {
|
|
1363
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterInitialSet;
|
|
1364
|
+
payload: {
|
|
1365
|
+
initial: boolean;
|
|
1366
|
+
};
|
|
1367
|
+
localIndex?: string;
|
|
1368
|
+
} | {
|
|
1369
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterDriverLicenseSet;
|
|
1370
|
+
payload: {
|
|
1371
|
+
driverLicense?: string;
|
|
1372
|
+
};
|
|
1373
|
+
localIndex?: string;
|
|
1374
|
+
} | {
|
|
1375
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterCaslConsentSet;
|
|
1376
|
+
payload: {
|
|
1377
|
+
caslConsent: boolean;
|
|
1378
|
+
};
|
|
1379
|
+
localIndex?: string;
|
|
1380
|
+
} | {
|
|
1381
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterEmailSet;
|
|
1382
|
+
payload: {
|
|
1383
|
+
email: string;
|
|
1384
|
+
emailStatus: ValidationStatusTypes;
|
|
1385
|
+
};
|
|
1386
|
+
localIndex?: string;
|
|
1387
|
+
} | {
|
|
1388
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountPolicyStartDaySelect;
|
|
1389
|
+
payload: {
|
|
1390
|
+
policyStartDay: string;
|
|
1391
|
+
};
|
|
1392
|
+
localIndex?: string;
|
|
1393
|
+
} | {
|
|
1394
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountPolicyStartMonthSelect;
|
|
1395
|
+
payload: {
|
|
1396
|
+
policyStartMonth: string;
|
|
1397
|
+
};
|
|
1398
|
+
localIndex?: string;
|
|
1399
|
+
} | {
|
|
1400
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountPolicyStartYearSelect;
|
|
1401
|
+
payload: {
|
|
1402
|
+
policyStartYear: string;
|
|
1403
|
+
};
|
|
1404
|
+
localIndex?: string;
|
|
1405
|
+
} | {
|
|
1406
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountClear;
|
|
1407
|
+
payload?: null;
|
|
1408
|
+
localIndex?: string;
|
|
1409
|
+
};
|
|
1410
|
+
interface FormCarDiscountHookInterface {
|
|
1411
|
+
discountState: FormCarDiscountStateInterface;
|
|
1412
|
+
dispatchDiscountState: (props: FormCarDiscountStateActionType) => void;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
declare const useStoreFormCarDiscount: () => FormCarDiscountHookInterface;
|
|
1416
|
+
|
|
1417
|
+
declare enum StoreFormCarPostalActionTypes {
|
|
1418
|
+
FormCarPostalSet = "FormCarPostalSet",
|
|
1419
|
+
FormCarPostalClear = "FormCarPostalClear",
|
|
1420
|
+
FormCarPostalGetLocal = "FormCarPostalGetLocal"
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
interface FormCarPostalStateInterface {
|
|
1424
|
+
isReady: boolean;
|
|
1425
|
+
item: PostalStateSharedInterface;
|
|
1426
|
+
}
|
|
1427
|
+
declare type FormCarPostalStateActionType = {
|
|
1428
|
+
type: StoreFormCarPostalActionTypes.FormCarPostalSet;
|
|
1429
|
+
payload: PostalStateSharedInterface;
|
|
1430
|
+
localIndex?: string;
|
|
1431
|
+
} | {
|
|
1432
|
+
type: StoreFormCarPostalActionTypes.FormCarPostalGetLocal;
|
|
1433
|
+
payload?: null;
|
|
1434
|
+
localIndex?: string;
|
|
1435
|
+
} | {
|
|
1436
|
+
type: StoreFormCarPostalActionTypes.FormCarPostalClear;
|
|
1437
|
+
payload?: null;
|
|
1438
|
+
localIndex?: string;
|
|
1439
|
+
};
|
|
1440
|
+
interface FormCarPostalHookInterface {
|
|
1441
|
+
postalState: FormCarPostalStateInterface;
|
|
1442
|
+
dispatchPostalState: (props: FormCarPostalStateActionType) => void;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare const useStoreFormCarPostal: () => FormCarPostalHookInterface;
|
|
1446
|
+
|
|
1447
|
+
declare const useStoreFormCarConfig: () => FormCarConfigHookInterface;
|
|
1448
|
+
|
|
1449
|
+
declare enum StoreFormCarQuoteActionTypes {
|
|
1450
|
+
UpdateQuoteResponse = "UpdateQuoteResponse",
|
|
1451
|
+
FormCarQuoteIsRequestedSet = "FormCarQuoteIsRequestedSet",
|
|
1452
|
+
FormCarQuoteRequestDateSet = "FormCarQuoteRequestDateSet",
|
|
1453
|
+
FormCarQuotesSet = "FormCarQuotesSet",
|
|
1454
|
+
FormCarQuoteGetLocal = "FormCarQuoteGetLocal",
|
|
1455
|
+
FormCarQuoteClear = "FormCarQuoteClear",
|
|
1456
|
+
UpdateCallMessage = "UpdateCallMessage"
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
interface BrokerProfileInterface {
|
|
1460
|
+
description: string;
|
|
1461
|
+
hoursSaturday: string;
|
|
1462
|
+
hoursSunday: string;
|
|
1463
|
+
hoursWorkdays: string;
|
|
1464
|
+
logo: string;
|
|
1465
|
+
phone: string;
|
|
1466
|
+
title: string;
|
|
1467
|
+
redirectUrl?: string;
|
|
1468
|
+
}
|
|
1469
|
+
interface QuoteCompanyInterface {
|
|
1470
|
+
description: string;
|
|
1471
|
+
logo: string;
|
|
1472
|
+
name: string;
|
|
1473
|
+
}
|
|
1474
|
+
interface QuoteItemInterface {
|
|
1475
|
+
brokerProfile: BrokerProfileInterface;
|
|
1476
|
+
company: QuoteCompanyInterface;
|
|
1477
|
+
date: string;
|
|
1478
|
+
id: number | null;
|
|
1479
|
+
priceMonthly: string;
|
|
1480
|
+
priceYearly: string;
|
|
1481
|
+
}
|
|
1482
|
+
interface FormCarQuoteStateInterface {
|
|
1483
|
+
items: QuoteItemInterface[];
|
|
1484
|
+
isRequested: boolean;
|
|
1485
|
+
requestDate: string;
|
|
1486
|
+
showCallMessage: boolean;
|
|
1487
|
+
}
|
|
1488
|
+
declare type FormCarQuoteStateActionType = {
|
|
1489
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteIsRequestedSet;
|
|
1490
|
+
payload: {
|
|
1491
|
+
isRequested: boolean;
|
|
1492
|
+
};
|
|
1493
|
+
localIndex?: string;
|
|
1494
|
+
} | {
|
|
1495
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteRequestDateSet;
|
|
1496
|
+
payload: {
|
|
1497
|
+
requestDate: string;
|
|
1498
|
+
};
|
|
1499
|
+
localIndex?: string;
|
|
1500
|
+
} | {
|
|
1501
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuotesSet;
|
|
1502
|
+
payload: {
|
|
1503
|
+
items: QuoteItemInterface[];
|
|
1504
|
+
};
|
|
1505
|
+
localIndex?: string;
|
|
1506
|
+
} | {
|
|
1507
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteGetLocal;
|
|
1508
|
+
payload?: null;
|
|
1509
|
+
localIndex?: string;
|
|
1510
|
+
} | {
|
|
1511
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteClear;
|
|
1512
|
+
payload?: null;
|
|
1513
|
+
localIndex?: string;
|
|
1514
|
+
} | {
|
|
1515
|
+
type: StoreFormCarQuoteActionTypes.UpdateCallMessage;
|
|
1516
|
+
payload: {
|
|
1517
|
+
showCallMessage: boolean;
|
|
1518
|
+
};
|
|
1519
|
+
localIndex?: string;
|
|
1520
|
+
};
|
|
1521
|
+
declare type FormCarQuoteStateReducerInterface = (state: FormCarQuoteStateInterface, action: FormCarQuoteStateActionType) => FormCarQuoteStateInterface;
|
|
1522
|
+
interface FormCarQuoteHookInterface {
|
|
1523
|
+
quoteState: FormCarQuoteStateInterface;
|
|
1524
|
+
dispatchQuoteState: (props: FormCarQuoteStateActionType) => void;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
declare const useStoreFormCarQuote: () => FormCarQuoteHookInterface;
|
|
1528
|
+
|
|
1529
|
+
declare enum StoreFormHomePostalActionTypes {
|
|
1530
|
+
FormHomePostalSet = "FormHomePostalSet",
|
|
1531
|
+
FormHomePostalCitySet = "FormHomePostalCitySet",
|
|
1532
|
+
FormHomePostalCodeSet = "FormHomePostalCodeSet",
|
|
1533
|
+
FormHomePostalClear = "FormHomePostalClear",
|
|
1534
|
+
FormHomePostalGetLocal = "FormHomePostalGetLocal"
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
interface FormHomePostalStateInterface {
|
|
1538
|
+
isReady: boolean;
|
|
1539
|
+
item: PostalStateSharedInterface;
|
|
1540
|
+
}
|
|
1541
|
+
declare type FormHomePostalStateActionType = {
|
|
1542
|
+
type: StoreFormHomePostalActionTypes.FormHomePostalSet;
|
|
1543
|
+
payload: PostalStateSharedInterface;
|
|
1544
|
+
localIndex?: string;
|
|
1545
|
+
} | {
|
|
1546
|
+
type: StoreFormHomePostalActionTypes.FormHomePostalCitySet;
|
|
1547
|
+
payload: {
|
|
1548
|
+
city: string;
|
|
1549
|
+
};
|
|
1550
|
+
localIndex?: string;
|
|
1551
|
+
} | {
|
|
1552
|
+
type: StoreFormHomePostalActionTypes.FormHomePostalCodeSet;
|
|
1553
|
+
payload: {
|
|
1554
|
+
postalCode: string;
|
|
1555
|
+
};
|
|
1556
|
+
localIndex?: string;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: StoreFormHomePostalActionTypes.FormHomePostalGetLocal;
|
|
1559
|
+
payload?: null;
|
|
1560
|
+
localIndex?: string;
|
|
1561
|
+
} | {
|
|
1562
|
+
type: StoreFormHomePostalActionTypes.FormHomePostalClear;
|
|
1563
|
+
payload?: null;
|
|
1564
|
+
localIndex?: string;
|
|
1565
|
+
};
|
|
1566
|
+
interface FormHomePostalHookInterface {
|
|
1567
|
+
postalState: FormHomePostalStateInterface;
|
|
1568
|
+
dispatchPostalState: (props: FormHomePostalStateActionType) => void;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
declare const useStoreFormHomePostal: () => FormHomePostalHookInterface;
|
|
1572
|
+
|
|
1573
|
+
declare enum StoreFormHomeAddressActionTypes {
|
|
1574
|
+
FormHomeAddressGetLocal = "FormHomeAddressGetLocal",
|
|
1575
|
+
FormHomeAddressTypeSelect = "FormHomeAddressTypeSelect",
|
|
1576
|
+
FormHomeAddressStreetSet = "FormHomeAddressStreetSet",
|
|
1577
|
+
FormHomeAddressUnitApartmentNumberSet = "FormHomeAddressUnitApartmentNumberSet",
|
|
1578
|
+
FormHomeAddressValidate = "FormHomeAddressValidate",
|
|
1579
|
+
FormHomeAddressValidateSet = "FormHomeAddressValidateSet",
|
|
1580
|
+
FormHomeAddressClear = "FormHomeAddressClear"
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
interface FormHomeAddressStateInterface extends StateBaseInterface {
|
|
1584
|
+
type: HomeOwnerTypes | null;
|
|
1585
|
+
addressStreet: string;
|
|
1586
|
+
unitApartmentNumber: string;
|
|
1587
|
+
}
|
|
1588
|
+
declare type FormHomeAddressStateActionType = {
|
|
1589
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressValidate;
|
|
1590
|
+
payload: {
|
|
1591
|
+
inValidation: boolean;
|
|
1592
|
+
};
|
|
1593
|
+
localIndex?: string;
|
|
1594
|
+
} | {
|
|
1595
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressValidateSet;
|
|
1596
|
+
payload: {
|
|
1597
|
+
isValid: boolean;
|
|
1598
|
+
};
|
|
1599
|
+
localIndex?: string;
|
|
1600
|
+
} | {
|
|
1601
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressGetLocal;
|
|
1602
|
+
payload?: null;
|
|
1603
|
+
localIndex?: string;
|
|
1604
|
+
} | {
|
|
1605
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressTypeSelect;
|
|
1606
|
+
payload: {
|
|
1607
|
+
type: HomeOwnerTypes;
|
|
1608
|
+
};
|
|
1609
|
+
localIndex?: string;
|
|
1610
|
+
} | {
|
|
1611
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressUnitApartmentNumberSet;
|
|
1612
|
+
payload: {
|
|
1613
|
+
unitApartmentNumber: string;
|
|
1614
|
+
};
|
|
1615
|
+
localIndex?: string;
|
|
1616
|
+
} | {
|
|
1617
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressStreetSet;
|
|
1618
|
+
payload: {
|
|
1619
|
+
addressStreet: string;
|
|
1620
|
+
};
|
|
1621
|
+
localIndex?: string;
|
|
1622
|
+
} | {
|
|
1623
|
+
type: StoreFormHomeAddressActionTypes.FormHomeAddressClear;
|
|
1624
|
+
payload?: null;
|
|
1625
|
+
localIndex?: string;
|
|
1626
|
+
};
|
|
1627
|
+
interface FormHomeAddressHookInterface {
|
|
1628
|
+
addressState: FormHomeAddressStateInterface;
|
|
1629
|
+
dispatchAddressState: (props: FormHomeAddressStateActionType) => void;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
declare const useStoreFormHomeAddress: () => FormHomeAddressHookInterface;
|
|
1633
|
+
|
|
1634
|
+
declare enum StoreFormHomeApplicantInsuranceActionTypes {
|
|
1635
|
+
FormHomeApplicantPolicyStartYearSelect = "FormHomeApplicantListedYearSelect",
|
|
1636
|
+
FormHomeApplicantPolicyStartMonthSelect = "FormHomeApplicantListedMonthSelect",
|
|
1637
|
+
FormHomeApplicantInsuredCurrentSelect = "FormHomeApplicantInsuredCurrentSelect",
|
|
1638
|
+
FormHomeApplicantDateInsuredCurrentSelect = "FormHomeApplicantDateInsuredCurrentSelect",
|
|
1639
|
+
FormHomeApplicantDateInsuredSinceSelect = "FormHomeApplicantDateInsuredSinceSelect",
|
|
1640
|
+
FormHomeApplicantInsuredBeforeSelect = "FormHomeApplicantInsuredBeforeSelect"
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
interface ApplicantInfoInterface {
|
|
1644
|
+
firstName: string;
|
|
1645
|
+
lastName: string;
|
|
1646
|
+
phone: string;
|
|
1647
|
+
recalculate: boolean;
|
|
1648
|
+
utmSource: string;
|
|
1649
|
+
utmCampaign: string;
|
|
1650
|
+
}
|
|
1651
|
+
interface ApplicantInsuredInterface {
|
|
1652
|
+
dateOfBirth: string;
|
|
1653
|
+
birthDay?: string;
|
|
1654
|
+
birthMonth?: string;
|
|
1655
|
+
birthYear?: string;
|
|
1656
|
+
dateInsuredCurrent: string;
|
|
1657
|
+
dateInsuredSince: string;
|
|
1658
|
+
nonsmoker: boolean;
|
|
1659
|
+
}
|
|
1660
|
+
interface ApplicantCancellationItemInterface {
|
|
1661
|
+
cancellationDate: string;
|
|
1662
|
+
cancellationYear?: string;
|
|
1663
|
+
cancellationMonth?: string;
|
|
1664
|
+
}
|
|
1665
|
+
interface ApplicantClaimItemInterface {
|
|
1666
|
+
claimDate: string;
|
|
1667
|
+
claimYear?: string;
|
|
1668
|
+
claimMonth?: string;
|
|
1669
|
+
claimType: string;
|
|
1670
|
+
}
|
|
1671
|
+
interface FormHomeApplicantStateInterface extends StateBaseInterface {
|
|
1672
|
+
insured: ApplicantInsuredInterface;
|
|
1673
|
+
quoterInfo?: ApplicantInfoInterface;
|
|
1674
|
+
insuredCurrent: boolean | null;
|
|
1675
|
+
insuredBefore: boolean | null;
|
|
1676
|
+
insuranceCancellation: boolean;
|
|
1677
|
+
insuranceCancellationList?: ApplicantCancellationItemInterface[];
|
|
1678
|
+
insuranceClaim: boolean;
|
|
1679
|
+
insuranceClaimList?: ApplicantClaimItemInterface[];
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
declare type FormHomeApplicantInsuranceStateActionType = {
|
|
1683
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantPolicyStartYearSelect;
|
|
1684
|
+
payload: {
|
|
1685
|
+
policyStartYear: string;
|
|
1686
|
+
};
|
|
1687
|
+
localIndex?: string;
|
|
1688
|
+
} | {
|
|
1689
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantPolicyStartMonthSelect;
|
|
1690
|
+
payload: {
|
|
1691
|
+
policyStartMonth: string;
|
|
1692
|
+
};
|
|
1693
|
+
localIndex?: string;
|
|
1694
|
+
} | {
|
|
1695
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantInsuredCurrentSelect;
|
|
1696
|
+
payload: {
|
|
1697
|
+
insuredCurrent: boolean;
|
|
1698
|
+
};
|
|
1699
|
+
localIndex?: string;
|
|
1700
|
+
} | {
|
|
1701
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantDateInsuredCurrentSelect;
|
|
1702
|
+
payload: {
|
|
1703
|
+
dateInsuredCurrent: string;
|
|
1704
|
+
};
|
|
1705
|
+
localIndex?: string;
|
|
1706
|
+
} | {
|
|
1707
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantDateInsuredSinceSelect;
|
|
1708
|
+
payload: {
|
|
1709
|
+
dateInsuredSince: string;
|
|
1710
|
+
};
|
|
1711
|
+
localIndex?: string;
|
|
1712
|
+
} | {
|
|
1713
|
+
type: StoreFormHomeApplicantInsuranceActionTypes.FormHomeApplicantInsuredBeforeSelect;
|
|
1714
|
+
payload: {
|
|
1715
|
+
insuredBefore: boolean;
|
|
1716
|
+
};
|
|
1717
|
+
localIndex?: string;
|
|
1718
|
+
};
|
|
1719
|
+
interface FormHomeApplicantInsuranceHookInterface {
|
|
1720
|
+
applicantState: FormHomeApplicantStateInterface;
|
|
1721
|
+
dispatchApplicantInsuranceState: (props: FormHomeApplicantInsuranceStateActionType) => void;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
declare const useStoreFormHomeApplicantInsurance: () => FormHomeApplicantInsuranceHookInterface;
|
|
1725
|
+
|
|
1726
|
+
declare enum StoreFormHomeApplicantInfoActionTypes {
|
|
1727
|
+
FormHomeApplicantFirstNameSet = "FormHomeApplicantFirstNameSet",
|
|
1728
|
+
FormHomeApplicantLastNameSet = "FormHomeApplicantLastNameSet",
|
|
1729
|
+
FormHomeApplicantPhoneSet = "FormHomeApplicantPhoneSet",
|
|
1730
|
+
FormHomeApplicantBirthYearSelect = "FormHomeApplicantBirthYearSelect",
|
|
1731
|
+
FormHomeApplicantBirthMonthSelect = "FormHomeApplicantBirthMonthSelect",
|
|
1732
|
+
FormHomeApplicantBirthDaySelect = "FormHomeApplicantBirthDaySelect",
|
|
1733
|
+
FormHomeApplicantNonsmokerSelect = "FormHomeApplicantNonsmokerSelect"
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
declare type FormHomeApplicantInfoStateActionType = {
|
|
1737
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantFirstNameSet;
|
|
1738
|
+
payload: {
|
|
1739
|
+
firstName: string;
|
|
1740
|
+
};
|
|
1741
|
+
localIndex?: string;
|
|
1742
|
+
} | {
|
|
1743
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantLastNameSet;
|
|
1744
|
+
payload: {
|
|
1745
|
+
lastName: string;
|
|
1746
|
+
};
|
|
1747
|
+
localIndex?: string;
|
|
1748
|
+
} | {
|
|
1749
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantPhoneSet;
|
|
1750
|
+
payload: {
|
|
1751
|
+
phone: string;
|
|
1752
|
+
};
|
|
1753
|
+
localIndex?: string;
|
|
1754
|
+
} | {
|
|
1755
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantBirthYearSelect;
|
|
1756
|
+
payload: {
|
|
1757
|
+
birthYear: string;
|
|
1758
|
+
};
|
|
1759
|
+
localIndex?: string;
|
|
1760
|
+
} | {
|
|
1761
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantBirthMonthSelect;
|
|
1762
|
+
payload: {
|
|
1763
|
+
birthMonth: string;
|
|
1764
|
+
};
|
|
1765
|
+
localIndex?: string;
|
|
1766
|
+
} | {
|
|
1767
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantBirthDaySelect;
|
|
1768
|
+
payload: {
|
|
1769
|
+
birthDay: string;
|
|
1770
|
+
};
|
|
1771
|
+
localIndex?: string;
|
|
1772
|
+
} | {
|
|
1773
|
+
type: StoreFormHomeApplicantInfoActionTypes.FormHomeApplicantNonsmokerSelect;
|
|
1774
|
+
payload: {
|
|
1775
|
+
nonsmoker: boolean;
|
|
1776
|
+
};
|
|
1777
|
+
localIndex?: string;
|
|
1778
|
+
};
|
|
1779
|
+
interface FormHomeApplicantInfoHookInterface {
|
|
1780
|
+
applicantState: FormHomeApplicantStateInterface;
|
|
1781
|
+
dispatchApplicantInfoState: (props: FormHomeApplicantInfoStateActionType) => void;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
declare const useStoreFormHomeApplicantInfo: () => FormHomeApplicantInfoHookInterface;
|
|
1785
|
+
|
|
1786
|
+
declare enum StoreFormHomeApplicantCancellationActionTypes {
|
|
1787
|
+
FormHomeApplicantCancellationSelect = "FormHomeApplicantCancellationSelect",
|
|
1788
|
+
FormHomeApplicantCancellationYearSelect = "FormHomeApplicantCancellationYearSelect",
|
|
1789
|
+
FormHomeApplicantCancellationMonthSelect = "FormHomeApplicantCancellationMonthSelect",
|
|
1790
|
+
FormHomeApplicantCancellationAdd = "FormHomeApplicantCancellationAdd",
|
|
1791
|
+
FormHomeApplicantCancellationDelete = "FormHomeApplicantCancellationDelete"
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
declare type FormHomeApplicantCancellationStateActionType = {
|
|
1795
|
+
type: StoreFormHomeApplicantCancellationActionTypes.FormHomeApplicantCancellationAdd;
|
|
1796
|
+
payload?: null;
|
|
1797
|
+
localIndex?: string;
|
|
1798
|
+
} | {
|
|
1799
|
+
type: StoreFormHomeApplicantCancellationActionTypes.FormHomeApplicantCancellationDelete;
|
|
1800
|
+
payload: {
|
|
1801
|
+
itemIndex: number;
|
|
1802
|
+
};
|
|
1803
|
+
localIndex?: string;
|
|
1804
|
+
} | {
|
|
1805
|
+
type: StoreFormHomeApplicantCancellationActionTypes.FormHomeApplicantCancellationSelect;
|
|
1806
|
+
payload: {
|
|
1807
|
+
insuranceCancellation: boolean;
|
|
1808
|
+
};
|
|
1809
|
+
localIndex?: string;
|
|
1810
|
+
} | {
|
|
1811
|
+
type: StoreFormHomeApplicantCancellationActionTypes.FormHomeApplicantCancellationYearSelect;
|
|
1812
|
+
payload: {
|
|
1813
|
+
cancellationYear: string;
|
|
1814
|
+
index: number;
|
|
1815
|
+
};
|
|
1816
|
+
localIndex?: string;
|
|
1817
|
+
} | {
|
|
1818
|
+
type: StoreFormHomeApplicantCancellationActionTypes.FormHomeApplicantCancellationMonthSelect;
|
|
1819
|
+
payload: {
|
|
1820
|
+
cancellationMonth: string;
|
|
1821
|
+
index: number;
|
|
1822
|
+
};
|
|
1823
|
+
localIndex?: string;
|
|
1824
|
+
};
|
|
1825
|
+
interface FormHomeApplicantCancellationHookInterface {
|
|
1826
|
+
applicantState: FormHomeApplicantStateInterface;
|
|
1827
|
+
dispatchApplicantCancellationState: (props: FormHomeApplicantCancellationStateActionType) => void;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
declare const useStoreFormHomeApplicantCancellation: () => FormHomeApplicantCancellationHookInterface;
|
|
1831
|
+
|
|
1832
|
+
declare enum StoreFormHomeApplicantClaimActionTypes {
|
|
1833
|
+
FormHomeApplicantClaimSelect = "FormHomeApplicantClaimSelect",
|
|
1834
|
+
FormHomeApplicantClaimYearSelect = "FormHomeApplicantClaimYearSelect",
|
|
1835
|
+
FormHomeApplicantClaimMonthSelect = "FormHomeApplicantClaimMonthSelect",
|
|
1836
|
+
FormHomeApplicantClaimTypeSelect = "FormHomeApplicantClaimTypeSelect",
|
|
1837
|
+
FormHomeApplicantClaimAdd = "FormHomeApplicantClaimAdd",
|
|
1838
|
+
FormHomeApplicantClaimDelete = "FormHomeApplicantClaimDelete"
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
declare type FormHomeApplicantClaimStateActionType = {
|
|
1842
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimAdd;
|
|
1843
|
+
payload?: null;
|
|
1844
|
+
localIndex?: string;
|
|
1845
|
+
} | {
|
|
1846
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimDelete;
|
|
1847
|
+
payload: {
|
|
1848
|
+
itemIndex: number;
|
|
1849
|
+
};
|
|
1850
|
+
localIndex?: string;
|
|
1851
|
+
} | {
|
|
1852
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimSelect;
|
|
1853
|
+
payload: {
|
|
1854
|
+
insuranceClaim: boolean;
|
|
1855
|
+
};
|
|
1856
|
+
localIndex?: string;
|
|
1857
|
+
} | {
|
|
1858
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimYearSelect;
|
|
1859
|
+
payload: {
|
|
1860
|
+
claimYear: string;
|
|
1861
|
+
index: number;
|
|
1862
|
+
};
|
|
1863
|
+
localIndex?: string;
|
|
1864
|
+
} | {
|
|
1865
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimMonthSelect;
|
|
1866
|
+
payload: {
|
|
1867
|
+
claimMonth: string;
|
|
1868
|
+
index: number;
|
|
1869
|
+
};
|
|
1870
|
+
localIndex?: string;
|
|
1871
|
+
} | {
|
|
1872
|
+
type: StoreFormHomeApplicantClaimActionTypes.FormHomeApplicantClaimTypeSelect;
|
|
1873
|
+
payload: {
|
|
1874
|
+
claimType: string;
|
|
1875
|
+
index: number;
|
|
1876
|
+
};
|
|
1877
|
+
localIndex?: string;
|
|
1878
|
+
};
|
|
1879
|
+
interface FormHomeApplicantClaimHookInterface {
|
|
1880
|
+
applicantState: FormHomeApplicantStateInterface;
|
|
1881
|
+
dispatchApplicantClaimState: (props: FormHomeApplicantClaimStateActionType) => void;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
declare const useStoreFormHomeApplicantClaim: () => FormHomeApplicantClaimHookInterface;
|
|
1885
|
+
|
|
1886
|
+
declare enum StoreFormHomeApplicantBaseActionTypes {
|
|
1887
|
+
FormHomeApplicantGetLocal = "FormHomeApplicantGetLocal",
|
|
1888
|
+
FormHomeApplicantValidate = "FormHomeApplicantValidate",
|
|
1889
|
+
FormHomeApplicantValidateSet = "FormHomeApplicantValidateSet",
|
|
1890
|
+
FormHomeApplicantClear = "FormHomeApplicantClear",
|
|
1891
|
+
FormHomeApplicantInitialList = "FormHomeApplicantInitialList"
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
declare type FormHomeApplicantBaseStateActionType = {
|
|
1895
|
+
type: StoreFormHomeApplicantBaseActionTypes.FormHomeApplicantValidate;
|
|
1896
|
+
payload: {
|
|
1897
|
+
inValidation: boolean;
|
|
1898
|
+
};
|
|
1899
|
+
localIndex?: string;
|
|
1900
|
+
} | {
|
|
1901
|
+
type: StoreFormHomeApplicantBaseActionTypes.FormHomeApplicantValidateSet;
|
|
1902
|
+
payload: {
|
|
1903
|
+
isValid: boolean;
|
|
1904
|
+
};
|
|
1905
|
+
localIndex?: string;
|
|
1906
|
+
} | {
|
|
1907
|
+
type: StoreFormHomeApplicantBaseActionTypes.FormHomeApplicantGetLocal;
|
|
1908
|
+
payload?: null;
|
|
1909
|
+
localIndex?: string;
|
|
1910
|
+
} | {
|
|
1911
|
+
type: StoreFormHomeApplicantBaseActionTypes.FormHomeApplicantClear;
|
|
1912
|
+
payload?: null;
|
|
1913
|
+
localIndex?: string;
|
|
1914
|
+
} | {
|
|
1915
|
+
type: StoreFormHomeApplicantBaseActionTypes.FormHomeApplicantInitialList;
|
|
1916
|
+
payload: {
|
|
1917
|
+
listKey: string;
|
|
1918
|
+
};
|
|
1919
|
+
localIndex?: string;
|
|
1920
|
+
};
|
|
1921
|
+
interface FormHomeApplicantBaseHookInterface {
|
|
1922
|
+
applicantState: FormHomeApplicantStateInterface;
|
|
1923
|
+
dispatchApplicantBaseState: (props: FormHomeApplicantBaseStateActionType) => void;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
declare const useStoreFormHomeApplicantBase: () => FormHomeApplicantBaseHookInterface;
|
|
1927
|
+
|
|
1928
|
+
declare enum StoreFormHomeDwellingActionTypes {
|
|
1929
|
+
FormHomeDwellingBuiltYearSelect = "FormHomeDwellingBuiltYearSelect",
|
|
1930
|
+
FormHomeDwellingLivingAreaSelect = "FormHomeDwellingLivingAreaSelect",
|
|
1931
|
+
FormHomeDwellingExteriorFinishSelect = "FormHomeDwellingExteriorFinishSelect",
|
|
1932
|
+
FormHomeDwellingConstructionTypeSelect = "FormHomeDwellingConstructionTypeSelect",
|
|
1933
|
+
FormHomeDwellingGarageTypeSelect = "FormHomeDwellingGarageTypeSelect",
|
|
1934
|
+
FormHomeDwellingBasementFinishPercentSelect = "FormHomeDwellingBasementFinishPercentSelect",
|
|
1935
|
+
FormHomeDwellingStoreysCountSelect = "FormHomeDwellingStoreysCountSelect",
|
|
1936
|
+
FormHomeDwellingRoofReplaceYearSelect = "FormHomeDwellingRoofReplaceYearSelect",
|
|
1937
|
+
FormHomeDwellingFireHallDistanceSelect = "FormHomeDwellingFireHallDistanceSelect",
|
|
1938
|
+
FormHomeDwellingFireHydrantDistanceSelect = "FormHomeDwellingFireHydrantDistanceSelect",
|
|
1939
|
+
FormHomeDwellingHeatingSelect = "FormHomeDwellingHeatingSelect",
|
|
1940
|
+
FormHomeDwellingBuildingStructureSelect = "FormHomeDwellingBuildingStructureSelect",
|
|
1941
|
+
FormHomeDwellingReplacementCostSelect = "FormHomeDwellingReplacementCostSelect",
|
|
1942
|
+
FormHomeDwellingFamiliesCountSelect = "FormHomeDwellingFamiliesCountSelect",
|
|
1943
|
+
FormHomeDwellingOccupiedYearSelect = "FormHomeDwellingOccupiedYearSelect",
|
|
1944
|
+
FormHomeDwellingBurglarAlarmSelect = "FormHomeDwellingBurglarAlarmSelect",
|
|
1945
|
+
FormHomeDwellingFireAlarmSelect = "FormHomeDwellingFireAlarmSelect",
|
|
1946
|
+
FormHomeDwellingSprinklerSelect = "FormHomeDwellingSprinklerSelect",
|
|
1947
|
+
FormHomeDwellingDeadboltSelect = "FormHomeDwellingDeadboltSelect",
|
|
1948
|
+
FormHomeDwellingFireExtinguishersCountSelect = "FormHomeDwellingFireExtinguishersCountSelect",
|
|
1949
|
+
FormHomeDwellingMortgageCountSelect = "FormHomeDwellingMortgageCountSelect",
|
|
1950
|
+
FormHomeDwellingValidate = "FormHomeDwellingValidate",
|
|
1951
|
+
FormHomeDwellingValidateSet = "FormHomeDwellingValidateSet",
|
|
1952
|
+
FormHomeDwellingGetLocal = "FormHomeDwellingGetLocal"
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
interface DwellingHeatingItemInterface {
|
|
1956
|
+
type: string;
|
|
1957
|
+
}
|
|
1958
|
+
interface FormHomeDwellingStateInterface extends StateBaseInterface {
|
|
1959
|
+
builtDate: string;
|
|
1960
|
+
builtYear?: string;
|
|
1961
|
+
livingArea: string;
|
|
1962
|
+
exteriorFinish?: string;
|
|
1963
|
+
constructionType?: string;
|
|
1964
|
+
garageType?: string;
|
|
1965
|
+
basementFinishPercent?: number;
|
|
1966
|
+
storeysCount?: string;
|
|
1967
|
+
roofReplaceDate: string;
|
|
1968
|
+
roofReplaceYear?: string;
|
|
1969
|
+
fireHallDistance: number;
|
|
1970
|
+
fireHydrantDistance: number;
|
|
1971
|
+
heatings: DwellingHeatingItemInterface[];
|
|
1972
|
+
buildingStructure: string;
|
|
1973
|
+
replacementCost: string;
|
|
1974
|
+
familiesCount: number | null;
|
|
1975
|
+
occupiedDate: string;
|
|
1976
|
+
occupiedYear?: string;
|
|
1977
|
+
burglarAlarm: boolean;
|
|
1978
|
+
fireAlarm: boolean;
|
|
1979
|
+
sprinkler?: boolean;
|
|
1980
|
+
deadbolt?: boolean;
|
|
1981
|
+
fireExtinguishersCount?: number;
|
|
1982
|
+
mortgageCount: number;
|
|
1983
|
+
}
|
|
1984
|
+
declare type FormHomeDwellingStateActionType = {
|
|
1985
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingValidate;
|
|
1986
|
+
payload: {
|
|
1987
|
+
inValidation: boolean;
|
|
1988
|
+
};
|
|
1989
|
+
localIndex?: string;
|
|
1990
|
+
} | {
|
|
1991
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingValidateSet;
|
|
1992
|
+
payload: {
|
|
1993
|
+
isValid: boolean;
|
|
1994
|
+
};
|
|
1995
|
+
localIndex?: string;
|
|
1996
|
+
} | {
|
|
1997
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingGetLocal;
|
|
1998
|
+
payload?: null;
|
|
1999
|
+
localIndex?: string;
|
|
2000
|
+
} | {
|
|
2001
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingBuiltYearSelect;
|
|
2002
|
+
payload: {
|
|
2003
|
+
builtYear: string;
|
|
2004
|
+
};
|
|
2005
|
+
localIndex?: string;
|
|
2006
|
+
} | {
|
|
2007
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingLivingAreaSelect;
|
|
2008
|
+
payload: {
|
|
2009
|
+
livingArea: string;
|
|
2010
|
+
};
|
|
2011
|
+
localIndex?: string;
|
|
2012
|
+
} | {
|
|
2013
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingExteriorFinishSelect;
|
|
2014
|
+
payload: {
|
|
2015
|
+
exteriorFinish: string;
|
|
2016
|
+
};
|
|
2017
|
+
localIndex?: string;
|
|
2018
|
+
} | {
|
|
2019
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingConstructionTypeSelect;
|
|
2020
|
+
payload: {
|
|
2021
|
+
constructionType: string;
|
|
2022
|
+
};
|
|
2023
|
+
localIndex?: string;
|
|
2024
|
+
} | {
|
|
2025
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingGarageTypeSelect;
|
|
2026
|
+
payload: {
|
|
2027
|
+
garageType: string;
|
|
2028
|
+
};
|
|
2029
|
+
localIndex?: string;
|
|
2030
|
+
} | {
|
|
2031
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingBasementFinishPercentSelect;
|
|
2032
|
+
payload: {
|
|
2033
|
+
basementFinishPercent: number;
|
|
2034
|
+
};
|
|
2035
|
+
localIndex?: string;
|
|
2036
|
+
} | {
|
|
2037
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingStoreysCountSelect;
|
|
2038
|
+
payload: {
|
|
2039
|
+
storeysCount: number;
|
|
2040
|
+
};
|
|
2041
|
+
localIndex?: string;
|
|
2042
|
+
} | {
|
|
2043
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingRoofReplaceYearSelect;
|
|
2044
|
+
payload: {
|
|
2045
|
+
roofReplaceYear: string;
|
|
2046
|
+
};
|
|
2047
|
+
localIndex?: string;
|
|
2048
|
+
} | {
|
|
2049
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingFireHallDistanceSelect;
|
|
2050
|
+
payload: {
|
|
2051
|
+
fireHallDistance: string;
|
|
2052
|
+
};
|
|
2053
|
+
localIndex?: string;
|
|
2054
|
+
} | {
|
|
2055
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingFireHydrantDistanceSelect;
|
|
2056
|
+
payload: {
|
|
2057
|
+
fireHydrantDistance: string;
|
|
2058
|
+
};
|
|
2059
|
+
localIndex?: string;
|
|
2060
|
+
} | {
|
|
2061
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingHeatingSelect;
|
|
2062
|
+
payload: {
|
|
2063
|
+
type: string;
|
|
2064
|
+
index: number;
|
|
2065
|
+
};
|
|
2066
|
+
localIndex?: string;
|
|
2067
|
+
} | {
|
|
2068
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingBuildingStructureSelect;
|
|
2069
|
+
payload: {
|
|
2070
|
+
buildingStructure: string;
|
|
2071
|
+
};
|
|
2072
|
+
localIndex?: string;
|
|
2073
|
+
} | {
|
|
2074
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingReplacementCostSelect;
|
|
2075
|
+
payload: {
|
|
2076
|
+
replacementCost: string;
|
|
2077
|
+
};
|
|
2078
|
+
localIndex?: string;
|
|
2079
|
+
} | {
|
|
2080
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingFamiliesCountSelect;
|
|
2081
|
+
payload: {
|
|
2082
|
+
familiesCount: number;
|
|
2083
|
+
};
|
|
2084
|
+
localIndex?: string;
|
|
2085
|
+
} | {
|
|
2086
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingOccupiedYearSelect;
|
|
2087
|
+
payload: {
|
|
2088
|
+
occupiedYear: string;
|
|
2089
|
+
};
|
|
2090
|
+
localIndex?: string;
|
|
2091
|
+
} | {
|
|
2092
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingBurglarAlarmSelect | StoreFormHomeDwellingActionTypes.FormHomeDwellingFireAlarmSelect | StoreFormHomeDwellingActionTypes.FormHomeDwellingSprinklerSelect | StoreFormHomeDwellingActionTypes.FormHomeDwellingDeadboltSelect;
|
|
2093
|
+
payload: {
|
|
2094
|
+
[x: string]: boolean;
|
|
2095
|
+
};
|
|
2096
|
+
localIndex?: string;
|
|
2097
|
+
} | {
|
|
2098
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingFireExtinguishersCountSelect;
|
|
2099
|
+
payload: {
|
|
2100
|
+
fireExtinguishersCount: number;
|
|
2101
|
+
};
|
|
2102
|
+
localIndex?: string;
|
|
2103
|
+
} | {
|
|
2104
|
+
type: StoreFormHomeDwellingActionTypes.FormHomeDwellingMortgageCountSelect;
|
|
2105
|
+
payload: {
|
|
2106
|
+
mortgageCount: number;
|
|
2107
|
+
};
|
|
2108
|
+
localIndex?: string;
|
|
2109
|
+
};
|
|
2110
|
+
interface FormHomeDwellingHookInterface {
|
|
2111
|
+
dwellingState: FormHomeDwellingStateInterface;
|
|
2112
|
+
dispatchDwellingState: (props: FormHomeDwellingStateActionType) => void;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
declare const useStoreFormHomeDwelling: () => FormHomeDwellingHookInterface;
|
|
2116
|
+
|
|
2117
|
+
declare enum StoreFormHomeDiscountActionTypes {
|
|
2118
|
+
FormHomeDiscountGetLocal = "FormHomeDiscountGetLocal",
|
|
2119
|
+
FormHomeDiscountPolicyStartDaySelect = "FormHomeDiscountPolicyStartDaySelect",
|
|
2120
|
+
FormHomeDiscountPolicyStartMonthSelect = "FormHomeDiscountPolicyStartMonthSelect",
|
|
2121
|
+
FormHomeDiscountPolicyStartYearSelect = "FormHomeDiscountPolicyStartYearSelect",
|
|
2122
|
+
FormHomeDiscountMultiplePoliciesSelect = "FormHomeDiscountMultiplePoliciesSelect",
|
|
2123
|
+
FormHomeDiscountQuoterEmailSet = "FormHomeDiscountQuoterEmailSet",
|
|
2124
|
+
FormHomeDiscountQuoterEmailStatusSet = "FormHomeDiscountQuoterEmailStatusSet",
|
|
2125
|
+
FormHomeDiscountValidate = "FormHomeDiscountValidate",
|
|
2126
|
+
FormHomeDiscountValidateSet = "FormHomeDiscountValidateSet",
|
|
2127
|
+
FormHomeDiscountClear = "FormHomeDiscountClear"
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
interface FormHomeDiscountStateInterface extends StateBaseInterface {
|
|
2131
|
+
emailTo: {
|
|
2132
|
+
email: string;
|
|
2133
|
+
emailStatus: ValidationStatusTypes;
|
|
2134
|
+
};
|
|
2135
|
+
multiplePoliciesDiscount: boolean;
|
|
2136
|
+
policyStart: string;
|
|
2137
|
+
policyStartDay?: string;
|
|
2138
|
+
policyStartMonth?: string;
|
|
2139
|
+
policyStartYear?: string;
|
|
2140
|
+
}
|
|
2141
|
+
declare type FormHomeDiscountStateActionType = {
|
|
2142
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountValidate;
|
|
2143
|
+
payload: {
|
|
2144
|
+
inValidation: boolean;
|
|
2145
|
+
};
|
|
2146
|
+
localIndex?: string;
|
|
2147
|
+
} | {
|
|
2148
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountValidateSet;
|
|
2149
|
+
payload: {
|
|
2150
|
+
isValid: boolean;
|
|
2151
|
+
};
|
|
2152
|
+
localIndex?: string;
|
|
2153
|
+
} | {
|
|
2154
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountGetLocal;
|
|
2155
|
+
payload?: null;
|
|
2156
|
+
localIndex?: string;
|
|
2157
|
+
} | {
|
|
2158
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountMultiplePoliciesSelect;
|
|
2159
|
+
payload: {
|
|
2160
|
+
multiplePoliciesDiscount: boolean;
|
|
2161
|
+
};
|
|
2162
|
+
localIndex?: string;
|
|
2163
|
+
} | {
|
|
2164
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountQuoterEmailSet;
|
|
2165
|
+
payload: {
|
|
2166
|
+
email: string;
|
|
2167
|
+
emailStatus: ValidationStatusTypes;
|
|
2168
|
+
};
|
|
2169
|
+
localIndex?: string;
|
|
2170
|
+
} | {
|
|
2171
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountPolicyStartDaySelect;
|
|
2172
|
+
payload: {
|
|
2173
|
+
policyStartDay: string;
|
|
2174
|
+
};
|
|
2175
|
+
localIndex?: string;
|
|
2176
|
+
} | {
|
|
2177
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountPolicyStartMonthSelect;
|
|
2178
|
+
payload: {
|
|
2179
|
+
policyStartMonth: string;
|
|
2180
|
+
};
|
|
2181
|
+
localIndex?: string;
|
|
2182
|
+
} | {
|
|
2183
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountPolicyStartYearSelect;
|
|
2184
|
+
payload: {
|
|
2185
|
+
policyStartYear: string;
|
|
2186
|
+
};
|
|
2187
|
+
localIndex?: string;
|
|
2188
|
+
} | {
|
|
2189
|
+
type: StoreFormHomeDiscountActionTypes.FormHomeDiscountClear;
|
|
2190
|
+
payload?: null;
|
|
2191
|
+
localIndex?: string;
|
|
2192
|
+
};
|
|
2193
|
+
interface FormHomeDiscountHookInterface {
|
|
2194
|
+
discountState: FormHomeDiscountStateInterface;
|
|
2195
|
+
dispatchDiscountState: (props: FormHomeDiscountStateActionType) => void;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
declare const useStoreFormHomeDiscount: () => FormHomeDiscountHookInterface;
|
|
2199
|
+
|
|
2200
|
+
declare const reducers: redux.Reducer<redux.CombinedState<{
|
|
2201
|
+
globalState: redux.CombinedState<{
|
|
2202
|
+
clientState: never;
|
|
2203
|
+
partnerState: never;
|
|
2204
|
+
}>;
|
|
2205
|
+
configState: redux.CombinedState<{
|
|
2206
|
+
appLoaderState: never;
|
|
2207
|
+
appModalState: never;
|
|
2208
|
+
appDeviceState: never;
|
|
2209
|
+
appConfigState: never;
|
|
2210
|
+
}>;
|
|
2211
|
+
formCarState: redux.CombinedState<{
|
|
2212
|
+
vehicleState: never;
|
|
2213
|
+
driverState: never;
|
|
2214
|
+
postalState: never;
|
|
2215
|
+
configState: never;
|
|
2216
|
+
discountState: never;
|
|
2217
|
+
quoteState: never;
|
|
2218
|
+
}>;
|
|
2219
|
+
formHomeState: redux.CombinedState<{
|
|
2220
|
+
postalState: never;
|
|
2221
|
+
addressState: never;
|
|
2222
|
+
applicantState: never;
|
|
2223
|
+
dwellingState: never;
|
|
2224
|
+
discountState: never;
|
|
2225
|
+
}>;
|
|
2226
|
+
}>, AppLoaderStateActionType | AppModalStateActionType | AppConfigStateActionType | AppDeviceStateActionType | ClientStateActionType | PartnerStateActionType | FormCarVehicleStateActionType | FormCarConfigStateActionType | FormCarDiscountStateActionType | FormCarPostalStateActionType | FormCarQuoteStateActionType | FormCarDriverInfoStateActionType | FormCarDriverInsuranceStateActionType | FormCarDriverLicenceStateActionType | FormCarDriverCancellationStateActionType | FormCarDriverSuspensionStateActionType | FormCarDriverAccidentStateActionType | FormCarDriverTicketStateActionType | FormCarDriverBaseStateActionType | FormHomePostalStateActionType | FormHomeAddressStateActionType | FormHomeDwellingStateActionType | FormHomeDiscountStateActionType | FormHomeApplicantInfoStateActionType | FormHomeApplicantInsuranceStateActionType | FormHomeApplicantCancellationStateActionType | FormHomeApplicantClaimStateActionType | FormHomeApplicantBaseStateActionType>;
|
|
2227
|
+
|
|
2228
|
+
declare const configStateReducer: redux.Reducer<redux.CombinedState<{
|
|
2229
|
+
appLoaderState: never;
|
|
2230
|
+
appModalState: never;
|
|
2231
|
+
appDeviceState: never;
|
|
2232
|
+
appConfigState: never;
|
|
2233
|
+
}>, AppLoaderStateActionType | AppModalStateActionType | AppConfigStateActionType | AppDeviceStateActionType>;
|
|
2234
|
+
|
|
2235
|
+
declare const globalStateReducer: redux.Reducer<redux.CombinedState<{
|
|
2236
|
+
clientState: never;
|
|
2237
|
+
partnerState: never;
|
|
2238
|
+
}>, ClientStateActionType | PartnerStateActionType>;
|
|
2239
|
+
|
|
2240
|
+
declare const formCarReducer: redux.Reducer<redux.CombinedState<{
|
|
2241
|
+
vehicleState: never;
|
|
2242
|
+
driverState: never;
|
|
2243
|
+
postalState: never;
|
|
2244
|
+
configState: never;
|
|
2245
|
+
discountState: never;
|
|
2246
|
+
quoteState: never;
|
|
2247
|
+
}>, FormCarVehicleStateActionType | FormCarConfigStateActionType | FormCarDiscountStateActionType | FormCarPostalStateActionType | FormCarQuoteStateActionType | FormCarDriverInfoStateActionType | FormCarDriverInsuranceStateActionType | FormCarDriverLicenceStateActionType | FormCarDriverCancellationStateActionType | FormCarDriverSuspensionStateActionType | FormCarDriverAccidentStateActionType | FormCarDriverTicketStateActionType | FormCarDriverBaseStateActionType>;
|
|
2248
|
+
|
|
2249
|
+
declare const formHomeReducer: redux.Reducer<redux.CombinedState<{
|
|
2250
|
+
postalState: never;
|
|
2251
|
+
addressState: never;
|
|
2252
|
+
applicantState: never;
|
|
2253
|
+
dwellingState: never;
|
|
2254
|
+
discountState: never;
|
|
2255
|
+
}>, FormHomePostalStateActionType | FormHomeAddressStateActionType | FormHomeDwellingStateActionType | FormHomeDiscountStateActionType | FormHomeApplicantInfoStateActionType | FormHomeApplicantInsuranceStateActionType | FormHomeApplicantCancellationStateActionType | FormHomeApplicantClaimStateActionType | FormHomeApplicantBaseStateActionType>;
|
|
2256
|
+
|
|
2257
|
+
declare type DataHandlerRequestState = {
|
|
2258
|
+
status: RequestStatusTypes;
|
|
2259
|
+
isFirstRequest: boolean;
|
|
2260
|
+
successMessage: string | null;
|
|
2261
|
+
errorMessage: string | null;
|
|
2262
|
+
responseError: unknown;
|
|
2263
|
+
responseData: unknown;
|
|
2264
|
+
};
|
|
2265
|
+
|
|
2266
|
+
declare type UseHandlerAuthInterface = DataHandlerRequestState & {
|
|
2267
|
+
signIn: (formData: {
|
|
2268
|
+
email: string;
|
|
2269
|
+
password: string;
|
|
2270
|
+
}) => void;
|
|
2271
|
+
signOut: () => void;
|
|
2272
|
+
checkUser: () => void;
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
declare const useHandlerAuth: () => UseHandlerAuthInterface;
|
|
2276
|
+
|
|
2277
|
+
declare type UseHandlerClearFormInterface = {
|
|
2278
|
+
checkIsExpiredWithClear: () => void;
|
|
2279
|
+
checkIsExpiredWithModal: () => void;
|
|
2280
|
+
checkIsExpired: () => boolean;
|
|
2281
|
+
clearFormData: () => void;
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
declare const ClearFormDataHandler: () => UseHandlerClearFormInterface;
|
|
2285
|
+
|
|
2286
|
+
declare type UseHandlerPartnerInterface = DataHandlerRequestState & {
|
|
2287
|
+
getPartner: (partnerId: string) => void;
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2290
|
+
declare const useHandlerPartner: () => UseHandlerPartnerInterface;
|
|
2291
|
+
|
|
2292
|
+
declare type UseHandlerPostalInterface = DataHandlerRequestState & {
|
|
2293
|
+
getPostal: (postalCode: string) => Promise<void>;
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
declare const useHandlerPostal: (insuranceType: InsuranceTypes) => UseHandlerPostalInterface;
|
|
2297
|
+
|
|
2298
|
+
declare type UseHandlerVehicleMakeInterface = DataHandlerRequestState & {
|
|
2299
|
+
getVehicleMake: (year: string) => void;
|
|
2300
|
+
vehicleMakeList: SelectOptionInterface[];
|
|
2301
|
+
};
|
|
2302
|
+
declare type UseHandlerVehicleModelInterface = DataHandlerRequestState & {
|
|
2303
|
+
getVehicleModel: (year: string, make: string) => void;
|
|
2304
|
+
vehicleModelList: SelectOptionInterface[];
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
declare const useHandlerCarMake: () => UseHandlerVehicleMakeInterface;
|
|
2308
|
+
declare const useHandlerCarModel: () => UseHandlerVehicleModelInterface;
|
|
2309
|
+
|
|
2310
|
+
declare type UseHandlerQuoterEmailInterface = DataHandlerRequestState & {
|
|
2311
|
+
validateEmail: (email: string) => void;
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
declare const useHandlerQuoterEmail: () => UseHandlerQuoterEmailInterface;
|
|
2315
|
+
|
|
2316
|
+
declare type UseHandlerQuoteInterface = DataHandlerRequestState & {
|
|
2317
|
+
postRequestQuoteOnliaUrl: (isLoader: boolean, redirectUrl: string) => void;
|
|
2318
|
+
postRequestQuote: (isRecalc: boolean) => void;
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
declare const QuoteDataHandler: () => UseHandlerQuoteInterface;
|
|
2322
|
+
|
|
2323
|
+
interface UseHandlerVehicleValidateInterface {
|
|
2324
|
+
vehicleFormValidate: (isRedirect?: boolean) => boolean;
|
|
2325
|
+
vehicleFormIsInValidation: boolean;
|
|
2326
|
+
vehicleFormIsValid: boolean;
|
|
2327
|
+
}
|
|
2328
|
+
interface UseHandlerDriverValidateInterface {
|
|
2329
|
+
driverFormValidate: (isRedirect?: boolean) => boolean;
|
|
2330
|
+
driverFormIsInValidation: boolean;
|
|
2331
|
+
driverFormIsValid: boolean;
|
|
2332
|
+
}
|
|
2333
|
+
interface UseHandlerCarDiscountValidateInterface {
|
|
2334
|
+
carDiscountFormValidate: (isRedirect?: boolean, requestFn?: () => void) => boolean;
|
|
2335
|
+
carDiscountFormIsInValidation: boolean;
|
|
2336
|
+
carDiscountFormIsValid: boolean;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
declare const useValidationVehicle: () => UseHandlerVehicleValidateInterface;
|
|
2340
|
+
|
|
2341
|
+
declare const useValidationDriver: () => UseHandlerDriverValidateInterface;
|
|
2342
|
+
|
|
2343
|
+
declare const useValidationCarDiscount: () => UseHandlerCarDiscountValidateInterface;
|
|
2344
|
+
|
|
2345
|
+
interface UseHandlerAddressValidateInterface {
|
|
2346
|
+
addressFormValidate: (isRedirect?: boolean) => boolean;
|
|
2347
|
+
addressFormIsInValidation: boolean;
|
|
2348
|
+
addressFormIsValid: boolean;
|
|
2349
|
+
}
|
|
2350
|
+
interface UseHandlerApplicantValidateInterface {
|
|
2351
|
+
applicantFormValidate: (isRedirect?: boolean) => boolean;
|
|
2352
|
+
applicantFormIsInValidation: boolean;
|
|
2353
|
+
applicantFormIsValid: boolean;
|
|
2354
|
+
}
|
|
2355
|
+
interface UseHandlerDwellingValidateInterface {
|
|
2356
|
+
dwellingFormValidate: (isRedirect?: boolean) => boolean;
|
|
2357
|
+
dwellingFormIsInValidation: boolean;
|
|
2358
|
+
dwellingFormIsValid: boolean;
|
|
2359
|
+
}
|
|
2360
|
+
interface UseHandlerHomeDiscountValidateInterface {
|
|
2361
|
+
homeDiscountFormValidate: (isRedirect?: boolean) => boolean;
|
|
2362
|
+
homeDiscountFormIsInValidation: boolean;
|
|
2363
|
+
homeDiscountFormIsValid: boolean;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
declare const useValidationAddress: () => UseHandlerAddressValidateInterface;
|
|
2367
|
+
|
|
2368
|
+
declare const useValidationApplicant: () => UseHandlerApplicantValidateInterface;
|
|
2369
|
+
|
|
2370
|
+
declare const useValidationDwelling: () => UseHandlerDwellingValidateInterface;
|
|
2371
|
+
|
|
2372
|
+
declare const useValidationHomeDiscount: () => UseHandlerHomeDiscountValidateInterface;
|
|
2373
|
+
|
|
2374
|
+
declare const addDayToDate: (value: string, days?: number | string) => string;
|
|
2375
|
+
declare const differenceInHoursFromNow: (date: string) => number;
|
|
2376
|
+
|
|
2377
|
+
export { AccidentItemInterface, AppConfigStateInterface, AppLoaderStateInterface, AppModalStateInterface, ApplicantCancellationItemInterface, ApplicantClaimItemInterface, ApplicantInfoInterface, ApplicantInsuredInterface, BirthDatePayloadType, ClearFormDataHandler, ClientStateInterface, DiscountVehLinkInterface, DriverCancellationItemInterface, DriverItemInterface, DriverLicenceInterface, DriverMinMaxDates, FormCarConfigStateInterface, FormCarDiscountStateInterface, FormCarDriverStateInterface, FormCarPostalStateInterface, FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, FormCarVehicleStateInterface, FormHomeAddressStateInterface, FormHomeApplicantStateInterface, FormHomeDiscountStateInterface, FormHomeDwellingStateInterface, FormHomePostalStateInterface, LicenceAgePayloadType, LicenceConfigInterface, PartnerStateInterface, QuoteDataHandler, QuoteItemInterface, StoreClientActionTypes, StoreConfigAppConfigActionTypes, StoreConfigAppDeviceActionTypes, StoreConfigAppLoaderActionTypes, StoreConfigAppModalActionTypes, StoreFormCarConfigActionTypes, StoreFormCarDiscountActionTypes, StoreFormCarDriverAccidentActionTypes, StoreFormCarDriverBaseActionTypes, StoreFormCarDriverCancellationActionTypes, StoreFormCarDriverInfoActionTypes, StoreFormCarDriverInsuranceActionTypes, StoreFormCarDriverLicenceActionTypes, StoreFormCarDriverSuspensionActionTypes, StoreFormCarDriverTicketActionTypes, StoreFormCarPostalActionTypes, StoreFormCarQuoteActionTypes, StoreFormCarVehicleActionTypes, StoreFormHomeAddressActionTypes, StoreFormHomeApplicantBaseActionTypes, StoreFormHomeApplicantCancellationActionTypes, StoreFormHomeApplicantClaimActionTypes, StoreFormHomeApplicantInfoActionTypes, StoreFormHomeApplicantInsuranceActionTypes, StoreFormHomeDiscountActionTypes, StoreFormHomeDwellingActionTypes, StoreFormHomePostalActionTypes, StorePartnerActionTypes, StoreProvider, SuspensionItemInterface, TicketItemInterface, addDayToDate, configStateReducer, differenceInHoursFromNow, formCarReducer, formHomeReducer, globalStateReducer, initHttpResponse, reducers, export_default as token, useHandlerAuth, useHandlerCarMake, useHandlerCarModel, useHandlerPartner, useHandlerPostal, useHandlerQuoterEmail, useStoreAppConfig, useStoreAppDevice, useStoreAppLoader, useStoreAppModal, useStoreClient, useStoreClientLoggedIn, useStoreClientProfile, useStoreClientToken, useStoreDeviceBP, useStoreDeviceType, useStoreFormCarConfig, useStoreFormCarDiscount, useStoreFormCarDriverAccident, useStoreFormCarDriverBase, useStoreFormCarDriverCancellation, useStoreFormCarDriverInfo, useStoreFormCarDriverInsurance, useStoreFormCarDriverLicence, useStoreFormCarDriverSuspension, useStoreFormCarDriverTicket, useStoreFormCarPostal, useStoreFormCarQuote, useStoreFormCarVehicle, useStoreFormHomeAddress, useStoreFormHomeApplicantBase, useStoreFormHomeApplicantCancellation, useStoreFormHomeApplicantClaim, useStoreFormHomeApplicantInfo, useStoreFormHomeApplicantInsurance, useStoreFormHomeDiscount, useStoreFormHomeDwelling, useStoreFormHomePostal, useStorePartner, useValidationAddress, useValidationApplicant, useValidationCarDiscount, useValidationDriver, useValidationDwelling, useValidationHomeDiscount, useValidationVehicle };
|