@mychoice/mychoice-sdk-store 1.0.1 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/dist/cjs/handlers/dataHandlers/AuthDataHandler/interfaces.d.ts +1 -1
  2. package/dist/cjs/handlers/dataHandlers/ClearFormDataHandler/interfaces.d.ts +1 -1
  3. package/dist/cjs/handlers/dataHandlers/PartnerDataHandler/interfaces.d.ts +1 -1
  4. package/dist/cjs/handlers/dataHandlers/PostalDataHandler/interfaces.d.ts +6 -2
  5. package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/CarQuoteDataHandler.d.ts +2 -0
  6. package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/HomeQuoteDataHandler.d.ts +2 -0
  7. package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/LifeQuoteDataHandler.d.ts +2 -0
  8. package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/index.d.ts +3 -1
  9. package/dist/cjs/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +1 -1
  10. package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/QuoterEmailDataHandler.d.ts +3 -1
  11. package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/index.d.ts +1 -1
  12. package/dist/cjs/handlers/dataHandlers/QuoterEmailDataHandler/interfaces.d.ts +1 -1
  13. package/dist/cjs/handlers/dataHandlers/VehicleDataHandlers/interfaces.d.ts +2 -2
  14. package/dist/cjs/handlers/dataHandlers/shared/dataReducer/interfaces.d.ts +2 -2
  15. package/dist/cjs/handlers/validationHandlers/index.d.ts +1 -0
  16. package/dist/cjs/handlers/validationHandlers/insurances/home/interfaces.d.ts +2 -2
  17. package/dist/cjs/handlers/validationHandlers/insurances/life/ApplicantValidationHandler.d.ts +2 -0
  18. package/dist/cjs/handlers/validationHandlers/insurances/life/CoverageValidationHandler.d.ts +2 -0
  19. package/dist/cjs/handlers/validationHandlers/insurances/life/index.d.ts +2 -0
  20. package/dist/cjs/handlers/validationHandlers/insurances/life/interfaces.d.ts +15 -0
  21. package/dist/cjs/index.js +2051 -511
  22. package/dist/cjs/index.js.map +1 -1
  23. package/dist/cjs/services/httpRequest/hoox.d.ts +2 -2
  24. package/dist/cjs/services/httpRequest/interfaces.d.ts +5 -5
  25. package/dist/cjs/states/reducers/interfaces.d.ts +8 -2
  26. package/dist/cjs/states/reducers/reducers.d.ts +8 -2
  27. package/dist/cjs/states/reducers/states/ConfigState/AppConfigState/interfaces.d.ts +2 -2
  28. package/dist/cjs/states/reducers/states/ConfigState/AppDeviceState/interfaces.d.ts +2 -2
  29. package/dist/cjs/states/reducers/states/ConfigState/AppLoaderState/interfaces.d.ts +2 -2
  30. package/dist/cjs/states/reducers/states/ConfigState/AppModalState/actions.d.ts +1 -0
  31. package/dist/cjs/states/reducers/states/ConfigState/AppModalState/interfaces.d.ts +6 -3
  32. package/dist/cjs/states/reducers/states/GlobalState/ClientState/interfaces.d.ts +2 -2
  33. package/dist/cjs/states/reducers/states/GlobalState/PartnerState/interfaces.d.ts +2 -2
  34. package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/constants.d.ts +5 -0
  35. package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/hoox.d.ts +2 -1
  36. package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/index.d.ts +1 -1
  37. package/dist/cjs/states/reducers/states/formStates/FormCarState/ConfigState/interfaces.d.ts +9 -2
  38. package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/index.d.ts +1 -1
  39. package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +2 -2
  40. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces.d.ts +2 -2
  41. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/interfaces.d.ts +2 -2
  42. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces.d.ts +2 -2
  43. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/interfaces.d.ts +2 -2
  44. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +2 -2
  45. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +2 -2
  46. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces.d.ts +2 -2
  47. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +2 -2
  48. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +6 -6
  49. package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/reducer.d.ts +1 -1
  50. package/dist/cjs/states/reducers/states/formStates/FormCarState/PostalState/interfaces.d.ts +2 -2
  51. package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/actions.d.ts +2 -2
  52. package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/helper.d.ts +2 -2
  53. package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +1 -1
  54. package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +6 -6
  55. package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/helper.d.ts +1 -1
  56. package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +2 -2
  57. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces.d.ts +2 -2
  58. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces.d.ts +2 -2
  59. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces.d.ts +2 -2
  60. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/actions.d.ts +0 -2
  61. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces.d.ts +2 -14
  62. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/actions.d.ts +0 -2
  63. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces.d.ts +2 -14
  64. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/index.d.ts +1 -1
  65. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/initialState.d.ts +4 -3
  66. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/interfaces.d.ts +13 -23
  67. package/dist/cjs/states/reducers/states/formStates/FormHomeState/ApplicantState/reducer.d.ts +1 -1
  68. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +9 -1
  69. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/index.d.ts +1 -1
  70. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +65 -2
  71. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/actions.d.ts +11 -2
  72. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/helper.d.ts +3 -1
  73. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/index.d.ts +2 -0
  74. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/initialState.d.ts +3 -13
  75. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/interfaces.d.ts +74 -16
  76. package/dist/cjs/states/reducers/states/formStates/FormHomeState/DwellingState/localStore.d.ts +2 -0
  77. package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/actions.d.ts +6 -0
  78. package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/helper.d.ts +1 -1
  79. package/dist/cjs/states/reducers/states/formStates/FormHomeState/PostalState/interfaces.d.ts +50 -4
  80. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/actions.d.ts +9 -0
  81. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/helper.d.ts +2 -0
  82. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/hoox.d.ts +2 -0
  83. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/index.d.ts +1 -0
  84. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/initialState.d.ts +2 -0
  85. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/interfaces.d.ts +69 -0
  86. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/localStore.d.ts +3 -0
  87. package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/reducer.d.ts +2 -0
  88. package/dist/cjs/states/reducers/states/formStates/FormHomeState/actions.d.ts +1 -1
  89. package/dist/cjs/states/reducers/states/formStates/FormHomeState/hoox.d.ts +1 -1
  90. package/dist/cjs/states/reducers/states/formStates/FormHomeState/index.d.ts +1 -1
  91. package/dist/cjs/states/reducers/states/formStates/FormHomeState/reducer.d.ts +2 -2
  92. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/actions.d.ts +18 -0
  93. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/hoox.d.ts +2 -0
  94. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/index.d.ts +1 -0
  95. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/initialState.d.ts +2 -0
  96. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/interfaces.d.ts +119 -0
  97. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/localStore.d.ts +4 -0
  98. package/dist/cjs/states/reducers/states/formStates/FormLifeState/ApplicantState/reducer.d.ts +2 -0
  99. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/actions.d.ts +9 -0
  100. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/hoox.d.ts +2 -0
  101. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/index.d.ts +1 -0
  102. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/initialState.d.ts +2 -0
  103. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/interfaces.d.ts +51 -0
  104. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/localStore.d.ts +3 -0
  105. package/dist/cjs/states/reducers/states/formStates/FormLifeState/CoverageState/reducer.d.ts +2 -0
  106. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/actions.d.ts +5 -0
  107. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/helper.d.ts +3 -0
  108. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/hoox.d.ts +2 -0
  109. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/index.d.ts +1 -0
  110. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/initialState.d.ts +2 -0
  111. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/interfaces.d.ts +28 -0
  112. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/localStore.d.ts +3 -0
  113. package/dist/cjs/states/reducers/states/formStates/FormLifeState/PostalState/reducer.d.ts +2 -0
  114. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/actions.d.ts +9 -0
  115. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/helper.d.ts +2 -0
  116. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/hoox.d.ts +2 -0
  117. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/index.d.ts +1 -0
  118. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/initialState.d.ts +2 -0
  119. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/interfaces.d.ts +68 -0
  120. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/localStore.d.ts +3 -0
  121. package/dist/cjs/states/reducers/states/formStates/FormLifeState/QuoteState/reducer.d.ts +2 -0
  122. package/dist/cjs/states/reducers/states/formStates/FormLifeState/actions.d.ts +4 -0
  123. package/dist/cjs/states/reducers/states/formStates/FormLifeState/hoox.d.ts +4 -0
  124. package/dist/cjs/states/reducers/states/formStates/FormLifeState/index.d.ts +5 -0
  125. package/dist/cjs/states/reducers/states/formStates/FormLifeState/reducer.d.ts +6 -0
  126. package/dist/cjs/states/reducers/states/formStates/actions.d.ts +1 -0
  127. package/dist/cjs/states/reducers/states/formStates/hoox.d.ts +1 -0
  128. package/dist/cjs/states/reducers/states/formStates/index.d.ts +1 -0
  129. package/dist/cjs/states/store.d.ts +10 -2
  130. package/dist/esm/handlers/dataHandlers/AuthDataHandler/interfaces.d.ts +1 -1
  131. package/dist/esm/handlers/dataHandlers/ClearFormDataHandler/interfaces.d.ts +1 -1
  132. package/dist/esm/handlers/dataHandlers/PartnerDataHandler/interfaces.d.ts +1 -1
  133. package/dist/esm/handlers/dataHandlers/PostalDataHandler/interfaces.d.ts +6 -2
  134. package/dist/esm/handlers/dataHandlers/QuoteDataHandler/CarQuoteDataHandler.d.ts +2 -0
  135. package/dist/esm/handlers/dataHandlers/QuoteDataHandler/HomeQuoteDataHandler.d.ts +2 -0
  136. package/dist/esm/handlers/dataHandlers/QuoteDataHandler/LifeQuoteDataHandler.d.ts +2 -0
  137. package/dist/esm/handlers/dataHandlers/QuoteDataHandler/index.d.ts +3 -1
  138. package/dist/esm/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +1 -1
  139. package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/QuoterEmailDataHandler.d.ts +3 -1
  140. package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/index.d.ts +1 -1
  141. package/dist/esm/handlers/dataHandlers/QuoterEmailDataHandler/interfaces.d.ts +1 -1
  142. package/dist/esm/handlers/dataHandlers/VehicleDataHandlers/interfaces.d.ts +2 -2
  143. package/dist/esm/handlers/dataHandlers/shared/dataReducer/interfaces.d.ts +2 -2
  144. package/dist/esm/handlers/validationHandlers/index.d.ts +1 -0
  145. package/dist/esm/handlers/validationHandlers/insurances/home/interfaces.d.ts +2 -2
  146. package/dist/esm/handlers/validationHandlers/insurances/life/ApplicantValidationHandler.d.ts +2 -0
  147. package/dist/esm/handlers/validationHandlers/insurances/life/CoverageValidationHandler.d.ts +2 -0
  148. package/dist/esm/handlers/validationHandlers/insurances/life/index.d.ts +2 -0
  149. package/dist/esm/handlers/validationHandlers/insurances/life/interfaces.d.ts +15 -0
  150. package/dist/esm/index.js +2033 -509
  151. package/dist/esm/index.js.map +1 -1
  152. package/dist/esm/services/httpRequest/hoox.d.ts +2 -2
  153. package/dist/esm/services/httpRequest/interfaces.d.ts +5 -5
  154. package/dist/esm/states/reducers/interfaces.d.ts +8 -2
  155. package/dist/esm/states/reducers/reducers.d.ts +8 -2
  156. package/dist/esm/states/reducers/states/ConfigState/AppConfigState/interfaces.d.ts +2 -2
  157. package/dist/esm/states/reducers/states/ConfigState/AppDeviceState/interfaces.d.ts +2 -2
  158. package/dist/esm/states/reducers/states/ConfigState/AppLoaderState/interfaces.d.ts +2 -2
  159. package/dist/esm/states/reducers/states/ConfigState/AppModalState/actions.d.ts +1 -0
  160. package/dist/esm/states/reducers/states/ConfigState/AppModalState/interfaces.d.ts +6 -3
  161. package/dist/esm/states/reducers/states/GlobalState/ClientState/interfaces.d.ts +2 -2
  162. package/dist/esm/states/reducers/states/GlobalState/PartnerState/interfaces.d.ts +2 -2
  163. package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/constants.d.ts +5 -0
  164. package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/hoox.d.ts +2 -1
  165. package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/index.d.ts +1 -1
  166. package/dist/esm/states/reducers/states/formStates/FormCarState/ConfigState/interfaces.d.ts +9 -2
  167. package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/index.d.ts +1 -1
  168. package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +2 -2
  169. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces.d.ts +2 -2
  170. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverBaseState/interfaces.d.ts +2 -2
  171. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces.d.ts +2 -2
  172. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInfoState/interfaces.d.ts +2 -2
  173. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +2 -2
  174. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +2 -2
  175. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces.d.ts +2 -2
  176. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +2 -2
  177. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +6 -6
  178. package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/reducer.d.ts +1 -1
  179. package/dist/esm/states/reducers/states/formStates/FormCarState/PostalState/interfaces.d.ts +2 -2
  180. package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/actions.d.ts +2 -2
  181. package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/helper.d.ts +2 -2
  182. package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +1 -1
  183. package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +6 -6
  184. package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/helper.d.ts +1 -1
  185. package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +2 -2
  186. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces.d.ts +2 -2
  187. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces.d.ts +2 -2
  188. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces.d.ts +2 -2
  189. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/actions.d.ts +0 -2
  190. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces.d.ts +2 -14
  191. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/actions.d.ts +0 -2
  192. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces.d.ts +2 -14
  193. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/index.d.ts +1 -1
  194. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/initialState.d.ts +4 -3
  195. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/interfaces.d.ts +13 -23
  196. package/dist/esm/states/reducers/states/formStates/FormHomeState/ApplicantState/reducer.d.ts +1 -1
  197. package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/actions.d.ts +9 -1
  198. package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/index.d.ts +1 -1
  199. package/dist/esm/states/reducers/states/formStates/FormHomeState/DiscountState/interfaces.d.ts +65 -2
  200. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/actions.d.ts +11 -2
  201. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/helper.d.ts +3 -1
  202. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/index.d.ts +2 -0
  203. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/initialState.d.ts +3 -13
  204. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/interfaces.d.ts +74 -16
  205. package/dist/esm/states/reducers/states/formStates/FormHomeState/DwellingState/localStore.d.ts +2 -0
  206. package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/actions.d.ts +6 -0
  207. package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/helper.d.ts +1 -1
  208. package/dist/esm/states/reducers/states/formStates/FormHomeState/PostalState/interfaces.d.ts +50 -4
  209. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/actions.d.ts +9 -0
  210. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/helper.d.ts +2 -0
  211. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/hoox.d.ts +2 -0
  212. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/index.d.ts +1 -0
  213. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/initialState.d.ts +2 -0
  214. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/interfaces.d.ts +69 -0
  215. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/localStore.d.ts +3 -0
  216. package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/reducer.d.ts +2 -0
  217. package/dist/esm/states/reducers/states/formStates/FormHomeState/actions.d.ts +1 -1
  218. package/dist/esm/states/reducers/states/formStates/FormHomeState/hoox.d.ts +1 -1
  219. package/dist/esm/states/reducers/states/formStates/FormHomeState/index.d.ts +1 -1
  220. package/dist/esm/states/reducers/states/formStates/FormHomeState/reducer.d.ts +2 -2
  221. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/actions.d.ts +18 -0
  222. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/hoox.d.ts +2 -0
  223. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/index.d.ts +1 -0
  224. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/initialState.d.ts +2 -0
  225. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/interfaces.d.ts +119 -0
  226. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/localStore.d.ts +4 -0
  227. package/dist/esm/states/reducers/states/formStates/FormLifeState/ApplicantState/reducer.d.ts +2 -0
  228. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/actions.d.ts +9 -0
  229. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/hoox.d.ts +2 -0
  230. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/index.d.ts +1 -0
  231. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/initialState.d.ts +2 -0
  232. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/interfaces.d.ts +51 -0
  233. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/localStore.d.ts +3 -0
  234. package/dist/esm/states/reducers/states/formStates/FormLifeState/CoverageState/reducer.d.ts +2 -0
  235. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/actions.d.ts +5 -0
  236. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/helper.d.ts +3 -0
  237. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/hoox.d.ts +2 -0
  238. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/index.d.ts +1 -0
  239. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/initialState.d.ts +2 -0
  240. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/interfaces.d.ts +28 -0
  241. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/localStore.d.ts +3 -0
  242. package/dist/esm/states/reducers/states/formStates/FormLifeState/PostalState/reducer.d.ts +2 -0
  243. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/actions.d.ts +9 -0
  244. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/helper.d.ts +2 -0
  245. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/hoox.d.ts +2 -0
  246. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/index.d.ts +1 -0
  247. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/initialState.d.ts +2 -0
  248. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/interfaces.d.ts +68 -0
  249. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/localStore.d.ts +3 -0
  250. package/dist/esm/states/reducers/states/formStates/FormLifeState/QuoteState/reducer.d.ts +2 -0
  251. package/dist/esm/states/reducers/states/formStates/FormLifeState/actions.d.ts +4 -0
  252. package/dist/esm/states/reducers/states/formStates/FormLifeState/hoox.d.ts +4 -0
  253. package/dist/esm/states/reducers/states/formStates/FormLifeState/index.d.ts +5 -0
  254. package/dist/esm/states/reducers/states/formStates/FormLifeState/reducer.d.ts +6 -0
  255. package/dist/esm/states/reducers/states/formStates/actions.d.ts +1 -0
  256. package/dist/esm/states/reducers/states/formStates/hoox.d.ts +1 -0
  257. package/dist/esm/states/reducers/states/formStates/index.d.ts +1 -0
  258. package/dist/esm/states/store.d.ts +10 -2
  259. package/dist/index.d.ts +716 -182
  260. package/package.json +4 -4
