@zeniai/client-epic-state 4.9.31 → 4.9.32

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 (2346) hide show
  1. package/README.md +2 -2
  2. package/lib/commonPayloadTypes/agingReportPayloadTypes.d.ts +21 -21
  3. package/lib/commonPayloadTypes/agingReportPayloadTypes.js +28 -28
  4. package/lib/commonPayloadTypes/balanceChangePayload.d.ts +20 -20
  5. package/lib/commonPayloadTypes/balanceChangePayload.js +28 -28
  6. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.d.ts +28 -28
  7. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +10 -10
  8. package/lib/commonPayloadTypes/coaBalancePayload.d.ts +57 -57
  9. package/lib/commonPayloadTypes/coaBalancePayload.js +92 -92
  10. package/lib/commonPayloadTypes/commonPayload.d.ts +4 -4
  11. package/lib/commonPayloadTypes/commonPayload.js +2 -2
  12. package/lib/commonPayloadTypes/recommendationPayload.d.ts +24 -20
  13. package/lib/commonPayloadTypes/recommendationPayload.js +52 -36
  14. package/lib/commonPayloadTypes/sortOrderPayload.d.ts +4 -4
  15. package/lib/commonPayloadTypes/sortOrderPayload.js +11 -11
  16. package/lib/commonPayloadTypes/statusPayload.d.ts +14 -14
  17. package/lib/commonPayloadTypes/statusPayload.js +17 -17
  18. package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.d.ts +36 -36
  19. package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.js +2 -2
  20. package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.d.ts +5 -5
  21. package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +28 -28
  22. package/lib/commonPayloadTypes/urlPayload.d.ts +6 -6
  23. package/lib/commonPayloadTypes/urlPayload.js +8 -8
  24. package/lib/commonPayloadTypes/v2/coaBalancePayload.d.ts +56 -56
  25. package/lib/commonPayloadTypes/v2/coaBalancePayload.js +106 -106
  26. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +8 -8
  27. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +84 -84
  28. package/lib/commonPayloadTypes/v2/viewAndReportPayloadv2.d.ts +21 -21
  29. package/lib/commonPayloadTypes/v2/viewAndReportPayloadv2.js +25 -25
  30. package/lib/commonPayloadTypes/vendorRecommendationPayload.d.ts +10 -0
  31. package/lib/commonPayloadTypes/vendorRecommendationPayload.js +2 -0
  32. package/lib/commonPayloadTypes/viewAndReportPayload.d.ts +19 -19
  33. package/lib/commonPayloadTypes/viewAndReportPayload.js +23 -23
  34. package/lib/commonStateTypes/accountView/getNestedAccountIDHeirarchyForReport.d.ts +21 -21
  35. package/lib/commonStateTypes/accountView/getNestedAccountIDHeirarchyForReport.js +111 -111
  36. package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +60 -60
  37. package/lib/commonStateTypes/accountView/nestedAccountID.js +23 -23
  38. package/lib/commonStateTypes/agingBalance/agingBalance.d.ts +10 -10
  39. package/lib/commonStateTypes/agingBalance/agingBalance.js +13 -13
  40. package/lib/commonStateTypes/allowedValue.d.ts +11 -11
  41. package/lib/commonStateTypes/allowedValue.js +11 -11
  42. package/lib/commonStateTypes/amount.d.ts +9 -9
  43. package/lib/commonStateTypes/amount.js +12 -12
  44. package/lib/commonStateTypes/balance.d.ts +14 -14
  45. package/lib/commonStateTypes/balance.js +2 -2
  46. package/lib/commonStateTypes/balanceTimeseries.d.ts +17 -17
  47. package/lib/commonStateTypes/balanceTimeseries.js +2 -2
  48. package/lib/commonStateTypes/bookCloseDateHelper.d.ts +8 -8
  49. package/lib/commonStateTypes/bookCloseDateHelper.js +48 -48
  50. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.d.ts +21 -21
  51. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js +111 -111
  52. package/lib/commonStateTypes/classesView/nestedClassID.d.ts +57 -57
  53. package/lib/commonStateTypes/classesView/nestedClassID.js +17 -17
  54. package/lib/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.d.ts +33 -33
  55. package/lib/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.js +138 -138
  56. package/lib/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.d.ts +3 -3
  57. package/lib/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.js +137 -137
  58. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.d.ts +7 -7
  59. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +96 -96
  60. package/lib/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.d.ts +18 -18
  61. package/lib/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.js +418 -418
  62. package/lib/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.d.ts +8 -8
  63. package/lib/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.js +53 -53
  64. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.d.ts +8 -8
  65. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +62 -62
  66. package/lib/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.d.ts +8 -8
  67. package/lib/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +82 -82
  68. package/lib/commonStateTypes/coaBalance/coaBalance.d.ts +67 -67
  69. package/lib/commonStateTypes/coaBalance/coaBalance.js +134 -134
  70. package/lib/commonStateTypes/coaBalance/coaBalanceType.d.ts +7 -7
  71. package/lib/commonStateTypes/coaBalance/coaBalanceType.js +35 -35
  72. package/lib/commonStateTypes/coaBalance/coaBalancesFilter.d.ts +72 -72
  73. package/lib/commonStateTypes/coaBalance/coaBalancesFilter.js +65 -65
  74. package/lib/commonStateTypes/coaBalance/coaBalancesFilterClassesView.d.ts +14 -14
  75. package/lib/commonStateTypes/coaBalance/coaBalancesFilterClassesView.js +6 -6
  76. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.d.ts +15 -15
  77. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +68 -68
  78. package/lib/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.d.ts +4 -4
  79. package/lib/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.js +42 -42
  80. package/lib/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.d.ts +4 -4
  81. package/lib/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.js +46 -46
  82. package/lib/commonStateTypes/common.d.ts +29 -29
  83. package/lib/commonStateTypes/common.js +5 -5
  84. package/lib/commonStateTypes/currencyHelper.d.ts +1 -1
  85. package/lib/commonStateTypes/currencyHelper.js +7 -7
  86. package/lib/commonStateTypes/dataAvailable.d.ts +6 -6
  87. package/lib/commonStateTypes/dataAvailable.js +53 -53
  88. package/lib/commonStateTypes/fileType.d.ts +3 -3
  89. package/lib/commonStateTypes/fileType.js +7 -7
  90. package/lib/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.d.ts +5 -5
  91. package/lib/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.js +32 -32
  92. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +27 -27
  93. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +49 -49
  94. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.d.ts +4 -4
  95. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +38 -38
  96. package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.d.ts +9 -9
  97. package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.js +28 -28
  98. package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.d.ts +14 -14
  99. package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.js +48 -48
  100. package/lib/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.d.ts +15 -15
  101. package/lib/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.js +92 -92
  102. package/lib/commonStateTypes/numberToUnion.d.ts +16 -16
  103. package/lib/commonStateTypes/numberToUnion.js +39 -39
  104. package/lib/commonStateTypes/recommendationBase.d.ts +20 -16
  105. package/lib/commonStateTypes/recommendationBase.js +57 -39
  106. package/lib/commonStateTypes/reduceFetchState.d.ts +55 -55
  107. package/lib/commonStateTypes/reduceFetchState.js +138 -138
  108. package/lib/commonStateTypes/selectorTypes/accountsViewSelectorReport.d.ts +14 -14
  109. package/lib/commonStateTypes/selectorTypes/accountsViewSelectorReport.js +2 -2
  110. package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.d.ts +15 -15
  111. package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.js +2 -2
  112. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.d.ts +2 -2
  113. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.js +9 -9
  114. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +2 -2
  115. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +13 -13
  116. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +2 -2
  117. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +11 -11
  118. package/lib/commonStateTypes/selectorTypes/selectorTypes.d.ts +17 -17
  119. package/lib/commonStateTypes/selectorTypes/selectorTypes.js +2 -2
  120. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.d.ts +3 -3
  121. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +7 -7
  122. package/lib/commonStateTypes/status.d.ts +9 -9
  123. package/lib/commonStateTypes/status.js +2 -2
  124. package/lib/commonStateTypes/stringToUnion.d.ts +16 -16
  125. package/lib/commonStateTypes/stringToUnion.js +38 -38
  126. package/lib/commonStateTypes/timePeriod.d.ts +35 -35
  127. package/lib/commonStateTypes/timePeriod.js +65 -65
  128. package/lib/commonStateTypes/timeframeTick.d.ts +15 -15
  129. package/lib/commonStateTypes/timeframeTick.js +22 -22
  130. package/lib/commonStateTypes/v2/viewAndReport.d.ts +22 -22
  131. package/lib/commonStateTypes/v2/viewAndReport.js +2 -2
  132. package/lib/commonStateTypes/vendorRecommendation.d.ts +11 -0
  133. package/lib/commonStateTypes/vendorRecommendation.js +2 -0
  134. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +45 -45
  135. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +15 -15
  136. package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +8 -8
  137. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +43 -43
  138. package/lib/commonStateTypes/viewAndReport/reportUIState.d.ts +21 -21
  139. package/lib/commonStateTypes/viewAndReport/reportUIState.js +2 -2
  140. package/lib/commonStateTypes/viewAndReport/thisPeriodHelpers.d.ts +14 -14
  141. package/lib/commonStateTypes/viewAndReport/thisPeriodHelpers.js +108 -108
  142. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +38 -38
  143. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +62 -62
  144. package/lib/commonStateTypes/workingDayHelper.d.ts +12 -12
  145. package/lib/commonStateTypes/workingDayHelper.js +96 -96
  146. package/lib/configureStore.d.ts +9 -9
  147. package/lib/configureStore.js +24 -24
  148. package/lib/entity/account/accountPayload.d.ts +54 -54
  149. package/lib/entity/account/accountPayload.js +76 -76
  150. package/lib/entity/account/accountReducer.d.ts +28 -28
  151. package/lib/entity/account/accountReducer.js +147 -147
  152. package/lib/entity/account/accountSelector.d.ts +112 -112
  153. package/lib/entity/account/accountSelector.js +170 -170
  154. package/lib/entity/account/accountState.d.ts +62 -62
  155. package/lib/entity/account/accountState.js +63 -63
  156. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +46 -46
  157. package/lib/entity/account/pickAndMergeForecastAccountReport.js +103 -103
  158. package/lib/entity/account/subAccountSelector.d.ts +26 -26
  159. package/lib/entity/account/subAccountSelector.js +61 -61
  160. package/lib/entity/accountGroup/accountGroupPayload.d.ts +23 -23
  161. package/lib/entity/accountGroup/accountGroupPayload.js +2 -2
  162. package/lib/entity/accountGroup/accountGroupReducer.d.ts +19 -19
  163. package/lib/entity/accountGroup/accountGroupReducer.js +132 -132
  164. package/lib/entity/accountGroup/accountGroupSelector.d.ts +770 -770
  165. package/lib/entity/accountGroup/accountGroupSelector.js +158 -158
  166. package/lib/entity/accountGroup/accountGroupState.d.ts +33 -33
  167. package/lib/entity/accountGroup/accountGroupState.js +26 -26
  168. package/lib/entity/accountGroup/accountGroupV2Selector.d.ts +23 -23
  169. package/lib/entity/accountGroup/accountGroupV2Selector.js +74 -74
  170. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.d.ts +3 -3
  171. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +85 -85
  172. package/lib/entity/address/addressPayload.d.ts +15 -15
  173. package/lib/entity/address/addressPayload.js +2 -2
  174. package/lib/entity/address/addressReducer.d.ts +7 -7
  175. package/lib/entity/address/addressReducer.js +61 -61
  176. package/lib/entity/address/addressSelector.d.ts +4 -4
  177. package/lib/entity/address/addressSelector.js +18 -18
  178. package/lib/entity/address/addressState.d.ts +18 -18
  179. package/lib/entity/address/addressState.js +2 -2
  180. package/lib/entity/approvalRule/approvalRulePayload.d.ts +40 -40
  181. package/lib/entity/approvalRule/approvalRulePayload.js +54 -54
  182. package/lib/entity/approvalRule/approvalRuleReducer.d.ts +6 -6
  183. package/lib/entity/approvalRule/approvalRuleReducer.js +28 -28
  184. package/lib/entity/approvalRule/approvalRuleSelector.d.ts +4 -4
  185. package/lib/entity/approvalRule/approvalRuleSelector.js +15 -15
  186. package/lib/entity/approvalRule/approvalRuleState.d.ts +65 -65
  187. package/lib/entity/approvalRule/approvalRuleState.js +46 -46
  188. package/lib/entity/bankAccount/bankAccount.d.ts +24 -24
  189. package/lib/entity/bankAccount/bankAccount.js +2 -2
  190. package/lib/entity/bankAccount/bankAccountPayload.d.ts +21 -21
  191. package/lib/entity/bankAccount/bankAccountPayload.js +29 -29
  192. package/lib/entity/bankAccount/bankAccountReducer.d.ts +6 -6
  193. package/lib/entity/bankAccount/bankAccountReducer.js +30 -30
  194. package/lib/entity/bankAccount/bankAccountSelector.d.ts +4 -4
  195. package/lib/entity/bankAccount/bankAccountSelector.js +16 -16
  196. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +89 -89
  197. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +129 -129
  198. package/lib/entity/billPay/billTransaction/billTransactionReducer.d.ts +6 -6
  199. package/lib/entity/billPay/billTransaction/billTransactionReducer.js +48 -48
  200. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +105 -105
  201. package/lib/entity/billPay/billTransaction/billTransactionState.js +77 -77
  202. package/lib/entity/billPay/contact/contact.d.ts +10 -10
  203. package/lib/entity/billPay/contact/contact.js +2 -2
  204. package/lib/entity/billPay/contact/contactPayload.d.ts +9 -9
  205. package/lib/entity/billPay/contact/contactPayload.js +22 -22
  206. package/lib/entity/billPay/contact/contactReducer.d.ts +6 -6
  207. package/lib/entity/billPay/contact/contactReducer.js +29 -29
  208. package/lib/entity/billPay/contact/contactSelector.d.ts +4 -4
  209. package/lib/entity/billPay/contact/contactSelector.js +18 -18
  210. package/lib/entity/billPay/recurringBills/recurringBillsPayload.d.ts +48 -48
  211. package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +66 -66
  212. package/lib/entity/billPay/recurringBills/recurringBillsReducer.d.ts +6 -6
  213. package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +40 -40
  214. package/lib/entity/billPay/recurringBills/recurringBillsState.d.ts +44 -44
  215. package/lib/entity/billPay/recurringBills/recurringBillsState.js +14 -14
  216. package/lib/entity/chargeCard/chargeCard.d.ts +45 -45
  217. package/lib/entity/chargeCard/chargeCard.js +28 -28
  218. package/lib/entity/chargeCard/chargeCardPayload.d.ts +27 -27
  219. package/lib/entity/chargeCard/chargeCardPayload.js +42 -42
  220. package/lib/entity/chargeCard/chargeCardReducer.d.ts +6 -6
  221. package/lib/entity/chargeCard/chargeCardReducer.js +33 -33
  222. package/lib/entity/chargeCard/chargeCardSelector.d.ts +4 -4
  223. package/lib/entity/chargeCard/chargeCardSelector.js +18 -18
  224. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +36 -36
  225. package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +17 -17
  226. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +21 -21
  227. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +39 -39
  228. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.d.ts +6 -6
  229. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +33 -33
  230. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +4 -4
  231. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +18 -18
  232. package/lib/entity/class/classPayload.d.ts +27 -27
  233. package/lib/entity/class/classPayload.js +89 -89
  234. package/lib/entity/class/classReducer.d.ts +22 -22
  235. package/lib/entity/class/classReducer.js +93 -93
  236. package/lib/entity/class/classSelector.d.ts +22 -22
  237. package/lib/entity/class/classSelector.js +52 -52
  238. package/lib/entity/class/classSelectorTypes.d.ts +13 -13
  239. package/lib/entity/class/classSelectorTypes.js +2 -2
  240. package/lib/entity/class/classSelectorV2.d.ts +32 -32
  241. package/lib/entity/class/classSelectorV2.js +133 -133
  242. package/lib/entity/class/classState.d.ts +31 -31
  243. package/lib/entity/class/classState.js +15 -15
  244. package/lib/entity/company/companyHelper.d.ts +5 -5
  245. package/lib/entity/company/companyHelper.js +26 -26
  246. package/lib/entity/company/companyPayload.d.ts +282 -282
  247. package/lib/entity/company/companyPayload.js +382 -382
  248. package/lib/entity/company/companyReducer.d.ts +37 -37
  249. package/lib/entity/company/companyReducer.js +173 -173
  250. package/lib/entity/company/companySelector.d.ts +19 -19
  251. package/lib/entity/company/companySelector.js +66 -66
  252. package/lib/entity/company/companyState.d.ts +10 -10
  253. package/lib/entity/company/companyState.js +2 -2
  254. package/lib/entity/company/companyStateTypes.d.ts +260 -260
  255. package/lib/entity/company/companyStateTypes.js +23 -23
  256. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.d.ts +34 -34
  257. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +64 -64
  258. package/lib/entity/companyHealthMetric/companyHealthMetricReducer.d.ts +10 -10
  259. package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +33 -33
  260. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.d.ts +4 -4
  261. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +18 -18
  262. package/lib/entity/companyHealthMetric/companyHealthMetricState.d.ts +31 -31
  263. package/lib/entity/companyHealthMetric/companyHealthMetricState.js +2 -2
  264. package/lib/entity/currency/currency.d.ts +11 -11
  265. package/lib/entity/currency/currency.js +2 -2
  266. package/lib/entity/currency/currencyPayload.d.ts +9 -9
  267. package/lib/entity/currency/currencyPayload.js +13 -13
  268. package/lib/entity/currency/currencyReducer.d.ts +6 -6
  269. package/lib/entity/currency/currencyReducer.js +31 -31
  270. package/lib/entity/currency/currencySelector.d.ts +5 -5
  271. package/lib/entity/currency/currencySelector.js +23 -23
  272. package/lib/entity/customer/customer.d.ts +50 -50
  273. package/lib/entity/customer/customer.js +7 -7
  274. package/lib/entity/customer/customerPayload.d.ts +47 -47
  275. package/lib/entity/customer/customerPayload.js +26 -26
  276. package/lib/entity/customer/customerReducer.d.ts +6 -6
  277. package/lib/entity/customer/customerReducer.js +33 -33
  278. package/lib/entity/customer/customerSelector.d.ts +4 -4
  279. package/lib/entity/customer/customerSelector.js +15 -15
  280. package/lib/entity/customerIncome/customerIncomeTrend.d.ts +28 -28
  281. package/lib/entity/customerIncome/customerIncomeTrend.js +95 -95
  282. package/lib/entity/customerIncome/customerIncomeTrendReducer.d.ts +14 -14
  283. package/lib/entity/customerIncome/customerIncomeTrendReducer.js +54 -54
  284. package/lib/entity/customerIncome/customerIncomeTrendSelector.d.ts +5 -5
  285. package/lib/entity/customerIncome/customerIncomeTrendSelector.js +24 -24
  286. package/lib/entity/customerIncome/customerIncomeTrendState.d.ts +8 -8
  287. package/lib/entity/customerIncome/customerIncomeTrendState.js +6 -6
  288. package/lib/entity/customerSatisfaction/customerSatisfactionPayload.d.ts +13 -13
  289. package/lib/entity/customerSatisfaction/customerSatisfactionPayload.js +2 -2
  290. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.d.ts +8 -8
  291. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +23 -23
  292. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.d.ts +5 -5
  293. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +40 -40
  294. package/lib/entity/customerSatisfaction/customerSatisfactionSelector.d.ts +6 -6
  295. package/lib/entity/customerSatisfaction/customerSatisfactionSelector.js +45 -45
  296. package/lib/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.d.ts +15 -15
  297. package/lib/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.js +2 -2
  298. package/lib/entity/customerSatisfaction/customerSatisfactionState.d.ts +30 -30
  299. package/lib/entity/customerSatisfaction/customerSatisfactionState.js +31 -31
  300. package/lib/entity/depositAccount/depositAccount.d.ts +29 -29
  301. package/lib/entity/depositAccount/depositAccount.js +14 -14
  302. package/lib/entity/depositAccount/depositAccountPayload.d.ts +18 -18
  303. package/lib/entity/depositAccount/depositAccountPayload.js +35 -35
  304. package/lib/entity/depositAccount/depositAccountReducer.d.ts +6 -6
  305. package/lib/entity/depositAccount/depositAccountReducer.js +29 -29
  306. package/lib/entity/depositAccount/depositAccountSelector.d.ts +4 -4
  307. package/lib/entity/depositAccount/depositAccountSelector.js +18 -18
  308. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +32 -32
  309. package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +39 -39
  310. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.d.ts +24 -24
  311. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.js +32 -32
  312. package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.d.ts +6 -6
  313. package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +29 -29
  314. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +4 -4
  315. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +18 -18
  316. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +50 -50
  317. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +82 -82
  318. package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.d.ts +6 -6
  319. package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +27 -27
  320. package/lib/entity/entityApprovalStatus/entityApprovalStatusSelector.d.ts +4 -4
  321. package/lib/entity/entityApprovalStatus/entityApprovalStatusSelector.js +15 -15
  322. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +58 -58
  323. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +33 -33
  324. package/lib/entity/file/filePayload.d.ts +36 -36
  325. package/lib/entity/file/filePayload.js +2 -2
  326. package/lib/entity/file/fileReducer.d.ts +16 -16
  327. package/lib/entity/file/fileReducer.js +105 -105
  328. package/lib/entity/file/fileSelector.d.ts +7 -7
  329. package/lib/entity/file/fileSelector.js +37 -37
  330. package/lib/entity/file/fileState.d.ts +77 -77
  331. package/lib/entity/file/fileState.js +103 -103
  332. package/lib/entity/forecast/forecastPayload.d.ts +15 -15
  333. package/lib/entity/forecast/forecastPayload.js +21 -21
  334. package/lib/entity/forecast/forecastReducer.d.ts +6 -6
  335. package/lib/entity/forecast/forecastReducer.js +30 -30
  336. package/lib/entity/forecast/forecastSelector.d.ts +4 -4
  337. package/lib/entity/forecast/forecastSelector.js +15 -15
  338. package/lib/entity/forecast/forecastState.d.ts +21 -21
  339. package/lib/entity/forecast/forecastState.js +5 -5
  340. package/lib/entity/genericEntity/entity.d.ts +16 -16
  341. package/lib/entity/genericEntity/entity.js +10 -10
  342. package/lib/entity/genericEntity/entityPayload.d.ts +13 -13
  343. package/lib/entity/genericEntity/entityPayload.js +20 -20
  344. package/lib/entity/genericEntity/entityReducer.d.ts +8 -8
  345. package/lib/entity/genericEntity/entityReducer.js +37 -37
  346. package/lib/entity/genericEntity/entitySelector.d.ts +3 -3
  347. package/lib/entity/genericEntity/entitySelector.js +9 -9
  348. package/lib/entity/genericEntity/entityState.d.ts +5 -5
  349. package/lib/entity/genericEntity/entityState.js +2 -2
  350. package/lib/entity/globalMerchant/globalMerchantPayload.d.ts +65 -65
  351. package/lib/entity/globalMerchant/globalMerchantPayload.js +137 -137
  352. package/lib/entity/globalMerchant/globalMerchantReducer.d.ts +19 -19
  353. package/lib/entity/globalMerchant/globalMerchantReducer.js +92 -92
  354. package/lib/entity/globalMerchant/globalMerchantSelector.d.ts +6 -6
  355. package/lib/entity/globalMerchant/globalMerchantSelector.js +27 -27
  356. package/lib/entity/globalMerchant/globalMerchantState.d.ts +62 -62
  357. package/lib/entity/globalMerchant/globalMerchantState.js +7 -7
  358. package/lib/entity/insights/insightPayload.d.ts +20 -20
  359. package/lib/entity/insights/insightPayload.js +2 -2
  360. package/lib/entity/insights/insightReducer.d.ts +10 -10
  361. package/lib/entity/insights/insightReducer.js +67 -67
  362. package/lib/entity/insights/insightSelector.d.ts +3 -3
  363. package/lib/entity/insights/insightSelector.js +9 -9
  364. package/lib/entity/insights/insightState.d.ts +21 -21
  365. package/lib/entity/insights/insightState.js +17 -17
  366. package/lib/entity/insights/insightSummary.d.ts +7 -7
  367. package/lib/entity/insights/insightSummary.js +2 -2
  368. package/lib/entity/insights/insightSummaryPayload.d.ts +12 -12
  369. package/lib/entity/insights/insightSummaryPayload.js +16 -16
  370. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +60 -60
  371. package/lib/entity/jeSchedules/jeSchedulesPayload.js +145 -145
  372. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +15 -15
  373. package/lib/entity/jeSchedules/jeSchedulesReducer.js +123 -123
  374. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +59 -59
  375. package/lib/entity/jeSchedules/jeSchedulesSelector.js +75 -75
  376. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +65 -65
  377. package/lib/entity/jeSchedules/jeSchedulesState.js +2 -2
  378. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +10 -10
  379. package/lib/entity/jeSchedules/jeSchedulesTypes.js +25 -25
  380. package/lib/entity/jeSchedules/updateJESchedulesEpic.d.ts +10 -10
  381. package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -68
  382. package/lib/entity/merchant/merchant.d.ts +19 -19
  383. package/lib/entity/merchant/merchant.js +2 -2
  384. package/lib/entity/merchant/merchantPayload.d.ts +18 -18
  385. package/lib/entity/merchant/merchantPayload.js +24 -24
  386. package/lib/entity/merchant/merchantReducer.d.ts +11 -11
  387. package/lib/entity/merchant/merchantReducer.js +35 -35
  388. package/lib/entity/merchant/merchantSelector.d.ts +4 -4
  389. package/lib/entity/merchant/merchantSelector.js +18 -18
  390. package/lib/entity/onboardingCustomer/onboardingCustomerPayload.d.ts +36 -36
  391. package/lib/entity/onboardingCustomer/onboardingCustomerPayload.js +28 -28
  392. package/lib/entity/onboardingCustomer/onboardingCustomerReducer.d.ts +8 -8
  393. package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +29 -29
  394. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.d.ts +3 -3
  395. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +17 -17
  396. package/lib/entity/onboardingCustomer/onboardingCustomerState.d.ts +37 -37
  397. package/lib/entity/onboardingCustomer/onboardingCustomerState.js +2 -2
  398. package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +50 -50
  399. package/lib/entity/paymentAccount/paymentAccountPayload.js +60 -60
  400. package/lib/entity/paymentAccount/paymentAccountReducer.d.ts +6 -6
  401. package/lib/entity/paymentAccount/paymentAccountReducer.js +38 -38
  402. package/lib/entity/paymentAccount/paymentAccountSelector.d.ts +6 -6
  403. package/lib/entity/paymentAccount/paymentAccountSelector.js +31 -31
  404. package/lib/entity/paymentAccount/paymentAccountState.d.ts +44 -44
  405. package/lib/entity/paymentAccount/paymentAccountState.js +2 -2
  406. package/lib/entity/paymentInstrument/paymentInstrument.d.ts +22 -22
  407. package/lib/entity/paymentInstrument/paymentInstrument.js +2 -2
  408. package/lib/entity/paymentInstrument/paymentInstrumentPayload.d.ts +19 -19
  409. package/lib/entity/paymentInstrument/paymentInstrumentPayload.js +24 -24
  410. package/lib/entity/paymentInstrument/paymentInstrumentReducer.d.ts +6 -6
  411. package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +34 -34
  412. package/lib/entity/paymentInstrument/paymentInstrumentSelector.d.ts +4 -4
  413. package/lib/entity/paymentInstrument/paymentInstrumentSelector.js +18 -18
  414. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.d.ts +43 -43
  415. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.js +2 -2
  416. package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.d.ts +6 -6
  417. package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +78 -78
  418. package/lib/entity/portfolio/accountingSummary/accountingSummarySelector.d.ts +3 -3
  419. package/lib/entity/portfolio/accountingSummary/accountingSummarySelector.js +18 -18
  420. package/lib/entity/portfolio/accountingSummary/accountingSummaryState.d.ts +25 -25
  421. package/lib/entity/portfolio/accountingSummary/accountingSummaryState.js +2 -2
  422. package/lib/entity/reimbursement/reimbursementPayload.d.ts +103 -103
  423. package/lib/entity/reimbursement/reimbursementPayload.js +174 -174
  424. package/lib/entity/reimbursement/reimbursementReducer.d.ts +6 -6
  425. package/lib/entity/reimbursement/reimbursementReducer.js +49 -49
  426. package/lib/entity/reimbursement/reimbursementState.d.ts +89 -89
  427. package/lib/entity/reimbursement/reimbursementState.js +2 -2
  428. package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.d.ts +8 -8
  429. package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +63 -63
  430. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +14 -14
  431. package/lib/entity/sectionAccountsView/sectionAccountsView.js +7 -7
  432. package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.d.ts +7 -7
  433. package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +56 -56
  434. package/lib/entity/sectionAccountsView/sectionAccountsViewHelper.d.ts +11 -11
  435. package/lib/entity/sectionAccountsView/sectionAccountsViewHelper.js +15 -15
  436. package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.d.ts +25 -25
  437. package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +100 -100
  438. package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.d.ts +36 -36
  439. package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +77 -77
  440. package/lib/entity/sectionAccountsView/sectionAccountsViewState.d.ts +4 -4
  441. package/lib/entity/sectionAccountsView/sectionAccountsViewState.js +2 -2
  442. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +12 -12
  443. package/lib/entity/sectionClassesViewV2/sectionClassesView.js +7 -7
  444. package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.d.ts +7 -7
  445. package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +54 -54
  446. package/lib/entity/sectionClassesViewV2/sectionClassesViewHelper.d.ts +10 -10
  447. package/lib/entity/sectionClassesViewV2/sectionClassesViewHelper.js +14 -14
  448. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +17 -17
  449. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +55 -55
  450. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.d.ts +11 -11
  451. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +48 -48
  452. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.d.ts +17 -17
  453. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.js +2 -2
  454. package/lib/entity/sectionClassesViewV2/sectionClassesViewState.d.ts +4 -4
  455. package/lib/entity/sectionClassesViewV2/sectionClassesViewState.js +2 -2
  456. package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.d.ts +8 -8
  457. package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +60 -60
  458. package/lib/entity/snackbar/snackbarReducer.d.ts +15 -15
  459. package/lib/entity/snackbar/snackbarReducer.js +40 -40
  460. package/lib/entity/snackbar/snackbarSelector.d.ts +16 -16
  461. package/lib/entity/snackbar/snackbarSelector.js +12 -12
  462. package/lib/entity/snackbar/snackbarState.d.ts +14 -14
  463. package/lib/entity/snackbar/snackbarState.js +2 -2
  464. package/lib/entity/snackbar/snackbarTypes.d.ts +5 -5
  465. package/lib/entity/snackbar/snackbarTypes.js +102 -102
  466. package/lib/entity/subscription/subscription/subscriptionPayload.d.ts +37 -37
  467. package/lib/entity/subscription/subscription/subscriptionPayload.js +2 -2
  468. package/lib/entity/subscription/subscription/subscriptionReducer.d.ts +9 -9
  469. package/lib/entity/subscription/subscription/subscriptionReducer.js +80 -80
  470. package/lib/entity/subscription/subscription/subscriptionSelector.d.ts +9 -9
  471. package/lib/entity/subscription/subscription/subscriptionSelector.js +27 -27
  472. package/lib/entity/subscription/subscription/subscriptionState.d.ts +38 -38
  473. package/lib/entity/subscription/subscription/subscriptionState.js +2 -2
  474. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.d.ts +29 -29
  475. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.js +2 -2
  476. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.d.ts +9 -9
  477. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +63 -63
  478. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.d.ts +9 -9
  479. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +27 -27
  480. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnState.d.ts +29 -29
  481. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnState.js +2 -2
  482. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.d.ts +22 -22
  483. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.js +2 -2
  484. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.d.ts +9 -9
  485. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +57 -57
  486. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.d.ts +9 -9
  487. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +27 -27
  488. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponState.d.ts +23 -23
  489. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponState.js +2 -2
  490. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanPayload.d.ts +27 -27
  491. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanPayload.js +2 -2
  492. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.d.ts +13 -13
  493. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +68 -68
  494. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanSelector.d.ts +9 -9
  495. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanSelector.js +27 -27
  496. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanState.d.ts +30 -30
  497. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanState.js +2 -2
  498. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.d.ts +30 -30
  499. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.js +2 -2
  500. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.d.ts +13 -13
  501. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +75 -75
  502. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.d.ts +10 -10
  503. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +40 -40
  504. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryState.d.ts +32 -32
  505. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryState.js +2 -2
  506. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.d.ts +17 -17
  507. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.js +23 -23
  508. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.d.ts +6 -6
  509. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +28 -28
  510. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.d.ts +4 -4
  511. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +18 -18
  512. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.d.ts +15 -15
  513. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.js +2 -2
  514. package/lib/entity/task/task.d.ts +46 -46
  515. package/lib/entity/task/task.js +36 -36
  516. package/lib/entity/task/taskPayload.d.ts +20 -20
  517. package/lib/entity/task/taskPayload.js +37 -37
  518. package/lib/entity/task/taskReducer.d.ts +6 -6
  519. package/lib/entity/task/taskReducer.js +33 -33
  520. package/lib/entity/task/taskSelector.d.ts +4 -4
  521. package/lib/entity/task/taskSelector.js +18 -18
  522. package/lib/entity/taskSummary/taskSummaryPayload.d.ts +7 -7
  523. package/lib/entity/taskSummary/taskSummaryPayload.js +2 -2
  524. package/lib/entity/taskSummary/taskSummaryReducer.d.ts +6 -6
  525. package/lib/entity/taskSummary/taskSummaryReducer.js +32 -32
  526. package/lib/entity/taskSummary/taskSummarySelector.d.ts +4 -4
  527. package/lib/entity/taskSummary/taskSummarySelector.js +18 -18
  528. package/lib/entity/taskSummary/taskSummaryState.d.ts +8 -8
  529. package/lib/entity/taskSummary/taskSummaryState.js +2 -2
  530. package/lib/entity/tenant/clearAllEpic.d.ts +155 -155
  531. package/lib/entity/tenant/clearAllEpic.js +321 -321
  532. package/lib/entity/tenant/epic/fetchActiveTenantEpic.d.ts +8 -8
  533. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +40 -40
  534. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +8 -8
  535. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +32 -32
  536. package/lib/entity/tenant/epic/fetchExcludedResourcesEpic.d.ts +18 -18
  537. package/lib/entity/tenant/epic/fetchExcludedResourcesEpic.js +19 -19
  538. package/lib/entity/tenant/epic/fetchExternalConnectionsEpic.d.ts +18 -18
  539. package/lib/entity/tenant/epic/fetchExternalConnectionsEpic.js +19 -19
  540. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.d.ts +18 -18
  541. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -16
  542. package/lib/entity/tenant/epic/saveExternalConnectionEpic.d.ts +7 -7
  543. package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +66 -66
  544. package/lib/entity/tenant/epic/signInUserEpic.d.ts +21 -21
  545. package/lib/entity/tenant/epic/signInUserEpic.js +35 -35
  546. package/lib/entity/tenant/epic/signOutUserEpic.d.ts +12 -12
  547. package/lib/entity/tenant/epic/signOutUserEpic.js +21 -21
  548. package/lib/entity/tenant/tenantPayload.d.ts +122 -122
  549. package/lib/entity/tenant/tenantPayload.js +2 -2
  550. package/lib/entity/tenant/tenantReducer.d.ts +85 -85
  551. package/lib/entity/tenant/tenantReducer.js +446 -446
  552. package/lib/entity/tenant/tenantSelector.d.ts +76 -76
  553. package/lib/entity/tenant/tenantSelector.js +244 -244
  554. package/lib/entity/tenant/tenantState.d.ts +95 -95
  555. package/lib/entity/tenant/tenantState.js +2 -2
  556. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +15 -15
  557. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +35 -35
  558. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.d.ts +13 -13
  559. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +24 -24
  560. package/lib/entity/transaction/payloadTypes/otherTransactionPayload.d.ts +15 -15
  561. package/lib/entity/transaction/payloadTypes/otherTransactionPayload.js +45 -45
  562. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +13 -13
  563. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +38 -38
  564. package/lib/entity/transaction/payloadTypes/transactionIDPayload.d.ts +7 -7
  565. package/lib/entity/transaction/payloadTypes/transactionIDPayload.js +14 -14
  566. package/lib/entity/transaction/payloadTypes/transactionLinePayload.d.ts +87 -87
  567. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +146 -146
  568. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +36 -36
  569. package/lib/entity/transaction/payloadTypes/transactionPayload.js +162 -137
  570. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.d.ts +15 -15
  571. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +25 -25
  572. package/lib/entity/transaction/stateTypes/attachment.d.ts +19 -19
  573. package/lib/entity/transaction/stateTypes/attachment.js +47 -47
  574. package/lib/entity/transaction/stateTypes/customerTransaction.d.ts +14 -14
  575. package/lib/entity/transaction/stateTypes/customerTransaction.js +6 -6
  576. package/lib/entity/transaction/stateTypes/otherTransaction.d.ts +11 -11
  577. package/lib/entity/transaction/stateTypes/otherTransaction.js +11 -11
  578. package/lib/entity/transaction/stateTypes/paymentType.d.ts +3 -3
  579. package/lib/entity/transaction/stateTypes/paymentType.js +9 -9
  580. package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +12 -12
  581. package/lib/entity/transaction/stateTypes/scheduleTransaction.js +2 -2
  582. package/lib/entity/transaction/stateTypes/transaction.d.ts +39 -39
  583. package/lib/entity/transaction/stateTypes/transaction.js +2 -2
  584. package/lib/entity/transaction/stateTypes/transactionLine.d.ts +51 -51
  585. package/lib/entity/transaction/stateTypes/transactionLine.js +22 -22
  586. package/lib/entity/transaction/stateTypes/transactionType.d.ts +24 -24
  587. package/lib/entity/transaction/stateTypes/transactionType.js +74 -74
  588. package/lib/entity/transaction/stateTypes/vendorTransaction.d.ts +14 -14
  589. package/lib/entity/transaction/stateTypes/vendorTransaction.js +6 -6
  590. package/lib/entity/transaction/toSupportedTransaction.d.ts +3 -3
  591. package/lib/entity/transaction/toSupportedTransaction.js +23 -23
  592. package/lib/entity/transaction/transactionReducer.d.ts +27 -27
  593. package/lib/entity/transaction/transactionReducer.js +106 -106
  594. package/lib/entity/transaction/transactionSelector.d.ts +6 -6
  595. package/lib/entity/transaction/transactionSelector.js +19 -19
  596. package/lib/entity/transaction/transactionState.d.ts +16 -16
  597. package/lib/entity/transaction/transactionState.js +2 -2
  598. package/lib/entity/user/userPayload.d.ts +29 -29
  599. package/lib/entity/user/userPayload.js +2 -2
  600. package/lib/entity/user/userReducer.d.ts +16 -16
  601. package/lib/entity/user/userReducer.js +85 -85
  602. package/lib/entity/user/userSelector.d.ts +6 -6
  603. package/lib/entity/user/userSelector.js +31 -31
  604. package/lib/entity/user/userState.d.ts +36 -36
  605. package/lib/entity/user/userState.js +2 -2
  606. package/lib/entity/userRole/userRolePayload.d.ts +71 -71
  607. package/lib/entity/userRole/userRolePayload.js +92 -92
  608. package/lib/entity/userRole/userRoleReducer.d.ts +10 -10
  609. package/lib/entity/userRole/userRoleReducer.js +96 -96
  610. package/lib/entity/userRole/userRoleSelector.d.ts +4 -4
  611. package/lib/entity/userRole/userRoleSelector.js +15 -15
  612. package/lib/entity/userRole/userRoleState.d.ts +48 -48
  613. package/lib/entity/userRole/userRoleState.js +7 -7
  614. package/lib/entity/userRole/userRoleType.d.ts +47 -47
  615. package/lib/entity/userRole/userRoleType.js +471 -471
  616. package/lib/entity/vendor/vendorPayload.d.ts +69 -69
  617. package/lib/entity/vendor/vendorPayload.js +41 -41
  618. package/lib/entity/vendor/vendorReducer.d.ts +13 -13
  619. package/lib/entity/vendor/vendorReducer.js +62 -62
  620. package/lib/entity/vendor/vendorSelector.d.ts +5 -5
  621. package/lib/entity/vendor/vendorSelector.js +28 -28
  622. package/lib/entity/vendor/vendorState.d.ts +62 -62
  623. package/lib/entity/vendor/vendorState.js +10 -10
  624. package/lib/entity/vendorExpense/vendorExpenseReducer.d.ts +15 -15
  625. package/lib/entity/vendorExpense/vendorExpenseReducer.js +70 -70
  626. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +5 -5
  627. package/lib/entity/vendorExpense/vendorExpenseSelector.js +19 -19
  628. package/lib/entity/vendorExpense/vendorExpenseState.d.ts +21 -21
  629. package/lib/entity/vendorExpense/vendorExpenseState.js +6 -6
  630. package/lib/entity/vendorExpense/vendorExpenseTrend.d.ts +28 -28
  631. package/lib/entity/vendorExpense/vendorExpenseTrend.js +95 -95
  632. package/lib/epic.d.ts +349 -349
  633. package/lib/epic.js +359 -359
  634. package/lib/index.d.ts +653 -653
  635. package/lib/index.js +1361 -1361
  636. package/lib/init.d.ts +53 -53
  637. package/lib/init.js +136 -136
  638. package/lib/reducer.d.ts +481 -481
  639. package/lib/reducer.js +520 -520
  640. package/lib/responsePayload.d.ts +30 -30
  641. package/lib/responsePayload.js +22 -22
  642. package/lib/view/accountList/accountListPayload.d.ts +6 -6
  643. package/lib/view/accountList/accountListPayload.js +2 -2
  644. package/lib/view/accountList/accountListReducer.d.ts +21 -21
  645. package/lib/view/accountList/accountListReducer.js +95 -95
  646. package/lib/view/accountList/accountListSelector.d.ts +30 -30
  647. package/lib/view/accountList/accountListSelector.js +83 -83
  648. package/lib/view/accountList/accountListState.d.ts +12 -12
  649. package/lib/view/accountList/accountListState.js +2 -2
  650. package/lib/view/accountList/fetchAccountListEpic.d.ts +8 -8
  651. package/lib/view/accountList/fetchAccountListEpic.js +55 -55
  652. package/lib/view/accountMappingView/accountMappingPayload.d.ts +8 -8
  653. package/lib/view/accountMappingView/accountMappingPayload.js +20 -20
  654. package/lib/view/accountMappingView/accountMappingReducer.d.ts +19 -19
  655. package/lib/view/accountMappingView/accountMappingReducer.js +144 -144
  656. package/lib/view/accountMappingView/accountMappingState.d.ts +24 -24
  657. package/lib/view/accountMappingView/accountMappingState.js +2 -2
  658. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +18 -18
  659. package/lib/view/accountMappingView/accountMappingViewSelector.js +48 -48
  660. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +12 -12
  661. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.js +27 -27
  662. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.d.ts +7 -7
  663. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -27
  664. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.d.ts +8 -8
  665. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +45 -45
  666. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +7 -7
  667. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +13 -13
  668. package/lib/view/accountMappingView/saveAccountMappingViewEpic.d.ts +7 -7
  669. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +38 -38
  670. package/lib/view/addressView/addressViewPayload.d.ts +9 -9
  671. package/lib/view/addressView/addressViewPayload.js +23 -23
  672. package/lib/view/addressView/addressViewReducer.d.ts +44 -44
  673. package/lib/view/addressView/addressViewReducer.js +171 -171
  674. package/lib/view/addressView/addressViewSelector.d.ts +13 -13
  675. package/lib/view/addressView/addressViewSelector.js +42 -42
  676. package/lib/view/addressView/addressViewState.d.ts +20 -20
  677. package/lib/view/addressView/addressViewState.js +2 -2
  678. package/lib/view/addressView/epic/createAddressEpic.d.ts +7 -7
  679. package/lib/view/addressView/epic/createAddressEpic.js +43 -43
  680. package/lib/view/addressView/epic/createCompanyAddressEpic.d.ts +8 -8
  681. package/lib/view/addressView/epic/createCompanyAddressEpic.js +49 -49
  682. package/lib/view/addressView/epic/createCompanyUserAddressEpic.d.ts +10 -10
  683. package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +56 -56
  684. package/lib/view/addressView/epic/fetchAddressEpic.d.ts +19 -19
  685. package/lib/view/addressView/epic/fetchAddressEpic.js +34 -34
  686. package/lib/view/addressView/epic/saveNewAddressEpic.d.ts +10 -10
  687. package/lib/view/addressView/epic/saveNewAddressEpic.js +32 -32
  688. package/lib/view/addressView/epic/updateAddressEpic.d.ts +19 -19
  689. package/lib/view/addressView/epic/updateAddressEpic.js +30 -30
  690. package/lib/view/addressView/toAddressViewLocalData.d.ts +3 -3
  691. package/lib/view/addressView/toAddressViewLocalData.js +42 -42
  692. package/lib/view/apAgingView/apAgingDetail/apAgingDetailPayload.d.ts +16 -16
  693. package/lib/view/apAgingView/apAgingDetail/apAgingDetailPayload.js +48 -48
  694. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.d.ts +20 -20
  695. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +88 -88
  696. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.d.ts +17 -17
  697. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +81 -81
  698. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.d.ts +12 -12
  699. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.js +2 -2
  700. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.d.ts +8 -8
  701. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -37
  702. package/lib/view/apAgingView/apAgingReport/apAgingPayload.d.ts +22 -22
  703. package/lib/view/apAgingView/apAgingReport/apAgingPayload.js +52 -52
  704. package/lib/view/apAgingView/apAgingReport/apAgingReducer.d.ts +16 -16
  705. package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +107 -107
  706. package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +18 -18
  707. package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +58 -58
  708. package/lib/view/apAgingView/apAgingReport/apAgingState.d.ts +10 -10
  709. package/lib/view/apAgingView/apAgingReport/apAgingState.js +2 -2
  710. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.d.ts +8 -8
  711. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +43 -43
  712. package/lib/view/arAgingView/arAgingDetail/arAgingDetailPayload.d.ts +16 -16
  713. package/lib/view/arAgingView/arAgingDetail/arAgingDetailPayload.js +48 -48
  714. package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.d.ts +20 -20
  715. package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +87 -87
  716. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +15 -15
  717. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +54 -54
  718. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.d.ts +12 -12
  719. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.js +2 -2
  720. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.d.ts +8 -8
  721. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -37
  722. package/lib/view/arAgingView/arAgingReport/arAgingPayload.d.ts +22 -22
  723. package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +52 -52
  724. package/lib/view/arAgingView/arAgingReport/arAgingReducer.d.ts +16 -16
  725. package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +104 -104
  726. package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +18 -18
  727. package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +61 -61
  728. package/lib/view/arAgingView/arAgingReport/arAgingState.d.ts +10 -10
  729. package/lib/view/arAgingView/arAgingReport/arAgingState.js +2 -2
  730. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.d.ts +8 -8
  731. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +42 -42
  732. package/lib/view/auditReportView/auditReportViewHelper.d.ts +12 -12
  733. package/lib/view/auditReportView/auditReportViewHelper.js +79 -79
  734. package/lib/view/auditReportView/auditReportViewPayload.d.ts +53 -53
  735. package/lib/view/auditReportView/auditReportViewPayload.js +2 -2
  736. package/lib/view/auditReportView/auditReportViewReducer.d.ts +27 -27
  737. package/lib/view/auditReportView/auditReportViewReducer.js +121 -121
  738. package/lib/view/auditReportView/auditReportViewSelector.d.ts +22 -22
  739. package/lib/view/auditReportView/auditReportViewSelector.js +34 -34
  740. package/lib/view/auditReportView/auditReportViewState.d.ts +71 -71
  741. package/lib/view/auditReportView/auditReportViewState.js +22 -22
  742. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.d.ts +7 -7
  743. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -54
  744. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.d.ts +7 -7
  745. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -39
  746. package/lib/view/authenticationView/authenticationViewPayload.d.ts +6 -6
  747. package/lib/view/authenticationView/authenticationViewPayload.js +2 -2
  748. package/lib/view/authenticationView/authenticationViewReducer.d.ts +9 -9
  749. package/lib/view/authenticationView/authenticationViewReducer.js +60 -60
  750. package/lib/view/authenticationView/authenticationViewSelector.d.ts +7 -7
  751. package/lib/view/authenticationView/authenticationViewSelector.js +11 -11
  752. package/lib/view/authenticationView/authenticationViewState.d.ts +10 -10
  753. package/lib/view/authenticationView/authenticationViewState.js +2 -2
  754. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.d.ts +8 -8
  755. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -28
  756. package/lib/view/autoComplete/entityAutoCompletePayload.d.ts +6 -6
  757. package/lib/view/autoComplete/entityAutoCompletePayload.js +2 -2
  758. package/lib/view/autoComplete/entityAutoCompleteReducer.d.ts +13 -13
  759. package/lib/view/autoComplete/entityAutoCompleteReducer.js +45 -45
  760. package/lib/view/autoComplete/entityAutoCompleteSelector.d.ts +8 -8
  761. package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -25
  762. package/lib/view/autoComplete/entityAutoCompleteState.d.ts +6 -6
  763. package/lib/view/autoComplete/entityAutoCompleteState.js +2 -2
  764. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.d.ts +8 -8
  765. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +41 -41
  766. package/lib/view/balanceSheet/balanceSheetEpic.d.ts +6 -6
  767. package/lib/view/balanceSheet/balanceSheetEpic.js +35 -35
  768. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.d.ts +9 -9
  769. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +77 -77
  770. package/lib/view/balanceSheet/balanceSheetPayload.d.ts +46 -46
  771. package/lib/view/balanceSheet/balanceSheetPayload.js +84 -84
  772. package/lib/view/balanceSheet/balanceSheetReducer.d.ts +30 -30
  773. package/lib/view/balanceSheet/balanceSheetReducer.js +117 -117
  774. package/lib/view/balanceSheet/balanceSheetSelector.d.ts +17 -17
  775. package/lib/view/balanceSheet/balanceSheetSelector.js +77 -77
  776. package/lib/view/balanceSheet/balanceSheetSelectorTypes.d.ts +49 -49
  777. package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +117 -117
  778. package/lib/view/balanceSheet/balanceSheetState.d.ts +17 -17
  779. package/lib/view/balanceSheet/balanceSheetState.js +2 -2
  780. package/lib/view/bankAccountView/bankAccountViewPayload.d.ts +38 -38
  781. package/lib/view/bankAccountView/bankAccountViewPayload.js +19 -19
  782. package/lib/view/bankAccountView/bankAccountViewReducer.d.ts +63 -63
  783. package/lib/view/bankAccountView/bankAccountViewReducer.js +308 -308
  784. package/lib/view/bankAccountView/bankAccountViewSelector.d.ts +14 -14
  785. package/lib/view/bankAccountView/bankAccountViewSelector.js +39 -39
  786. package/lib/view/bankAccountView/bankAccountViewState.d.ts +55 -55
  787. package/lib/view/bankAccountView/bankAccountViewState.js +2 -2
  788. package/lib/view/bankAccountView/epic/createBankAccountEpic.d.ts +10 -10
  789. package/lib/view/bankAccountView/epic/createBankAccountEpic.js +147 -147
  790. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.d.ts +11 -11
  791. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +65 -65
  792. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.d.ts +9 -9
  793. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -59
  794. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.d.ts +9 -9
  795. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -63
  796. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.d.ts +7 -7
  797. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +46 -46
  798. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.d.ts +7 -7
  799. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +45 -45
  800. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.d.ts +7 -7
  801. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +45 -45
  802. package/lib/view/billPayCard/billPayCardPayload.d.ts +29 -29
  803. package/lib/view/billPayCard/billPayCardPayload.js +2 -2
  804. package/lib/view/billPayCard/billPayCardReducer.d.ts +10 -10
  805. package/lib/view/billPayCard/billPayCardReducer.js +54 -54
  806. package/lib/view/billPayCard/billPayCardSelector.d.ts +12 -12
  807. package/lib/view/billPayCard/billPayCardSelector.js +16 -16
  808. package/lib/view/billPayCard/billPayCardState.d.ts +10 -10
  809. package/lib/view/billPayCard/billPayCardState.js +5 -5
  810. package/lib/view/billPayCard/fetchBillPayCardEpic.d.ts +9 -9
  811. package/lib/view/billPayCard/fetchBillPayCardEpic.js +50 -50
  812. package/lib/view/cardBalance/cardBalanceEpic.d.ts +17 -17
  813. package/lib/view/cardBalance/cardBalanceEpic.js +22 -22
  814. package/lib/view/cardBalance/cardBalancePayload.d.ts +9 -9
  815. package/lib/view/cardBalance/cardBalancePayload.js +2 -2
  816. package/lib/view/cardBalance/cardBalanceReducer.d.ts +11 -11
  817. package/lib/view/cardBalance/cardBalanceReducer.js +68 -68
  818. package/lib/view/cardBalance/cardBalanceSelector.d.ts +31 -31
  819. package/lib/view/cardBalance/cardBalanceSelector.js +19 -19
  820. package/lib/view/cardBalance/cardBalanceState.d.ts +7 -7
  821. package/lib/view/cardBalance/cardBalanceState.js +2 -2
  822. package/lib/view/cardBalance/statementCloseDayEpic.d.ts +16 -16
  823. package/lib/view/cardBalance/statementCloseDayEpic.js +25 -25
  824. package/lib/view/cashBalance/cashBalanceEpic.d.ts +17 -17
  825. package/lib/view/cashBalance/cashBalanceEpic.js +22 -22
  826. package/lib/view/cashBalance/cashBalancePayload.d.ts +9 -9
  827. package/lib/view/cashBalance/cashBalancePayload.js +2 -2
  828. package/lib/view/cashBalance/cashBalanceReducer.d.ts +7 -7
  829. package/lib/view/cashBalance/cashBalanceReducer.js +55 -55
  830. package/lib/view/cashBalance/cashBalanceSelector.d.ts +31 -31
  831. package/lib/view/cashBalance/cashBalanceSelector.js +19 -19
  832. package/lib/view/cashBalance/cashBalanceState.d.ts +7 -7
  833. package/lib/view/cashBalance/cashBalanceState.js +2 -2
  834. package/lib/view/cashFlow/cashFlowEpic.d.ts +6 -6
  835. package/lib/view/cashFlow/cashFlowEpic.js +35 -35
  836. package/lib/view/cashFlow/cashFlowForTimeframeEpic.d.ts +9 -9
  837. package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +53 -53
  838. package/lib/view/cashFlow/cashFlowPayload.d.ts +33 -33
  839. package/lib/view/cashFlow/cashFlowPayload.js +69 -69
  840. package/lib/view/cashFlow/cashFlowReducer.d.ts +31 -31
  841. package/lib/view/cashFlow/cashFlowReducer.js +114 -114
  842. package/lib/view/cashFlow/cashFlowSelector.d.ts +9 -9
  843. package/lib/view/cashFlow/cashFlowSelector.js +94 -94
  844. package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +41 -41
  845. package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -87
  846. package/lib/view/cashFlow/cashFlowState.d.ts +18 -18
  847. package/lib/view/cashFlow/cashFlowState.js +2 -2
  848. package/lib/view/cashInCashOut/cashInCashOutEpic.d.ts +26 -26
  849. package/lib/view/cashInCashOut/cashInCashOutEpic.js +25 -25
  850. package/lib/view/cashInCashOut/cashInCashOutPayload.d.ts +15 -15
  851. package/lib/view/cashInCashOut/cashInCashOutPayload.js +2 -2
  852. package/lib/view/cashInCashOut/cashInCashOutReducer.d.ts +33 -33
  853. package/lib/view/cashInCashOut/cashInCashOutReducer.js +227 -227
  854. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +29 -29
  855. package/lib/view/cashInCashOut/cashInCashOutSelector.js +87 -87
  856. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +26 -26
  857. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +15 -15
  858. package/lib/view/cashInCashOut/cashInCashOutState.d.ts +19 -19
  859. package/lib/view/cashInCashOut/cashInCashOutState.js +2 -2
  860. package/lib/view/cashPosition/cashPositionEpic.d.ts +22 -22
  861. package/lib/view/cashPosition/cashPositionEpic.js +24 -24
  862. package/lib/view/cashPosition/cashPositionPayload.d.ts +11 -11
  863. package/lib/view/cashPosition/cashPositionPayload.js +2 -2
  864. package/lib/view/cashPosition/cashPositionReducer.d.ts +35 -35
  865. package/lib/view/cashPosition/cashPositionReducer.js +250 -250
  866. package/lib/view/cashPosition/cashPositionSelector.d.ts +26 -26
  867. package/lib/view/cashPosition/cashPositionSelector.js +71 -71
  868. package/lib/view/cashPosition/cashPositionSelectorTypes.d.ts +18 -18
  869. package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -2
  870. package/lib/view/cashPosition/cashPositionState.d.ts +17 -17
  871. package/lib/view/cashPosition/cashPositionState.js +2 -2
  872. package/lib/view/classList/classListPayload.d.ts +6 -6
  873. package/lib/view/classList/classListPayload.js +2 -2
  874. package/lib/view/classList/classListReducer.d.ts +7 -7
  875. package/lib/view/classList/classListReducer.js +45 -45
  876. package/lib/view/classList/classListSelector.d.ts +10 -10
  877. package/lib/view/classList/classListSelector.js +22 -22
  878. package/lib/view/classList/classListState.d.ts +6 -6
  879. package/lib/view/classList/classListState.js +2 -2
  880. package/lib/view/classList/fetchClassListEpic.d.ts +8 -8
  881. package/lib/view/classList/fetchClassListEpic.js +25 -25
  882. package/lib/view/common/getSelectedAndHighlightedRanges.d.ts +60 -60
  883. package/lib/view/common/getSelectedAndHighlightedRanges.js +298 -298
  884. package/lib/view/common/reportsHelpers.d.ts +3 -3
  885. package/lib/view/common/reportsHelpers.js +22 -22
  886. package/lib/view/common/zeniClearingAccountHelper.d.ts +4 -4
  887. package/lib/view/common/zeniClearingAccountHelper.js +13 -13
  888. package/lib/view/commonVendorView/commonVendorViewHelper.d.ts +20 -20
  889. package/lib/view/commonVendorView/commonVendorViewHelper.js +109 -109
  890. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.d.ts +7 -7
  891. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -30
  892. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.d.ts +9 -9
  893. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +92 -92
  894. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.d.ts +3 -3
  895. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -13
  896. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +17 -17
  897. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -50
  898. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.d.ts +24 -24
  899. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +130 -130
  900. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +25 -25
  901. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +53 -53
  902. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewState.d.ts +16 -16
  903. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewState.js +2 -2
  904. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.d.ts +7 -7
  905. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +68 -68
  906. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.d.ts +11 -11
  907. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -62
  908. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.d.ts +16 -16
  909. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +70 -70
  910. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.d.ts +7 -7
  911. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -29
  912. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.d.ts +7 -7
  913. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -30
  914. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.d.ts +14 -14
  915. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +192 -192
  916. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.d.ts +8 -8
  917. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -25
  918. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.d.ts +8 -8
  919. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -31
  920. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.d.ts +7 -7
  921. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -24
  922. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.d.ts +21 -21
  923. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +90 -90
  924. package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +30 -30
  925. package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +93 -93
  926. package/lib/view/commonVendorView/vendorView/vendorViewReducer.d.ts +82 -82
  927. package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +493 -493
  928. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +72 -72
  929. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +218 -218
  930. package/lib/view/commonVendorView/vendorView/vendorViewState.d.ts +58 -58
  931. package/lib/view/commonVendorView/vendorView/vendorViewState.js +2 -2
  932. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +7 -7
  933. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +29 -29
  934. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.d.ts +11 -11
  935. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -47
  936. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +15 -15
  937. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +63 -63
  938. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.d.ts +7 -7
  939. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -22
  940. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.d.ts +11 -11
  941. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +57 -57
  942. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +19 -19
  943. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +60 -60
  944. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +29 -29
  945. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +48 -48
  946. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +41 -41
  947. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +179 -179
  948. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +55 -55
  949. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +127 -127
  950. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.d.ts +31 -31
  951. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +2 -2
  952. package/lib/view/companyConfigView/companyConfigEpic.d.ts +7 -7
  953. package/lib/view/companyConfigView/companyConfigEpic.js +23 -23
  954. package/lib/view/companyConfigView/companyConfigPayload.d.ts +6 -6
  955. package/lib/view/companyConfigView/companyConfigPayload.js +2 -2
  956. package/lib/view/companyConfigView/companyConfigReducer.d.ts +7 -7
  957. package/lib/view/companyConfigView/companyConfigReducer.js +38 -38
  958. package/lib/view/companyConfigView/companyConfigSelector.d.ts +12 -12
  959. package/lib/view/companyConfigView/companyConfigSelector.js +12 -12
  960. package/lib/view/companyConfigView/companyConfigState.d.ts +5 -5
  961. package/lib/view/companyConfigView/companyConfigState.js +2 -2
  962. package/lib/view/companyHealthMetricView/companyHealthMetricView.d.ts +23 -23
  963. package/lib/view/companyHealthMetricView/companyHealthMetricView.js +2 -2
  964. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +8 -8
  965. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -2
  966. package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.d.ts +23 -23
  967. package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +91 -91
  968. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +41 -41
  969. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +240 -240
  970. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.d.ts +9 -9
  971. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -41
  972. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.d.ts +6 -6
  973. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +27 -27
  974. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.d.ts +9 -9
  975. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +49 -49
  976. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +38 -38
  977. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.js +2 -2
  978. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +74 -74
  979. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +278 -278
  980. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +24 -24
  981. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +59 -59
  982. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +40 -40
  983. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +46 -46
  984. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.d.ts +8 -8
  985. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +67 -67
  986. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.d.ts +7 -7
  987. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -54
  988. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.d.ts +8 -8
  989. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +46 -46
  990. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.d.ts +7 -7
  991. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +30 -30
  992. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.d.ts +9 -9
  993. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +77 -77
  994. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.d.ts +9 -9
  995. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +79 -79
  996. package/lib/view/companyView/companyViewPayload.d.ts +84 -84
  997. package/lib/view/companyView/companyViewPayload.js +2 -2
  998. package/lib/view/companyView/companyViewReducer.d.ts +106 -106
  999. package/lib/view/companyView/companyViewReducer.js +537 -537
  1000. package/lib/view/companyView/companyViewState.d.ts +16 -16
  1001. package/lib/view/companyView/companyViewState.js +2 -2
  1002. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.d.ts +7 -7
  1003. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -18
  1004. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.d.ts +10 -10
  1005. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -116
  1006. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.d.ts +10 -10
  1007. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +87 -87
  1008. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.d.ts +17 -17
  1009. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -65
  1010. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +24 -24
  1011. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +37 -37
  1012. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.d.ts +9 -9
  1013. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +49 -49
  1014. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.d.ts +10 -10
  1015. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +54 -54
  1016. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.d.ts +6 -6
  1017. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +39 -39
  1018. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.d.ts +20 -20
  1019. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +68 -68
  1020. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.d.ts +9 -9
  1021. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +65 -65
  1022. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.d.ts +16 -16
  1023. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -101
  1024. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.d.ts +11 -11
  1025. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -40
  1026. package/lib/view/companyView/epic/fetchManagementViewEpic.d.ts +6 -6
  1027. package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -27
  1028. package/lib/view/companyView/epic/fetchOnboardingViewEpic.d.ts +7 -7
  1029. package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +36 -36
  1030. package/lib/view/companyView/epic/fetchPortfolioViewEpic.d.ts +6 -6
  1031. package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -27
  1032. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.d.ts +7 -7
  1033. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -29
  1034. package/lib/view/companyView/epic/fetchZeniUsersEpic.d.ts +8 -8
  1035. package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -24
  1036. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.d.ts +2 -2
  1037. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +20 -20
  1038. package/lib/view/companyView/helpers/cockpitHelpers.d.ts +16 -16
  1039. package/lib/view/companyView/helpers/cockpitHelpers.js +144 -144
  1040. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.d.ts +6 -6
  1041. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -19
  1042. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.d.ts +4 -4
  1043. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -16
  1044. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.d.ts +6 -6
  1045. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.js +7 -7
  1046. package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +41 -41
  1047. package/lib/view/companyView/selector/companyManagementViewSelector.js +406 -406
  1048. package/lib/view/companyView/selector/companyPassportViewSelector.d.ts +36 -36
  1049. package/lib/view/companyView/selector/companyPassportViewSelector.js +163 -163
  1050. package/lib/view/companyView/selector/companyPortfolioViewSelector.d.ts +15 -15
  1051. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -245
  1052. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.d.ts +8 -8
  1053. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +55 -55
  1054. package/lib/view/companyView/selectorHelpers/getCompanyView.d.ts +6 -6
  1055. package/lib/view/companyView/selectorHelpers/getCompanyView.js +176 -176
  1056. package/lib/view/companyView/types/cockpitTabsID.d.ts +7 -7
  1057. package/lib/view/companyView/types/cockpitTabsID.js +19 -19
  1058. package/lib/view/companyView/types/cockpitTypes.d.ts +45 -45
  1059. package/lib/view/companyView/types/cockpitTypes.js +80 -80
  1060. package/lib/view/companyView/types/commonState.d.ts +7 -7
  1061. package/lib/view/companyView/types/commonState.js +12 -12
  1062. package/lib/view/companyView/types/companyManagementViewState.d.ts +28 -28
  1063. package/lib/view/companyView/types/companyManagementViewState.js +31 -31
  1064. package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.d.ts +33 -33
  1065. package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.js +2 -2
  1066. package/lib/view/companyView/types/companyPassport/companyPassportLocalData.d.ts +10 -10
  1067. package/lib/view/companyView/types/companyPassport/companyPassportLocalData.js +71 -71
  1068. package/lib/view/companyView/types/companyPassport/companyPassportViewState.d.ts +20 -20
  1069. package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +90 -90
  1070. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +20 -20
  1071. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +6 -6
  1072. package/lib/view/companyView/types/companyPassportViewPayload.d.ts +25 -25
  1073. package/lib/view/companyView/types/companyPassportViewPayload.js +76 -76
  1074. package/lib/view/companyView/types/companyPortfolioViewState.d.ts +15 -15
  1075. package/lib/view/companyView/types/companyPortfolioViewState.js +17 -17
  1076. package/lib/view/companyView/types/companyView.d.ts +28 -28
  1077. package/lib/view/companyView/types/companyView.js +2 -2
  1078. package/lib/view/companyView/types/userAndRole.d.ts +10 -10
  1079. package/lib/view/companyView/types/userAndRole.js +23 -23
  1080. package/lib/view/dashboard/dashboardEpic.d.ts +23 -23
  1081. package/lib/view/dashboard/dashboardEpic.js +163 -163
  1082. package/lib/view/dashboard/dashboardReducer.d.ts +11 -11
  1083. package/lib/view/dashboard/dashboardReducer.js +36 -36
  1084. package/lib/view/dashboard/dashboardSelector.d.ts +40 -40
  1085. package/lib/view/dashboard/dashboardSelector.js +105 -105
  1086. package/lib/view/dashboard/dashboardState.d.ts +4 -4
  1087. package/lib/view/dashboard/dashboardState.js +2 -2
  1088. package/lib/view/fileView/epic/deleteFileEpic.d.ts +8 -8
  1089. package/lib/view/fileView/epic/deleteFileEpic.js +31 -31
  1090. package/lib/view/fileView/epic/deleteFileListEpic.d.ts +8 -8
  1091. package/lib/view/fileView/epic/deleteFileListEpic.js +28 -28
  1092. package/lib/view/fileView/epic/fetchFileEpic.d.ts +8 -8
  1093. package/lib/view/fileView/epic/fetchFileEpic.js +33 -33
  1094. package/lib/view/fileView/epic/fetchFileListEpic.d.ts +8 -8
  1095. package/lib/view/fileView/epic/fetchFileListEpic.js +31 -31
  1096. package/lib/view/fileView/epic/updateFileNameEpic.d.ts +8 -8
  1097. package/lib/view/fileView/epic/updateFileNameEpic.js +34 -34
  1098. package/lib/view/fileView/epic/updateFilesMetadataEpic.d.ts +6 -6
  1099. package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -16
  1100. package/lib/view/fileView/fileDownloadHelpers.d.ts +3 -3
  1101. package/lib/view/fileView/fileDownloadHelpers.js +42 -42
  1102. package/lib/view/fileView/fileUploadHelpers.d.ts +13 -13
  1103. package/lib/view/fileView/fileUploadHelpers.js +54 -54
  1104. package/lib/view/fileView/fileViewPayload.d.ts +6 -6
  1105. package/lib/view/fileView/fileViewPayload.js +2 -2
  1106. package/lib/view/fileView/fileViewReducer.d.ts +46 -46
  1107. package/lib/view/fileView/fileViewReducer.js +166 -166
  1108. package/lib/view/fileView/fileViewSelector.d.ts +14 -14
  1109. package/lib/view/fileView/fileViewSelector.js +36 -36
  1110. package/lib/view/fileView/fileViewState.d.ts +11 -11
  1111. package/lib/view/fileView/fileViewState.js +15 -15
  1112. package/lib/view/financeStatement/financeStatementEpic.d.ts +32 -32
  1113. package/lib/view/financeStatement/financeStatementEpic.js +44 -44
  1114. package/lib/view/financeStatement/financeStatementReducer.d.ts +27 -27
  1115. package/lib/view/financeStatement/financeStatementReducer.js +131 -131
  1116. package/lib/view/financeStatement/financeStatementSelector.d.ts +27 -27
  1117. package/lib/view/financeStatement/financeStatementSelector.js +96 -96
  1118. package/lib/view/financeStatement/financeStatementState.d.ts +7 -7
  1119. package/lib/view/financeStatement/financeStatementState.js +2 -2
  1120. package/lib/view/forecastList/fetchForecastListEpic.d.ts +8 -8
  1121. package/lib/view/forecastList/fetchForecastListEpic.js +20 -20
  1122. package/lib/view/forecastList/forecastListPayload.d.ts +6 -6
  1123. package/lib/view/forecastList/forecastListPayload.js +2 -2
  1124. package/lib/view/forecastList/forecastListReducer.d.ts +7 -7
  1125. package/lib/view/forecastList/forecastListReducer.js +39 -39
  1126. package/lib/view/forecastList/forecastListSelector.d.ts +19 -19
  1127. package/lib/view/forecastList/forecastListSelector.js +27 -27
  1128. package/lib/view/forecastList/forecastListState.d.ts +4 -4
  1129. package/lib/view/forecastList/forecastListState.js +2 -2
  1130. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +16 -16
  1131. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -101
  1132. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.d.ts +10 -10
  1133. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +59 -59
  1134. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.d.ts +8 -8
  1135. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -48
  1136. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.d.ts +11 -11
  1137. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.js +2 -2
  1138. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.d.ts +11 -11
  1139. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +45 -45
  1140. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.d.ts +7 -7
  1141. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -14
  1142. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.d.ts +9 -9
  1143. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +9 -9
  1144. package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +24 -24
  1145. package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -2
  1146. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +24 -24
  1147. package/lib/view/globalMerchantView/globalMerchantViewReducer.js +102 -102
  1148. package/lib/view/globalMerchantView/globalMerchantViewSelector.d.ts +9 -9
  1149. package/lib/view/globalMerchantView/globalMerchantViewSelector.js +19 -19
  1150. package/lib/view/globalMerchantView/globalMerchantViewState.d.ts +16 -16
  1151. package/lib/view/globalMerchantView/globalMerchantViewState.js +2 -2
  1152. package/lib/view/insightsCard/insightsCardEpic.d.ts +15 -15
  1153. package/lib/view/insightsCard/insightsCardEpic.js +21 -21
  1154. package/lib/view/insightsCard/insightsCardPayload.d.ts +7 -7
  1155. package/lib/view/insightsCard/insightsCardPayload.js +2 -2
  1156. package/lib/view/insightsCard/insightsCardReducer.d.ts +7 -7
  1157. package/lib/view/insightsCard/insightsCardReducer.js +47 -47
  1158. package/lib/view/insightsCard/insightsCardSelector.d.ts +3 -3
  1159. package/lib/view/insightsCard/insightsCardSelector.js +18 -18
  1160. package/lib/view/insightsCard/insightsCardSelectorTypes.d.ts +8 -8
  1161. package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -2
  1162. package/lib/view/insightsCard/insightsCardState.d.ts +7 -7
  1163. package/lib/view/insightsCard/insightsCardState.js +2 -2
  1164. package/lib/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.d.ts +21 -21
  1165. package/lib/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.js +113 -113
  1166. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.d.ts +5 -5
  1167. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -35
  1168. package/lib/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.d.ts +10 -10
  1169. package/lib/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.js +59 -59
  1170. package/lib/view/netBurnOrIncome/netBurnOrIncomeHelper.d.ts +9 -9
  1171. package/lib/view/netBurnOrIncome/netBurnOrIncomeHelper.js +35 -35
  1172. package/lib/view/netBurnOrIncome/netBurnOrIncomePayload.d.ts +21 -21
  1173. package/lib/view/netBurnOrIncome/netBurnOrIncomePayload.js +2 -2
  1174. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.d.ts +65 -65
  1175. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +428 -428
  1176. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.d.ts +16 -16
  1177. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +185 -185
  1178. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.d.ts +28 -28
  1179. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +22 -22
  1180. package/lib/view/netBurnOrIncome/netBurnOrIncomeState.d.ts +40 -40
  1181. package/lib/view/netBurnOrIncome/netBurnOrIncomeState.js +2 -2
  1182. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.d.ts +6 -6
  1183. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.js +34 -34
  1184. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.d.ts +11 -11
  1185. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.js +2 -2
  1186. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.d.ts +35 -35
  1187. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +121 -121
  1188. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.d.ts +11 -11
  1189. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -105
  1190. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +17 -17
  1191. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -21
  1192. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.d.ts +21 -21
  1193. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.js +2 -2
  1194. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.d.ts +8 -8
  1195. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.js +44 -44
  1196. package/lib/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.d.ts +6 -6
  1197. package/lib/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.js +29 -29
  1198. package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.d.ts +9 -9
  1199. package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js +44 -44
  1200. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.d.ts +52 -52
  1201. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +41 -41
  1202. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.d.ts +14 -14
  1203. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +131 -131
  1204. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.d.ts +3 -3
  1205. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +86 -86
  1206. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.d.ts +20 -20
  1207. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +9 -9
  1208. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +45 -45
  1209. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +20 -20
  1210. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.d.ts +13 -13
  1211. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +54 -54
  1212. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.d.ts +8 -8
  1213. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -27
  1214. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.d.ts +7 -7
  1215. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -27
  1216. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.d.ts +6 -6
  1217. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +105 -105
  1218. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.d.ts +8 -8
  1219. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +86 -86
  1220. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.d.ts +10 -10
  1221. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -37
  1222. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.d.ts +8 -8
  1223. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -36
  1224. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.d.ts +14 -14
  1225. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +128 -128
  1226. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.d.ts +17 -17
  1227. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +114 -114
  1228. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.d.ts +70 -70
  1229. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +55 -55
  1230. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.d.ts +72 -72
  1231. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +516 -516
  1232. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.d.ts +55 -55
  1233. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +185 -185
  1234. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.d.ts +38 -38
  1235. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.js +2 -2
  1236. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +39 -39
  1237. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +2 -2
  1238. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.d.ts +16 -16
  1239. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +72 -72
  1240. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +16 -16
  1241. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -27
  1242. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.d.ts +9 -9
  1243. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +41 -41
  1244. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +21 -21
  1245. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +128 -128
  1246. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +14 -14
  1247. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +116 -116
  1248. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.d.ts +10 -10
  1249. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -37
  1250. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.d.ts +10 -10
  1251. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -37
  1252. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.d.ts +10 -10
  1253. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +42 -42
  1254. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.d.ts +8 -8
  1255. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -31
  1256. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +26 -26
  1257. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -2
  1258. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.d.ts +77 -77
  1259. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +570 -570
  1260. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +53 -53
  1261. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +261 -261
  1262. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +44 -44
  1263. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +34 -34
  1264. package/lib/view/onboardingView/customerView/types/paymentAccount.d.ts +8 -8
  1265. package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -2
  1266. package/lib/view/opEx/fetchOpExWithForecastEpic.d.ts +21 -21
  1267. package/lib/view/opEx/fetchOpExWithForecastEpic.js +112 -112
  1268. package/lib/view/opEx/opExEpic.d.ts +6 -6
  1269. package/lib/view/opEx/opExEpic.js +35 -35
  1270. package/lib/view/opEx/opExForTimeFrameEpic.d.ts +10 -10
  1271. package/lib/view/opEx/opExForTimeFrameEpic.js +54 -54
  1272. package/lib/view/opEx/opExPayload.d.ts +10 -10
  1273. package/lib/view/opEx/opExPayload.js +2 -2
  1274. package/lib/view/opEx/opExReducer.d.ts +65 -65
  1275. package/lib/view/opEx/opExReducer.js +405 -405
  1276. package/lib/view/opEx/opExSelector.d.ts +23 -23
  1277. package/lib/view/opEx/opExSelector.js +174 -174
  1278. package/lib/view/opEx/opExSelectorTypes.d.ts +19 -19
  1279. package/lib/view/opEx/opExSelectorTypes.js +2 -2
  1280. package/lib/view/opEx/opExState.d.ts +29 -29
  1281. package/lib/view/opEx/opExState.js +2 -2
  1282. package/lib/view/opExByVendor/fetchOpExByVendorReportEpic.d.ts +6 -6
  1283. package/lib/view/opExByVendor/fetchOpExByVendorReportEpic.js +35 -35
  1284. package/lib/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.d.ts +10 -10
  1285. package/lib/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.js +82 -82
  1286. package/lib/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.d.ts +7 -7
  1287. package/lib/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.js +42 -42
  1288. package/lib/view/opExByVendor/opExByVendorPayload.d.ts +50 -50
  1289. package/lib/view/opExByVendor/opExByVendorPayload.js +2 -2
  1290. package/lib/view/opExByVendor/opExByVendorReducer.d.ts +54 -54
  1291. package/lib/view/opExByVendor/opExByVendorReducer.js +327 -327
  1292. package/lib/view/opExByVendor/opExByVendorSelector.d.ts +42 -42
  1293. package/lib/view/opExByVendor/opExByVendorSelector.js +168 -168
  1294. package/lib/view/opExByVendor/opExByVendorState.d.ts +73 -73
  1295. package/lib/view/opExByVendor/opExByVendorState.js +16 -16
  1296. package/lib/view/opExClassesView/opExClassesViewEpic.d.ts +6 -6
  1297. package/lib/view/opExClassesView/opExClassesViewEpic.js +34 -34
  1298. package/lib/view/opExClassesView/opExClassesViewPayload.d.ts +6 -6
  1299. package/lib/view/opExClassesView/opExClassesViewPayload.js +2 -2
  1300. package/lib/view/opExClassesView/opExClassesViewReducer.d.ts +35 -35
  1301. package/lib/view/opExClassesView/opExClassesViewReducer.js +122 -122
  1302. package/lib/view/opExClassesView/opExClassesViewSelector.d.ts +12 -12
  1303. package/lib/view/opExClassesView/opExClassesViewSelector.js +90 -90
  1304. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.d.ts +15 -15
  1305. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +14 -14
  1306. package/lib/view/opExClassesView/opExClassesViewState.d.ts +21 -21
  1307. package/lib/view/opExClassesView/opExClassesViewState.js +2 -2
  1308. package/lib/view/opExClassesView/opExForTimeframeClassesViewEpic.d.ts +8 -8
  1309. package/lib/view/opExClassesView/opExForTimeframeClassesViewEpic.js +42 -42
  1310. package/lib/view/ownerList/fetchOwnerListEpic.d.ts +8 -8
  1311. package/lib/view/ownerList/fetchOwnerListEpic.js +35 -35
  1312. package/lib/view/ownerList/ownerListPayload.d.ts +6 -6
  1313. package/lib/view/ownerList/ownerListPayload.js +2 -2
  1314. package/lib/view/ownerList/ownerListReducer.d.ts +11 -11
  1315. package/lib/view/ownerList/ownerListReducer.js +39 -39
  1316. package/lib/view/ownerList/ownerListState.d.ts +4 -4
  1317. package/lib/view/ownerList/ownerListState.js +2 -2
  1318. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +44 -44
  1319. package/lib/view/people/changeZeniPersonRolesEpic.js +39 -39
  1320. package/lib/view/people/deletePersonEpic.d.ts +31 -31
  1321. package/lib/view/people/deletePersonEpic.js +24 -24
  1322. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.d.ts +8 -8
  1323. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +20 -20
  1324. package/lib/view/people/fetchPeopleEpic.d.ts +23 -23
  1325. package/lib/view/people/fetchPeopleEpic.js +32 -32
  1326. package/lib/view/people/helpers/updateManagersListOnRoleChange.d.ts +11 -11
  1327. package/lib/view/people/helpers/updateManagersListOnRoleChange.js +16 -16
  1328. package/lib/view/people/initializeEditPersonEpic.d.ts +5 -5
  1329. package/lib/view/people/initializeEditPersonEpic.js +39 -39
  1330. package/lib/view/people/invitePeopleEpic.d.ts +48 -48
  1331. package/lib/view/people/invitePeopleEpic.js +53 -53
  1332. package/lib/view/people/inviteZeniPeopleEpic.d.ts +50 -50
  1333. package/lib/view/people/inviteZeniPeopleEpic.js +52 -52
  1334. package/lib/view/people/peoplePageEpic.d.ts +15 -15
  1335. package/lib/view/people/peoplePageEpic.js +27 -27
  1336. package/lib/view/people/peoplePayload.d.ts +19 -19
  1337. package/lib/view/people/peoplePayload.js +2 -2
  1338. package/lib/view/people/peopleReducer.d.ts +37 -37
  1339. package/lib/view/people/peopleReducer.js +255 -255
  1340. package/lib/view/people/peopleSaveUpdatesEpic.d.ts +6 -6
  1341. package/lib/view/people/peopleSaveUpdatesEpic.js +83 -83
  1342. package/lib/view/people/peopleSelector.d.ts +7 -7
  1343. package/lib/view/people/peopleSelector.js +149 -149
  1344. package/lib/view/people/peopleSelectorTypes.d.ts +28 -28
  1345. package/lib/view/people/peopleSelectorTypes.js +2 -2
  1346. package/lib/view/people/peopleState.d.ts +34 -34
  1347. package/lib/view/people/peopleState.js +2 -2
  1348. package/lib/view/people/peopleTypes.d.ts +3 -3
  1349. package/lib/view/people/peopleTypes.js +13 -13
  1350. package/lib/view/people/resendInviteEpic.d.ts +26 -26
  1351. package/lib/view/people/resendInviteEpic.js +25 -25
  1352. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.d.ts +17 -17
  1353. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +49 -49
  1354. package/lib/view/profitAndLoss/profitAndLossEpic.d.ts +6 -6
  1355. package/lib/view/profitAndLoss/profitAndLossEpic.js +35 -35
  1356. package/lib/view/profitAndLoss/profitAndLossForTimeframeEpic.d.ts +9 -9
  1357. package/lib/view/profitAndLoss/profitAndLossForTimeframeEpic.js +59 -59
  1358. package/lib/view/profitAndLoss/profitAndLossPayload.d.ts +16 -16
  1359. package/lib/view/profitAndLoss/profitAndLossPayload.js +2 -2
  1360. package/lib/view/profitAndLoss/profitAndLossReducer.d.ts +37 -37
  1361. package/lib/view/profitAndLoss/profitAndLossReducer.js +155 -155
  1362. package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +40 -40
  1363. package/lib/view/profitAndLoss/profitAndLossSelector.js +104 -104
  1364. package/lib/view/profitAndLoss/profitAndLossState.d.ts +22 -22
  1365. package/lib/view/profitAndLoss/profitAndLossState.js +2 -2
  1366. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewEpic.d.ts +6 -6
  1367. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewEpic.js +34 -34
  1368. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewPayload.d.ts +16 -16
  1369. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewPayload.js +2 -2
  1370. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.d.ts +35 -35
  1371. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +126 -126
  1372. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.d.ts +8 -8
  1373. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +98 -98
  1374. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +13 -13
  1375. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -26
  1376. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.d.ts +21 -21
  1377. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.js +2 -2
  1378. package/lib/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.d.ts +8 -8
  1379. package/lib/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.js +46 -46
  1380. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.d.ts +10 -10
  1381. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +56 -56
  1382. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.d.ts +7 -7
  1383. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -39
  1384. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.d.ts +7 -7
  1385. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -38
  1386. package/lib/view/recommendation/recommendationHelper.d.ts +6 -6
  1387. package/lib/view/recommendation/recommendationHelper.js +34 -58
  1388. package/lib/view/recommendation/recommendationPayload.d.ts +10 -10
  1389. package/lib/view/recommendation/recommendationPayload.js +2 -2
  1390. package/lib/view/recommendation/recommendationReducer.d.ts +40 -40
  1391. package/lib/view/recommendation/recommendationReducer.js +109 -109
  1392. package/lib/view/recommendation/recommendationSelector.d.ts +10 -10
  1393. package/lib/view/recommendation/recommendationSelector.js +18 -18
  1394. package/lib/view/recommendation/recommendationState.d.ts +12 -12
  1395. package/lib/view/recommendation/recommendationState.js +13 -13
  1396. package/lib/view/referralView/epics/fetchReferralsEpic.d.ts +7 -7
  1397. package/lib/view/referralView/epics/fetchReferralsEpic.js +36 -36
  1398. package/lib/view/referralView/epics/fetchRewardsPlanEpic.d.ts +7 -7
  1399. package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -35
  1400. package/lib/view/referralView/epics/resendReferralInviteEpic.d.ts +8 -8
  1401. package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -33
  1402. package/lib/view/referralView/epics/sendReferralInviteEpic.d.ts +8 -8
  1403. package/lib/view/referralView/epics/sendReferralInviteEpic.js +38 -38
  1404. package/lib/view/referralView/referralPayload.d.ts +45 -45
  1405. package/lib/view/referralView/referralPayload.js +33 -33
  1406. package/lib/view/referralView/referralReducer.d.ts +23 -23
  1407. package/lib/view/referralView/referralReducer.js +173 -173
  1408. package/lib/view/referralView/referralSelector.d.ts +25 -25
  1409. package/lib/view/referralView/referralSelector.js +90 -90
  1410. package/lib/view/referralView/referralState.d.ts +57 -57
  1411. package/lib/view/referralView/referralState.js +40 -40
  1412. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.d.ts +8 -8
  1413. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -45
  1414. package/lib/view/reimbursementCard/reimbursementCardPayload.d.ts +25 -25
  1415. package/lib/view/reimbursementCard/reimbursementCardPayload.js +2 -2
  1416. package/lib/view/reimbursementCard/reimbursementCardReducer.d.ts +10 -10
  1417. package/lib/view/reimbursementCard/reimbursementCardReducer.js +55 -55
  1418. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +12 -12
  1419. package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -16
  1420. package/lib/view/reimbursementCard/reimbursementCardState.d.ts +10 -10
  1421. package/lib/view/reimbursementCard/reimbursementCardState.js +5 -5
  1422. package/lib/view/reportUIOptions/reportUIOptionsReducer.d.ts +40 -40
  1423. package/lib/view/reportUIOptions/reportUIOptionsReducer.js +122 -122
  1424. package/lib/view/reportUIOptions/reportUIOptionsState.d.ts +22 -22
  1425. package/lib/view/reportUIOptions/reportUIOptionsState.js +2 -2
  1426. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.d.ts +11 -11
  1427. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -40
  1428. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.d.ts +43 -43
  1429. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +74 -74
  1430. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.d.ts +17 -17
  1431. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +54 -54
  1432. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.d.ts +10 -10
  1433. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +68 -68
  1434. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.d.ts +14 -14
  1435. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +32 -32
  1436. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.d.ts +11 -11
  1437. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -15
  1438. package/lib/view/revenue/fetchRevenueWithForecastEpic.d.ts +21 -21
  1439. package/lib/view/revenue/fetchRevenueWithForecastEpic.js +111 -111
  1440. package/lib/view/revenue/revenueEpic.d.ts +6 -6
  1441. package/lib/view/revenue/revenueEpic.js +35 -35
  1442. package/lib/view/revenue/revenueForTimeframeEpic.d.ts +10 -10
  1443. package/lib/view/revenue/revenueForTimeframeEpic.js +56 -56
  1444. package/lib/view/revenue/revenueHelper.d.ts +9 -9
  1445. package/lib/view/revenue/revenueHelper.js +35 -35
  1446. package/lib/view/revenue/revenuePayload.d.ts +13 -13
  1447. package/lib/view/revenue/revenuePayload.js +2 -2
  1448. package/lib/view/revenue/revenueReducer.d.ts +65 -65
  1449. package/lib/view/revenue/revenueReducer.js +412 -412
  1450. package/lib/view/revenue/revenueSelector.d.ts +30 -30
  1451. package/lib/view/revenue/revenueSelector.js +210 -210
  1452. package/lib/view/revenue/revenueSelectorTypes.d.ts +31 -31
  1453. package/lib/view/revenue/revenueSelectorTypes.js +15 -15
  1454. package/lib/view/revenue/revenueState.d.ts +31 -31
  1455. package/lib/view/revenue/revenueState.js +2 -2
  1456. package/lib/view/revenueClassesView/revenueClassesViewEpic.d.ts +6 -6
  1457. package/lib/view/revenueClassesView/revenueClassesViewEpic.js +34 -34
  1458. package/lib/view/revenueClassesView/revenueClassesViewPayload.d.ts +9 -9
  1459. package/lib/view/revenueClassesView/revenueClassesViewPayload.js +2 -2
  1460. package/lib/view/revenueClassesView/revenueClassesViewReducer.d.ts +35 -35
  1461. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +122 -122
  1462. package/lib/view/revenueClassesView/revenueClassesViewSelector.d.ts +12 -12
  1463. package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -94
  1464. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +15 -15
  1465. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -16
  1466. package/lib/view/revenueClassesView/revenueClassesViewState.d.ts +21 -21
  1467. package/lib/view/revenueClassesView/revenueClassesViewState.js +2 -2
  1468. package/lib/view/revenueClassesView/revenueForTimeframeClassesViewEpic.d.ts +8 -8
  1469. package/lib/view/revenueClassesView/revenueForTimeframeClassesViewEpic.js +34 -34
  1470. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.d.ts +7 -7
  1471. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +39 -39
  1472. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.d.ts +8 -8
  1473. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +77 -77
  1474. package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +46 -46
  1475. package/lib/view/reviewCompanyView/reviewCompanyPayload.js +2 -2
  1476. package/lib/view/reviewCompanyView/reviewCompanyViewReducer.d.ts +26 -26
  1477. package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +131 -131
  1478. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.d.ts +15 -15
  1479. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +87 -87
  1480. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +40 -40
  1481. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +61 -61
  1482. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.d.ts +6 -6
  1483. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +35 -35
  1484. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.d.ts +8 -8
  1485. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +80 -80
  1486. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.d.ts +8 -8
  1487. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +58 -58
  1488. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +8 -8
  1489. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +26 -26
  1490. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.d.ts +6 -6
  1491. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +35 -35
  1492. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.d.ts +11 -11
  1493. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +101 -101
  1494. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.d.ts +6 -6
  1495. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +36 -36
  1496. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +27 -27
  1497. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +235 -235
  1498. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +64 -64
  1499. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +171 -171
  1500. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +69 -69
  1501. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +318 -318
  1502. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +33 -33
  1503. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +99 -99
  1504. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +62 -62
  1505. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +2 -2
  1506. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.d.ts +3 -3
  1507. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +14 -14
  1508. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.d.ts +8 -8
  1509. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +53 -53
  1510. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +17 -17
  1511. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +66 -66
  1512. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.d.ts +6 -6
  1513. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -15
  1514. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +97 -97
  1515. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +269 -269
  1516. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +7 -7
  1517. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -2
  1518. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.d.ts +76 -76
  1519. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +264 -264
  1520. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +36 -36
  1521. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +210 -210
  1522. package/lib/view/scheduleView/scheduleListView/scheduleListState.d.ts +31 -31
  1523. package/lib/view/scheduleView/scheduleListView/scheduleListState.js +2 -2
  1524. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +22 -22
  1525. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +41 -41
  1526. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +22 -22
  1527. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -30
  1528. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.d.ts +6 -6
  1529. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +14 -14
  1530. package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +43 -43
  1531. package/lib/view/settingsView/epic/fetchMyProfileEpic.js +50 -50
  1532. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.d.ts +7 -7
  1533. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +17 -17
  1534. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +17 -17
  1535. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +23 -23
  1536. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +31 -31
  1537. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +70 -70
  1538. package/lib/view/settingsView/settingsViewHelpers.d.ts +12 -12
  1539. package/lib/view/settingsView/settingsViewHelpers.js +116 -116
  1540. package/lib/view/settingsView/settingsViewPayload.d.ts +15 -15
  1541. package/lib/view/settingsView/settingsViewPayload.js +2 -2
  1542. package/lib/view/settingsView/settingsViewReducer.d.ts +18 -18
  1543. package/lib/view/settingsView/settingsViewReducer.js +184 -184
  1544. package/lib/view/settingsView/settingsViewSelector.d.ts +16 -16
  1545. package/lib/view/settingsView/settingsViewSelector.js +122 -122
  1546. package/lib/view/settingsView/settingsViewState.d.ts +30 -30
  1547. package/lib/view/settingsView/settingsViewState.js +17 -17
  1548. package/lib/view/settingsView/types/settingsViewSelectorTypes.d.ts +29 -29
  1549. package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -2
  1550. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +58 -58
  1551. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.js +2 -2
  1552. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.d.ts +50 -50
  1553. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +252 -252
  1554. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +79 -79
  1555. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +316 -316
  1556. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.d.ts +20 -20
  1557. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +41 -41
  1558. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.d.ts +11 -11
  1559. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +54 -54
  1560. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.d.ts +13 -13
  1561. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +78 -78
  1562. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.d.ts +10 -10
  1563. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +66 -66
  1564. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +41 -41
  1565. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +161 -161
  1566. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.d.ts +12 -12
  1567. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +69 -69
  1568. package/lib/view/spendManagement/billPay/billList/billListPayload.d.ts +31 -31
  1569. package/lib/view/spendManagement/billPay/billList/billListPayload.js +2 -2
  1570. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +34 -34
  1571. package/lib/view/spendManagement/billPay/billList/billListReducer.js +163 -163
  1572. package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +35 -35
  1573. package/lib/view/spendManagement/billPay/billList/billListSelector.js +426 -426
  1574. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +54 -54
  1575. package/lib/view/spendManagement/billPay/billList/billListState.js +66 -66
  1576. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.d.ts +7 -7
  1577. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +42 -42
  1578. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.d.ts +11 -11
  1579. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +49 -49
  1580. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +123 -123
  1581. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +261 -261
  1582. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.d.ts +7 -7
  1583. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +110 -110
  1584. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.d.ts +13 -13
  1585. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.js +40 -40
  1586. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +92 -92
  1587. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +90 -90
  1588. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.d.ts +7 -7
  1589. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +29 -29
  1590. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +18 -18
  1591. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -2
  1592. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.d.ts +19 -19
  1593. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +87 -87
  1594. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +33 -33
  1595. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +169 -169
  1596. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewState.d.ts +12 -12
  1597. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewState.js +11 -11
  1598. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.d.ts +8 -8
  1599. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +42 -42
  1600. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +12 -12
  1601. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -2
  1602. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.d.ts +39 -39
  1603. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +233 -233
  1604. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.d.ts +4 -4
  1605. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +99 -99
  1606. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.d.ts +30 -30
  1607. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.js +2 -2
  1608. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.d.ts +13 -13
  1609. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.js +2 -2
  1610. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.d.ts +10 -10
  1611. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +40 -40
  1612. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.d.ts +7 -7
  1613. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +29 -29
  1614. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.d.ts +9 -9
  1615. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -40
  1616. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.d.ts +9 -9
  1617. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +42 -42
  1618. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.d.ts +5 -5
  1619. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +37 -37
  1620. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.d.ts +10 -10
  1621. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +67 -67
  1622. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +19 -19
  1623. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +50 -50
  1624. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.d.ts +17 -17
  1625. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.js +2 -2
  1626. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +6 -6
  1627. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -2
  1628. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.d.ts +14 -14
  1629. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +106 -106
  1630. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.d.ts +16 -16
  1631. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +29 -29
  1632. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.d.ts +9 -9
  1633. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.js +2 -2
  1634. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.d.ts +16 -16
  1635. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +70 -70
  1636. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.d.ts +11 -11
  1637. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -44
  1638. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.d.ts +11 -11
  1639. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -44
  1640. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +10 -10
  1641. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -2
  1642. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.d.ts +93 -93
  1643. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +39 -39
  1644. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +70 -70
  1645. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +322 -322
  1646. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +141 -141
  1647. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +594 -594
  1648. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +110 -110
  1649. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +72 -72
  1650. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.d.ts +7 -7
  1651. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +88 -88
  1652. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.d.ts +13 -13
  1653. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +58 -58
  1654. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +14 -14
  1655. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +94 -94
  1656. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.d.ts +14 -14
  1657. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +39 -39
  1658. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.d.ts +15 -15
  1659. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +214 -214
  1660. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.d.ts +14 -14
  1661. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +406 -406
  1662. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +17 -17
  1663. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +255 -255
  1664. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.d.ts +11 -11
  1665. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +116 -116
  1666. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.d.ts +10 -10
  1667. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +117 -117
  1668. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.d.ts +9 -9
  1669. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -59
  1670. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.d.ts +7 -7
  1671. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -54
  1672. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.d.ts +8 -8
  1673. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +41 -41
  1674. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.d.ts +6 -6
  1675. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +49 -49
  1676. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.d.ts +51 -51
  1677. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.js +14 -14
  1678. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.d.ts +49 -49
  1679. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +59 -59
  1680. package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.d.ts +44 -44
  1681. package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +146 -146
  1682. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +12 -12
  1683. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +49 -49
  1684. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.d.ts +7 -7
  1685. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +44 -44
  1686. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.d.ts +7 -7
  1687. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +44 -44
  1688. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.d.ts +7 -7
  1689. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +42 -42
  1690. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.d.ts +7 -7
  1691. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +35 -35
  1692. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.d.ts +8 -8
  1693. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -97
  1694. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +41 -41
  1695. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -2
  1696. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.d.ts +64 -64
  1697. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +273 -273
  1698. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.d.ts +15 -15
  1699. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +57 -57
  1700. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewState.d.ts +15 -15
  1701. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewState.js +2 -2
  1702. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.d.ts +8 -8
  1703. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +66 -66
  1704. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.d.ts +24 -24
  1705. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -2
  1706. package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.d.ts +18 -18
  1707. package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +41 -41
  1708. package/lib/view/spendManagement/billPay/previousBills/previousBillsSelector.d.ts +8 -8
  1709. package/lib/view/spendManagement/billPay/previousBills/previousBillsSelector.js +26 -26
  1710. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.d.ts +10 -10
  1711. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.js +13 -13
  1712. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.d.ts +7 -7
  1713. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -32
  1714. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.d.ts +14 -14
  1715. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +39 -39
  1716. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.d.ts +3 -3
  1717. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -12
  1718. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.d.ts +5 -5
  1719. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.js +2 -2
  1720. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +22 -22
  1721. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js +19 -19
  1722. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.d.ts +7 -7
  1723. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +52 -52
  1724. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.d.ts +23 -23
  1725. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.js +2 -2
  1726. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.d.ts +7 -7
  1727. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -23
  1728. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +24 -24
  1729. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +28 -28
  1730. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +24 -24
  1731. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.js +2 -2
  1732. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +36 -36
  1733. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +108 -108
  1734. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +18 -18
  1735. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +73 -73
  1736. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.d.ts +11 -11
  1737. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +58 -58
  1738. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.d.ts +7 -7
  1739. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +45 -45
  1740. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.d.ts +8 -8
  1741. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +44 -44
  1742. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.d.ts +11 -11
  1743. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -60
  1744. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +41 -41
  1745. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +54 -54
  1746. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +32 -32
  1747. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.js +2 -2
  1748. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +20 -20
  1749. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +118 -118
  1750. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +31 -31
  1751. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +92 -92
  1752. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.d.ts +10 -10
  1753. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +26 -26
  1754. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +9 -9
  1755. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +51 -51
  1756. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.d.ts +7 -7
  1757. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -23
  1758. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.d.ts +11 -11
  1759. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +65 -65
  1760. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +6 -6
  1761. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -2
  1762. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.d.ts +13 -13
  1763. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +89 -89
  1764. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +18 -18
  1765. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +33 -33
  1766. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +9 -9
  1767. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.js +2 -2
  1768. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.d.ts +11 -11
  1769. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +44 -44
  1770. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.d.ts +16 -16
  1771. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +70 -70
  1772. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +10 -10
  1773. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -2
  1774. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +28 -28
  1775. package/lib/view/spendManagement/commonHistoryView/commonHistory.js +33 -33
  1776. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.d.ts +26 -26
  1777. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +22 -22
  1778. package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.d.ts +22 -22
  1779. package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +54 -54
  1780. package/lib/view/spendManagement/commonHistoryView/commonHistorySelector.d.ts +8 -8
  1781. package/lib/view/spendManagement/commonHistoryView/commonHistorySelector.js +20 -20
  1782. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.d.ts +7 -7
  1783. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +61 -61
  1784. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.d.ts +9 -9
  1785. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.js +33 -33
  1786. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.d.ts +9 -9
  1787. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -31
  1788. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.d.ts +10 -10
  1789. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +37 -37
  1790. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.d.ts +10 -10
  1791. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -37
  1792. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.d.ts +13 -13
  1793. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.js +70 -70
  1794. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.d.ts +15 -15
  1795. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -52
  1796. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.d.ts +10 -10
  1797. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +52 -52
  1798. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +25 -25
  1799. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +248 -248
  1800. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +14 -14
  1801. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +135 -135
  1802. package/lib/view/spendManagement/commonSetup/setupViewPayload.d.ts +21 -21
  1803. package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -2
  1804. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +90 -90
  1805. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +623 -623
  1806. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +58 -58
  1807. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +132 -132
  1808. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +93 -93
  1809. package/lib/view/spendManagement/commonSetup/setupViewState.js +9 -9
  1810. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +67 -67
  1811. package/lib/view/spendManagement/commonSetup/types/businessVerification.js +2 -2
  1812. package/lib/view/spendManagement/commonSetup/types/paymentAccount.d.ts +10 -10
  1813. package/lib/view/spendManagement/commonSetup/types/paymentAccount.js +2 -2
  1814. package/lib/view/spendManagement/commonSetup/types/plaidConnection.d.ts +6 -6
  1815. package/lib/view/spendManagement/commonSetup/types/plaidConnection.js +2 -2
  1816. package/lib/view/spendManagement/helpers.d.ts +25 -25
  1817. package/lib/view/spendManagement/helpers.js +262 -262
  1818. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.d.ts +10 -10
  1819. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +31 -31
  1820. package/lib/view/spendManagement/merchantList/merchantListPayload.d.ts +10 -10
  1821. package/lib/view/spendManagement/merchantList/merchantListPayload.js +2 -2
  1822. package/lib/view/spendManagement/merchantList/merchantListReducer.d.ts +8 -8
  1823. package/lib/view/spendManagement/merchantList/merchantListReducer.js +46 -46
  1824. package/lib/view/spendManagement/merchantList/merchantListSelector.d.ts +7 -7
  1825. package/lib/view/spendManagement/merchantList/merchantListSelector.js +13 -13
  1826. package/lib/view/spendManagement/merchantList/merchantListState.d.ts +4 -4
  1827. package/lib/view/spendManagement/merchantList/merchantListState.js +2 -2
  1828. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +8 -8
  1829. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -2
  1830. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.d.ts +22 -22
  1831. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +74 -74
  1832. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.d.ts +8 -8
  1833. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.js +20 -20
  1834. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.d.ts +26 -26
  1835. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.js +14 -14
  1836. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.d.ts +11 -11
  1837. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +127 -127
  1838. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.d.ts +42 -42
  1839. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.js +2 -2
  1840. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.d.ts +93 -93
  1841. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +416 -416
  1842. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +70 -70
  1843. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +176 -176
  1844. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.d.ts +41 -41
  1845. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.js +24 -24
  1846. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.d.ts +7 -7
  1847. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -63
  1848. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +13 -13
  1849. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +78 -78
  1850. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.d.ts +16 -16
  1851. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +127 -127
  1852. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +12 -12
  1853. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +56 -56
  1854. package/lib/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.d.ts +13 -13
  1855. package/lib/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.js +83 -83
  1856. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.d.ts +10 -10
  1857. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +165 -165
  1858. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.d.ts +15 -15
  1859. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +123 -123
  1860. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.d.ts +8 -8
  1861. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -25
  1862. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.d.ts +17 -17
  1863. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.js +20 -20
  1864. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.d.ts +7 -7
  1865. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +53 -53
  1866. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.d.ts +4 -4
  1867. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +22 -22
  1868. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.d.ts +18 -18
  1869. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +10 -10
  1870. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.d.ts +11 -11
  1871. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +57 -57
  1872. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.d.ts +9 -9
  1873. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +66 -66
  1874. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.d.ts +9 -9
  1875. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -55
  1876. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.d.ts +7 -7
  1877. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +66 -66
  1878. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.d.ts +19 -19
  1879. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +116 -116
  1880. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.d.ts +39 -39
  1881. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.js +2 -2
  1882. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.d.ts +53 -53
  1883. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +271 -271
  1884. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.d.ts +71 -71
  1885. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +275 -275
  1886. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.d.ts +28 -28
  1887. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.js +40 -40
  1888. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.d.ts +7 -7
  1889. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -42
  1890. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.d.ts +10 -10
  1891. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +51 -51
  1892. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.d.ts +14 -14
  1893. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +75 -75
  1894. package/lib/view/spendManagement/reimbursement/remiListView/remiListPayload.d.ts +24 -24
  1895. package/lib/view/spendManagement/reimbursement/remiListView/remiListPayload.js +2 -2
  1896. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +34 -34
  1897. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +171 -171
  1898. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.d.ts +33 -33
  1899. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +381 -381
  1900. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +56 -56
  1901. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +85 -85
  1902. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.d.ts +10 -10
  1903. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +40 -40
  1904. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.d.ts +7 -7
  1905. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -29
  1906. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.d.ts +10 -10
  1907. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -40
  1908. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.d.ts +9 -9
  1909. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +42 -42
  1910. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.d.ts +5 -5
  1911. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +37 -37
  1912. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.d.ts +10 -10
  1913. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +67 -67
  1914. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +14 -14
  1915. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -2
  1916. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.d.ts +45 -45
  1917. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +255 -255
  1918. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.d.ts +4 -4
  1919. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +110 -110
  1920. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.d.ts +30 -30
  1921. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.js +2 -2
  1922. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.d.ts +14 -14
  1923. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.js +2 -2
  1924. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.d.ts +16 -16
  1925. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +72 -72
  1926. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.d.ts +16 -16
  1927. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -80
  1928. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +13 -13
  1929. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +41 -41
  1930. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.d.ts +9 -9
  1931. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -38
  1932. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.d.ts +11 -11
  1933. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -44
  1934. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +6 -6
  1935. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -2
  1936. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.d.ts +19 -19
  1937. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +164 -164
  1938. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.d.ts +26 -26
  1939. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +44 -44
  1940. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.d.ts +29 -29
  1941. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +9 -9
  1942. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +14 -14
  1943. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -2
  1944. package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +43 -43
  1945. package/lib/view/spendManagement/spendManagementFilterHelpers.js +328 -328
  1946. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.d.ts +8 -8
  1947. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +49 -49
  1948. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.d.ts +11 -11
  1949. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +43 -43
  1950. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.d.ts +15 -15
  1951. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -32
  1952. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.d.ts +12 -12
  1953. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.js +2 -2
  1954. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.d.ts +12 -12
  1955. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.js +18 -18
  1956. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.d.ts +39 -39
  1957. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +158 -158
  1958. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.d.ts +26 -26
  1959. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +87 -87
  1960. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.d.ts +26 -26
  1961. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.js +30 -30
  1962. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.d.ts +11 -11
  1963. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +53 -53
  1964. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.d.ts +8 -8
  1965. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +36 -36
  1966. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.d.ts +7 -7
  1967. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -38
  1968. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.d.ts +9 -9
  1969. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +68 -68
  1970. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.d.ts +10 -10
  1971. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.js +2 -2
  1972. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.d.ts +17 -17
  1973. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.js +17 -17
  1974. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.d.ts +14 -14
  1975. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +43 -43
  1976. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.d.ts +7 -7
  1977. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js +13 -13
  1978. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.d.ts +9 -9
  1979. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -38
  1980. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +17 -17
  1981. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -2
  1982. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.d.ts +19 -19
  1983. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +49 -49
  1984. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.d.ts +9 -9
  1985. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +26 -26
  1986. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.d.ts +9 -9
  1987. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.js +9 -9
  1988. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.d.ts +8 -8
  1989. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +58 -58
  1990. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.d.ts +9 -9
  1991. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +35 -35
  1992. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.d.ts +5 -5
  1993. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.js +2 -2
  1994. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.d.ts +3 -3
  1995. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -2
  1996. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.d.ts +22 -22
  1997. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +73 -73
  1998. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.d.ts +10 -10
  1999. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js +19 -19
  2000. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.d.ts +8 -8
  2001. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -54
  2002. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +9 -9
  2003. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +2 -2
  2004. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.d.ts +13 -13
  2005. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +69 -69
  2006. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.d.ts +16 -16
  2007. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +72 -72
  2008. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.d.ts +21 -21
  2009. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.js +2 -2
  2010. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.d.ts +9 -9
  2011. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -58
  2012. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.d.ts +10 -10
  2013. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +69 -69
  2014. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.d.ts +9 -9
  2015. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +38 -38
  2016. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.d.ts +4 -4
  2017. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.js +2 -2
  2018. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.d.ts +24 -24
  2019. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +99 -99
  2020. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +22 -22
  2021. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +59 -59
  2022. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.d.ts +22 -22
  2023. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +7 -7
  2024. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.d.ts +11 -11
  2025. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -45
  2026. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.d.ts +16 -16
  2027. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +71 -71
  2028. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +10 -10
  2029. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -2
  2030. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +6 -6
  2031. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -2
  2032. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.d.ts +12 -12
  2033. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +93 -93
  2034. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.d.ts +18 -18
  2035. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +33 -33
  2036. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.d.ts +9 -9
  2037. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.js +2 -2
  2038. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.d.ts +8 -8
  2039. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -33
  2040. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +20 -20
  2041. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +23 -23
  2042. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.d.ts +9 -9
  2043. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +53 -53
  2044. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +14 -14
  2045. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +23 -23
  2046. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +18 -18
  2047. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.js +2 -2
  2048. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.d.ts +8 -8
  2049. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -39
  2050. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.d.ts +8 -8
  2051. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -39
  2052. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.d.ts +7 -7
  2053. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -49
  2054. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.d.ts +12 -12
  2055. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -73
  2056. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.d.ts +22 -22
  2057. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +87 -87
  2058. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.d.ts +8 -8
  2059. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -38
  2060. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.d.ts +7 -7
  2061. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -52
  2062. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.d.ts +5 -5
  2063. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -44
  2064. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.d.ts +7 -7
  2065. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -36
  2066. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.d.ts +11 -11
  2067. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -92
  2068. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.d.ts +3 -3
  2069. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -49
  2070. package/lib/view/subscriptionView/selectorHelpers.d.ts +4 -4
  2071. package/lib/view/subscriptionView/selectorHelpers.js +33 -33
  2072. package/lib/view/subscriptionView/subscriptionEstmiatePayload.d.ts +48 -48
  2073. package/lib/view/subscriptionView/subscriptionEstmiatePayload.js +45 -45
  2074. package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +78 -78
  2075. package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -42
  2076. package/lib/view/subscriptionView/subscriptionViewReducer.d.ts +93 -93
  2077. package/lib/view/subscriptionView/subscriptionViewReducer.js +360 -360
  2078. package/lib/view/subscriptionView/subscriptionViewSelector.d.ts +7 -7
  2079. package/lib/view/subscriptionView/subscriptionViewSelector.js +416 -416
  2080. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.d.ts +56 -56
  2081. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -2
  2082. package/lib/view/subscriptionView/subscriptionViewState.d.ts +64 -64
  2083. package/lib/view/subscriptionView/subscriptionViewState.js +2 -2
  2084. package/lib/view/subscriptionView/types/subscriptionEstmiate.d.ts +32 -32
  2085. package/lib/view/subscriptionView/types/subscriptionEstmiate.js +2 -2
  2086. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +6 -6
  2087. package/lib/view/subscriptionView/types/subscriptionTypes.js +29 -29
  2088. package/lib/view/subscriptionView/types/subscriptionView.d.ts +10 -10
  2089. package/lib/view/subscriptionView/types/subscriptionView.js +2 -2
  2090. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +15 -15
  2091. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +69 -69
  2092. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.d.ts +7 -7
  2093. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +46 -46
  2094. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +9 -9
  2095. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +66 -66
  2096. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.d.ts +8 -8
  2097. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +38 -38
  2098. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.d.ts +7 -7
  2099. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +54 -54
  2100. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.d.ts +6 -6
  2101. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +36 -36
  2102. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +8 -8
  2103. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +79 -79
  2104. package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +28 -28
  2105. package/lib/view/taskManager/taskDetailView/taskDetail.js +31 -31
  2106. package/lib/view/taskManager/taskDetailView/taskDetailReducer.d.ts +54 -54
  2107. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +219 -219
  2108. package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +25 -25
  2109. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +182 -182
  2110. package/lib/view/taskManager/taskListView/fetchTaskListEpic.d.ts +8 -8
  2111. package/lib/view/taskManager/taskListView/fetchTaskListEpic.js +33 -33
  2112. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.d.ts +8 -8
  2113. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.js +32 -32
  2114. package/lib/view/taskManager/taskListView/taskList.d.ts +33 -33
  2115. package/lib/view/taskManager/taskListView/taskList.js +27 -27
  2116. package/lib/view/taskManager/taskListView/taskListPayload.d.ts +6 -6
  2117. package/lib/view/taskManager/taskListView/taskListPayload.js +2 -2
  2118. package/lib/view/taskManager/taskListView/taskListReducer.d.ts +22 -22
  2119. package/lib/view/taskManager/taskListView/taskListReducer.js +88 -88
  2120. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +18 -18
  2121. package/lib/view/taskManager/taskListView/taskListSelector.js +63 -63
  2122. package/lib/view/tasksCard/fetchTasksCardEpic.d.ts +14 -14
  2123. package/lib/view/tasksCard/fetchTasksCardEpic.js +19 -19
  2124. package/lib/view/tasksCard/tasksCardPayload.d.ts +11 -11
  2125. package/lib/view/tasksCard/tasksCardPayload.js +2 -2
  2126. package/lib/view/tasksCard/tasksCardReducer.d.ts +7 -7
  2127. package/lib/view/tasksCard/tasksCardReducer.js +64 -64
  2128. package/lib/view/tasksCard/tasksCardSelector.d.ts +20 -20
  2129. package/lib/view/tasksCard/tasksCardSelector.js +53 -53
  2130. package/lib/view/tasksCard/tasksCardState.d.ts +13 -13
  2131. package/lib/view/tasksCard/tasksCardState.js +2 -2
  2132. package/lib/view/topEx/topExEpic.d.ts +17 -17
  2133. package/lib/view/topEx/topExEpic.js +21 -21
  2134. package/lib/view/topEx/topExPayload.d.ts +23 -23
  2135. package/lib/view/topEx/topExPayload.js +2 -2
  2136. package/lib/view/topEx/topExReducer.d.ts +8 -8
  2137. package/lib/view/topEx/topExReducer.js +85 -85
  2138. package/lib/view/topEx/topExSelector.d.ts +38 -38
  2139. package/lib/view/topEx/topExSelector.js +69 -69
  2140. package/lib/view/topEx/topExSelectorTypes.d.ts +35 -35
  2141. package/lib/view/topEx/topExSelectorTypes.js +2 -2
  2142. package/lib/view/topEx/topExState.d.ts +25 -25
  2143. package/lib/view/topEx/topExState.js +17 -17
  2144. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.d.ts +5 -5
  2145. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -28
  2146. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.d.ts +8 -8
  2147. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +52 -52
  2148. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.d.ts +5 -5
  2149. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -32
  2150. package/lib/view/transactionDetail/epics/saveTransactionHelper.d.ts +21 -21
  2151. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +288 -288
  2152. package/lib/view/transactionDetail/epics/transactionDetailEpic.d.ts +14 -14
  2153. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +130 -130
  2154. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.d.ts +9 -9
  2155. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +214 -214
  2156. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +10 -10
  2157. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +15 -15
  2158. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.d.ts +22 -22
  2159. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +670 -670
  2160. package/lib/view/transactionDetail/transactionDetailPayload.d.ts +34 -34
  2161. package/lib/view/transactionDetail/transactionDetailPayload.js +2 -2
  2162. package/lib/view/transactionDetail/transactionDetailReducer.d.ts +110 -110
  2163. package/lib/view/transactionDetail/transactionDetailReducer.js +380 -380
  2164. package/lib/view/transactionDetail/transactionDetailSelector.d.ts +34 -34
  2165. package/lib/view/transactionDetail/transactionDetailSelector.js +168 -168
  2166. package/lib/view/transactionDetail/transactionDetailState.d.ts +65 -65
  2167. package/lib/view/transactionDetail/transactionDetailState.js +72 -72
  2168. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +54 -54
  2169. package/lib/view/transactionDetail/transactionDetailTypes.js +2 -2
  2170. package/lib/view/transactionList/fetchTransactionListByAccountEpic.d.ts +8 -8
  2171. package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -58
  2172. package/lib/view/transactionList/fetchTransactionListByClassEpic.d.ts +8 -8
  2173. package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -53
  2174. package/lib/view/transactionList/fetchTransactionListByEntityEpic.d.ts +8 -8
  2175. package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +53 -53
  2176. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.d.ts +8 -8
  2177. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -71
  2178. package/lib/view/transactionList/parallelFetchAccountTransactionListEpic.d.ts +12 -12
  2179. package/lib/view/transactionList/parallelFetchAccountTransactionListEpic.js +84 -84
  2180. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.d.ts +12 -12
  2181. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -84
  2182. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +14 -14
  2183. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +90 -90
  2184. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.d.ts +6 -6
  2185. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -36
  2186. package/lib/view/transactionList/reduceTransactionListFetchState.d.ts +3 -3
  2187. package/lib/view/transactionList/reduceTransactionListFetchState.js +43 -43
  2188. package/lib/view/transactionList/transactionListByAccountSelector.d.ts +21 -21
  2189. package/lib/view/transactionList/transactionListByAccountSelector.js +65 -65
  2190. package/lib/view/transactionList/transactionListByCategoryTypeSelector.d.ts +15 -15
  2191. package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +54 -54
  2192. package/lib/view/transactionList/transactionListByClassSelector.d.ts +22 -22
  2193. package/lib/view/transactionList/transactionListByClassSelector.js +66 -66
  2194. package/lib/view/transactionList/transactionListByEntitySelector.d.ts +16 -16
  2195. package/lib/view/transactionList/transactionListByEntitySelector.js +109 -109
  2196. package/lib/view/transactionList/transactionListPayload.d.ts +58 -58
  2197. package/lib/view/transactionList/transactionListPayload.js +2 -2
  2198. package/lib/view/transactionList/transactionListReducer.d.ts +94 -94
  2199. package/lib/view/transactionList/transactionListReducer.js +336 -336
  2200. package/lib/view/transactionList/transactionListState.d.ts +68 -68
  2201. package/lib/view/transactionList/transactionListState.js +50 -50
  2202. package/lib/view/trend/fetchExpenseTrendEpic.d.ts +8 -8
  2203. package/lib/view/trend/fetchExpenseTrendEpic.js +59 -59
  2204. package/lib/view/trend/fetchIncomeTrendEpic.d.ts +7 -7
  2205. package/lib/view/trend/fetchIncomeTrendEpic.js +56 -56
  2206. package/lib/view/trend/trendPayload.d.ts +23 -23
  2207. package/lib/view/trend/trendPayload.js +2 -2
  2208. package/lib/view/trend/trendReducer.d.ts +17 -17
  2209. package/lib/view/trend/trendReducer.js +69 -69
  2210. package/lib/view/trend/trendSelector.d.ts +34 -34
  2211. package/lib/view/trend/trendSelector.js +114 -114
  2212. package/lib/view/trend/trendState.d.ts +7 -7
  2213. package/lib/view/trend/trendState.js +2 -2
  2214. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.d.ts +7 -7
  2215. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -18
  2216. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.d.ts +7 -7
  2217. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -20
  2218. package/lib/view/trendWithTransactions/reduceTrendWithTransactionsState.d.ts +10 -10
  2219. package/lib/view/trendWithTransactions/reduceTrendWithTransactionsState.js +55 -55
  2220. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.d.ts +31 -31
  2221. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +64 -64
  2222. package/lib/view/trendWithTransactions/trendWithTransactionsSelector.d.ts +23 -23
  2223. package/lib/view/trendWithTransactions/trendWithTransactionsSelector.js +60 -60
  2224. package/lib/view/trendWithTransactions/trendWithTransactionsState.d.ts +14 -14
  2225. package/lib/view/trendWithTransactions/trendWithTransactionsState.js +5 -5
  2226. package/lib/view/twoFactorAuthentication/resendOtpEpic.d.ts +10 -10
  2227. package/lib/view/twoFactorAuthentication/resendOtpEpic.js +90 -90
  2228. package/lib/view/twoFactorAuthentication/sendOtpEpic.d.ts +10 -10
  2229. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +93 -93
  2230. package/lib/view/twoFactorAuthentication/twoFactorAuthentication.d.ts +16 -16
  2231. package/lib/view/twoFactorAuthentication/twoFactorAuthentication.js +2 -2
  2232. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.d.ts +19 -19
  2233. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js +11 -11
  2234. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.d.ts +21 -21
  2235. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +101 -101
  2236. package/lib/view/twoFactorAuthentication/verifyOtpEpic.d.ts +10 -10
  2237. package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +90 -90
  2238. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +12 -12
  2239. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +55 -55
  2240. package/lib/view/userFinancialAccount/userFinancialAccountPayload.d.ts +12 -12
  2241. package/lib/view/userFinancialAccount/userFinancialAccountPayload.js +2 -2
  2242. package/lib/view/userFinancialAccount/userFinancialAccountReducer.d.ts +22 -22
  2243. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +84 -84
  2244. package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +14 -14
  2245. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +35 -35
  2246. package/lib/view/userFinancialAccount/userFinancialAccountState.d.ts +12 -12
  2247. package/lib/view/userFinancialAccount/userFinancialAccountState.js +2 -2
  2248. package/lib/view/userListView/fetchUserListByTypeEpic.d.ts +30 -30
  2249. package/lib/view/userListView/fetchUserListByTypeEpic.js +55 -55
  2250. package/lib/view/userListView/userListViewPayload.d.ts +8 -8
  2251. package/lib/view/userListView/userListViewPayload.js +2 -2
  2252. package/lib/view/userListView/userListViewReducer.d.ts +23 -23
  2253. package/lib/view/userListView/userListViewReducer.js +75 -75
  2254. package/lib/view/userListView/userListViewSelector.d.ts +8 -8
  2255. package/lib/view/userListView/userListViewSelector.js +41 -41
  2256. package/lib/view/userListView/userListViewState.d.ts +13 -13
  2257. package/lib/view/userListView/userListViewState.js +2 -2
  2258. package/lib/view/userRoleConfigView/userRoleConfigEpic.d.ts +7 -7
  2259. package/lib/view/userRoleConfigView/userRoleConfigEpic.js +29 -29
  2260. package/lib/view/userRoleConfigView/userRoleConfigPayload.d.ts +6 -6
  2261. package/lib/view/userRoleConfigView/userRoleConfigPayload.js +2 -2
  2262. package/lib/view/userRoleConfigView/userRoleConfigReducer.d.ts +9 -9
  2263. package/lib/view/userRoleConfigView/userRoleConfigReducer.js +45 -45
  2264. package/lib/view/userRoleConfigView/userRoleConfigSelector.d.ts +12 -12
  2265. package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -12
  2266. package/lib/view/userRoleConfigView/userRoleConfigState.d.ts +5 -5
  2267. package/lib/view/userRoleConfigView/userRoleConfigState.js +2 -2
  2268. package/lib/view/vendorList/fetchVendorsListEpic.d.ts +17 -17
  2269. package/lib/view/vendorList/fetchVendorsListEpic.js +95 -95
  2270. package/lib/view/vendorList/vendorListPayload.d.ts +23 -23
  2271. package/lib/view/vendorList/vendorListPayload.js +2 -2
  2272. package/lib/view/vendorList/vendorListReducer.d.ts +32 -32
  2273. package/lib/view/vendorList/vendorListReducer.js +143 -143
  2274. package/lib/view/vendorList/vendorListSelector.d.ts +29 -29
  2275. package/lib/view/vendorList/vendorListSelector.js +78 -78
  2276. package/lib/view/vendorList/vendorListState.d.ts +32 -32
  2277. package/lib/view/vendorList/vendorListState.js +2 -2
  2278. package/lib/view/vendorReviewView/common/payload/commonTypes.d.ts +20 -20
  2279. package/lib/view/vendorReviewView/common/payload/commonTypes.js +93 -93
  2280. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +28 -28
  2281. package/lib/view/vendorReviewView/common/state/commonTypes.js +88 -88
  2282. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.d.ts +17 -17
  2283. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -94
  2284. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.d.ts +10 -10
  2285. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +201 -201
  2286. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +59 -59
  2287. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js +20 -20
  2288. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +51 -51
  2289. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +260 -260
  2290. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +39 -39
  2291. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +97 -97
  2292. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +49 -49
  2293. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +14 -14
  2294. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.d.ts +7 -7
  2295. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +119 -119
  2296. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.d.ts +17 -17
  2297. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -96
  2298. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.d.ts +7 -7
  2299. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +92 -92
  2300. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.d.ts +53 -53
  2301. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +14 -14
  2302. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.d.ts +34 -34
  2303. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +237 -237
  2304. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.d.ts +22 -22
  2305. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +58 -58
  2306. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +33 -33
  2307. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +14 -14
  2308. package/lib/view/vendorTypeList/vendorTypeListEpic.d.ts +7 -7
  2309. package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -23
  2310. package/lib/view/vendorTypeList/vendorTypeListPayload.d.ts +9 -9
  2311. package/lib/view/vendorTypeList/vendorTypeListPayload.js +2 -2
  2312. package/lib/view/vendorTypeList/vendorTypeListReducer.d.ts +7 -7
  2313. package/lib/view/vendorTypeList/vendorTypeListReducer.js +38 -38
  2314. package/lib/view/vendorTypeList/vendorTypeListState.d.ts +5 -5
  2315. package/lib/view/vendorTypeList/vendorTypeListState.js +2 -2
  2316. package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +12 -12
  2317. package/lib/view/vendorTypeList/vendorTypeSelector.js +12 -12
  2318. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.d.ts +7 -7
  2319. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +37 -37
  2320. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.d.ts +7 -7
  2321. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -37
  2322. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +17 -17
  2323. package/lib/view/zeniAccStatementList/zeniAccStatementList.js +11 -11
  2324. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.d.ts +9 -9
  2325. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.js +2 -2
  2326. package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.d.ts +20 -20
  2327. package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +71 -71
  2328. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.d.ts +10 -10
  2329. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +40 -40
  2330. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.d.ts +13 -13
  2331. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +20 -20
  2332. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.d.ts +10 -10
  2333. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.js +2 -2
  2334. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.d.ts +7 -7
  2335. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +56 -56
  2336. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +14 -14
  2337. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +18 -18
  2338. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.d.ts +9 -9
  2339. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.js +2 -2
  2340. package/lib/zeniAPI.d.ts +46 -46
  2341. package/lib/zeniAPI.js +63 -63
  2342. package/lib/zeniDayJS.d.ts +38 -38
  2343. package/lib/zeniDayJS.js +147 -147
  2344. package/lib/zeniUrl.d.ts +6 -6
  2345. package/lib/zeniUrl.js +20 -20
  2346. package/package.json +1 -1