@@ -1,8 +1,8 @@
1
1
  import { CancelToken } from 'axios';
2
- declare type UseCancelTokenType = {
2
+ type UseCancelTokenType = {
3
3
  cancelToken: CancelToken;
4
4
  };
5
- declare type UseAbortController = {
5
+ type UseAbortController = {
6
6
  signal: AbortSignal;
7
7
  };
8
8
  export declare const useAbortSignal: () => UseAbortController;
@@ -1,13 +1,13 @@
1
1
  import { AxiosError, AxiosResponse, CancelToken, Method } from 'axios';
2
2
  import { RequestTypes, HttpRequestHeaderTypes } from '@mychoice/mychoice-sdk-components';
3
- export declare type HTTPRequestParamsTypes = never | null;
4
- export declare type DefaultResponseData = {
3
+ export type HTTPRequestParamsTypes = never | null;
4
+ export type DefaultResponseData = {
5
5
  count: number;
6
6
  next: number;
7
7
  previous: number;
8
8
  results: never;
9
9
  };
10
- export declare type AuthResponseData = {
10
+ export type AuthResponseData = {
11
11
  access: string;
12
12
  refresh: string;
13
13
  };
@@ -25,5 +25,5 @@ export interface HttpRequestProps<D, P> {
25
25
  signal?: AbortSignal;
26
26
  headerType?: HttpRequestHeaderTypes;
27
27
  }
28
- export declare type HttpResponse = AxiosResponse;
29
- export declare type HttpError<T = unknown> = AxiosError<T>;
28
+ export type HttpResponse = AxiosResponse;
29
+ export type HttpError<T = unknown> = AxiosError<T>;
@@ -1,4 +1,4 @@
1
- import { AppConfigStateInterface, AppLoaderStateInterface, AppModalStateInterface, ClientStateInterface, PartnerStateInterface, FormCarVehicleStateInterface, FormCarDriverStateInterface, FormCarPostalStateInterface, FormCarConfigStateInterface, FormCarDiscountStateInterface, FormCarQuoteStateInterface, FormHomeDwellingStateInterface, FormHomeApplicantStateInterface, FormHomeDiscountStateInterface, FormHomePostalStateInterface, FormHomeAddressStateInterface } from './states';
1
+ import { AppConfigStateInterface, AppLoaderStateInterface, AppModalStateInterface, ClientStateInterface, PartnerStateInterface, FormCarVehicleStateInterface, FormCarDriverStateInterface, FormCarPostalStateInterface, FormCarConfigStateInterface, FormCarDiscountStateInterface, FormCarQuoteStateInterface, FormHomeDwellingStateInterface, FormHomeApplicantStateInterface, FormHomeDiscountStateInterface, FormHomePostalStateInterface, FormHomeQuoteStateInterface, FormLifePostalStateInterface, FormLifeCoverageStateInterface, FormLifeApplicantStateInterface, FormLifeQuoteStateInterface } from './states';
2
2
  import { AppDeviceStateInterface } from './states/ConfigState/AppDeviceState';
3
3
  export interface StoreInterface {
4
4
  globalState: {
@@ -21,9 +21,15 @@ export interface StoreInterface {
21
21
  };
22
22
  formHomeState: {
23
23
  postalState: FormHomePostalStateInterface;
24
- addressState: FormHomeAddressStateInterface;
25
24
  applicantState: FormHomeApplicantStateInterface;
26
25
  dwellingState: FormHomeDwellingStateInterface;
27
26
  discountState: FormHomeDiscountStateInterface;
27
+ quoteState: FormHomeQuoteStateInterface;
28
+ };
29
+ formLifeState: {
30
+ postalState: FormLifePostalStateInterface;
31
+ applicantState: FormLifeApplicantStateInterface;
32
+ coverageState: FormLifeCoverageStateInterface;
33
+ quoteState: FormLifeQuoteStateInterface;
28
34
  };
29
35
  }
@@ -19,9 +19,15 @@ export declare const reducers: import("redux").Reducer<import("redux").CombinedS
19
19
  }>;
20
20
  formHomeState: import("redux").CombinedState<{
21
21
  postalState: never;
22
- addressState: never;
23
22
  applicantState: never;
24
23
  dwellingState: never;
25
24
  discountState: never;
25
+ quoteState: never;
26
+ }>;
27
+ formLifeState: import("redux").CombinedState<{
28
+ postalState: never;
29
+ coverageState: never;
30
+ applicantState: never;
31
+ quoteState: never;
26
32
  }>;
27
- }>, import("./states/ConfigState/AppLoaderState/interfaces").AppLoaderStateActionType | import("./states/ConfigState/AppModalState/interfaces").AppModalStateActionType | import("./states/ConfigState/AppConfigState/interfaces").AppConfigStateActionType | import("./states/ConfigState/AppDeviceState/interfaces").AppDeviceStateActionType | import("./states/GlobalState/ClientState/interfaces").ClientStateActionType | import("./states/GlobalState/PartnerState/interfaces").PartnerStateActionType | import("./states/formStates/FormCarState/VehicleState/interfaces").FormCarVehicleStateActionType | import("./states/formStates/FormCarState/ConfigState/interfaces").FormCarConfigStateActionType | import("./states/formStates/FormCarState/DiscountState/interfaces").FormCarDiscountStateActionType | import("./states/formStates/FormCarState/PostalState/interfaces").FormCarPostalStateActionType | import("./states/formStates/FormCarState/QuoteState/interfaces").FormCarQuoteStateActionType | import("./states/formStates/FormCarState/DriverState/DriverInfoState/interfaces").FormCarDriverInfoStateActionType | import("./states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces").FormCarDriverInsuranceStateActionType | import("./states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces").FormCarDriverLicenceStateActionType | import("./states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces").FormCarDriverCancellationStateActionType | import("./states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces").FormCarDriverSuspensionStateActionType | import("./states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces").FormCarDriverAccidentStateActionType | import("./states/formStates/FormCarState/DriverState/DriverTicketState/interfaces").FormCarDriverTicketStateActionType | import("./states/formStates/FormCarState/DriverState/DriverBaseState/interfaces").FormCarDriverBaseStateActionType | import("./states/formStates/FormHomeState/PostalState/interfaces").FormHomePostalStateActionType | import("./states/formStates/FormHomeState/AddressState/interfaces").FormHomeAddressStateActionType | import("./states/formStates/FormHomeState/DwellingState/interfaces").FormHomeDwellingStateActionType | import("./states/formStates/FormHomeState/DiscountState/interfaces").FormHomeDiscountStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces").FormHomeApplicantInfoStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces").FormHomeApplicantInsuranceStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces").FormHomeApplicantCancellationStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces").FormHomeApplicantClaimStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces").FormHomeApplicantBaseStateActionType>;
33
+ }>, import("./states/ConfigState/AppLoaderState/interfaces").AppLoaderStateActionType | import("./states/ConfigState/AppModalState/interfaces").AppModalStateActionType | import("./states/ConfigState/AppConfigState/interfaces").AppConfigStateActionType | import("./states/ConfigState/AppDeviceState/interfaces").AppDeviceStateActionType | import("./states/GlobalState/ClientState/interfaces").ClientStateActionType | import("./states/GlobalState/PartnerState/interfaces").PartnerStateActionType | import("./states/formStates/FormCarState/VehicleState/interfaces").FormCarVehicleStateActionType | import("./states/formStates/FormCarState/ConfigState/interfaces").FormCarConfigStateActionType | import("./states/formStates/FormCarState/DiscountState/interfaces").FormCarDiscountStateActionType | import("./states/formStates/FormCarState/PostalState/interfaces").FormCarPostalStateActionType | import("./states/formStates/FormCarState/QuoteState/interfaces").FormCarQuoteStateActionType | import("./states/formStates/FormCarState/DriverState/DriverInfoState/interfaces").FormCarDriverInfoStateActionType | import("./states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces").FormCarDriverInsuranceStateActionType | import("./states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces").FormCarDriverLicenceStateActionType | import("./states/formStates/FormCarState/DriverState/DriverCancellationState/interfaces").FormCarDriverCancellationStateActionType | import("./states/formStates/FormCarState/DriverState/DriverSuspensionState/interfaces").FormCarDriverSuspensionStateActionType | import("./states/formStates/FormCarState/DriverState/DriverAccidentState/interfaces").FormCarDriverAccidentStateActionType | import("./states/formStates/FormCarState/DriverState/DriverTicketState/interfaces").FormCarDriverTicketStateActionType | import("./states/formStates/FormCarState/DriverState/DriverBaseState/interfaces").FormCarDriverBaseStateActionType | import("./states/formStates/FormHomeState/PostalState/interfaces").FormHomePostalStateActionType | import("./states/formStates/FormHomeState/DwellingState/interfaces").FormHomeDwellingStateActionType | import("./states/formStates/FormHomeState/DiscountState/interfaces").FormHomeDiscountStateActionType | import("./states/formStates/FormHomeState/QuoteState/interfaces").FormHomeQuoteStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantInfoState/interfaces").FormHomeApplicantInfoStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantInsuranceState/interfaces").FormHomeApplicantInsuranceStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantCancellationState/interfaces").FormHomeApplicantCancellationStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantClaimState/interfaces").FormHomeApplicantClaimStateActionType | import("./states/formStates/FormHomeState/ApplicantState/ApplicantBaseState/interfaces").FormHomeApplicantBaseStateActionType | import("./states/formStates/FormLifeState/PostalState/interfaces").FormLifePostalStateActionType | import("./states/formStates/FormLifeState/CoverageState/interfaces").FormLifeCoverageStateActionType | import("./states/formStates/FormLifeState/ApplicantState/interfaces").FormLifeApplicantStateActionType | import("./states/formStates/FormLifeState/QuoteState/interfaces").FormLifeQuoteStateActionType>;
@@ -8,7 +8,7 @@ export interface AppConfigStateInterface {
8
8
  drawWrapper: boolean;
9
9
  isPreloaded: boolean;
10
10
  }