@@ -1,670 +1,670 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getChangedLineItemCountFromLocalData = exports.removeEntityRecommendationForLineIdInLocalData = exports.setEntityRecommendationForLineIdInLocalData = exports.toSetAllLineItemsLocalDataIsUpdateAllChecked = exports.toSetAllLineItemsToCategoryClass = exports.toUpdateLineItemsOriginalCategoryClass = exports.toTransactionDetailLocalData = void 0;
4
- const entity_1 = require("../../entity/genericEntity/entity");
5
- const customerTransaction_1 = require("../../entity/transaction/stateTypes/customerTransaction");
6
- const vendorTransaction_1 = require("../../entity/transaction/stateTypes/vendorTransaction");
7
- const transactionDetailState_1 = require("./transactionDetailState");
8
- const toTransactionDetailLocalData = (transaction, vendorId, uncategorizedIncomeExpense) => {
9
- var _a, _b, _c, _d, _e, _f, _g;
10
- const transactionLocal = Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData);
11
- transactionLocal.memo = transaction.memo;
12
- transactionLocal.vendorUpdates =
13
- (0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
14
- ? {
15
- id: vendorId,
16
- name: (_b = (_a = transaction.vendor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : '',
17
- qboId: (_c = transaction.vendor) === null || _c === void 0 ? void 0 : _c.id,
18
- }
19
- : undefined;
20
- transactionLocal.vendorDetails =
21
- (0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
22
- ? {
23
- id: vendorId,
24
- qboId: (_e = (_d = transaction.vendor) === null || _d === void 0 ? void 0 : _d.id) !== null && _e !== void 0 ? _e : '',
25
- name: (_g = (_f = transaction.vendor) === null || _f === void 0 ? void 0 : _f.name) !== null && _g !== void 0 ? _g : '',
26
- }
27
- : undefined;
28
- transactionLocal.lineItemById =
29
- transaction.lines != null && transaction.lines.length > 0
30
- ? buildLineItemById(transaction, uncategorizedIncomeExpense, transaction.recommendations)
31
- : {};
32
- return transactionLocal;
33
- };
34
- exports.toTransactionDetailLocalData = toTransactionDetailLocalData;
35
- const buildLineItemById = (transaction, uncategorizedIncomeExpense, recommendations) => {
36
- const lineItemData = {};
37
- const { lines } = transaction;
38
- const isJEOrBankDepositTransaction = (0, vendorTransaction_1.isVendorTransaction)(transaction) === false &&
39
- (0, customerTransaction_1.isCustomerTransaction)(transaction) === false;
40
- lines === null || lines === void 0 ? void 0 : lines.forEach((line) => {
41
- var _a, _b, _c, _d;
42
- if (line.type === 'transaction_with_account_and_class_line' ||
43
- line.type === 'transaction_with_product_or_service_line' ||
44
- line.type === 'journal_entry_transaction_line') {
45
- const record = Object.assign(Object.assign({}, line), { isCategoryMiscategorized: (_a = line
46
- .isCategoryMiscategorized) !== null && _a !== void 0 ? _a : false, isClassMiscategorized: (_b = line.isClassMiscategorized) !== null && _b !== void 0 ? _b : false });
47
- const accountLine = line;
48
- const lineId = line.id;
49
- const isVendorOrCustomerPresent = isJEOrBankDepositTransaction === true
50
- ? line.vendor != null ||
51
- line.customer != null
52
- : transaction.vendor != null ||
53
- transaction.customer != null;
54
- record.account = accountLine.account;
55
- record.class = accountLine.class;
56
- record.customer = accountLine.customer;
57
- record.billable = accountLine.billable;
58
- if (recommendations != null) {
59
- record.recommendations = recommendations[lineId];
60
- const recommendation = recommendations[lineId];
61
- const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_c = accountLine.isCategoryMiscategorized) !== null && _c !== void 0 ? _c : false, (_d = accountLine.isClassMiscategorized) !== null && _d !== void 0 ? _d : false, recommendation, accountLine.account, accountLine.class, uncategorizedIncomeExpense);
62
- // TODO: comparing with qboId because backend temporarily required us to compare
63
- // class and account based on qbo id. This should ideally be based on accountId/ClassId
64
- if (Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) &&
65
- (recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId) {
66
- record.isRecommendedCategorySelected = false;
67
- record.recommendedAccount = recommendedAccount;
68
- record.isCategoryUpdateSelected = false;
69
- }
70
- if (accountLine.isCategoryMiscategorized &&
71
- Boolean(accountLine.account.qboId) &&
72
- Boolean(isVendorOrCustomerPresent)) {
73
- record.retainedAccount =
74
- (isAccountUncategorized === null || isAccountUncategorized === void 0 ? void 0 : isAccountUncategorized(uncategorizedIncomeExpense, accountLine.account.qboId)) === false
75
- ? accountLine.account
76
- : undefined;
77
- record.isRetainedCategorySelected = false;
78
- }
79
- if (Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) &&
80
- (recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId) {
81
- record.isRecommendedClassSelected = false;
82
- record.recommendedClass = recommendedClass;
83
- record.isClassUpdateSelected = false;
84
- }
85
- if (accountLine.isClassMiscategorized &&
86
- Boolean(accountLine.class.qboId) &&
87
- Boolean(isVendorOrCustomerPresent)) {
88
- record.retainedClass = accountLine.class;
89
- record.isRetainedClassSelected = false;
90
- }
91
- }
92
- if (line.platformLineDetailType === 'deposit_line_detail') {
93
- record.lineEntity = toLineEntity(line);
94
- }
95
- if (line.type === 'transaction_with_product_or_service_line') {
96
- const lineRecord = line;
97
- record.item = lineRecord.item;
98
- record.lineDetailType = lineRecord.lineDetailType;
99
- }
100
- if (line.type === 'journal_entry_transaction_line') {
101
- const lineRecord = line;
102
- record.lineTransactionType = lineRecord.lineTransactionType;
103
- record.postingType = lineRecord.postingType;
104
- record.postingTypeName = lineRecord.postingTypeName;
105
- record.lineEntity = toLineEntity(lineRecord);
106
- }
107
- lineItemData[line.id] = record;
108
- }
109
- if (line.type === 'linked_transaction_line') {
110
- const linkedRecord = line;
111
- lineItemData[line.id] = Object.assign(Object.assign({}, linkedRecord), { isCategoryMiscategorized: false, isClassMiscategorized: false });
112
- }
113
- if (line.type === 'transaction_info_line') {
114
- const infoRecord = line;
115
- lineItemData[line.id] = Object.assign(Object.assign({}, infoRecord), { isCategoryMiscategorized: false, isClassMiscategorized: false });
116
- }
117
- });
118
- return lineItemData;
119
- };
120
- const toLineEntity = (lineRecord) => {
121
- // TODO - having to convert the object as Entity since this is what is returned
122
- // by the API - since we do not want to touch VendorBase and add qboID,
123
- // making this hack where it is cast as entity - if QBO id is present
124
- // that will be used, else the ID will be replaced everywhere
125
- if (lineRecord.customer != null) {
126
- const entity = lineRecord.customer;
127
- return Object.assign(Object.assign({}, lineRecord.customer), { type: (0, entity_1.toEntityType)('customer'), zeniId: entity.zeniId != null ? entity.zeniId : lineRecord.customer.id, qboId: entity.qboId != null ? entity.qboId : lineRecord.customer.id });
128
- }
129
- if (lineRecord.vendor != null) {
130
- const entity = lineRecord.vendor;
131
- return Object.assign(Object.assign({}, lineRecord.vendor), { type: (0, entity_1.toEntityType)('vendor'), zeniId: entity.zeniId != null ? entity.zeniId : lineRecord.vendor.id, qboId: entity.qboId != null ? entity.qboId : lineRecord.vendor.id });
132
- }
133
- return;
134
- };
135
- const getRecommendedCategoryClass = (isCategoryMiscategorized, isClassMiscategorized, recommendation, account, classObj, uncategorizedIncomeExpense) => {
136
- let recommendedAccount;
137
- let recommendedClass;
138
- // Note: Recommended account/class will always be the first non-matching (with line account/class) value.
139
- let isLineItemClassCorrectlyCategorized = false;
140
- let isLineItemCategoryCorrectlyCategorized = false;
141
- recommendation === null || recommendation === void 0 ? void 0 : recommendation.forEach((rec) => {
142
- if (rec.account != null &&
143
- rec.account.qboId !== (account === null || account === void 0 ? void 0 : account.qboId) &&
144
- recommendedAccount == undefined) {
145
- recommendedAccount = rec.account;
146
- }
147
- if (rec.class != null &&
148
- rec.class.qboId !== (classObj === null || classObj === void 0 ? void 0 : classObj.qboId) &&
149
- recommendedClass == undefined) {
150
- recommendedClass = rec.class;
151
- }
152
- // Note: In case of uncat transactions, if class is correctly categorized,
153
- // i.e line item class is equal to 1st recommended class, then no class recommendation should be shwown
154
- if ((isClassMiscategorized === false ||
155
- isAccountUncategorized(uncategorizedIncomeExpense, account === null || account === void 0 ? void 0 : account.qboId)) &&
156
- rec.class != null &&
157
- rec.class.qboId === (classObj === null || classObj === void 0 ? void 0 : classObj.qboId)) {
158
- isLineItemClassCorrectlyCategorized = true;
159
- }
160
- // Note: In case of uncat transactions, if category is correctly categorized,
161
- // i.e line item c ategory is equal to 1st recommended category, then no category recommendation should be shwown
162
- if (isCategoryMiscategorized === false &&
163
- rec.account != null &&
164
- rec.account.qboId === (account === null || account === void 0 ? void 0 : account.qboId)) {
165
- isLineItemCategoryCorrectlyCategorized = true;
166
- }
167
- });
168
- if (isLineItemClassCorrectlyCategorized) {
169
- recommendedClass = undefined;
170
- }
171
- if (isLineItemCategoryCorrectlyCategorized) {
172
- recommendedAccount = undefined;
173
- }
174
- return {
175
- recommendedAccount,
176
- recommendedClass,
177
- };
178
- };
179
- const toUpdateLineItemsOriginalCategoryClass = (transaction, transactionDetailLocalData, lineIdsForReplace, lineIdsForUpdateAll, replace, updateAll) => {
180
- const isLineIdInReplaceList = (findLineID) => lineIdsForReplace.find((lineId) => findLineID === lineId);
181
- const isLineIdInUpdateList = (findLineID) => lineIdsForUpdateAll.find((lineId) => findLineID === lineId);
182
- const newLineItems = {};
183
- const checkIfNotJEAndDeposit = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
184
- (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
185
- if (transaction.lines != null) {
186
- // always preserving the order of the line items. hence iterating over this
187
- transaction.lines.forEach((line) => {
188
- var _a, _b, _c;
189
- if (line.type === 'transaction_with_account_and_class_line' ||
190
- line.type === 'transaction_with_product_or_service_line' ||
191
- line.type === 'journal_entry_transaction_line') {
192
- const accountLine = line;
193
- const lineId = line.id;
194
- const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
195
- const isVendorOrCustomerPresent = record.vendor != null || record.customer != null;
196
- if (isLineIdInReplaceList(line.id) != null) {
197
- if (checkIfNotJEAndDeposit === true) {
198
- record.recommendations =
199
- (_a = transactionDetailLocalData.lineItemById) === null || _a === void 0 ? void 0 : _a[lineId].recommendations;
200
- }
201
- const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_b = accountLine.isCategoryMiscategorized) !== null && _b !== void 0 ? _b : false, (_c = accountLine.isClassMiscategorized) !== null && _c !== void 0 ? _c : false, record.recommendations, accountLine.account, accountLine.class);
202
- const updateCategory = () => {
203
- var _a, _b;
204
- if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId &&
205
- Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
206
- record.account = accountLine.account;
207
- record.isRecommendedCategorySelected = false;
208
- record.recommendedAccount = recommendedAccount;
209
- record.isCategoryUpdateSelected = false;
210
- if (accountLine.isCategoryMiscategorized &&
211
- Boolean(accountLine.account.qboId) &&
212
- Boolean(isVendorOrCustomerPresent)) {
213
- record.retainedAccount = accountLine.account;
214
- record.isRetainedCategorySelected = false;
215
- }
216
- }
217
- else if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) === accountLine.account.qboId &&
218
- Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
219
- record.account = accountLine.account;
220
- record.isRecommendedCategorySelected = false;
221
- record.isCategoryUpdateSelected = false;
222
- if (accountLine.isCategoryMiscategorized &&
223
- Boolean(accountLine.account.qboId) &&
224
- Boolean(isVendorOrCustomerPresent)) {
225
- record.retainedAccount = recommendedAccount;
226
- record.isRetainedCategorySelected = false;
227
- }
228
- }
229
- if (((_a = transactionDetailLocalData.vendorDetails) === null || _a === void 0 ? void 0 : _a.id) !=
230
- ((_b = transactionDetailLocalData.vendorUpdates) === null || _b === void 0 ? void 0 : _b.id)) {
231
- record.recommendedAccount =
232
- transactionDetailLocalData.lineItemById[lineId].recommendedAccount;
233
- }
234
- };
235
- const updateClass = () => {
236
- var _a, _b;
237
- if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId &&
238
- Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
239
- record.class = accountLine.class;
240
- record.isRecommendedClassSelected = false;
241
- record.recommendedClass = recommendedClass;
242
- record.isClassUpdateSelected = false;
243
- if (accountLine.isClassMiscategorized &&
244
- Boolean(accountLine.class.qboId) &&
245
- Boolean(isVendorOrCustomerPresent)) {
246
- record.retainedClass = accountLine.class;
247
- record.isRetainedClassSelected = false;
248
- }
249
- }
250
- else if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) === accountLine.account.qboId &&
251
- Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
252
- record.class = accountLine.class;
253
- record.isRecommendedClassSelected = false;
254
- record.recommendedClass = recommendedClass;
255
- record.isClassUpdateSelected = false;
256
- if (accountLine.isClassMiscategorized &&
257
- Boolean(accountLine.class.qboId) &&
258
- Boolean(isVendorOrCustomerPresent)) {
259
- record.retainedClass = recommendedClass;
260
- record.isRetainedClassSelected = false;
261
- }
262
- }
263
- if (((_a = transactionDetailLocalData.vendorDetails) === null || _a === void 0 ? void 0 : _a.id) !=
264
- ((_b = transactionDetailLocalData.vendorUpdates) === null || _b === void 0 ? void 0 : _b.id)) {
265
- record.recommendedClass =
266
- transactionDetailLocalData.lineItemById[lineId].recommendedClass;
267
- }
268
- };
269
- switch (replace) {
270
- case 'account':
271
- updateCategory();
272
- break;
273
- case 'class':
274
- updateClass();
275
- break;
276
- case 'both': {
277
- updateCategory();
278
- updateClass();
279
- break;
280
- }
281
- }
282
- if (line.type === 'transaction_with_product_or_service_line') {
283
- const lineRecord = transactionDetailLocalData.lineItemById[lineId];
284
- record.item = lineRecord.item;
285
- record.lineDetailType = lineRecord.lineDetailType;
286
- }
287
- if (line.type === 'journal_entry_transaction_line') {
288
- const lineRecord = transactionDetailLocalData.lineItemById[lineId];
289
- record.lineTransactionType = lineRecord.lineTransactionType;
290
- record.postingType = lineRecord.postingType;
291
- record.postingTypeName = lineRecord.postingTypeName;
292
- record.lineEntity = toLineEntity(lineRecord);
293
- }
294
- if (updateAll != null) {
295
- record.isUpdateAllChecked = updateAll;
296
- }
297
- }
298
- if (isLineIdInUpdateList(line.id) != null) {
299
- record.isUpdateAllChecked = updateAll;
300
- }
301
- newLineItems[lineId] = record;
302
- }
303
- else {
304
- newLineItems[line.id] =
305
- transactionDetailLocalData.lineItemById[line.id] != null
306
- ? Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[line.id]), { isCategoryMiscategorized: false, isClassMiscategorized: false }) : Object.assign(Object.assign({}, line), { isCategoryMiscategorized: false, isClassMiscategorized: false });
307
- }
308
- });
309
- }
310
- const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
311
- return newLocalData;
312
- };
313
- exports.toUpdateLineItemsOriginalCategoryClass = toUpdateLineItemsOriginalCategoryClass;
314
- const toSetAllLineItemsToCategoryClass = (transaction, transactionDetailLocalData, isUpdateAll, lineEntity, chosenAccount, chosenClass, recommendations) => {
315
- const newLineItems = {};
316
- const updateAllLines = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
317
- (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
318
- if (transaction.lines != null) {
319
- // always preserving the order of the line items. hence iterating over this
320
- transaction.lines.forEach((line) => {
321
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
322
- if (line.type === 'transaction_with_account_and_class_line' ||
323
- line.type === 'transaction_with_product_or_service_line' ||
324
- line.type === 'journal_entry_transaction_line') {
325
- const lineId = line.id;
326
- const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
327
- if (updateAllLines === true || isEntityMatching(lineEntity, record)) {
328
- if (updateAllLines !== true) {
329
- record.recommendations = recommendations;
330
- }
331
- if ((chosenAccount === null || chosenAccount === void 0 ? void 0 : chosenAccount.account) != null) {
332
- record.account = chosenAccount === null || chosenAccount === void 0 ? void 0 : chosenAccount.account;
333
- }
334
- if (chosenAccount != null &&
335
- chosenAccount.updateOrRetain === 'update' &&
336
- ((_a = record.account) === null || _a === void 0 ? void 0 : _a.qboId) === ((_b = record.recommendedAccount) === null || _b === void 0 ? void 0 : _b.qboId) &&
337
- Boolean((_c = record.account) === null || _c === void 0 ? void 0 : _c.qboId)) {
338
- record.isRecommendedCategorySelected = true;
339
- record.isCategoryUpdateSelected = true;
340
- }
341
- else {
342
- record.isRecommendedCategorySelected = false;
343
- record.isCategoryUpdateSelected = false;
344
- }
345
- if (chosenAccount != null &&
346
- chosenAccount.updateOrRetain === 'retain' &&
347
- ((_d = record.account) === null || _d === void 0 ? void 0 : _d.qboId) === ((_e = record.retainedAccount) === null || _e === void 0 ? void 0 : _e.qboId) &&
348
- Boolean((_f = record.account) === null || _f === void 0 ? void 0 : _f.qboId)) {
349
- record.isRetainedCategorySelected = true;
350
- }
351
- else {
352
- record.isRetainedCategorySelected = false;
353
- }
354
- if ((chosenClass === null || chosenClass === void 0 ? void 0 : chosenClass.classBase) != null) {
355
- record.class = chosenClass === null || chosenClass === void 0 ? void 0 : chosenClass.classBase;
356
- }
357
- if (chosenClass != null &&
358
- chosenClass.updateOrRetain === 'update' &&
359
- ((_g = record.class) === null || _g === void 0 ? void 0 : _g.qboId) === ((_h = record.recommendedClass) === null || _h === void 0 ? void 0 : _h.qboId) &&
360
- Boolean((_j = record.class) === null || _j === void 0 ? void 0 : _j.qboId)) {
361
- record.isRecommendedClassSelected = true;
362
- record.isClassUpdateSelected = true;
363
- }
364
- else {
365
- record.isRecommendedClassSelected = false;
366
- record.isClassUpdateSelected = false;
367
- }
368
- if (chosenClass != null &&
369
- chosenClass.updateOrRetain === 'retain' &&
370
- ((_k = record.class) === null || _k === void 0 ? void 0 : _k.qboId) === ((_l = record.retainedClass) === null || _l === void 0 ? void 0 : _l.qboId) &&
371
- Boolean((_m = record.class) === null || _m === void 0 ? void 0 : _m.qboId)) {
372
- record.isRetainedClassSelected = true;
373
- }
374
- else {
375
- record.isRetainedClassSelected = false;
376
- }
377
- record.isUpdateAllChecked = isUpdateAll;
378
- if (line.type === 'transaction_with_product_or_service_line') {
379
- const lineRecord = transactionDetailLocalData.lineItemById[lineId];
380
- record.item = lineRecord.item;
381
- record.lineDetailType = lineRecord.lineDetailType;
382
- }
383
- if (line.type === 'journal_entry_transaction_line') {
384
- const lineRecord = transactionDetailLocalData.lineItemById[lineId];
385
- record.lineTransactionType = lineRecord.lineTransactionType;
386
- record.postingType = lineRecord.postingType;
387
- record.postingTypeName = lineRecord.postingTypeName;
388
- record.lineEntity = toLineEntity(lineRecord);
389
- }
390
- newLineItems[lineId] = record;
391
- }
392
- else {
393
- newLineItems[lineId] = record;
394
- }
395
- }
396
- else {
397
- newLineItems[line.id] = Object.assign({}, transactionDetailLocalData.lineItemById[line.id]);
398
- }
399
- });
400
- }
401
- const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorUpdates: transactionDetailLocalData.vendorUpdates, vendorDetails: transactionDetailLocalData.vendorDetails, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
402
- return newLocalData;
403
- };
404
- exports.toSetAllLineItemsToCategoryClass = toSetAllLineItemsToCategoryClass;
405
- const toSetAllLineItemsLocalDataIsUpdateAllChecked = (transaction, transactionDetailLocalData, isUpdateAll, entity) => {
406
- const newLineItems = {};
407
- const updateAllLines = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
408
- (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
409
- if (transaction.lines != null) {
410
- // always preserving the order of the line items. hence iterating over this
411
- transaction.lines.forEach((line) => {
412
- const lineId = line.id;
413
- if (line.type === 'transaction_with_account_and_class_line' ||
414
- line.type === 'transaction_with_product_or_service_line' ||
415
- line.type === 'journal_entry_transaction_line') {
416
- const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
417
- if (updateAllLines === true || isEntityMatching(entity, record)) {
418
- record.isUpdateAllChecked = isUpdateAll;
419
- }
420
- newLineItems[lineId] = record;
421
- }
422
- else {
423
- newLineItems[lineId] = Object.assign(Object.assign({}, line), { isCategoryMiscategorized: false, isClassMiscategorized: false });
424
- }
425
- });
426
- }
427
- const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
428
- return newLocalData;
429
- };
430
- exports.toSetAllLineItemsLocalDataIsUpdateAllChecked = toSetAllLineItemsLocalDataIsUpdateAllChecked;
431
- const setEntityRecommendationForLineIdInLocalData = (transaction, transactionDetailLocalData, entity, recommendationLineIds, recommendationByLineId, uncategorizedIncomeExpense) => {
432
- const newLineItems = {};
433
- let matchingEntityLineId = undefined;
434
- const checkIfNotJEAndDeposit = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
435
- (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
436
- if (transaction.lines != null) {
437
- // always preserving the order of the line items. hence iterating over this
438
- transaction.lines.forEach((line) => {
439
- var _a, _b;
440
- const lineId = line.id;
441
- const oldRecord = transactionDetailLocalData.lineItemById[lineId];
442
- // check if any line already has this entity
443
- if (recommendationLineIds.includes(lineId)) {
444
- if (line.type === 'transaction_with_account_and_class_line' ||
445
- line.type === 'transaction_with_product_or_service_line' ||
446
- line.type === 'journal_entry_transaction_line') {
447
- const record = Object.assign({}, oldRecord);
448
- const recommendations = recommendationByLineId === null || recommendationByLineId === void 0 ? void 0 : recommendationByLineId[lineId];
449
- const accountLine = line;
450
- record.account = accountLine.account;
451
- record.class = accountLine.class;
452
- if (checkIfNotJEAndDeposit === true) {
453
- record.customer = accountLine.customer;
454
- record.vendor = accountLine.vendor;
455
- }
456
- else {
457
- record.lineEntity = entity;
458
- record.vendor = undefined;
459
- record.customer = undefined;
460
- if (entity.type === 'customer')
461
- record.customer = toLineCustomerOrVendor(entity);
462
- else
463
- record.vendor = toLineCustomerOrVendor(entity);
464
- }
465
- record.billable = accountLine.billable;
466
- record.recommendations = recommendations;
467
- const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_a = accountLine.isCategoryMiscategorized) !== null && _a !== void 0 ? _a : false, (_b = accountLine.isClassMiscategorized) !== null && _b !== void 0 ? _b : false, recommendations, accountLine.account, accountLine.class);
468
- // TODO: comparing with qboId because backend temporarily required us to compare
469
- // class and account based on qbo id. This should ideally be based on accountId/ClassId
470
- if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId &&
471
- Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
472
- record.isRecommendedCategorySelected = false;
473
- record.recommendedAccount = recommendedAccount;
474
- record.isCategoryUpdateSelected = false;
475
- if (accountLine.isCategoryMiscategorized &&
476
- Boolean(accountLine.account.qboId)) {
477
- record.retainedAccount =
478
- (isAccountUncategorized === null || isAccountUncategorized === void 0 ? void 0 : isAccountUncategorized(uncategorizedIncomeExpense, accountLine.account.qboId)) === false
479
- ? accountLine.account
480
- : undefined;
481
- record.isRetainedCategorySelected = false;
482
- }
483
- }
484
- else {
485
- record.isRecommendedCategorySelected = false;
486
- record.recommendedAccount = recommendedAccount;
487
- if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) === accountLine.account.qboId) {
488
- record.recommendedAccount = undefined;
489
- }
490
- record.isCategoryUpdateSelected = false;
491
- if (accountLine.isCategoryMiscategorized &&
492
- Boolean(accountLine.account.qboId)) {
493
- record.retainedAccount = recommendedAccount;
494
- record.isRetainedCategorySelected = false;
495
- }
496
- }
497
- if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId &&
498
- Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
499
- record.isRecommendedClassSelected = false;
500
- record.recommendedClass = recommendedClass;
501
- record.isClassUpdateSelected = false;
502
- if (accountLine.isClassMiscategorized &&
503
- Boolean(accountLine.class.qboId)) {
504
- record.retainedClass = accountLine.class;
505
- record.isRetainedClassSelected = false;
506
- }
507
- }
508
- else {
509
- record.isRecommendedClassSelected = false;
510
- record.recommendedClass = recommendedClass;
511
- if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) === accountLine.class.qboId) {
512
- record.recommendedClass = undefined;
513
- }
514
- record.isClassUpdateSelected = false;
515
- if (accountLine.isClassMiscategorized &&
516
- Boolean(accountLine.class.qboId)) {
517
- record.retainedClass = recommendedClass;
518
- record.isRetainedClassSelected = false;
519
- }
520
- }
521
- if (recommendedAccount == null) {
522
- record.recommendedAccount = recommendedAccount;
523
- }
524
- if (recommendedClass == null) {
525
- record.recommendedClass = recommendedClass;
526
- }
527
- newLineItems[line.id] = record;
528
- }
529
- }
530
- else {
531
- if (isEntityMatching(entity, oldRecord)) {
532
- matchingEntityLineId = lineId;
533
- }
534
- newLineItems[lineId] = oldRecord;
535
- }
536
- });
537
- }
538
- // if we have found a matching entity
539
- if (matchingEntityLineId != null) {
540
- const matchingRecord = transactionDetailLocalData.lineItemById[matchingEntityLineId];
541
- if (Boolean(matchingRecord.isUpdateAllChecked) === true) {
542
- // the selection for the updated line item should be the same as the matching record
543
- const newLineItem = newLineItems[matchingEntityLineId];
544
- newLineItems[matchingEntityLineId] = Object.assign(Object.assign({}, newLineItem), { isUpdateAllChecked: true, isCategoryUpdateSelected: matchingRecord.isCategoryUpdateSelected, isClassUpdateSelected: matchingRecord.isClassUpdateSelected, isRecommendedCategorySelected: matchingRecord.isRecommendedCategorySelected, isRecommendedClassSelected: matchingRecord.isRecommendedClassSelected, isRetainedCategorySelected: matchingRecord.isRetainedCategorySelected, isRetainedClassSelected: matchingRecord.isRetainedCategorySelected, class: matchingRecord.class, account: matchingRecord.account, lineEntity: matchingRecord.lineEntity });
545
- }
546
- }
547
- const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorUpdates: transactionDetailLocalData.vendorUpdates, vendorDetails: transactionDetailLocalData.vendorDetails, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
548
- return newLocalData;
549
- };
550
- exports.setEntityRecommendationForLineIdInLocalData = setEntityRecommendationForLineIdInLocalData;
551
- const removeEntityRecommendationForLineIdInLocalData = (transaction, transactionDetailLocalData, recommendationLineIds) => {
552
- const newLineItems = {};
553
- if (transaction.lines != null) {
554
- // always preserving the order of the line items. hence iterating over this
555
- transaction.lines.forEach((line) => {
556
- const lineId = line.id;
557
- const oldRecord = transactionDetailLocalData.lineItemById[lineId];
558
- // check if any line already has this entity
559
- if (recommendationLineIds.includes(line.id)) {
560
- if (line.type === 'transaction_with_account_and_class_line' ||
561
- line.type === 'transaction_with_product_or_service_line' ||
562
- line.type === 'journal_entry_transaction_line') {
563
- const record = Object.assign({}, oldRecord);
564
- record.isRecommendedCategorySelected = false;
565
- record.isRecommendedClassSelected = false;
566
- record.isRetainedCategorySelected = false;
567
- record.isRetainedClassSelected = false;
568
- record.isUpdateAllChecked = false;
569
- record.recommendedAccount = undefined;
570
- record.retainedAccount = undefined;
571
- record.recommendedClass = undefined;
572
- record.retainedClass = undefined;
573
- record.lineEntity = undefined;
574
- record.customer = undefined;
575
- record.vendor = undefined;
576
- newLineItems[line.id] = record;
577
- }
578
- }
579
- else {
580
- newLineItems[lineId] = oldRecord;
581
- }
582
- });
583
- }
584
- const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
585
- return newLocalData;
586
- };
587
- exports.removeEntityRecommendationForLineIdInLocalData = removeEntityRecommendationForLineIdInLocalData;
588
- const getChangedLineItemCountFromLocalData = (transaction, transactionLocalData) => {
589
- let number = 0;
590
- if (transaction.lines != null) {
591
- transaction.lines.forEach((line) => {
592
- var _a, _b, _c;
593
- let hasCategoryChanged = false;
594
- let hasClassChanged = false;
595
- let hasDescriptionChanged = false;
596
- const lineId = line.id;
597
- if (line.type === 'transaction_with_account_and_class_line' ||
598
- line.type === 'transaction_with_product_or_service_line' ||
599
- line.type === 'journal_entry_transaction_line') {
600
- const accountLineLocal = transactionLocalData.lineItemById[lineId];
601
- const accountLine = line;
602
- hasCategoryChanged =
603
- ((_a = accountLineLocal.account) === null || _a === void 0 ? void 0 : _a.qboId) !== accountLine.account.qboId &&
604
- ((_b = accountLineLocal.account) === null || _b === void 0 ? void 0 : _b.accountId) !== accountLine.account.accountId;
605
- hasClassChanged =
606
- ((_c = accountLineLocal.class) === null || _c === void 0 ? void 0 : _c.qboId) !== accountLine.class.qboId;
607
- }
608
- hasDescriptionChanged =
609
- transactionLocalData.lineItemById[lineId] != null
610
- ? line.lineDescription !==
611
- transactionLocalData.lineItemById[lineId].lineDescription
612
- : false;
613
- if (hasCategoryChanged === true ||
614
- hasClassChanged === true ||
615
- hasDescriptionChanged === true) {
616
- number += 1;
617
- }
618
- });
619
- }
620
- return number;
621
- };
622
- exports.getChangedLineItemCountFromLocalData = getChangedLineItemCountFromLocalData;
623
- const toLineCustomerOrVendor = (entity) => {
624
- return {
625
- id: entity.qboId,
626
- name: entity.name,
627
- };
628
- };
629
- /**
630
- * Since entity could have qbo id or id based on where it was initialized,
631
- * this function is needed to check with either lineEntity or vendor or customer
632
- * @param entity
633
- * @param record
634
- * @returns
635
- */
636
- const isEntityMatching = (entity, record) => {
637
- var _a, _b, _c, _d;
638
- if (entity == null) {
639
- return false;
640
- }
641
- const entityId = (_a = entity.qboId) !== null && _a !== void 0 ? _a : entity.id;
642
- if ((record === null || record === void 0 ? void 0 : record.lineEntity) != null) {
643
- const id = (_c = (_b = record === null || record === void 0 ? void 0 : record.lineEntity) === null || _b === void 0 ? void 0 : _b.qboId) !== null && _c !== void 0 ? _c : (_d = record === null || record === void 0 ? void 0 : record.lineEntity) === null || _d === void 0 ? void 0 : _d.id;
644
- if (id === entityId) {
645
- if (record.vendor != null) {
646
- return entity.type === 'vendor';
647
- }
648
- if (record.customer != null) {
649
- return entity.type === 'customer';
650
- }
651
- }
652
- return false;
653
- }
654
- if (record.vendor != null) {
655
- return record.vendor.id === entityId && entity.type === 'vendor';
656
- }
657
- if (record.customer != null) {
658
- return record.customer.id === entityId && entity.type === 'customer';
659
- }
660
- return false;
661
- };
662
- const isAccountUncategorized = (uncategorizedIncomeExpense, accountQboId) => {
663
- var _a, _b;
664
- if (accountQboId != null &&
665
- (accountQboId === ((_a = uncategorizedIncomeExpense === null || uncategorizedIncomeExpense === void 0 ? void 0 : uncategorizedIncomeExpense.expense) === null || _a === void 0 ? void 0 : _a.qboId) ||
666
- accountQboId === ((_b = uncategorizedIncomeExpense === null || uncategorizedIncomeExpense === void 0 ? void 0 : uncategorizedIncomeExpense.income) === null || _b === void 0 ? void 0 : _b.qboId))) {
667
- return true;
668
- }
669
- return false;
670
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getChangedLineItemCountFromLocalData = exports.removeEntityRecommendationForLineIdInLocalData = exports.setEntityRecommendationForLineIdInLocalData = exports.toSetAllLineItemsLocalDataIsUpdateAllChecked = exports.toSetAllLineItemsToCategoryClass = exports.toUpdateLineItemsOriginalCategoryClass = exports.toTransactionDetailLocalData = void 0;
4
+ const entity_1 = require("../../entity/genericEntity/entity");
5
+ const customerTransaction_1 = require("../../entity/transaction/stateTypes/customerTransaction");
6
+ const vendorTransaction_1 = require("../../entity/transaction/stateTypes/vendorTransaction");
7
+ const transactionDetailState_1 = require("./transactionDetailState");
8
+ const toTransactionDetailLocalData = (transaction, vendorId, uncategorizedIncomeExpense) => {
9
+ var _a, _b, _c, _d, _e, _f, _g;
10
+ const transactionLocal = Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData);
11
+ transactionLocal.memo = transaction.memo;
12
+ transactionLocal.vendorUpdates =
13
+ (0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
14
+ ? {
15
+ id: vendorId,
16
+ name: (_b = (_a = transaction.vendor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : '',
17
+ qboId: (_c = transaction.vendor) === null || _c === void 0 ? void 0 : _c.id,
18
+ }
19
+ : undefined;
20
+ transactionLocal.vendorDetails =
21
+ (0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
22
+ ? {
23
+ id: vendorId,
24
+ qboId: (_e = (_d = transaction.vendor) === null || _d === void 0 ? void 0 : _d.id) !== null && _e !== void 0 ? _e : '',
25
+ name: (_g = (_f = transaction.vendor) === null || _f === void 0 ? void 0 : _f.name) !== null && _g !== void 0 ? _g : '',
26
+ }
27
+ : undefined;
28
+ transactionLocal.lineItemById =
29
+ transaction.lines != null && transaction.lines.length > 0
30
+ ? buildLineItemById(transaction, uncategorizedIncomeExpense, transaction.recommendations)
31
+ : {};
32
+ return transactionLocal;
33
+ };
34
+ exports.toTransactionDetailLocalData = toTransactionDetailLocalData;
35
+ const buildLineItemById = (transaction, uncategorizedIncomeExpense, recommendations) => {
36
+ const lineItemData = {};
37
+ const { lines } = transaction;
38
+ const isJEOrBankDepositTransaction = (0, vendorTransaction_1.isVendorTransaction)(transaction) === false &&
39
+ (0, customerTransaction_1.isCustomerTransaction)(transaction) === false;
40
+ lines === null || lines === void 0 ? void 0 : lines.forEach((line) => {
41
+ var _a, _b, _c, _d;
42
+ if (line.type === 'transaction_with_account_and_class_line' ||
43
+ line.type === 'transaction_with_product_or_service_line' ||
44
+ line.type === 'journal_entry_transaction_line') {
45
+ const record = Object.assign(Object.assign({}, line), { isCategoryMiscategorized: (_a = line
46
+ .isCategoryMiscategorized) !== null && _a !== void 0 ? _a : false, isClassMiscategorized: (_b = line.isClassMiscategorized) !== null && _b !== void 0 ? _b : false });
47
+ const accountLine = line;
48
+ const lineId = line.id;
49
+ const isVendorOrCustomerPresent = isJEOrBankDepositTransaction === true
50
+ ? line.vendor != null ||
51
+ line.customer != null
52
+ : transaction.vendor != null ||
53
+ transaction.customer != null;
54
+ record.account = accountLine.account;
55
+ record.class = accountLine.class;
56
+ record.customer = accountLine.customer;
57
+ record.billable = accountLine.billable;
58
+ if (recommendations != null) {
59
+ record.recommendations = recommendations[lineId];
60
+ const recommendation = recommendations[lineId];
61
+ const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_c = accountLine.isCategoryMiscategorized) !== null && _c !== void 0 ? _c : false, (_d = accountLine.isClassMiscategorized) !== null && _d !== void 0 ? _d : false, recommendation, accountLine.account, accountLine.class, uncategorizedIncomeExpense);
62
+ // TODO: comparing with qboId because backend temporarily required us to compare
63
+ // class and account based on qbo id. This should ideally be based on accountId/ClassId
64
+ if (Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) &&
65
+ (recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId) {
66
+ record.isRecommendedCategorySelected = false;
67
+ record.recommendedAccount = recommendedAccount;
68
+ record.isCategoryUpdateSelected = false;
69
+ }
70
+ if (accountLine.isCategoryMiscategorized &&
71
+ Boolean(accountLine.account.qboId) &&
72
+ Boolean(isVendorOrCustomerPresent)) {
73
+ record.retainedAccount =
74
+ (isAccountUncategorized === null || isAccountUncategorized === void 0 ? void 0 : isAccountUncategorized(uncategorizedIncomeExpense, accountLine.account.qboId)) === false
75
+ ? accountLine.account
76
+ : undefined;
77
+ record.isRetainedCategorySelected = false;
78
+ }
79
+ if (Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) &&
80
+ (recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId) {
81
+ record.isRecommendedClassSelected = false;
82
+ record.recommendedClass = recommendedClass;
83
+ record.isClassUpdateSelected = false;
84
+ }
85
+ if (accountLine.isClassMiscategorized &&
86
+ Boolean(accountLine.class.qboId) &&
87
+ Boolean(isVendorOrCustomerPresent)) {
88
+ record.retainedClass = accountLine.class;
89
+ record.isRetainedClassSelected = false;
90
+ }
91
+ }
92
+ if (line.platformLineDetailType === 'deposit_line_detail') {
93
+ record.lineEntity = toLineEntity(line);
94
+ }
95
+ if (line.type === 'transaction_with_product_or_service_line') {
96
+ const lineRecord = line;
97
+ record.item = lineRecord.item;
98
+ record.lineDetailType = lineRecord.lineDetailType;
99
+ }
100
+ if (line.type === 'journal_entry_transaction_line') {
101
+ const lineRecord = line;
102
+ record.lineTransactionType = lineRecord.lineTransactionType;
103
+ record.postingType = lineRecord.postingType;
104
+ record.postingTypeName = lineRecord.postingTypeName;
105
+ record.lineEntity = toLineEntity(lineRecord);
106
+ }
107
+ lineItemData[line.id] = record;
108
+ }
109
+ if (line.type === 'linked_transaction_line') {
110
+ const linkedRecord = line;
111
+ lineItemData[line.id] = Object.assign(Object.assign({}, linkedRecord), { isCategoryMiscategorized: false, isClassMiscategorized: false });
112
+ }
113
+ if (line.type === 'transaction_info_line') {
114
+ const infoRecord = line;
115
+ lineItemData[line.id] = Object.assign(Object.assign({}, infoRecord), { isCategoryMiscategorized: false, isClassMiscategorized: false });
116
+ }
117
+ });
118
+ return lineItemData;
119
+ };
120
+ const toLineEntity = (lineRecord) => {
121
+ // TODO - having to convert the object as Entity since this is what is returned
122
+ // by the API - since we do not want to touch VendorBase and add qboID,
123
+ // making this hack where it is cast as entity - if QBO id is present
124
+ // that will be used, else the ID will be replaced everywhere
125
+ if (lineRecord.customer != null) {
126
+ const entity = lineRecord.customer;
127
+ return Object.assign(Object.assign({}, lineRecord.customer), { type: (0, entity_1.toEntityType)('customer'), zeniId: entity.zeniId != null ? entity.zeniId : lineRecord.customer.id, qboId: entity.qboId != null ? entity.qboId : lineRecord.customer.id });
128
+ }
129
+ if (lineRecord.vendor != null) {
130
+ const entity = lineRecord.vendor;
131
+ return Object.assign(Object.assign({}, lineRecord.vendor), { type: (0, entity_1.toEntityType)('vendor'), zeniId: entity.zeniId != null ? entity.zeniId : lineRecord.vendor.id, qboId: entity.qboId != null ? entity.qboId : lineRecord.vendor.id });
132
+ }
133
+ return;
134
+ };
135
+ const getRecommendedCategoryClass = (isCategoryMiscategorized, isClassMiscategorized, recommendation, account, classObj, uncategorizedIncomeExpense) => {
136
+ let recommendedAccount;
137
+ let recommendedClass;
138
+ // Note: Recommended account/class will always be the first non-matching (with line account/class) value.
139
+ let isLineItemClassCorrectlyCategorized = false;
140
+ let isLineItemCategoryCorrectlyCategorized = false;
141
+ recommendation === null || recommendation === void 0 ? void 0 : recommendation.forEach((rec) => {
142
+ if (rec.account != null &&
143
+ rec.account.qboId !== (account === null || account === void 0 ? void 0 : account.qboId) &&
144
+ recommendedAccount == undefined) {
145
+ recommendedAccount = rec.account;
146
+ }
147
+ if (rec.class != null &&
148
+ rec.class.qboId !== (classObj === null || classObj === void 0 ? void 0 : classObj.qboId) &&
149
+ recommendedClass == undefined) {
150
+ recommendedClass = rec.class;
151
+ }
152
+ // Note: In case of uncat transactions, if class is correctly categorized,
153
+ // i.e line item class is equal to 1st recommended class, then no class recommendation should be shwown
154
+ if ((isClassMiscategorized === false ||
155
+ isAccountUncategorized(uncategorizedIncomeExpense, account === null || account === void 0 ? void 0 : account.qboId)) &&
156
+ rec.class != null &&
157
+ rec.class.qboId === (classObj === null || classObj === void 0 ? void 0 : classObj.qboId)) {
158
+ isLineItemClassCorrectlyCategorized = true;
159
+ }
160
+ // Note: In case of uncat transactions, if category is correctly categorized,
161
+ // i.e line item c ategory is equal to 1st recommended category, then no category recommendation should be shwown
162
+ if (isCategoryMiscategorized === false &&
163
+ rec.account != null &&
164
+ rec.account.qboId === (account === null || account === void 0 ? void 0 : account.qboId)) {
165
+ isLineItemCategoryCorrectlyCategorized = true;
166
+ }
167
+ });
168
+ if (isLineItemClassCorrectlyCategorized) {
169
+ recommendedClass = undefined;
170
+ }
171
+ if (isLineItemCategoryCorrectlyCategorized) {
172
+ recommendedAccount = undefined;
173
+ }
174
+ return {
175
+ recommendedAccount,
176
+ recommendedClass,
177
+ };
178
+ };
179
+ const toUpdateLineItemsOriginalCategoryClass = (transaction, transactionDetailLocalData, lineIdsForReplace, lineIdsForUpdateAll, replace, updateAll) => {
180
+ const isLineIdInReplaceList = (findLineID) => lineIdsForReplace.find((lineId) => findLineID === lineId);
181
+ const isLineIdInUpdateList = (findLineID) => lineIdsForUpdateAll.find((lineId) => findLineID === lineId);
182
+ const newLineItems = {};
183
+ const checkIfNotJEAndDeposit = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
184
+ (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
185
+ if (transaction.lines != null) {
186
+ // always preserving the order of the line items. hence iterating over this
187
+ transaction.lines.forEach((line) => {
188
+ var _a, _b, _c;
189
+ if (line.type === 'transaction_with_account_and_class_line' ||
190
+ line.type === 'transaction_with_product_or_service_line' ||
191
+ line.type === 'journal_entry_transaction_line') {
192
+ const accountLine = line;
193
+ const lineId = line.id;
194
+ const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
195
+ const isVendorOrCustomerPresent = record.vendor != null || record.customer != null;
196
+ if (isLineIdInReplaceList(line.id) != null) {
197
+ if (checkIfNotJEAndDeposit === true) {
198
+ record.recommendations =
199
+ (_a = transactionDetailLocalData.lineItemById) === null || _a === void 0 ? void 0 : _a[lineId].recommendations;
200
+ }
201
+ const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_b = accountLine.isCategoryMiscategorized) !== null && _b !== void 0 ? _b : false, (_c = accountLine.isClassMiscategorized) !== null && _c !== void 0 ? _c : false, record.recommendations, accountLine.account, accountLine.class);
202
+ const updateCategory = () => {
203
+ var _a, _b;
204
+ if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId &&
205
+ Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
206
+ record.account = accountLine.account;
207
+ record.isRecommendedCategorySelected = false;
208
+ record.recommendedAccount = recommendedAccount;
209
+ record.isCategoryUpdateSelected = false;
210
+ if (accountLine.isCategoryMiscategorized &&
211
+ Boolean(accountLine.account.qboId) &&
212
+ Boolean(isVendorOrCustomerPresent)) {
213
+ record.retainedAccount = accountLine.account;
214
+ record.isRetainedCategorySelected = false;
215
+ }
216
+ }
217
+ else if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) === accountLine.account.qboId &&
218
+ Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
219
+ record.account = accountLine.account;
220
+ record.isRecommendedCategorySelected = false;
221
+ record.isCategoryUpdateSelected = false;
222
+ if (accountLine.isCategoryMiscategorized &&
223
+ Boolean(accountLine.account.qboId) &&
224
+ Boolean(isVendorOrCustomerPresent)) {
225
+ record.retainedAccount = recommendedAccount;
226
+ record.isRetainedCategorySelected = false;
227
+ }
228
+ }
229
+ if (((_a = transactionDetailLocalData.vendorDetails) === null || _a === void 0 ? void 0 : _a.id) !=
230
+ ((_b = transactionDetailLocalData.vendorUpdates) === null || _b === void 0 ? void 0 : _b.id)) {
231
+ record.recommendedAccount =
232
+ transactionDetailLocalData.lineItemById[lineId].recommendedAccount;
233
+ }
234
+ };
235
+ const updateClass = () => {
236
+ var _a, _b;
237
+ if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId &&
238
+ Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
239
+ record.class = accountLine.class;
240
+ record.isRecommendedClassSelected = false;
241
+ record.recommendedClass = recommendedClass;
242
+ record.isClassUpdateSelected = false;
243
+ if (accountLine.isClassMiscategorized &&
244
+ Boolean(accountLine.class.qboId) &&
245
+ Boolean(isVendorOrCustomerPresent)) {
246
+ record.retainedClass = accountLine.class;
247
+ record.isRetainedClassSelected = false;
248
+ }
249
+ }
250
+ else if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) === accountLine.account.qboId &&
251
+ Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
252
+ record.class = accountLine.class;
253
+ record.isRecommendedClassSelected = false;
254
+ record.recommendedClass = recommendedClass;
255
+ record.isClassUpdateSelected = false;
256
+ if (accountLine.isClassMiscategorized &&
257
+ Boolean(accountLine.class.qboId) &&
258
+ Boolean(isVendorOrCustomerPresent)) {
259
+ record.retainedClass = recommendedClass;
260
+ record.isRetainedClassSelected = false;
261
+ }
262
+ }
263
+ if (((_a = transactionDetailLocalData.vendorDetails) === null || _a === void 0 ? void 0 : _a.id) !=
264
+ ((_b = transactionDetailLocalData.vendorUpdates) === null || _b === void 0 ? void 0 : _b.id)) {
265
+ record.recommendedClass =
266
+ transactionDetailLocalData.lineItemById[lineId].recommendedClass;
267
+ }
268
+ };
269
+ switch (replace) {
270
+ case 'account':
271
+ updateCategory();
272
+ break;
273
+ case 'class':
274
+ updateClass();
275
+ break;
276
+ case 'both': {
277
+ updateCategory();
278
+ updateClass();
279
+ break;
280
+ }
281
+ }
282
+ if (line.type === 'transaction_with_product_or_service_line') {
283
+ const lineRecord = transactionDetailLocalData.lineItemById[lineId];
284
+ record.item = lineRecord.item;
285
+ record.lineDetailType = lineRecord.lineDetailType;
286
+ }
287
+ if (line.type === 'journal_entry_transaction_line') {
288
+ const lineRecord = transactionDetailLocalData.lineItemById[lineId];
289
+ record.lineTransactionType = lineRecord.lineTransactionType;
290
+ record.postingType = lineRecord.postingType;
291
+ record.postingTypeName = lineRecord.postingTypeName;
292
+ record.lineEntity = toLineEntity(lineRecord);
293
+ }
294
+ if (updateAll != null) {
295
+ record.isUpdateAllChecked = updateAll;
296
+ }
297
+ }
298
+ if (isLineIdInUpdateList(line.id) != null) {
299
+ record.isUpdateAllChecked = updateAll;
300
+ }
301
+ newLineItems[lineId] = record;
302
+ }
303
+ else {
304
+ newLineItems[line.id] =
305
+ transactionDetailLocalData.lineItemById[line.id] != null
306
+ ? Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[line.id]), { isCategoryMiscategorized: false, isClassMiscategorized: false }) : Object.assign(Object.assign({}, line), { isCategoryMiscategorized: false, isClassMiscategorized: false });
307
+ }
308
+ });
309
+ }
310
+ const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
311
+ return newLocalData;
312
+ };
313
+ exports.toUpdateLineItemsOriginalCategoryClass = toUpdateLineItemsOriginalCategoryClass;
314
+ const toSetAllLineItemsToCategoryClass = (transaction, transactionDetailLocalData, isUpdateAll, lineEntity, chosenAccount, chosenClass, recommendations) => {
315
+ const newLineItems = {};
316
+ const updateAllLines = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
317
+ (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
318
+ if (transaction.lines != null) {
319
+ // always preserving the order of the line items. hence iterating over this
320
+ transaction.lines.forEach((line) => {
321
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
322
+ if (line.type === 'transaction_with_account_and_class_line' ||
323
+ line.type === 'transaction_with_product_or_service_line' ||
324
+ line.type === 'journal_entry_transaction_line') {
325
+ const lineId = line.id;
326
+ const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
327
+ if (updateAllLines === true || isEntityMatching(lineEntity, record)) {
328
+ if (updateAllLines !== true) {
329
+ record.recommendations = recommendations;
330
+ }
331
+ if ((chosenAccount === null || chosenAccount === void 0 ? void 0 : chosenAccount.account) != null) {
332
+ record.account = chosenAccount === null || chosenAccount === void 0 ? void 0 : chosenAccount.account;
333
+ }
334
+ if (chosenAccount != null &&
335
+ chosenAccount.updateOrRetain === 'update' &&
336
+ ((_a = record.account) === null || _a === void 0 ? void 0 : _a.qboId) === ((_b = record.recommendedAccount) === null || _b === void 0 ? void 0 : _b.qboId) &&
337
+ Boolean((_c = record.account) === null || _c === void 0 ? void 0 : _c.qboId)) {
338
+ record.isRecommendedCategorySelected = true;
339
+ record.isCategoryUpdateSelected = true;
340
+ }
341
+ else {
342
+ record.isRecommendedCategorySelected = false;
343
+ record.isCategoryUpdateSelected = false;
344
+ }
345
+ if (chosenAccount != null &&
346
+ chosenAccount.updateOrRetain === 'retain' &&
347
+ ((_d = record.account) === null || _d === void 0 ? void 0 : _d.qboId) === ((_e = record.retainedAccount) === null || _e === void 0 ? void 0 : _e.qboId) &&
348
+ Boolean((_f = record.account) === null || _f === void 0 ? void 0 : _f.qboId)) {
349
+ record.isRetainedCategorySelected = true;
350
+ }
351
+ else {
352
+ record.isRetainedCategorySelected = false;
353
+ }
354
+ if ((chosenClass === null || chosenClass === void 0 ? void 0 : chosenClass.classBase) != null) {
355
+ record.class = chosenClass === null || chosenClass === void 0 ? void 0 : chosenClass.classBase;
356
+ }
357
+ if (chosenClass != null &&
358
+ chosenClass.updateOrRetain === 'update' &&
359
+ ((_g = record.class) === null || _g === void 0 ? void 0 : _g.qboId) === ((_h = record.recommendedClass) === null || _h === void 0 ? void 0 : _h.qboId) &&
360
+ Boolean((_j = record.class) === null || _j === void 0 ? void 0 : _j.qboId)) {
361
+ record.isRecommendedClassSelected = true;
362
+ record.isClassUpdateSelected = true;
363
+ }
364
+ else {
365
+ record.isRecommendedClassSelected = false;
366
+ record.isClassUpdateSelected = false;
367
+ }
368
+ if (chosenClass != null &&
369
+ chosenClass.updateOrRetain === 'retain' &&
370
+ ((_k = record.class) === null || _k === void 0 ? void 0 : _k.qboId) === ((_l = record.retainedClass) === null || _l === void 0 ? void 0 : _l.qboId) &&
371
+ Boolean((_m = record.class) === null || _m === void 0 ? void 0 : _m.qboId)) {
372
+ record.isRetainedClassSelected = true;
373
+ }
374
+ else {
375
+ record.isRetainedClassSelected = false;
376
+ }
377
+ record.isUpdateAllChecked = isUpdateAll;
378
+ if (line.type === 'transaction_with_product_or_service_line') {
379
+ const lineRecord = transactionDetailLocalData.lineItemById[lineId];
380
+ record.item = lineRecord.item;
381
+ record.lineDetailType = lineRecord.lineDetailType;
382
+ }
383
+ if (line.type === 'journal_entry_transaction_line') {
384
+ const lineRecord = transactionDetailLocalData.lineItemById[lineId];
385
+ record.lineTransactionType = lineRecord.lineTransactionType;
386
+ record.postingType = lineRecord.postingType;
387
+ record.postingTypeName = lineRecord.postingTypeName;
388
+ record.lineEntity = toLineEntity(lineRecord);
389
+ }
390
+ newLineItems[lineId] = record;
391
+ }
392
+ else {
393
+ newLineItems[lineId] = record;
394
+ }
395
+ }
396
+ else {
397
+ newLineItems[line.id] = Object.assign({}, transactionDetailLocalData.lineItemById[line.id]);
398
+ }
399
+ });
400
+ }
401
+ const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorUpdates: transactionDetailLocalData.vendorUpdates, vendorDetails: transactionDetailLocalData.vendorDetails, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
402
+ return newLocalData;
403
+ };
404
+ exports.toSetAllLineItemsToCategoryClass = toSetAllLineItemsToCategoryClass;
405
+ const toSetAllLineItemsLocalDataIsUpdateAllChecked = (transaction, transactionDetailLocalData, isUpdateAll, entity) => {
406
+ const newLineItems = {};
407
+ const updateAllLines = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
408
+ (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
409
+ if (transaction.lines != null) {
410
+ // always preserving the order of the line items. hence iterating over this
411
+ transaction.lines.forEach((line) => {
412
+ const lineId = line.id;
413
+ if (line.type === 'transaction_with_account_and_class_line' ||
414
+ line.type === 'transaction_with_product_or_service_line' ||
415
+ line.type === 'journal_entry_transaction_line') {
416
+ const record = Object.assign({}, transactionDetailLocalData.lineItemById[lineId]);
417
+ if (updateAllLines === true || isEntityMatching(entity, record)) {
418
+ record.isUpdateAllChecked = isUpdateAll;
419
+ }
420
+ newLineItems[lineId] = record;
421
+ }
422
+ else {
423
+ newLineItems[lineId] = Object.assign(Object.assign({}, line), { isCategoryMiscategorized: false, isClassMiscategorized: false });
424
+ }
425
+ });
426
+ }
427
+ const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
428
+ return newLocalData;
429
+ };
430
+ exports.toSetAllLineItemsLocalDataIsUpdateAllChecked = toSetAllLineItemsLocalDataIsUpdateAllChecked;
431
+ const setEntityRecommendationForLineIdInLocalData = (transaction, transactionDetailLocalData, entity, recommendationLineIds, recommendationByLineId, uncategorizedIncomeExpense) => {
432
+ const newLineItems = {};
433
+ let matchingEntityLineId = undefined;
434
+ const checkIfNotJEAndDeposit = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
435
+ (0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
436
+ if (transaction.lines != null) {
437
+ // always preserving the order of the line items. hence iterating over this
438
+ transaction.lines.forEach((line) => {
439
+ var _a, _b;
440
+ const lineId = line.id;
441
+ const oldRecord = transactionDetailLocalData.lineItemById[lineId];
442
+ // check if any line already has this entity
443
+ if (recommendationLineIds.includes(lineId)) {
444
+ if (line.type === 'transaction_with_account_and_class_line' ||
445
+ line.type === 'transaction_with_product_or_service_line' ||
446
+ line.type === 'journal_entry_transaction_line') {
447
+ const record = Object.assign({}, oldRecord);
448
+ const recommendations = recommendationByLineId === null || recommendationByLineId === void 0 ? void 0 : recommendationByLineId[lineId];
449
+ const accountLine = line;
450
+ record.account = accountLine.account;
451
+ record.class = accountLine.class;
452
+ if (checkIfNotJEAndDeposit === true) {
453
+ record.customer = accountLine.customer;
454
+ record.vendor = accountLine.vendor;
455
+ }
456
+ else {
457
+ record.lineEntity = entity;
458
+ record.vendor = undefined;
459
+ record.customer = undefined;
460
+ if (entity.type === 'customer')
461
+ record.customer = toLineCustomerOrVendor(entity);
462
+ else
463
+ record.vendor = toLineCustomerOrVendor(entity);
464
+ }
465
+ record.billable = accountLine.billable;
466
+ record.recommendations = recommendations;
467
+ const { recommendedAccount, recommendedClass } = getRecommendedCategoryClass((_a = accountLine.isCategoryMiscategorized) !== null && _a !== void 0 ? _a : false, (_b = accountLine.isClassMiscategorized) !== null && _b !== void 0 ? _b : false, recommendations, accountLine.account, accountLine.class);
468
+ // TODO: comparing with qboId because backend temporarily required us to compare
469
+ // class and account based on qbo id. This should ideally be based on accountId/ClassId
470
+ if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) !== accountLine.account.qboId &&
471
+ Boolean(recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId)) {
472
+ record.isRecommendedCategorySelected = false;
473
+ record.recommendedAccount = recommendedAccount;
474
+ record.isCategoryUpdateSelected = false;
475
+ if (accountLine.isCategoryMiscategorized &&
476
+ Boolean(accountLine.account.qboId)) {
477
+ record.retainedAccount =
478
+ (isAccountUncategorized === null || isAccountUncategorized === void 0 ? void 0 : isAccountUncategorized(uncategorizedIncomeExpense, accountLine.account.qboId)) === false
479
+ ? accountLine.account
480
+ : undefined;
481
+ record.isRetainedCategorySelected = false;
482
+ }
483
+ }
484
+ else {
485
+ record.isRecommendedCategorySelected = false;
486
+ record.recommendedAccount = recommendedAccount;
487
+ if ((recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.qboId) === accountLine.account.qboId) {
488
+ record.recommendedAccount = undefined;
489
+ }
490
+ record.isCategoryUpdateSelected = false;
491
+ if (accountLine.isCategoryMiscategorized &&
492
+ Boolean(accountLine.account.qboId)) {
493
+ record.retainedAccount = recommendedAccount;
494
+ record.isRetainedCategorySelected = false;
495
+ }
496
+ }
497
+ if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) !== accountLine.class.qboId &&
498
+ Boolean(recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId)) {
499
+ record.isRecommendedClassSelected = false;
500
+ record.recommendedClass = recommendedClass;
501
+ record.isClassUpdateSelected = false;
502
+ if (accountLine.isClassMiscategorized &&
503
+ Boolean(accountLine.class.qboId)) {
504
+ record.retainedClass = accountLine.class;
505
+ record.isRetainedClassSelected = false;
506
+ }
507
+ }
508
+ else {
509
+ record.isRecommendedClassSelected = false;
510
+ record.recommendedClass = recommendedClass;
511
+ if ((recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.qboId) === accountLine.class.qboId) {
512
+ record.recommendedClass = undefined;
513
+ }
514
+ record.isClassUpdateSelected = false;
515
+ if (accountLine.isClassMiscategorized &&
516
+ Boolean(accountLine.class.qboId)) {
517
+ record.retainedClass = recommendedClass;
518
+ record.isRetainedClassSelected = false;
519
+ }
520
+ }
521
+ if (recommendedAccount == null) {
522
+ record.recommendedAccount = recommendedAccount;
523
+ }
524
+ if (recommendedClass == null) {
525
+ record.recommendedClass = recommendedClass;
526
+ }
527
+ newLineItems[line.id] = record;
528
+ }
529
+ }
530
+ else {
531
+ if (isEntityMatching(entity, oldRecord)) {
532
+ matchingEntityLineId = lineId;
533
+ }
534
+ newLineItems[lineId] = oldRecord;
535
+ }
536
+ });
537
+ }
538
+ // if we have found a matching entity
539
+ if (matchingEntityLineId != null) {
540
+ const matchingRecord = transactionDetailLocalData.lineItemById[matchingEntityLineId];
541
+ if (Boolean(matchingRecord.isUpdateAllChecked) === true) {
542
+ // the selection for the updated line item should be the same as the matching record
543
+ const newLineItem = newLineItems[matchingEntityLineId];
544
+ newLineItems[matchingEntityLineId] = Object.assign(Object.assign({}, newLineItem), { isUpdateAllChecked: true, isCategoryUpdateSelected: matchingRecord.isCategoryUpdateSelected, isClassUpdateSelected: matchingRecord.isClassUpdateSelected, isRecommendedCategorySelected: matchingRecord.isRecommendedCategorySelected, isRecommendedClassSelected: matchingRecord.isRecommendedClassSelected, isRetainedCategorySelected: matchingRecord.isRetainedCategorySelected, isRetainedClassSelected: matchingRecord.isRetainedCategorySelected, class: matchingRecord.class, account: matchingRecord.account, lineEntity: matchingRecord.lineEntity });
545
+ }
546
+ }
547
+ const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorUpdates: transactionDetailLocalData.vendorUpdates, vendorDetails: transactionDetailLocalData.vendorDetails, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
548
+ return newLocalData;
549
+ };
550
+ exports.setEntityRecommendationForLineIdInLocalData = setEntityRecommendationForLineIdInLocalData;
551
+ const removeEntityRecommendationForLineIdInLocalData = (transaction, transactionDetailLocalData, recommendationLineIds) => {
552
+ const newLineItems = {};
553
+ if (transaction.lines != null) {
554
+ // always preserving the order of the line items. hence iterating over this
555
+ transaction.lines.forEach((line) => {
556
+ const lineId = line.id;
557
+ const oldRecord = transactionDetailLocalData.lineItemById[lineId];
558
+ // check if any line already has this entity
559
+ if (recommendationLineIds.includes(line.id)) {
560
+ if (line.type === 'transaction_with_account_and_class_line' ||
561
+ line.type === 'transaction_with_product_or_service_line' ||
562
+ line.type === 'journal_entry_transaction_line') {
563
+ const record = Object.assign({}, oldRecord);
564
+ record.isRecommendedCategorySelected = false;
565
+ record.isRecommendedClassSelected = false;
566
+ record.isRetainedCategorySelected = false;
567
+ record.isRetainedClassSelected = false;
568
+ record.isUpdateAllChecked = false;
569
+ record.recommendedAccount = undefined;
570
+ record.retainedAccount = undefined;
571
+ record.recommendedClass = undefined;
572
+ record.retainedClass = undefined;
573
+ record.lineEntity = undefined;
574
+ record.customer = undefined;
575
+ record.vendor = undefined;
576
+ newLineItems[line.id] = record;
577
+ }
578
+ }
579
+ else {
580
+ newLineItems[lineId] = oldRecord;
581
+ }
582
+ });
583
+ }
584
+ const newLocalData = Object.assign(Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData), { memo: transactionDetailLocalData.memo, lineItemById: newLineItems, vendorDetails: transactionDetailLocalData.vendorDetails, vendorUpdates: transactionDetailLocalData.vendorUpdates, updatePreviousTransactionsWithUpdatedVendor: transactionDetailLocalData.updatePreviousTransactionsWithUpdatedVendor });
585
+ return newLocalData;
586
+ };
587
+ exports.removeEntityRecommendationForLineIdInLocalData = removeEntityRecommendationForLineIdInLocalData;
588
+ const getChangedLineItemCountFromLocalData = (transaction, transactionLocalData) => {
589
+ let number = 0;
590
+ if (transaction.lines != null) {
591
+ transaction.lines.forEach((line) => {
592
+ var _a, _b, _c;
593
+ let hasCategoryChanged = false;
594
+ let hasClassChanged = false;
595
+ let hasDescriptionChanged = false;
596
+ const lineId = line.id;
597
+ if (line.type === 'transaction_with_account_and_class_line' ||
598
+ line.type === 'transaction_with_product_or_service_line' ||
599
+ line.type === 'journal_entry_transaction_line') {
600
+ const accountLineLocal = transactionLocalData.lineItemById[lineId];
601
+ const accountLine = line;
602
+ hasCategoryChanged =
603
+ ((_a = accountLineLocal.account) === null || _a === void 0 ? void 0 : _a.qboId) !== accountLine.account.qboId &&
604
+ ((_b = accountLineLocal.account) === null || _b === void 0 ? void 0 : _b.accountId) !== accountLine.account.accountId;
605
+ hasClassChanged =
606
+ ((_c = accountLineLocal.class) === null || _c === void 0 ? void 0 : _c.qboId) !== accountLine.class.qboId;
607
+ }
608
+ hasDescriptionChanged =
609
+ transactionLocalData.lineItemById[lineId] != null
610
+ ? line.lineDescription !==
611
+ transactionLocalData.lineItemById[lineId].lineDescription
612
+ : false;
613
+ if (hasCategoryChanged === true ||
614
+ hasClassChanged === true ||
615
+ hasDescriptionChanged === true) {
616
+ number += 1;
617
+ }
618
+ });
619
+ }
620
+ return number;
621
+ };
622
+ exports.getChangedLineItemCountFromLocalData = getChangedLineItemCountFromLocalData;
623
+ const toLineCustomerOrVendor = (entity) => {
624
+ return {
625
+ id: entity.qboId,
626
+ name: entity.name,
627
+ };
628
+ };
629
+ /**
630
+ * Since entity could have qbo id or id based on where it was initialized,
631
+ * this function is needed to check with either lineEntity or vendor or customer
632
+ * @param entity
633
+ * @param record
634
+ * @returns
635
+ */
636
+ const isEntityMatching = (entity, record) => {
637
+ var _a, _b, _c, _d;
638
+ if (entity == null) {
639
+ return false;
640
+ }
641
+ const entityId = (_a = entity.qboId) !== null && _a !== void 0 ? _a : entity.id;
642
+ if ((record === null || record === void 0 ? void 0 : record.lineEntity) != null) {
643
+ const id = (_c = (_b = record === null || record === void 0 ? void 0 : record.lineEntity) === null || _b === void 0 ? void 0 : _b.qboId) !== null && _c !== void 0 ? _c : (_d = record === null || record === void 0 ? void 0 : record.lineEntity) === null || _d === void 0 ? void 0 : _d.id;
644
+ if (id === entityId) {
645
+ if (record.vendor != null) {
646
+ return entity.type === 'vendor';
647
+ }
648
+ if (record.customer != null) {
649
+ return entity.type === 'customer';
650
+ }
651
+ }
652
+ return false;
653
+ }
654
+ if (record.vendor != null) {
655
+ return record.vendor.id === entityId && entity.type === 'vendor';
656
+ }
657
+ if (record.customer != null) {
658
+ return record.customer.id === entityId && entity.type === 'customer';
659
+ }
660
+ return false;
661
+ };
662
+ const isAccountUncategorized = (uncategorizedIncomeExpense, accountQboId) => {
663
+ var _a, _b;
664
+ if (accountQboId != null &&
665
+ (accountQboId === ((_a = uncategorizedIncomeExpense === null || uncategorizedIncomeExpense === void 0 ? void 0 : uncategorizedIncomeExpense.expense) === null || _a === void 0 ? void 0 : _a.qboId) ||
666
+ accountQboId === ((_b = uncategorizedIncomeExpense === null || uncategorizedIncomeExpense === void 0 ? void 0 : uncategorizedIncomeExpense.income) === null || _b === void 0 ? void 0 : _b.qboId))) {
667
+ return true;
668
+ }
669
+ return false;
670
+ };