11
- export declare type AppConfigStateActionType = {
11
+ export type AppConfigStateActionType = {
12
12
  type: StoreConfigAppConfigActionTypes.AppConfigSetIsReady;
13
13
  payload: boolean;
14
14
  } | {
@@ -27,7 +27,7 @@ export declare type AppConfigStateActionType = {
27
27
  type: StoreConfigAppConfigActionTypes.AppConfigSetLocalIndex;
28
28
  payload: string;
29
29
  };
30
- export declare type AppConfigStateReducerInterface = (state: AppConfigStateInterface, action: AppConfigStateActionType) => void;
30
+ export type AppConfigStateReducerInterface = (state: AppConfigStateInterface, action: AppConfigStateActionType) => void;
31
31
  export interface AppConfigHookInterface {
32
32
  appConfigState: AppConfigStateInterface;
33
33
  dispatchAppConfigState: (props: AppConfigStateActionType) => void;
@@ -9,7 +9,7 @@ export interface AppDeviceStateInterface {
9
9
  deviceType: DeviceTypes;
10
10
  deviceScreen: DeviceScreenInterface;
11
11
  }
12
- export declare type AppDeviceStateActionType = {
12
+ export type AppDeviceStateActionType = {
13
13
  type: StoreConfigAppDeviceActionTypes.AppDeviceSetDeviceType;
14
14
  payload: DeviceTypes;
15
15
  } | {
@@ -19,7 +19,7 @@ export declare type AppDeviceStateActionType = {
19
19
  height: number;
20
20
  };
21
21
  };
22
- export declare type AppDeviceStateReducerInterface = (state: AppDeviceStateInterface, action: AppDeviceStateActionType) => void;
22
+ export type AppDeviceStateReducerInterface = (state: AppDeviceStateInterface, action: AppDeviceStateActionType) => void;
23
23
  export interface ClientHookInterface {
24
24
  appLoaderState: AppDeviceStateInterface;
25
25
  dispatchAppLoader: (props: AppDeviceStateActionType) => void;
@@ -3,7 +3,7 @@ export interface AppLoaderStateInterface {
3
3
  isOpen: boolean;
4
4
  description: string;
5
5
  }
6
- export declare type AppLoaderStateActionType = {
6
+ export type AppLoaderStateActionType = {
7
7
  type: StoreConfigAppLoaderActionTypes.AppLoaderOpen;
8
8
  payload: {
9
9
  description: string;
@@ -11,7 +11,7 @@ export declare type AppLoaderStateActionType = {
11
11
  } | {
12
12
  type: StoreConfigAppLoaderActionTypes.AppLoaderClose;
13
13
  };
14
- export declare type AppLoaderStateReducerInterface = (state: AppLoaderStateInterface, action: AppLoaderStateActionType) => void;
14
+ export type AppLoaderStateReducerInterface = (state: AppLoaderStateInterface, action: AppLoaderStateActionType) => void;
15
15
  export interface ClientHookInterface {
16
16
  appLoaderState: AppLoaderStateInterface;
17
17
  dispatchAppLoader: (props: AppLoaderStateActionType) => void;
@@ -2,6 +2,7 @@ export declare enum StoreConfigAppModalActionTypes {
2
2
  AppModalMessageModal = "AppModalMessageModal",
3
3
  AppModalConfirmModal = "AppModalConfirmModal",
4
4
  AppModalPostalModal = "AppModalPostalModal",
5
+ AppModalAddressModal = "AppModalAddressModal",
5
6
  AppModalFinaleModal = "AppModalFinaleModal",
6
7
  AppModalClose = "AppModalClose"
7
8
  }
@@ -10,7 +10,7 @@ export interface AppModalStateInterface {
10
10
  submitCallBack?: () => void;
11
11
  cancelCallBack?: () => void;
12
12
  }
13
- declare type PayloadType = {
13
+ type PayloadType = {
14
14
  title?: string;
15
15
  description?: string;
16
16
  submitButtonText?: string;
@@ -18,7 +18,7 @@ declare type PayloadType = {
18
18
  submitCallBack?: () => void;
19
19
  cancelCallBack?: () => void;
20
20
  };
21
- export declare type AppModalStateActionType = {
21
+ export type AppModalStateActionType = {
22
22
  type: StoreConfigAppModalActionTypes.AppModalMessageModal;
23
23
  payload: PayloadType;
24
24
  } | {
@@ -27,13 +27,16 @@ export declare type AppModalStateActionType = {
27
27
  } | {
28
28
  type: StoreConfigAppModalActionTypes.AppModalPostalModal;
29
29
  payload: PayloadType;
30
+ } | {
31
+ type: StoreConfigAppModalActionTypes.AppModalAddressModal;
32
+ payload: PayloadType;
30
33
  } | {
31
34
  type: StoreConfigAppModalActionTypes.AppModalFinaleModal;
32
35
  payload: PayloadType;
33
36
  } | {
34
37
  type: StoreConfigAppModalActionTypes.AppModalClose;
35
38
  };
36
- export declare type AppModalStateReducerInterface = (state: AppModalStateInterface, action: AppModalStateActionType) => void;
39
+ export type AppModalStateReducerInterface = (state: AppModalStateInterface, action: AppModalStateActionType) => void;
37
40
  export interface AppModalHookInterface {
38
41
  appModalState: AppModalStateInterface;
39
42
  dispatchAppModalState: (props: AppModalStateActionType) => void;
@@ -15,7 +15,7 @@ export interface ClientStateInterface {
15
15
  profile: ClientProfileInterface;
16
16
  tokens: ClientTokenInterface;
17
17
  }
18
- export declare type ClientStateActionType = {
18
+ export type ClientStateActionType = {
19
19
  type: StoreClientActionTypes.ClientSet;
20
20
  payload: ClientProfileInterface;
21
21
  index?: string;
@@ -44,7 +44,7 @@ export declare type ClientStateActionType = {
44
44
  payload?: null;
45
45
  index?: string;
46
46
  };
47
- export declare type ClientStateReducerInterface = (state: ClientStateInterface, action: ClientStateActionType) => void;
47
+ export type ClientStateReducerInterface = (state: ClientStateInterface, action: ClientStateActionType) => void;
48
48
  export interface ClientHookInterface {
49
49
  clientState: ClientStateInterface;
50
50
  dispatchClientState: (props: ClientStateActionType) => void;
@@ -7,13 +7,13 @@ export interface PartnerStateInterface {
7
7
  secondaryColor: string;
8
8
  redirectUrl: string;
9
9
  }
10
- export declare type PartnerStateActionType = {
10
+ export type PartnerStateActionType = {
11
11
  type: StorePartnerActionTypes.PartnerSet;
12
12
  payload: PartnerStateInterface;
13
13
  } | {
14
14
  type: StorePartnerActionTypes.PartnerClear;
15
15
  };
16
- export declare type PartnerStateReducerInterface = (state: PartnerStateInterface, action: PartnerStateActionType) => void;
16
+ export type PartnerStateReducerInterface = (state: PartnerStateInterface, action: PartnerStateActionType) => void;
17
17
  export interface PartnerHookInterface {
18
18
  partnerState: PartnerStateInterface;
19
19
  dispatchPartnerState: (props: PartnerStateActionType) => void;
@@ -1,2 +1,7 @@
1
1
  import { FormCarConfigStateInterface } from './interfaces';
2
+ export declare const OntarioCode = "ON";
3
+ export declare const AlbertaCode = "AB";
4
+ export declare const NovaScotiaCode = "NS";
5
+ export declare const NewfoundlandCode = "NF";
6
+ export declare const NewBrunswickCode = "NB";
2
7
  export declare const provinceList: FormCarConfigStateInterface[];
@@ -1,2 +1,3 @@
1
- import { FormCarConfigHookInterface } from './interfaces';
1
+ import { FormCarConfigHookInterface, ProvinceHookInterface } from './interfaces';
2
2
  export declare const useStoreFormCarConfig: () => FormCarConfigHookInterface;
3
+ export declare const useProvince: () => ProvinceHookInterface;
@@ -1 +1 @@
1
- export type { FormCarConfigStateInterface, LicenceConfigInterface } from './interfaces';
1
+ export type { FormCarConfigStateInterface, LicenceConfigInterface, ProvinceHookInterface } from './interfaces';
@@ -45,7 +45,7 @@ export interface FormCarConfigStateInterface {
45
45
  };
46
46
  };
47
47
  }
48
- export declare type FormCarConfigStateActionType = {
48
+ export type FormCarConfigStateActionType = {
49
49
  type: StoreFormCarConfigActionTypes.FormCarConfigSet;
50
50
  payload: {
51
51
  province: string;
@@ -58,8 +58,15 @@ export declare type FormCarConfigStateActionType = {
58
58
  localIndex?: string;
59
59
  };
60
60
  };
61
- export declare type FormCarConfigStateReducerInterface = (state: FormCarConfigStateInterface, action: FormCarConfigStateActionType) => void;
61
+ export type FormCarConfigStateReducerInterface = (state: FormCarConfigStateInterface, action: FormCarConfigStateActionType) => void;
62
62
  export interface FormCarConfigHookInterface {
63
63
  configState: FormCarConfigStateInterface;
64
64
  dispatchConfigState: (props: FormCarConfigStateActionType) => void;
65
65
  }
66
+ export interface ProvinceHookInterface {
67
+ isAlbertaProvince: boolean;
68
+ isNewBrunswickProvince: boolean;
69
+ isNovaScotiaProvince: boolean;
70
+ isNewfoundlandProvince: boolean;
71
+ isOntarioProvince: boolean;
72
+ }
@@ -1 +1 @@
1
- export type { FormCarDiscountStateInterface, DiscountVehLinkInterface } from './interfaces';
1
+ export type { FormCarDiscountStateInterface, DiscountQuoterInfoInterface, DiscountVehLinkInterface } from './interfaces';
@@ -37,7 +37,7 @@ export interface FormCarDiscountStateInterface extends StateBaseInterface {
37
37
  quoterInfo: DiscountQuoterInfoInterface;
38
38
  vehlinks: DiscountVehLinkInterface[];
39
39
  }
40
- export declare type FormCarDiscountStateActionType = {
40
+ export type FormCarDiscountStateActionType = {
41
41
  type: StoreFormCarDiscountActionTypes.FormCarDiscountValidate;
42
42
  payload: {
43
43
  inValidation: boolean;
@@ -178,7 +178,7 @@ export declare type FormCarDiscountStateActionType = {
178
178
  payload?: null;
179
179
  localIndex?: string;
180
180
  };
181
- export declare type FormCarDiscountStateReducerInterface = (state: FormCarDiscountStateInterface, action: FormCarDiscountStateActionType) => FormCarDiscountStateInterface;
181
+ export type FormCarDiscountStateReducerInterface = (state: FormCarDiscountStateInterface, action: FormCarDiscountStateActionType) => FormCarDiscountStateInterface;
182
182
  export interface FormCarDiscountHookInterface {
183
183
  discountState: FormCarDiscountStateInterface;
184
184
  dispatchDiscountState: (props: FormCarDiscountStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { StoreFormCarDriverAccidentActionTypes } from './actions';
2
2
  import { FormCarDriverStateInterface } from '../interfaces';
3
- export declare type FormCarDriverAccidentStateActionType = {
3
+ export type FormCarDriverAccidentStateActionType = {
4
4
  type: StoreFormCarDriverAccidentActionTypes.FormCarDriverAccidentAdd;
5
5
  payload?: null;
6
6
  localIndex?: string;
@@ -31,7 +31,7 @@ export declare type FormCarDriverAccidentStateActionType = {
31
31
  };
32
32
  localIndex?: string;
33
33
  };
34
- export declare type FormCarDriverAccidentStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverAccidentStateActionType) => FormCarDriverStateInterface;
34
+ export type FormCarDriverAccidentStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverAccidentStateActionType) => FormCarDriverStateInterface;
35
35
  export interface FormCarDriverAccidentHookInterface {
36
36
  driverState: FormCarDriverStateInterface;
37
37
  dispatchDriverAccidentState: (props: FormCarDriverAccidentStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { FormCarDriverStateInterface } from '../interfaces';
2
2
  import { StoreFormCarDriverBaseActionTypes } from './actions';
3
- export declare type FormCarDriverBaseStateActionType = {
3
+ export type FormCarDriverBaseStateActionType = {
4
4
  type: StoreFormCarDriverBaseActionTypes.FormCarDriverValidate;
5
5
  payload: {
6
6
  inValidation: boolean;
@@ -43,7 +43,7 @@ export declare type FormCarDriverBaseStateActionType = {
43
43
  };
44
44
  localIndex?: string;
45
45
  };
46
- export declare type FormCarDriverBaseStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverBaseStateActionType) => FormCarDriverStateInterface;
46
+ export type FormCarDriverBaseStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverBaseStateActionType) => FormCarDriverStateInterface;
47
47
  export interface FormCarDriverBaseHookInterface {
48
48
  driverState: FormCarDriverStateInterface;
49
49
  dispatchDriverBaseState: (props: FormCarDriverBaseStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { StoreFormCarDriverCancellationActionTypes } from './actions';
2
2
  import { FormCarDriverStateInterface } from '../interfaces';
3
- export declare type FormCarDriverCancellationStateActionType = {
3
+ export type FormCarDriverCancellationStateActionType = {
4
4
  type: StoreFormCarDriverCancellationActionTypes.FormCarDriverInsuranceCancellationAdd;
5
5
  payload?: null;
6
6
  localIndex?: string;
@@ -52,7 +52,7 @@ export declare type FormCarDriverCancellationStateActionType = {
52
52
  };
53
53
  localIndex?: string;
54
54
  };
55
- export declare type FormCarDriverCancellationStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverCancellationStateActionType) => FormCarDriverStateInterface;
55
+ export type FormCarDriverCancellationStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverCancellationStateActionType) => FormCarDriverStateInterface;
56
56
  export interface FormCarDriverCancellationHookInterface {
57
57
  driverState: FormCarDriverStateInterface;
58
58
  dispatchDriverCancellationState: (props: FormCarDriverCancellationStateActionType) => void;
@@ -1,7 +1,7 @@
1
1
  import { OccupationTypes, GenderTypes } from '@mychoice/mychoice-sdk-components';
2
2
  import { StoreFormCarDriverInfoActionTypes } from './actions';
3
3
  import { BirthDatePayloadType, FormCarDriverStateInterface } from '../interfaces';
4
- export declare type FormCarDriverInfoStateActionType = {
4
+ export type FormCarDriverInfoStateActionType = {
5
5
  type: StoreFormCarDriverInfoActionTypes.FormCarDriverNameSet;
6
6
  payload: {
7
7
  firstName: string;
@@ -44,7 +44,7 @@ export declare type FormCarDriverInfoStateActionType = {
44
44
  };
45
45
  localIndex?: string;
46
46
  };
47
- export declare type FormCarDriverInfoStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverInfoStateActionType) => FormCarDriverStateInterface;
47
+ export type FormCarDriverInfoStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverInfoStateActionType) => FormCarDriverStateInterface;
48
48
  export interface FormCarDriverInfoHookInterface {
49
49
  driverState: FormCarDriverStateInterface;
50
50
  dispatchDriverInfoState: (props: FormCarDriverInfoStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { StoreFormCarDriverInsuranceActionTypes } from './actions';
2
2
  import { FormCarDriverStateInterface } from '../interfaces';
3
- export declare type FormCarDriverInsuranceStateActionType = {
3
+ export type FormCarDriverInsuranceStateActionType = {
4
4
  type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverListedSelect;
5
5
  payload: {
6
6
  listed: boolean;
@@ -31,7 +31,7 @@ export declare type FormCarDriverInsuranceStateActionType = {
31
31
  };
32
32
  localIndex?: string;
33
33
  };
34
- export declare type FormCarDriverInsuranceStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverInsuranceStateActionType) => FormCarDriverStateInterface;
34
+ export type FormCarDriverInsuranceStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverInsuranceStateActionType) => FormCarDriverStateInterface;
35
35
  export interface FormCarDriverInsuranceHookInterface {
36
36
  driverState: FormCarDriverStateInterface;
37
37
  dispatchDriverInsuranceState: (props: FormCarDriverInsuranceStateActionType) => void;
@@ -2,7 +2,7 @@ import { DriverLicenceTypes } from '@mychoice/mychoice-sdk-components';
2
2
  import { StoreFormCarDriverLicenceActionTypes } from './actions';
3
3
  import { FormCarDriverStateInterface, LicenceDatePayloadType } from '../interfaces';
4
4
  import { FormCarConfigStateInterface } from '../../ConfigState';
5
- export declare type FormCarDriverLicenceStateActionType = {
5
+ export type FormCarDriverLicenceStateActionType = {
6
6
  type: StoreFormCarDriverLicenceActionTypes.FormCarDriverLicenceAgeSelect;
7
7
  payload: {
8
8
  firstLicenceAge: string | number;
@@ -73,7 +73,7 @@ export declare type FormCarDriverLicenceStateActionType = {
73
73
  };
74
74
  localIndex?: string;
75
75
  };
76
- export declare type FormCarDriverLicenceStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverLicenceStateActionType) => FormCarDriverStateInterface;
76
+ export type FormCarDriverLicenceStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverLicenceStateActionType) => FormCarDriverStateInterface;
77
77
  export interface FormCarDriverLicenceHookInterface {
78
78
  driverState: FormCarDriverStateInterface;
79
79
  dispatchDriverLicenceState: (props: FormCarDriverLicenceStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { StoreFormCarDriverSuspensionActionTypes } from './actions';
2
2
  import { FormCarDriverStateInterface } from '../interfaces';
3
- export declare type FormCarDriverSuspensionStateActionType = {
3
+ export type FormCarDriverSuspensionStateActionType = {
4
4
  type: StoreFormCarDriverSuspensionActionTypes.FormCarDriverLicenceSuspensionAdd;
5
5
  payload?: null;
6
6
  localIndex?: string;
@@ -52,7 +52,7 @@ export declare type FormCarDriverSuspensionStateActionType = {
52
52
  };
53
53
  localIndex?: string;
54
54
  };
55
- export declare type FormCarDriverSuspensionStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverSuspensionStateActionType) => FormCarDriverStateInterface;
55
+ export type FormCarDriverSuspensionStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverSuspensionStateActionType) => FormCarDriverStateInterface;
56
56
  export interface FormCarDriverSuspensionHookInterface {
57
57
  driverState: FormCarDriverStateInterface;
58
58
  dispatchDriverSuspensionState: (props: FormCarDriverSuspensionStateActionType) => void;
@@ -1,6 +1,6 @@
1
1
  import { StoreFormCarDriverTicketActionTypes } from './actions';
2
2
  import { FormCarDriverStateInterface } from '../interfaces';
3
- export declare type FormCarDriverTicketStateActionType = {
3
+ export type FormCarDriverTicketStateActionType = {
4
4
  type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketAdd;
5
5
  payload?: null;
6
6
  localIndex?: string;
@@ -38,7 +38,7 @@ export declare type FormCarDriverTicketStateActionType = {
38
38
  };
39
39
  localIndex?: string;
40
40
  };
41
- export declare type FormCarDriverTicketStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverTicketStateActionType) => FormCarDriverStateInterface;
41
+ export type FormCarDriverTicketStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverTicketStateActionType) => FormCarDriverStateInterface;
42
42
  export interface FormCarDriverTicketHookInterface {
43
43
  driverState: FormCarDriverStateInterface;
44
44
  dispatchDriverTicketState: (props: FormCarDriverTicketStateActionType) => void;
@@ -48,7 +48,7 @@ export interface TicketItemInterface {
48
48
  ticketYear?: string;
49
49
  ticketMonth?: string;
50
50
  }
51
- export declare type DriverListItemType = DriverCancellationItemInterface | SuspensionItemInterface | AccidentItemInterface | TicketItemInterface;
51
+ export type DriverListItemType = DriverCancellationItemInterface | SuspensionItemInterface | AccidentItemInterface | TicketItemInterface;
52
52
  export interface DriverMinMaxDates {
53
53
  gMin: string;
54
54
  gMax: string;
@@ -94,19 +94,19 @@ export interface DriverItemInterface {
94
94
  export interface FormCarDriverStateInterface extends TabStateInterface, StateBaseInterface {
95
95
  items: DriverItemInterface[];
96
96
  }
97
- declare type ConfigType = {
97
+ type ConfigType = {
98
98
  config: FormCarConfigStateInterface;
99
99
  };
100
- export declare type BirthDatePayloadType = ConfigType & {
100
+ export type BirthDatePayloadType = ConfigType & {
101
101
  [x in 'birthYear' | 'birthMonth' | 'birthDay']: string;
102
102
  };
103
- export declare type LicenceAgePayloadType = ConfigType & {
103
+ export type LicenceAgePayloadType = ConfigType & {
104
104
  firstLicenceAge: string | number;
105
105
  };
106
- export declare type LicenceTypePayloadType = ConfigType & {
106
+ export type LicenceTypePayloadType = ConfigType & {
107
107
  licenceType: DriverLicenceTypes;
108
108
  };
109
- export declare type LicenceDatePayloadType = {
109
+ export type LicenceDatePayloadType = {
110
110
  value: string;
111
111
  config?: FormCarConfigStateInterface;
112
112
  type?: DriverLicenceTypes;
@@ -7,5 +7,5 @@ import { FormCarDriverSuspensionStateActionType } from './DriverSuspensionState/
7
7
  import { FormCarDriverAccidentStateActionType } from './DriverAccidentState/interfaces';
8
8
  import { FormCarDriverTicketStateActionType } from './DriverTicketState/interfaces';
9
9
  import { FormCarDriverBaseStateActionType } from './DriverBaseState/interfaces';
10
- export declare type FormCarDriverStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverBaseStateActionType | FormCarDriverInfoStateActionType | FormCarDriverLicenceStateActionType | FormCarDriverInsuranceStateActionType | FormCarDriverCancellationStateActionType | FormCarDriverSuspensionStateActionType | FormCarDriverAccidentStateActionType | FormCarDriverTicketStateActionType) => FormCarDriverStateInterface;
10
+ export type FormCarDriverStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverBaseStateActionType | FormCarDriverInfoStateActionType | FormCarDriverLicenceStateActionType | FormCarDriverInsuranceStateActionType | FormCarDriverCancellationStateActionType | FormCarDriverSuspensionStateActionType | FormCarDriverAccidentStateActionType | FormCarDriverTicketStateActionType) => FormCarDriverStateInterface;
11
11
  export declare const formCarDriverStateReducer: FormCarDriverStateReducerInterface;
@@ -4,7 +4,7 @@ export interface FormCarPostalStateInterface {
4
4
  isReady: boolean;
5
5
  item: PostalStateSharedInterface;
6
6
  }
7
- export declare type FormCarPostalStateActionType = {
7
+ export type FormCarPostalStateActionType = {
8
8
  type: StoreFormCarPostalActionTypes.FormCarPostalSet;
9
9
  payload: PostalStateSharedInterface;
10
10
  localIndex?: string;
@@ -17,7 +17,7 @@ export declare type FormCarPostalStateActionType = {
17
17
  payload?: null;
18
18
  localIndex?: string;
19
19
  };
20
- export declare type FormCarPostalStateReducerInterface = (state: FormCarPostalStateInterface, action: FormCarPostalStateActionType) => void;
20
+ export type FormCarPostalStateReducerInterface = (state: FormCarPostalStateInterface, action: FormCarPostalStateActionType) => void;
21
21
  export interface ClientHookInterface {
22
22
  formCarPostalState: FormCarPostalStateInterface;
23
23
  dispatchFormCarPostal: (props: FormCarPostalStateActionType) => void;
@@ -1,9 +1,9 @@
1
1
  export declare enum StoreFormCarQuoteActionTypes {
2
- UpdateQuoteResponse = "UpdateQuoteResponse",
2
+ UpdateCarQuoteResponse = "UpdateCarQuoteResponse",
3
3
  FormCarQuoteIsRequestedSet = "FormCarQuoteIsRequestedSet",
4
4
  FormCarQuoteRequestDateSet = "FormCarQuoteRequestDateSet",
5
5
  FormCarQuotesSet = "FormCarQuotesSet",
6
6
  FormCarQuoteGetLocal = "FormCarQuoteGetLocal",
7
7
  FormCarQuoteClear = "FormCarQuoteClear",
8
- UpdateCallMessage = "UpdateCallMessage"
8
+ UpdateCarCallMessage = "UpdateCarCallMessage"
9
9
  }
@@ -1,2 +1,2 @@
1
- import { FormCarQuoteStateInterface, QuoteItemInterface } from './interfaces';
2
- export declare const setQuoteStateProperty: (state: FormCarQuoteStateInterface, name: string, value: boolean | string | QuoteItemInterface[]) => FormCarQuoteStateInterface;
1
+ import { FormCarQuoteStateInterface, CarQuoteItemInterface } from './interfaces';
2
+ export declare const setQuoteStateProperty: (state: FormCarQuoteStateInterface, name: string, value: boolean | string | CarQuoteItemInterface[]) => FormCarQuoteStateInterface;
@@ -1 +1 @@
1
- export type { FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, QuoteItemInterface, } from './interfaces';
1
+ export type { FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, CarQuoteItemInterface, } from './interfaces';
@@ -14,7 +14,7 @@ export interface QuoteCompanyInterface {
14
14
  logo: string;
15
15
  name: string;
16
16
  }
17
- export interface QuoteItemInterface {
17
+ export interface CarQuoteItemInterface {
18
18
  brokerProfile: BrokerProfileInterface;
19
19
  company: QuoteCompanyInterface;
20
20
  date: string;
@@ -23,12 +23,12 @@ export interface QuoteItemInterface {
23
23
  priceYearly: string;
24
24
  }
25
25
  export interface FormCarQuoteStateInterface {
26
- items: QuoteItemInterface[];
26
+ items: CarQuoteItemInterface[];
27
27
  isRequested: boolean;
28
28
  requestDate: string;
29
29
  showCallMessage: boolean;
30
30
  }
31
- export declare type FormCarQuoteStateActionType = {
31
+ export type FormCarQuoteStateActionType = {
32
32
  type: StoreFormCarQuoteActionTypes.FormCarQuoteIsRequestedSet;
33
33
  payload: {
34
34
  isRequested: boolean;
@@ -43,7 +43,7 @@ export declare type FormCarQuoteStateActionType = {
43
43
  } | {
44
44
  type: StoreFormCarQuoteActionTypes.FormCarQuotesSet;
45
45
  payload: {
46
- items: QuoteItemInterface[];
46
+ items: CarQuoteItemInterface[];
47
47
  };
48
48
  localIndex?: string;
49
49
  } | {
@@ -55,13 +55,13 @@ export declare type FormCarQuoteStateActionType = {
55
55
  payload?: null;
56
56
  localIndex?: string;
57
57
  } | {
58
- type: StoreFormCarQuoteActionTypes.UpdateCallMessage;
58
+ type: StoreFormCarQuoteActionTypes.UpdateCarCallMessage;
59
59
  payload: {
60
60
  showCallMessage: boolean;
61
61
  };
62
62
  localIndex?: string;
63
63
  };
64
- export declare type FormCarQuoteStateReducerInterface = (state: FormCarQuoteStateInterface, action: FormCarQuoteStateActionType) => FormCarQuoteStateInterface;
64
+ export type FormCarQuoteStateReducerInterface = (state: FormCarQuoteStateInterface, action: FormCarQuoteStateActionType) => FormCarQuoteStateInterface;
65
65
  export interface FormCarQuoteHookInterface {
66
66
  quoteState: FormCarQuoteStateInterface;
67
67
  dispatchQuoteState: (props: FormCarQuoteStateActionType) => void;
@@ -7,4 +7,4 @@ export declare const setVehicleYear: (state: FormCarVehicleStateInterface, vehic
7
7
  export declare const setVehicleMake: (state: FormCarVehicleStateInterface, vehicleMake: string) => FormCarVehicleStateInterface;
8
8
  export declare const setVehicleModel: (state: FormCarVehicleStateInterface, vehicleModel: string) => FormCarVehicleStateInterface;
9
9
  export declare const setItemProperty: (state: FormCarVehicleStateInterface, name: string, value: string | boolean | VehicleConditionTypes) => FormCarVehicleStateInterface;
10
- export declare const setCoverageProperty: (state: FormCarVehicleStateInterface, name: string, coverage: boolean, value: number) => FormCarVehicleStateInterface;
10
+ export declare const setCarCoverageProperty: (state: FormCarVehicleStateInterface, name: string, coverage: boolean, value: number) => FormCarVehicleStateInterface;
@@ -39,7 +39,7 @@ export interface VehicleItemInterface {
39
39
  export interface FormCarVehicleStateInterface extends TabStateInterface, StateBaseInterface {
40
40
  items: VehicleItemInterface[];
41
41
  }
42
- export declare type FormCarVehicleStateActionType = {
42
+ export type FormCarVehicleStateActionType = {
43
43
  type: StoreFormCarVehicleActionTypes.FormCarVehicleValidate;
44
44
  payload: {
45
45
  inValidation: boolean;
@@ -189,7 +189,7 @@ export declare type FormCarVehicleStateActionType = {
189
189
  };
190
190
  localIndex?: string;
191
191
  };
192
- export declare type FormCarVehicleStateReducerInterface = (state: FormCarVehicleStateInterface, action: FormCarVehicleStateActionType) => void;
192
+ export type FormCarVehicleStateReducerInterface = (state: FormCarVehicleStateInterface, action: FormCarVehicleStateActionType) => void;
193
193
  export interface ClientHookInterface {
194
194
  formCarVehicleState: FormCarVehicleStateInterface;
195
195
  dispatchFormCarVehicle: (props: FormCarVehicleStateActionType) => void;