@zeniai/client-epic-state 5.3.23-beta0AN → 5.3.23-beta1AN

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 (2274) hide show
  1. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +2 -0
  2. package/lib/commonPayloadTypes/agingReportPayloadTypes.js +27 -0
  3. package/lib/commonPayloadTypes/balanceChangePayload.js +24 -0
  4. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +10 -0
  5. package/lib/commonPayloadTypes/coaBalanceByAdditionalPeriodPayload.js +14 -0
  6. package/lib/commonPayloadTypes/coaBalancePayload.js +64 -0
  7. package/lib/commonPayloadTypes/commonPayload.js +22 -0
  8. package/lib/commonPayloadTypes/recommendationBasePayloadCore.js +22 -0
  9. package/lib/commonPayloadTypes/recommendationPayload.js +128 -0
  10. package/lib/commonPayloadTypes/sortOrderPayload.js +11 -0
  11. package/lib/commonPayloadTypes/statusPayload.js +17 -0
  12. package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.js +2 -0
  13. package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +28 -0
  14. package/lib/commonPayloadTypes/urlPayload.js +8 -0
  15. package/lib/commonPayloadTypes/v2/coaBalancePayload.js +103 -0
  16. package/lib/commonPayloadTypes/v2/viewAndReportPayloadv2.js +30 -0
  17. package/lib/commonPayloadTypes/vendorRecommendationPayload.js +2 -0
  18. package/lib/commonPayloadTypes/viewAndReportPayload.js +27 -0
  19. package/lib/commonStateTypes/accountView/accountMetadataRecords.js +2 -0
  20. package/lib/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +115 -0
  21. package/lib/commonStateTypes/accountView/nestedAccountID.js +14 -0
  22. package/lib/commonStateTypes/agingBalance/agingBalance.js +16 -0
  23. package/lib/commonStateTypes/allowedValue.js +10 -0
  24. package/lib/commonStateTypes/amount.js +12 -0
  25. package/lib/commonStateTypes/animations.js +65 -0
  26. package/lib/commonStateTypes/balance.js +2 -0
  27. package/lib/commonStateTypes/balanceTimeseries.js +2 -0
  28. package/lib/commonStateTypes/bookCloseDateHelper.js +48 -0
  29. package/lib/commonStateTypes/bulkOperationType.js +2 -0
  30. package/lib/commonStateTypes/cacheOverrideFetchReducer.js +20 -0
  31. package/lib/commonStateTypes/classesView/classMetadataRecords.js +2 -0
  32. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js +113 -0
  33. package/lib/commonStateTypes/classesView/nestedClassID.js +7 -0
  34. package/lib/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.js +135 -0
  35. package/lib/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.js +151 -0
  36. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +69 -0
  37. package/lib/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.js +422 -0
  38. package/lib/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.js +52 -0
  39. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +61 -0
  40. package/lib/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +95 -0
  41. package/lib/commonStateTypes/coaBalance/coaBalance.js +32 -0
  42. package/lib/commonStateTypes/coaBalance/coaBalanceByAdditionalPeriod.js +2 -0
  43. package/lib/commonStateTypes/coaBalance/coaBalanceType.js +41 -0
  44. package/lib/commonStateTypes/coaBalance/coaBalancesFilter.js +65 -0
  45. package/lib/commonStateTypes/coaBalance/coaBalancesFilterClassesView.js +9 -0
  46. package/lib/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js +9 -0
  47. package/lib/commonStateTypes/coaBalance/getCOABalancesSlice.js +107 -0
  48. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +65 -0
  49. package/lib/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.js +41 -0
  50. package/lib/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.js +43 -0
  51. package/lib/commonStateTypes/common.js +18 -0
  52. package/lib/commonStateTypes/currencyHelper.js +12 -0
  53. package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.js +45 -0
  54. package/lib/commonStateTypes/customerView/nestedCustomerID.js +2 -0
  55. package/lib/commonStateTypes/dataAvailable.js +53 -0
  56. package/lib/commonStateTypes/fileType.js +7 -0
  57. package/lib/commonStateTypes/filterPrimitives.js +21 -0
  58. package/lib/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.js +31 -0
  59. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js +26 -0
  60. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +48 -0
  61. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +37 -0
  62. package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.js +28 -0
  63. package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.js +62 -0
  64. package/lib/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.js +91 -0
  65. package/lib/commonStateTypes/fiscalYearHelpers/getVendorAllTransactionsDefaultTimePeriod.js +17 -0
  66. package/lib/commonStateTypes/numberToUnion.js +38 -0
  67. package/lib/commonStateTypes/projectView/projectViewParentID.js +2 -0
  68. package/lib/commonStateTypes/pusherActions.js +6 -0
  69. package/lib/commonStateTypes/recommendationBase.js +59 -0
  70. package/lib/commonStateTypes/recommendationBaseCore.js +2 -0
  71. package/lib/commonStateTypes/reduceFetchState.js +192 -0
  72. package/lib/commonStateTypes/reimbursementTypeCode.js +5 -0
  73. package/lib/commonStateTypes/selectorTypes/accountsViewSelectorReport.js +2 -0
  74. package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.js +2 -0
  75. package/lib/commonStateTypes/selectorTypes/entityOrder.js +2 -0
  76. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.js +8 -0
  77. package/lib/commonStateTypes/selectorTypes/selectorTypes.js +2 -0
  78. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +5 -0
  79. package/lib/commonStateTypes/status.js +2 -0
  80. package/lib/commonStateTypes/stringToUnion.js +37 -0
  81. package/lib/commonStateTypes/systemInfo.js +242 -0
  82. package/lib/commonStateTypes/timePeriod.js +92 -0
  83. package/lib/commonStateTypes/timeframeTick.js +23 -0
  84. package/lib/commonStateTypes/v2/viewAndReport.js +5 -0
  85. package/lib/commonStateTypes/vendorRecommendation.js +2 -0
  86. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +15 -0
  87. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +91 -0
  88. package/lib/commonStateTypes/viewAndReport/reportUIState.js +2 -0
  89. package/lib/commonStateTypes/viewAndReport/thisPeriodHelpers.js +108 -0
  90. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +80 -0
  91. package/lib/commonStateTypes/workingDayHelper.js +123 -0
  92. package/lib/configureStore.js +114 -0
  93. package/lib/coreEpics.js +93 -0
  94. package/lib/entity/account/accountPayload.js +109 -0
  95. package/lib/entity/account/accountReducer.js +183 -0
  96. package/lib/entity/account/accountSelector.js +253 -0
  97. package/lib/entity/account/accountState.js +81 -0
  98. package/lib/entity/account/pickAndMergeForecastAccountReport.js +110 -0
  99. package/lib/entity/account/subAccountSelector.js +63 -0
  100. package/lib/entity/accountGroup/accountGroupPayload.js +2 -0
  101. package/lib/entity/accountGroup/accountGroupReducer.js +140 -0
  102. package/lib/entity/accountGroup/accountGroupSelector.js +158 -0
  103. package/lib/entity/accountGroup/accountGroupState.js +26 -0
  104. package/lib/entity/accountGroup/accountGroupV2Selector.js +85 -0
  105. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +84 -0
  106. package/lib/entity/accountRecon/accountReconPayload.js +197 -0
  107. package/lib/entity/accountRecon/accountReconReducer.js +215 -0
  108. package/lib/entity/accountRecon/accountReconSelector.js +64 -0
  109. package/lib/entity/accountRecon/accountReconState.js +59 -0
  110. package/lib/entity/actualMatching/actualMatchingPayload.js +52 -0
  111. package/lib/entity/actualMatching/actualMatchingReducer.js +42 -0
  112. package/lib/entity/actualMatching/actualMatchingSelector.js +6 -0
  113. package/lib/entity/actualMatching/actualMatchingState.js +2 -0
  114. package/lib/entity/actualMatching/actualMatchingTypes.js +2 -0
  115. package/lib/entity/address/addressPayload.js +2 -0
  116. package/lib/entity/address/addressReducer.js +63 -0
  117. package/lib/entity/address/addressSelector.js +17 -0
  118. package/lib/entity/address/addressState.js +2 -0
  119. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerPayload.js +68 -0
  120. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +53 -0
  121. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerSelector.js +66 -0
  122. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.js +52 -0
  123. package/lib/entity/aiCfo/aiCfoPayload.js +2 -0
  124. package/lib/entity/aiCfo/aiCfoReducer.js +908 -0
  125. package/lib/entity/aiCfo/aiCfoSelector.js +60 -0
  126. package/lib/entity/aiCfo/aiCfoState.js +100 -0
  127. package/lib/entity/approvalRule/approvalRuleConflict.js +92 -0
  128. package/lib/entity/approvalRule/approvalRulePayload.js +186 -0
  129. package/lib/entity/approvalRule/approvalRuleReducer.js +31 -0
  130. package/lib/entity/approvalRule/approvalRuleSelector.js +53 -0
  131. package/lib/entity/approvalRule/approvalRuleState.js +27 -0
  132. package/lib/entity/approvalRule/approvalStepTypes.js +13 -0
  133. package/lib/entity/bankAccount/bankAccount.js +2 -0
  134. package/lib/entity/bankAccount/bankAccountPayload.js +26 -0
  135. package/lib/entity/bankAccount/bankAccountReducer.js +33 -0
  136. package/lib/entity/bankAccount/bankAccountSelector.js +15 -0
  137. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +186 -0
  138. package/lib/entity/billPay/billTransaction/billTransactionReducer.js +89 -0
  139. package/lib/entity/billPay/billTransaction/billTransactionState.js +107 -0
  140. package/lib/entity/billPay/billTransaction/internationalTransferFeeBearerPaymentMethod.js +10 -0
  141. package/lib/entity/billPay/contact/contact.js +2 -0
  142. package/lib/entity/billPay/contact/contactPayload.js +22 -0
  143. package/lib/entity/billPay/contact/contactReducer.js +32 -0
  144. package/lib/entity/billPay/contact/contactSelector.js +17 -0
  145. package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +58 -0
  146. package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +42 -0
  147. package/lib/entity/billPay/recurringBills/recurringBillsState.js +14 -0
  148. package/lib/entity/cardPayment/cardPaymentPayload.js +15 -0
  149. package/lib/entity/cardPayment/cardPaymentReducer.js +53 -0
  150. package/lib/entity/cardPayment/cardPaymentSelector.js +16 -0
  151. package/lib/entity/cardPayment/cardPaymentState.js +2 -0
  152. package/lib/entity/cardPolicy/cardPolicyPayload.js +143 -0
  153. package/lib/entity/cardPolicy/cardPolicyReducer.js +178 -0
  154. package/lib/entity/cardPolicy/cardPolicySelector.js +99 -0
  155. package/lib/entity/cardPolicy/cardPolicyState.js +14 -0
  156. package/lib/entity/cardPolicy/extractPolicyDocumentEpic.js +68 -0
  157. package/lib/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.js +47 -0
  158. package/lib/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.js +39 -0
  159. package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.js +105 -0
  160. package/lib/entity/chargeCard/chargeCard.js +68 -0
  161. package/lib/entity/chargeCard/chargeCardPayload.js +104 -0
  162. package/lib/entity/chargeCard/chargeCardReducer.js +90 -0
  163. package/lib/entity/chargeCard/chargeCardSelector.js +21 -0
  164. package/lib/entity/chargeCardRepayment/chargeCardRepayment.js +17 -0
  165. package/lib/entity/chargeCardRepayment/chargeCardRepaymentPayload.js +34 -0
  166. package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +44 -0
  167. package/lib/entity/chargeCardRepayment/chargeCardRepaymentSelector.js +17 -0
  168. package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +20 -0
  169. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +69 -0
  170. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +94 -0
  171. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +16 -0
  172. package/lib/entity/class/classPayload.js +110 -0
  173. package/lib/entity/class/classReducer.js +96 -0
  174. package/lib/entity/class/classSelector.js +110 -0
  175. package/lib/entity/class/classSelectorTypes.js +2 -0
  176. package/lib/entity/class/classSelectorV2.js +140 -0
  177. package/lib/entity/class/classState.js +14 -0
  178. package/lib/entity/company/cardsVisibilityHelpers.js +14 -0
  179. package/lib/entity/company/companyHelper.js +40 -0
  180. package/lib/entity/company/companyPayload.js +464 -0
  181. package/lib/entity/company/companyReducer.js +215 -0
  182. package/lib/entity/company/companySelector.js +104 -0
  183. package/lib/entity/company/companyState.js +2 -0
  184. package/lib/entity/company/companyStateTypes.js +33 -0
  185. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +90 -0
  186. package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +36 -0
  187. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +17 -0
  188. package/lib/entity/companyHealthMetric/companyHealthMetricState.js +2 -0
  189. package/lib/entity/connectedAccount/connectedAccount.js +10 -0
  190. package/lib/entity/connectedAccount/connectedAccountPayload.js +15 -0
  191. package/lib/entity/connectedAccount/connectedAccountReducer.js +30 -0
  192. package/lib/entity/connectedAccount/connectedAccountSelector.js +17 -0
  193. package/lib/entity/countryList/countryListReducer.js +34 -0
  194. package/lib/entity/countryList/countryListSelector.js +10 -0
  195. package/lib/entity/countryList/countryListState.js +2 -0
  196. package/lib/entity/countryList/payloads/countryListPayload.js +9 -0
  197. package/lib/entity/countryList/payloads/nationalityCountryListPayload.js +2 -0
  198. package/lib/entity/creditAgent/creditAgentPayload.js +40 -0
  199. package/lib/entity/creditAgent/creditAgentReducer.js +40 -0
  200. package/lib/entity/creditAgent/creditAgentSelector.js +10 -0
  201. package/lib/entity/creditAgent/creditAgentState.js +17 -0
  202. package/lib/entity/currency/currency.js +2 -0
  203. package/lib/entity/currency/currencyPayload.js +13 -0
  204. package/lib/entity/currency/currencyReducer.js +34 -0
  205. package/lib/entity/currency/currencySelector.js +20 -0
  206. package/lib/entity/customer/customerPayload.js +112 -0
  207. package/lib/entity/customer/customerReducer.js +47 -0
  208. package/lib/entity/customer/customerSelector.js +6 -0
  209. package/lib/entity/customer/customerState.js +2 -0
  210. package/lib/entity/customerIncome/customerIncomeTrend.js +150 -0
  211. package/lib/entity/customerIncome/customerIncomeTrendKey.js +6 -0
  212. package/lib/entity/customerIncome/customerIncomeTrendReducer.js +56 -0
  213. package/lib/entity/customerIncome/customerIncomeTrendSelector.js +23 -0
  214. package/lib/entity/customerIncome/customerIncomeTrendState.js +2 -0
  215. package/lib/entity/customerSatisfaction/customerSatisfactionPayload.js +2 -0
  216. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +27 -0
  217. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +38 -0
  218. package/lib/entity/customerSatisfaction/customerSatisfactionSelector.js +44 -0
  219. package/lib/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.js +2 -0
  220. package/lib/entity/customerSatisfaction/customerSatisfactionState.js +32 -0
  221. package/lib/entity/depositAccount/depositAccount.js +17 -0
  222. package/lib/entity/depositAccount/depositAccountPayload.js +68 -0
  223. package/lib/entity/depositAccount/depositAccountReducer.js +40 -0
  224. package/lib/entity/depositAccount/depositAccountSelector.js +27 -0
  225. package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +39 -0
  226. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.js +30 -0
  227. package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +32 -0
  228. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +16 -0
  229. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +72 -0
  230. package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +30 -0
  231. package/lib/entity/entityApprovalStatus/entityApprovalStatusSelector.js +13 -0
  232. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +36 -0
  233. package/lib/entity/file/filePayload.js +2 -0
  234. package/lib/entity/file/fileReducer.js +115 -0
  235. package/lib/entity/file/fileSelector.js +34 -0
  236. package/lib/entity/file/fileState.js +115 -0
  237. package/lib/entity/forecast/forecastPayload.js +21 -0
  238. package/lib/entity/forecast/forecastReducer.js +33 -0
  239. package/lib/entity/forecast/forecastSelector.js +13 -0
  240. package/lib/entity/forecast/forecastState.js +5 -0
  241. package/lib/entity/genericEntity/customerWithSubCustomersId.js +17 -0
  242. package/lib/entity/genericEntity/entity.js +10 -0
  243. package/lib/entity/genericEntity/entityPayload.js +20 -0
  244. package/lib/entity/genericEntity/entityReducer.js +38 -0
  245. package/lib/entity/genericEntity/entitySelector.js +8 -0
  246. package/lib/entity/genericEntity/entityState.js +2 -0
  247. package/lib/entity/globalMerchant/globalMerchantPayload.js +119 -0
  248. package/lib/entity/globalMerchant/globalMerchantReducer.js +93 -0
  249. package/lib/entity/globalMerchant/globalMerchantSelector.js +24 -0
  250. package/lib/entity/globalMerchant/globalMerchantState.js +6 -0
  251. package/lib/entity/insights/insightPayload.js +2 -0
  252. package/lib/entity/insights/insightReducer.js +64 -0
  253. package/lib/entity/insights/insightSelector.js +8 -0
  254. package/lib/entity/insights/insightState.js +17 -0
  255. package/lib/entity/insights/insightSummary.js +2 -0
  256. package/lib/entity/insights/insightSummaryPayload.js +15 -0
  257. package/lib/entity/invoicing/coupon/couponPayload.js +48 -0
  258. package/lib/entity/invoicing/coupon/couponReducer.js +50 -0
  259. package/lib/entity/invoicing/coupon/couponSelector.js +21 -0
  260. package/lib/entity/invoicing/coupon/couponState.js +2 -0
  261. package/lib/entity/invoicing/coupon/couponTypes.js +2 -0
  262. package/lib/entity/invoicing/creditNote/creditNotePayload.js +66 -0
  263. package/lib/entity/invoicing/creditNote/creditNoteReducer.js +52 -0
  264. package/lib/entity/invoicing/creditNote/creditNoteSelector.js +17 -0
  265. package/lib/entity/invoicing/creditNote/creditNoteState.js +2 -0
  266. package/lib/entity/invoicing/creditNote/creditNoteTypes.js +2 -0
  267. package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +37 -0
  268. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +52 -0
  269. package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +17 -0
  270. package/lib/entity/invoicing/dunningCase/dunningCaseState.js +2 -0
  271. package/lib/entity/invoicing/dunningCase/dunningCaseTypes.js +2 -0
  272. package/lib/entity/invoicing/invoice/invoicePayload.js +154 -0
  273. package/lib/entity/invoicing/invoice/invoiceReducer.js +52 -0
  274. package/lib/entity/invoicing/invoice/invoiceSelector.js +16 -0
  275. package/lib/entity/invoicing/invoice/invoiceState.js +2 -0
  276. package/lib/entity/invoicing/invoice/invoiceTypes.js +2 -0
  277. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogPayload.js +138 -0
  278. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogReducer.js +74 -0
  279. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogSelector.js +59 -0
  280. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogState.js +2 -0
  281. package/lib/entity/invoicing/invoicingCommonPayload.js +318 -0
  282. package/lib/entity/invoicing/invoicingCommonState.js +2 -0
  283. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +100 -0
  284. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +50 -0
  285. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +65 -0
  286. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +2 -0
  287. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +118 -0
  288. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +52 -0
  289. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +17 -0
  290. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +2 -0
  291. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionTypes.js +2 -0
  292. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +62 -0
  293. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +52 -0
  294. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +17 -0
  295. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +2 -0
  296. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionTypes.js +2 -0
  297. package/lib/entity/jeSchedules/jeScheduleHelper.js +13 -0
  298. package/lib/entity/jeSchedules/jeSchedulesPayload.js +578 -0
  299. package/lib/entity/jeSchedules/jeSchedulesReducer.js +324 -0
  300. package/lib/entity/jeSchedules/jeSchedulesSelector.js +178 -0
  301. package/lib/entity/jeSchedules/jeSchedulesState.js +2 -0
  302. package/lib/entity/jeSchedules/jeSchedulesTypes.js +140 -0
  303. package/lib/entity/jeSchedules/updateAccruedJESchedulesEpic.js +41 -0
  304. package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -0
  305. package/lib/entity/merchant/merchant.js +2 -0
  306. package/lib/entity/merchant/merchantPayload.js +30 -0
  307. package/lib/entity/merchant/merchantReducer.js +41 -0
  308. package/lib/entity/merchant/merchantSelector.js +17 -0
  309. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +91 -0
  310. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +30 -0
  311. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +35 -0
  312. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +10 -0
  313. package/lib/entity/notification/notificationPayload.js +144 -0
  314. package/lib/entity/notification/notificationReducer.js +120 -0
  315. package/lib/entity/notification/notificationSelector.js +40 -0
  316. package/lib/entity/notification/notificationState.js +2 -0
  317. package/lib/entity/notification/types/notificationSelectorTypes.js +2 -0
  318. package/lib/entity/notification/types/notificationStateTypes.js +2 -0
  319. package/lib/entity/notification/types/notificationTypes.js +49 -0
  320. package/lib/entity/notificationRegistry/notificationRegistryPayload.js +31 -0
  321. package/lib/entity/notificationRegistry/notificationRegistryReducer.js +52 -0
  322. package/lib/entity/notificationRegistry/notificationRegistrySelector.js +10 -0
  323. package/lib/entity/notificationRegistry/notificationRegistryState.js +10 -0
  324. package/lib/entity/onboardingCustomer/onboardingCustomerPayload.js +27 -0
  325. package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +32 -0
  326. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +16 -0
  327. package/lib/entity/onboardingCustomer/onboardingCustomerState.js +2 -0
  328. package/lib/entity/paymentAccount/paymentAccountPayload.js +57 -0
  329. package/lib/entity/paymentAccount/paymentAccountReducer.js +41 -0
  330. package/lib/entity/paymentAccount/paymentAccountSelector.js +39 -0
  331. package/lib/entity/paymentAccount/paymentAccountState.js +9 -0
  332. package/lib/entity/paymentInstrument/paymentInstrument.js +2 -0
  333. package/lib/entity/paymentInstrument/paymentInstrumentPayload.js +21 -0
  334. package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +37 -0
  335. package/lib/entity/paymentInstrument/paymentInstrumentSelector.js +17 -0
  336. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.js +2 -0
  337. package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +79 -0
  338. package/lib/entity/portfolio/accountingSummary/accountingSummarySelector.js +17 -0
  339. package/lib/entity/portfolio/accountingSummary/accountingSummaryState.js +2 -0
  340. package/lib/entity/project/projectPayload.js +44 -0
  341. package/lib/entity/project/projectReducer.js +33 -0
  342. package/lib/entity/project/projectSelector.js +12 -0
  343. package/lib/entity/project/projectState.js +2 -0
  344. package/lib/entity/reconciliationReport/reconciliationReportPayload.js +2 -0
  345. package/lib/entity/reconciliationReport/reconciliationReportReducer.js +152 -0
  346. package/lib/entity/reconciliationReport/reconciliationReportSelector.js +10 -0
  347. package/lib/entity/reconciliationReport/reconciliationReportState.js +18 -0
  348. package/lib/entity/reimbursement/reimbursementPayload.js +205 -0
  349. package/lib/entity/reimbursement/reimbursementReducer.js +75 -0
  350. package/lib/entity/reimbursement/reimbursementState.js +2 -0
  351. package/lib/entity/reimbursement/reimbursementTypes.js +7 -0
  352. package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +62 -0
  353. package/lib/entity/sectionAccountsView/sectionAccountsView.js +6 -0
  354. package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +56 -0
  355. package/lib/entity/sectionAccountsView/sectionAccountsViewHelper.js +15 -0
  356. package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +104 -0
  357. package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +85 -0
  358. package/lib/entity/sectionAccountsView/sectionAccountsViewState.js +2 -0
  359. package/lib/entity/sectionClassesViewV2/sectionClassesView.js +6 -0
  360. package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +59 -0
  361. package/lib/entity/sectionClassesViewV2/sectionClassesViewHelper.js +14 -0
  362. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +57 -0
  363. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +54 -0
  364. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.js +2 -0
  365. package/lib/entity/sectionClassesViewV2/sectionClassesViewState.js +2 -0
  366. package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +59 -0
  367. package/lib/entity/sectionProjectView/sectionProjectView.js +6 -0
  368. package/lib/entity/sectionProjectView/sectionProjectViewEpic.js +60 -0
  369. package/lib/entity/sectionProjectView/sectionProjectViewHelper.js +15 -0
  370. package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +67 -0
  371. package/lib/entity/sectionProjectView/sectionProjectViewSelector.js +57 -0
  372. package/lib/entity/sectionProjectView/sectionProjectViewSelectorTypes.js +2 -0
  373. package/lib/entity/sectionProjectView/sectionProjectViewState.js +2 -0
  374. package/lib/entity/snackbar/snackbarApiError.js +15 -0
  375. package/lib/entity/snackbar/snackbarReducer.js +42 -0
  376. package/lib/entity/snackbar/snackbarSelector.js +12 -0
  377. package/lib/entity/snackbar/snackbarState.js +2 -0
  378. package/lib/entity/snackbar/snackbarTypes.js +288 -0
  379. package/lib/entity/subscription/subscription/subscriptionPayload.js +2 -0
  380. package/lib/entity/subscription/subscription/subscriptionReducer.js +83 -0
  381. package/lib/entity/subscription/subscription/subscriptionSelector.js +26 -0
  382. package/lib/entity/subscription/subscription/subscriptionState.js +2 -0
  383. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.js +2 -0
  384. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +65 -0
  385. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +25 -0
  386. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnState.js +2 -0
  387. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.js +2 -0
  388. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +59 -0
  389. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +25 -0
  390. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponState.js +2 -0
  391. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanPayload.js +2 -0
  392. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +69 -0
  393. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanSelector.js +26 -0
  394. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanState.js +2 -0
  395. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.js +2 -0
  396. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +77 -0
  397. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +38 -0
  398. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryState.js +2 -0
  399. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.js +22 -0
  400. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +31 -0
  401. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +17 -0
  402. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.js +2 -0
  403. package/lib/entity/tag/tagPayload.js +12 -0
  404. package/lib/entity/tag/tagReducer.js +52 -0
  405. package/lib/entity/tag/tagSelector.js +17 -0
  406. package/lib/entity/tag/tagState.js +2 -0
  407. package/lib/entity/task/taskPayload.js +81 -0
  408. package/lib/entity/task/taskReducer.js +61 -0
  409. package/lib/entity/task/taskSelector.js +17 -0
  410. package/lib/entity/task/taskState.js +32 -0
  411. package/lib/entity/taskGroup/taskGroupPayload.js +13 -0
  412. package/lib/entity/taskGroup/taskGroupReducer.js +36 -0
  413. package/lib/entity/taskGroup/taskGroupSelector.js +17 -0
  414. package/lib/entity/taskGroup/taskGroupState.js +2 -0
  415. package/lib/entity/taskGroupTemplate/taskGroupTemplatePayload.js +2 -0
  416. package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +34 -0
  417. package/lib/entity/taskGroupTemplate/taskGroupTemplateSelector.js +17 -0
  418. package/lib/entity/taskGroupTemplate/taskGroupTemplateState.js +2 -0
  419. package/lib/entity/taskSummary/taskSummaryPayload.js +2 -0
  420. package/lib/entity/taskSummary/taskSummaryReducer.js +35 -0
  421. package/lib/entity/taskSummary/taskSummarySelector.js +17 -0
  422. package/lib/entity/taskSummary/taskSummaryState.js +2 -0
  423. package/lib/entity/tenant/SessionManager.js +340 -0
  424. package/lib/entity/tenant/epic/deleteConnectionEpic.js +29 -0
  425. package/lib/entity/tenant/epic/doMagicLinkSignInEpic.js +46 -0
  426. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +48 -0
  427. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +117 -0
  428. package/lib/entity/tenant/epic/fetchExcludedResourcesEpic.js +19 -0
  429. package/lib/entity/tenant/epic/fetchExternalConnectionsEpic.js +19 -0
  430. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -0
  431. package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.js +59 -0
  432. package/lib/entity/tenant/epic/resendVerifyDeviceOTPEpic.js +39 -0
  433. package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.js +35 -0
  434. package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.js +42 -0
  435. package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +83 -0
  436. package/lib/entity/tenant/epic/saveOAuthConnectionEpic.js +37 -0
  437. package/lib/entity/tenant/epic/sendEmailMagicLinkToUserEpic.js +64 -0
  438. package/lib/entity/tenant/epic/sessionHeartbeatEpic.js +25 -0
  439. package/lib/entity/tenant/epic/signInUserEpic.js +37 -0
  440. package/lib/entity/tenant/epic/signOutUserEpic.js +21 -0
  441. package/lib/entity/tenant/epic/verifyDeviceWithTwoFAEpic.js +42 -0
  442. package/lib/entity/tenant/sessionTypes.js +12 -0
  443. package/lib/entity/tenant/tenantPayload.js +7 -0
  444. package/lib/entity/tenant/tenantReducer.js +1223 -0
  445. package/lib/entity/tenant/tenantSelector.js +377 -0
  446. package/lib/entity/tenant/tenantState.js +7 -0
  447. package/lib/entity/tenant/tenantTypes.js +15 -0
  448. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.js +41 -0
  449. package/lib/entity/toastNotification/toastNotificationConstants.js +7 -0
  450. package/lib/entity/toastNotification/toastNotificationPayload.js +45 -0
  451. package/lib/entity/toastNotification/toastNotificationReducer.js +47 -0
  452. package/lib/entity/toastNotification/toastNotificationSelector.js +11 -0
  453. package/lib/entity/toastNotification/toastNotificationState.js +78 -0
  454. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +29 -0
  455. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +35 -0
  456. package/lib/entity/transaction/payloadTypes/otherTransactionPayload.js +56 -0
  457. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +83 -0
  458. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +40 -0
  459. package/lib/entity/transaction/payloadTypes/transactionIDPayload.js +14 -0
  460. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +228 -0
  461. package/lib/entity/transaction/payloadTypes/transactionPayload.js +356 -0
  462. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +67 -0
  463. package/lib/entity/transaction/stateTypes/attachment.js +44 -0
  464. package/lib/entity/transaction/stateTypes/customerTransaction.js +6 -0
  465. package/lib/entity/transaction/stateTypes/otherTransaction.js +8 -0
  466. package/lib/entity/transaction/stateTypes/paymentType.js +17 -0
  467. package/lib/entity/transaction/stateTypes/printStatus.js +11 -0
  468. package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +10 -0
  469. package/lib/entity/transaction/stateTypes/scheduleTransaction.js +2 -0
  470. package/lib/entity/transaction/stateTypes/transaction.js +2 -0
  471. package/lib/entity/transaction/stateTypes/transactionID.js +2 -0
  472. package/lib/entity/transaction/stateTypes/transactionLine.js +31 -0
  473. package/lib/entity/transaction/stateTypes/transactionType.js +72 -0
  474. package/lib/entity/transaction/stateTypes/vendorTransaction.js +10 -0
  475. package/lib/entity/transaction/toSupportedTransaction.js +26 -0
  476. package/lib/entity/transaction/transactionHelper.js +164 -0
  477. package/lib/entity/transaction/transactionReducer.js +191 -0
  478. package/lib/entity/transaction/transactionSelector.js +29 -0
  479. package/lib/entity/transaction/transactionState.js +2 -0
  480. package/lib/entity/transactionActivityLog/transactionActivityLogPayload.js +59 -0
  481. package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +29 -0
  482. package/lib/entity/transactionActivityLog/transactionActivityLogSelector.js +17 -0
  483. package/lib/entity/transactionActivityLog/transactionActivityLogState.js +20 -0
  484. package/lib/entity/user/userPayload.js +2 -0
  485. package/lib/entity/user/userReducer.js +89 -0
  486. package/lib/entity/user/userSelector.js +47 -0
  487. package/lib/entity/user/userState.js +2 -0
  488. package/lib/entity/userGroups/userGroupsPayload.js +10 -0
  489. package/lib/entity/userGroups/userGroupsReducer.js +32 -0
  490. package/lib/entity/userGroups/userGroupsSelector.js +12 -0
  491. package/lib/entity/userGroups/userGroupsState.js +2 -0
  492. package/lib/entity/userRole/userRolePayload.js +107 -0
  493. package/lib/entity/userRole/userRoleReducer.js +107 -0
  494. package/lib/entity/userRole/userRoleSelector.js +13 -0
  495. package/lib/entity/userRole/userRoleState.js +6 -0
  496. package/lib/entity/userRole/userRoleTenantAccess.js +102 -0
  497. package/lib/entity/userRole/userRoleType.js +450 -0
  498. package/lib/entity/vendor/__mocks__/vendorMock.js +311 -0
  499. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +415 -0
  500. package/lib/entity/vendor/vendorPayload.js +123 -0
  501. package/lib/entity/vendor/vendorReducer.js +76 -0
  502. package/lib/entity/vendor/vendorSelector.js +27 -0
  503. package/lib/entity/vendor/vendorState.js +10 -0
  504. package/lib/entity/vendor/vendorType.js +10 -0
  505. package/lib/entity/vendorExpense/vendorExpenseReducer.js +80 -0
  506. package/lib/entity/vendorExpense/vendorExpenseSelector.js +20 -0
  507. package/lib/entity/vendorExpense/vendorExpenseState.js +2 -0
  508. package/lib/entity/vendorExpense/vendorExpenseTrend.js +139 -0
  509. package/lib/entity/vendorExpense/vendorExpenseTrendKey.js +6 -0
  510. package/lib/entity/vendorExpense/vendorSpendTrendFilterTabType.js +19 -0
  511. package/lib/epic.js +1605 -0
  512. package/lib/epicManager.js +26 -0
  513. package/lib/externalAPI.js +2 -0
  514. package/lib/init.js +150 -0
  515. package/lib/pusherClient.js +151 -0
  516. package/lib/reducer.js +899 -0
  517. package/lib/responsePayload.js +10 -0
  518. package/lib/rootActions.js +21 -0
  519. package/lib/rootStateTypes.js +2 -0
  520. package/lib/sessionEndpointsLoader.js +11 -0
  521. package/lib/view/accountList/accountListPayload.js +2 -0
  522. package/lib/view/accountList/accountListReducer.js +114 -0
  523. package/lib/view/accountList/accountListSelector.js +83 -0
  524. package/lib/view/accountList/accountListState.js +2 -0
  525. package/lib/view/accountList/fetchAccountListEpic.js +55 -0
  526. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4659 -0
  527. package/lib/view/accountMappingView/accountMappingPayload.js +160 -0
  528. package/lib/view/accountMappingView/accountMappingReducer.js +336 -0
  529. package/lib/view/accountMappingView/accountMappingState.js +2 -0
  530. package/lib/view/accountMappingView/accountMappingTypeHelper.js +2 -0
  531. package/lib/view/accountMappingView/accountMappingViewSelector.js +130 -0
  532. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.js +67 -0
  533. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -0
  534. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +41 -0
  535. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +15 -0
  536. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +52 -0
  537. package/lib/view/addressView/__mocks__/addressViewMocks.js +239 -0
  538. package/lib/view/addressView/addressViewPayload.js +23 -0
  539. package/lib/view/addressView/addressViewReducer.js +196 -0
  540. package/lib/view/addressView/addressViewSelector.js +38 -0
  541. package/lib/view/addressView/addressViewState.js +2 -0
  542. package/lib/view/addressView/epic/createAddressEpic.js +45 -0
  543. package/lib/view/addressView/epic/createCompanyAddressEpic.js +48 -0
  544. package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +57 -0
  545. package/lib/view/addressView/epic/fetchAddressEpic.js +33 -0
  546. package/lib/view/addressView/epic/saveNewAddressEpic.js +33 -0
  547. package/lib/view/addressView/epic/updateAddressEpic.js +29 -0
  548. package/lib/view/addressView/toAddressViewLocalData.js +37 -0
  549. package/lib/view/aiAccountantView/aiAccountantViewPayload.js +8 -0
  550. package/lib/view/aiAccountantView/aiAccountantViewReducer.js +157 -0
  551. package/lib/view/aiAccountantView/aiAccountantViewSelector.js +83 -0
  552. package/lib/view/aiAccountantView/aiAccountantViewState.js +13 -0
  553. package/lib/view/aiAccountantView/epics/cancelAiAccountantOnboardingEpic.js +50 -0
  554. package/lib/view/aiAccountantView/epics/fetchAiAccountantCustomersEpic.js +28 -0
  555. package/lib/view/aiAccountantView/epics/fetchAiAccountantJobsEpic.js +48 -0
  556. package/lib/view/aiAccountantView/epics/triggerAiAccountantJobEpic.js +83 -0
  557. package/lib/view/aiAgentPerformance/aggregatedReportEpic.js +29 -0
  558. package/lib/view/aiAgentPerformance/aggregatedReportPayload.js +2 -0
  559. package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +166 -0
  560. package/lib/view/aiAgentPerformance/aggregatedReportViewSelector.js +12 -0
  561. package/lib/view/aiAgentPerformance/aggregatedReportViewState.js +45 -0
  562. package/lib/view/aiAgentPerformance/performanceHelper.js +54 -0
  563. package/lib/view/aiCfoView/aiCfoViewPayload.js +2 -0
  564. package/lib/view/aiCfoView/aiCfoViewReducer.js +1254 -0
  565. package/lib/view/aiCfoView/aiCfoViewSelector.js +178 -0
  566. package/lib/view/aiCfoView/aiCfoViewState.js +2 -0
  567. package/lib/view/aiCfoView/epics/acceptMasterTOSEpic.js +28 -0
  568. package/lib/view/aiCfoView/epics/createSessionAndSubmitEpic.js +151 -0
  569. package/lib/view/aiCfoView/epics/createSessionEpic.js +38 -0
  570. package/lib/view/aiCfoView/epics/deleteChatSessionEpic.js +59 -0
  571. package/lib/view/aiCfoView/epics/deleteRoutineEpic.js +39 -0
  572. package/lib/view/aiCfoView/epics/deleteSkillEpic.js +27 -0
  573. package/lib/view/aiCfoView/epics/fetchChatHistoryEpic.js +47 -0
  574. package/lib/view/aiCfoView/epics/fetchChatSessionsForUserEpic.js +35 -0
  575. package/lib/view/aiCfoView/epics/fetchRoutineRunsEpic.js +39 -0
  576. package/lib/view/aiCfoView/epics/fetchRoutinesEpic.js +41 -0
  577. package/lib/view/aiCfoView/epics/fetchSkillDetailEpic.js +39 -0
  578. package/lib/view/aiCfoView/epics/fetchSkillVersionBodyEpic.js +49 -0
  579. package/lib/view/aiCfoView/epics/fetchSkillVersionsEpic.js +41 -0
  580. package/lib/view/aiCfoView/epics/fetchSkillsEpic.js +68 -0
  581. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +43 -0
  582. package/lib/view/aiCfoView/epics/runRoutineEpic.js +38 -0
  583. package/lib/view/aiCfoView/epics/saveRoutineEpic.js +69 -0
  584. package/lib/view/aiCfoView/epics/saveSkillEpic.js +76 -0
  585. package/lib/view/aiCfoView/epics/setRoutineEnabledEpic.js +32 -0
  586. package/lib/view/aiCfoView/epics/setSkillVisibilityEpic.js +36 -0
  587. package/lib/view/aiCfoView/epics/stopSubmitEpic.js +55 -0
  588. package/lib/view/aiCfoView/epics/stopSubmitQuestionEpic.js +41 -0
  589. package/lib/view/aiCfoView/epics/submitFeedbackEpic.js +43 -0
  590. package/lib/view/aiCfoView/epics/submitQuestionEpic.js +69 -0
  591. package/lib/view/aiCfoView/epics/toRoutine.js +69 -0
  592. package/lib/view/aiCfoView/epics/toRoutineRun.js +47 -0
  593. package/lib/view/aiCfoView/epics/toSkillDetail.js +110 -0
  594. package/lib/view/aiCfoView/epics/transcribeAudioEpic.js +64 -0
  595. package/lib/view/apAgingView/apAgingDetail/apAgingDetailPayload.js +47 -0
  596. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +105 -0
  597. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +83 -0
  598. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.js +2 -0
  599. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -0
  600. package/lib/view/apAgingView/apAgingReport/apAgingPayload.js +50 -0
  601. package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +129 -0
  602. package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +70 -0
  603. package/lib/view/apAgingView/apAgingReport/apAgingState.js +2 -0
  604. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +47 -0
  605. package/lib/view/arAgingView/arAgingDetail/arAgingDetailPayload.js +47 -0
  606. package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +105 -0
  607. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +56 -0
  608. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.js +2 -0
  609. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -0
  610. package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +57 -0
  611. package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +141 -0
  612. package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +99 -0
  613. package/lib/view/arAgingView/arAgingReport/arAgingState.js +2 -0
  614. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +45 -0
  615. package/lib/view/auditReportView/auditReportViewHelper.js +106 -0
  616. package/lib/view/auditReportView/auditReportViewPayload.js +2 -0
  617. package/lib/view/auditReportView/auditReportViewReducer.js +206 -0
  618. package/lib/view/auditReportView/auditReportViewSelector.js +49 -0
  619. package/lib/view/auditReportView/auditReportViewState.js +25 -0
  620. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
  621. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
  622. package/lib/view/auditReportView/epics/saveReasonForAuditRuleEpic.js +46 -0
  623. package/lib/view/authenticationView/authenticationViewPayload.js +2 -0
  624. package/lib/view/authenticationView/authenticationViewReducer.js +63 -0
  625. package/lib/view/authenticationView/authenticationViewSelector.js +11 -0
  626. package/lib/view/authenticationView/authenticationViewState.js +2 -0
  627. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -0
  628. package/lib/view/autoComplete/entityAutoCompletePayload.js +2 -0
  629. package/lib/view/autoComplete/entityAutoCompleteReducer.js +62 -0
  630. package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -0
  631. package/lib/view/autoComplete/entityAutoCompleteState.js +2 -0
  632. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +50 -0
  633. package/lib/view/balanceSheet/balanceSheetEpic.js +35 -0
  634. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +86 -0
  635. package/lib/view/balanceSheet/balanceSheetPayload.js +76 -0
  636. package/lib/view/balanceSheet/balanceSheetReducer.js +123 -0
  637. package/lib/view/balanceSheet/balanceSheetSelector.js +95 -0
  638. package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +115 -0
  639. package/lib/view/balanceSheet/balanceSheetState.js +2 -0
  640. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewEpic.js +34 -0
  641. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewPayload.js +2 -0
  642. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewReducer.js +133 -0
  643. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelector.js +94 -0
  644. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelectorTypes.js +2 -0
  645. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewState.js +2 -0
  646. package/lib/view/balanceSheetClassesView/balanceSheetForTimeframeClassesViewEpic.js +66 -0
  647. package/lib/view/balanceSheetProjectView/balanceSheetForTimeframeProjectViewEpic.js +68 -0
  648. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewEpic.js +34 -0
  649. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewPayload.js +2 -0
  650. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewReducer.js +129 -0
  651. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelector.js +94 -0
  652. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelectorTypes.js +2 -0
  653. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewState.js +2 -0
  654. package/lib/view/bankAccountView/bankAccountViewPayload.js +29 -0
  655. package/lib/view/bankAccountView/bankAccountViewReducer.js +353 -0
  656. package/lib/view/bankAccountView/bankAccountViewSelector.js +38 -0
  657. package/lib/view/bankAccountView/bankAccountViewState.js +2 -0
  658. package/lib/view/bankAccountView/epic/createBankAccountEpic.js +168 -0
  659. package/lib/view/bankAccountView/epic/createInternationalBankAccountEpic.js +124 -0
  660. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +64 -0
  661. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -0
  662. package/lib/view/bankAccountView/epic/deleteInternationalBankAccountEpic.js +59 -0
  663. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -0
  664. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +45 -0
  665. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +43 -0
  666. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +43 -0
  667. package/lib/view/billPayCard/billPayCardPayload.js +2 -0
  668. package/lib/view/billPayCard/billPayCardReducer.js +57 -0
  669. package/lib/view/billPayCard/billPayCardSelector.js +16 -0
  670. package/lib/view/billPayCard/billPayCardState.js +4 -0
  671. package/lib/view/billPayCard/fetchBillPayCardEpic.js +51 -0
  672. package/lib/view/cardBalance/cardBalanceEpic.js +21 -0
  673. package/lib/view/cardBalance/cardBalancePayload.js +2 -0
  674. package/lib/view/cardBalance/cardBalanceReducer.js +71 -0
  675. package/lib/view/cardBalance/cardBalanceSelector.js +19 -0
  676. package/lib/view/cardBalance/cardBalanceState.js +2 -0
  677. package/lib/view/cardBalance/statementCloseDayEpic.js +25 -0
  678. package/lib/view/cardPayment/cardPaymentViewPayload.js +2 -0
  679. package/lib/view/cardPayment/cardPaymentViewReducer.js +130 -0
  680. package/lib/view/cardPayment/cardPaymentViewSelector.js +24 -0
  681. package/lib/view/cardPayment/cardPaymentViewState.js +2 -0
  682. package/lib/view/cardPayment/cardPaymentViewTypes.js +9 -0
  683. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.js +70 -0
  684. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.js +44 -0
  685. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.js +56 -0
  686. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.js +48 -0
  687. package/lib/view/cashBalance/cashBalanceEpic.js +21 -0
  688. package/lib/view/cashBalance/cashBalancePayload.js +2 -0
  689. package/lib/view/cashBalance/cashBalanceReducer.js +58 -0
  690. package/lib/view/cashBalance/cashBalanceSelector.js +19 -0
  691. package/lib/view/cashBalance/cashBalanceState.js +2 -0
  692. package/lib/view/cashFlow/cashFlowEpic.js +35 -0
  693. package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +63 -0
  694. package/lib/view/cashFlow/cashFlowGroupedSectionOrder.js +50 -0
  695. package/lib/view/cashFlow/cashFlowPayload.js +69 -0
  696. package/lib/view/cashFlow/cashFlowReducer.js +116 -0
  697. package/lib/view/cashFlow/cashFlowSelector.js +109 -0
  698. package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -0
  699. package/lib/view/cashFlow/cashFlowState.js +2 -0
  700. package/lib/view/cashFlowClassesView/cashFlowClassesViewEpic.js +34 -0
  701. package/lib/view/cashFlowClassesView/cashFlowClassesViewPayload.js +2 -0
  702. package/lib/view/cashFlowClassesView/cashFlowClassesViewReducer.js +133 -0
  703. package/lib/view/cashFlowClassesView/cashFlowClassesViewSelector.js +57 -0
  704. package/lib/view/cashFlowClassesView/cashFlowClassesViewSelectorTypes.js +2 -0
  705. package/lib/view/cashFlowClassesView/cashFlowClassesViewState.js +2 -0
  706. package/lib/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.js +60 -0
  707. package/lib/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.js +62 -0
  708. package/lib/view/cashFlowProjectView/cashFlowProjectViewEpic.js +34 -0
  709. package/lib/view/cashFlowProjectView/cashFlowProjectViewPayload.js +2 -0
  710. package/lib/view/cashFlowProjectView/cashFlowProjectViewReducer.js +129 -0
  711. package/lib/view/cashFlowProjectView/cashFlowProjectViewSelector.js +58 -0
  712. package/lib/view/cashFlowProjectView/cashFlowProjectViewSelectorTypes.js +2 -0
  713. package/lib/view/cashFlowProjectView/cashFlowProjectViewState.js +2 -0
  714. package/lib/view/cashInCashOut/cashInCashOutEpic.js +32 -0
  715. package/lib/view/cashInCashOut/cashInCashOutPayload.js +2 -0
  716. package/lib/view/cashInCashOut/cashInCashOutReducer.js +362 -0
  717. package/lib/view/cashInCashOut/cashInCashOutSelector.js +123 -0
  718. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +8 -0
  719. package/lib/view/cashInCashOut/cashInCashOutState.js +2 -0
  720. package/lib/view/cashPosition/cashPositionEpic.js +31 -0
  721. package/lib/view/cashPosition/cashPositionPayload.js +2 -0
  722. package/lib/view/cashPosition/cashPositionReducer.js +377 -0
  723. package/lib/view/cashPosition/cashPositionSelector.js +93 -0
  724. package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -0
  725. package/lib/view/cashPosition/cashPositionState.js +2 -0
  726. package/lib/view/classList/classListPayload.js +2 -0
  727. package/lib/view/classList/classListReducer.js +52 -0
  728. package/lib/view/classList/classListSelector.js +22 -0
  729. package/lib/view/classList/classListState.js +2 -0
  730. package/lib/view/classList/fetchClassListEpic.js +35 -0
  731. package/lib/view/coachmarkPreferences/coachmarkPreferencesPayload.js +2 -0
  732. package/lib/view/coachmarkPreferences/coachmarkPreferencesReducer.js +66 -0
  733. package/lib/view/coachmarkPreferences/coachmarkPreferencesSelector.js +14 -0
  734. package/lib/view/coachmarkPreferences/coachmarkPreferencesState.js +2 -0
  735. package/lib/view/coachmarkPreferences/epic/fetchCoachmarkPreferencesEpic.js +22 -0
  736. package/lib/view/coachmarkPreferences/epic/markCoachmarkDismissedEpic.js +31 -0
  737. package/lib/view/common/getSelectedAndHighlightedRanges.js +302 -0
  738. package/lib/view/common/recurringViewHelper.js +88 -0
  739. package/lib/view/common/reportsHelpers.js +21 -0
  740. package/lib/view/common/zeniClearingAccountHelper.js +13 -0
  741. package/lib/view/commonVendorView/commonVendorViewHelper.js +104 -0
  742. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -0
  743. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +141 -0
  744. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -0
  745. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -0
  746. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +146 -0
  747. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +63 -0
  748. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewState.js +2 -0
  749. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +66 -0
  750. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -0
  751. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +69 -0
  752. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -0
  753. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -0
  754. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +254 -0
  755. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -0
  756. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -0
  757. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -0
  758. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +88 -0
  759. package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +92 -0
  760. package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +656 -0
  761. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +257 -0
  762. package/lib/view/commonVendorView/vendorView/vendorViewState.js +2 -0
  763. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +34 -0
  764. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -0
  765. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +64 -0
  766. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -0
  767. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +56 -0
  768. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +71 -0
  769. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +84 -0
  770. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +237 -0
  771. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +127 -0
  772. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +13 -0
  773. package/lib/view/companyConfigView/companyConfigEpic.js +23 -0
  774. package/lib/view/companyConfigView/companyConfigPayload.js +2 -0
  775. package/lib/view/companyConfigView/companyConfigReducer.js +40 -0
  776. package/lib/view/companyConfigView/companyConfigSelector.js +12 -0
  777. package/lib/view/companyConfigView/companyConfigState.js +2 -0
  778. package/lib/view/companyHealthMetricView/companyHealthMetricConfigPayload.js +2 -0
  779. package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +44 -0
  780. package/lib/view/companyHealthMetricView/companyHealthMetricConfigSelector.js +9 -0
  781. package/lib/view/companyHealthMetricView/companyHealthMetricView.js +2 -0
  782. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -0
  783. package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +107 -0
  784. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +566 -0
  785. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricConfigEpic.js +23 -0
  786. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -0
  787. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +28 -0
  788. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +57 -0
  789. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.js +2 -0
  790. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +366 -0
  791. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +121 -0
  792. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +50 -0
  793. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +66 -0
  794. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
  795. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +55 -0
  796. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +52 -0
  797. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +33 -0
  798. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +84 -0
  799. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +91 -0
  800. package/lib/view/companyMonthEndReportView/monthEndTemplateData.js +36 -0
  801. package/lib/view/companyTaskManagerView/companyTaskManagerViewPayload.js +2 -0
  802. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +129 -0
  803. package/lib/view/companyTaskManagerView/companyTaskManagerViewSelector.js +51 -0
  804. package/lib/view/companyTaskManagerView/companyTaskManagerViewState.js +2 -0
  805. package/lib/view/companyTaskManagerView/epics/fetchCockpitContextEpic.js +42 -0
  806. package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +211 -0
  807. package/lib/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js +27 -0
  808. package/lib/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.js +20 -0
  809. package/lib/view/companyView/companyViewPayload.js +2 -0
  810. package/lib/view/companyView/companyViewReducer.js +813 -0
  811. package/lib/view/companyView/companyViewState.js +2 -0
  812. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -0
  813. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -0
  814. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +90 -0
  815. package/lib/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +30 -0
  816. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -0
  817. package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +60 -0
  818. package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +41 -0
  819. package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +77 -0
  820. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +34 -0
  821. package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +66 -0
  822. package/lib/view/companyView/epic/companyPassport/updateAutoReviewIncomeWithoutCustomerEpic.js +70 -0
  823. package/lib/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +103 -0
  824. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +58 -0
  825. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +52 -0
  826. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +41 -0
  827. package/lib/view/companyView/epic/companyPassport/updateCustomersTabSettingEpic.js +51 -0
  828. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +74 -0
  829. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +85 -0
  830. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -0
  831. package/lib/view/companyView/epic/fetchCompanyMetaDataEpic.js +24 -0
  832. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -0
  833. package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -0
  834. package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +42 -0
  835. package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -0
  836. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -0
  837. package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -0
  838. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +19 -0
  839. package/lib/view/companyView/epic/updateCompanyProductServicesEpic.js +95 -0
  840. package/lib/view/companyView/epic/updateCompanyQboRealmIdEpic.js +62 -0
  841. package/lib/view/companyView/helpers/cockpitHelpers.js +177 -0
  842. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -0
  843. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -0
  844. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.js +7 -0
  845. package/lib/view/companyView/selector/companyManagementViewSelector.js +547 -0
  846. package/lib/view/companyView/selector/companyPassportViewSelector.js +166 -0
  847. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -0
  848. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +63 -0
  849. package/lib/view/companyView/selectorHelpers/getCompanyView.js +195 -0
  850. package/lib/view/companyView/types/cockpitTabsID.js +17 -0
  851. package/lib/view/companyView/types/cockpitTypes.js +108 -0
  852. package/lib/view/companyView/types/commonState.js +12 -0
  853. package/lib/view/companyView/types/companyManagementViewState.js +35 -0
  854. package/lib/view/companyView/types/companyMetaDataViewState.js +17 -0
  855. package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.js +2 -0
  856. package/lib/view/companyView/types/companyPassport/companyPassportLocalData.js +83 -0
  857. package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +117 -0
  858. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +10 -0
  859. package/lib/view/companyView/types/companyPassport/officerType.js +7 -0
  860. package/lib/view/companyView/types/companyPassportViewPayload.js +119 -0
  861. package/lib/view/companyView/types/companyPortfolioViewState.js +17 -0
  862. package/lib/view/companyView/types/companyView.js +2 -0
  863. package/lib/view/companyView/types/userAndRole.js +22 -0
  864. package/lib/view/createTransferEntry/createTransferEntryReducer.js +89 -0
  865. package/lib/view/createTransferEntry/createTransferEntrySelector.js +69 -0
  866. package/lib/view/createTransferEntry/createTransferEntryState.js +20 -0
  867. package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +140 -0
  868. package/lib/view/createTransferEntry/epics/fetchTransferAccountsEpic.js +40 -0
  869. package/lib/view/creditAgentView/buildCreditReportCsv.js +47 -0
  870. package/lib/view/creditAgentView/creditAgentViewPayload.js +7 -0
  871. package/lib/view/creditAgentView/creditAgentViewReducer.js +173 -0
  872. package/lib/view/creditAgentView/creditAgentViewSelector.js +93 -0
  873. package/lib/view/creditAgentView/creditAgentViewState.js +22 -0
  874. package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +24 -0
  875. package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +23 -0
  876. package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +62 -0
  877. package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +43 -0
  878. package/lib/view/creditAgentView/epics/updateCardProfileEpic.js +66 -0
  879. package/lib/view/customerSummaryView/customerSummaryViewPayload.js +2 -0
  880. package/lib/view/customerSummaryView/customerSummaryViewReducer.js +238 -0
  881. package/lib/view/customerSummaryView/customerSummaryViewSelector.js +76 -0
  882. package/lib/view/customerSummaryView/customerSummaryViewState.js +13 -0
  883. package/lib/view/customerSummaryView/epic/fetchCustomerSummaryDetailEpic.js +34 -0
  884. package/lib/view/customerSummaryView/epic/fetchCustomerSummaryListEpic.js +36 -0
  885. package/lib/view/customerSummaryView/epic/saveCustomerSummaryDetailEpic.js +48 -0
  886. package/lib/view/dashboard/dashboardEpic.js +189 -0
  887. package/lib/view/dashboard/dashboardReducer.js +39 -0
  888. package/lib/view/dashboard/dashboardSelector.js +231 -0
  889. package/lib/view/dashboard/dashboardState.js +2 -0
  890. package/lib/view/dashboardLayout/dashboardLayoutPayload.js +2 -0
  891. package/lib/view/dashboardLayout/dashboardLayoutReducer.js +92 -0
  892. package/lib/view/dashboardLayout/dashboardLayoutSelector.js +6 -0
  893. package/lib/view/dashboardLayout/dashboardLayoutState.js +2 -0
  894. package/lib/view/dashboardLayout/fetchDashboardLayoutEpic.js +52 -0
  895. package/lib/view/dashboardLayout/updateDashboardLayoutEpic.js +28 -0
  896. package/lib/view/expenseAutomationView/epics/accountRecon/confirmStatementMappingEpic.js +63 -0
  897. package/lib/view/expenseAutomationView/epics/accountRecon/deleteAccountStatementEpic.js +39 -0
  898. package/lib/view/expenseAutomationView/epics/accountRecon/deleteCombinedStatementEpic.js +58 -0
  899. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +67 -0
  900. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +131 -0
  901. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +69 -0
  902. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +59 -0
  903. package/lib/view/expenseAutomationView/epics/accountRecon/parseCombinedStatementEpic.js +35 -0
  904. package/lib/view/expenseAutomationView/epics/accountRecon/parseStatementEpic.js +35 -0
  905. package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.js +35 -0
  906. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +250 -0
  907. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +232 -0
  908. package/lib/view/expenseAutomationView/epics/accountRecon/updateCombinedStatementInfoEpic.js +69 -0
  909. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +122 -0
  910. package/lib/view/expenseAutomationView/epics/accountRecon/updateStatementInfoEpic.js +63 -0
  911. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js +53 -0
  912. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js +63 -0
  913. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +110 -0
  914. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +72 -0
  915. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +87 -0
  916. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +84 -0
  917. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchAccountSettingsListForAccountTypesEpic.js +41 -0
  918. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchRecommendationForAccountSettingsEpic.js +27 -0
  919. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/initializeAccountSettingsViewEpic.js +13 -0
  920. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/saveAccountSettingsViewEpic.js +50 -0
  921. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.js +50 -0
  922. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +42 -0
  923. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.js +11 -0
  924. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +54 -0
  925. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +125 -0
  926. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.js +19 -0
  927. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.js +64 -0
  928. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +57 -0
  929. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.js +82 -0
  930. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchFailedJePostingsEpic.js +43 -0
  931. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +54 -0
  932. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +143 -0
  933. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchOneTimeAccrualEpic.js +49 -0
  934. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +94 -0
  935. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +53 -0
  936. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/createOneTimeAccrualEpic.js +108 -0
  937. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/initializeNewScheduleEpic.js +29 -0
  938. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.js +142 -0
  939. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/searchTransactionsForNewScheduleEpic.js +83 -0
  940. package/lib/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.js +216 -0
  941. package/lib/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.js +64 -0
  942. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +98 -0
  943. package/lib/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.js +115 -0
  944. package/lib/view/expenseAutomationView/epics/jeSchedule/switchJESchedulesTabEpic.js +43 -0
  945. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadMatchResultToastEpic.js +37 -0
  946. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +33 -0
  947. package/lib/view/expenseAutomationView/epics/missingReceipts/confirmBulkUploadMatchEpic.js +53 -0
  948. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchDetailsEpic.js +44 -0
  949. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchesEpic.js +53 -0
  950. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchCompletedTransactionsEpic.js +85 -0
  951. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +58 -0
  952. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMoreBatchDetailsEpic.js +37 -0
  953. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMultipleBatchDetailsEpic.js +77 -0
  954. package/lib/view/expenseAutomationView/epics/missingReceipts/refetchCompletedTransactionsOnBulkUploadSortEpic.js +16 -0
  955. package/lib/view/expenseAutomationView/epics/missingReceipts/refreshBatchDetailsForBatchIdEpic.js +56 -0
  956. package/lib/view/expenseAutomationView/epics/missingReceipts/restoreBulkUploadAutomatchingOnMountEpic.js +104 -0
  957. package/lib/view/expenseAutomationView/epics/missingReceipts/searchTransactionsForManualMatchEpic.js +86 -0
  958. package/lib/view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic.js +60 -0
  959. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +28 -0
  960. package/lib/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +105 -0
  961. package/lib/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js +107 -0
  962. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +137 -0
  963. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +82 -0
  964. package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +81 -0
  965. package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +141 -0
  966. package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +31 -0
  967. package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +31 -0
  968. package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +209 -0
  969. package/lib/view/expenseAutomationView/epics/transactionCategorization/uploadTransactionReceiptSuccessEpic.js +28 -0
  970. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +2 -0
  971. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +83 -0
  972. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +219 -0
  973. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +17 -0
  974. package/lib/view/expenseAutomationView/helpers/bulkUploadTiming.js +19 -0
  975. package/lib/view/expenseAutomationView/helpers/helpers.js +70 -0
  976. package/lib/view/expenseAutomationView/helpers/jeAccountSettingHelper.js +50 -0
  977. package/lib/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +50 -0
  978. package/lib/view/expenseAutomationView/helpers/newScheduleLocalDataHelper.js +145 -0
  979. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +58 -0
  980. package/lib/view/expenseAutomationView/helpers/rollingCalendarDateRangeInclusive.js +16 -0
  981. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +182 -0
  982. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +777 -0
  983. package/lib/view/expenseAutomationView/payload/actualMatchingPayload.js +79 -0
  984. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +10 -0
  985. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +120 -0
  986. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +213 -0
  987. package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +335 -0
  988. package/lib/view/expenseAutomationView/payload/transactionCategorizationPayload.js +2 -0
  989. package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +517 -0
  990. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +388 -0
  991. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +861 -0
  992. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +675 -0
  993. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +1231 -0
  994. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +1141 -0
  995. package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.js +2 -0
  996. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +2 -0
  997. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +2 -0
  998. package/lib/view/expenseAutomationView/selectorTypes/jeAccountSettingsViewSelectorTypes.js +2 -0
  999. package/lib/view/expenseAutomationView/selectorTypes/jeNewScheduleViewSelectorTypes.js +2 -0
  1000. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +2 -0
  1001. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +2 -0
  1002. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +7 -0
  1003. package/lib/view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes.js +2 -0
  1004. package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +454 -0
  1005. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +156 -0
  1006. package/lib/view/expenseAutomationView/selectors/getAllStepsHelper.js +43 -0
  1007. package/lib/view/expenseAutomationView/selectors/jeAccountSettingsViewSelector.js +42 -0
  1008. package/lib/view/expenseAutomationView/selectors/jeNewScheduleViewSelector.js +112 -0
  1009. package/lib/view/expenseAutomationView/selectors/jeScheduledTransactionWithFailedEntries.js +2 -0
  1010. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +525 -0
  1011. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +321 -0
  1012. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +586 -0
  1013. package/lib/view/expenseAutomationView/selectors/statementParseViewSelector.js +120 -0
  1014. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +272 -0
  1015. package/lib/view/expenseAutomationView/transactionFilterHelpers.js +342 -0
  1016. package/lib/view/expenseAutomationView/transactionFilterTypes.js +11 -0
  1017. package/lib/view/expenseAutomationView/types/actualMatchingViewState.js +63 -0
  1018. package/lib/view/expenseAutomationView/types/completedSubTab.js +21 -0
  1019. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +6 -0
  1020. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +36 -0
  1021. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +63 -0
  1022. package/lib/view/expenseAutomationView/types/reconciliationViewState.js +55 -0
  1023. package/lib/view/expenseAutomationView/types/transactionGroup.js +30 -0
  1024. package/lib/view/expenseAutomationView/types/transactionsViewState.js +33 -0
  1025. package/lib/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js +27 -0
  1026. package/lib/view/featureNotificationView/epics/notifyMeForFeatureEpic.js +29 -0
  1027. package/lib/view/featureNotificationView/featureNotificationViewPayload.js +15 -0
  1028. package/lib/view/featureNotificationView/featureNotificationViewReducer.js +113 -0
  1029. package/lib/view/featureNotificationView/featureNotificationViewSelector.js +11 -0
  1030. package/lib/view/featureNotificationView/featureNotificationViewState.js +2 -0
  1031. package/lib/view/fileView/epic/deleteFileEpic.js +31 -0
  1032. package/lib/view/fileView/epic/deleteFileListEpic.js +28 -0
  1033. package/lib/view/fileView/epic/fetchFileEpic.js +32 -0
  1034. package/lib/view/fileView/epic/fetchFileListEpic.js +30 -0
  1035. package/lib/view/fileView/epic/updateFileNameEpic.js +33 -0
  1036. package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -0
  1037. package/lib/view/fileView/fileDownloadHelpers.js +31 -0
  1038. package/lib/view/fileView/fileUploadHelpers.js +89 -0
  1039. package/lib/view/fileView/fileViewPayload.js +2 -0
  1040. package/lib/view/fileView/fileViewReducer.js +169 -0
  1041. package/lib/view/fileView/fileViewSelector.js +36 -0
  1042. package/lib/view/fileView/fileViewState.js +15 -0
  1043. package/lib/view/financeStatement/financeStatementCompareBalances.js +27 -0
  1044. package/lib/view/financeStatement/financeStatementEpic.js +71 -0
  1045. package/lib/view/financeStatement/financeStatementReducer.js +128 -0
  1046. package/lib/view/financeStatement/financeStatementSelector.js +216 -0
  1047. package/lib/view/financeStatement/financeStatementState.js +2 -0
  1048. package/lib/view/forecastList/fetchForecastListEpic.js +19 -0
  1049. package/lib/view/forecastList/forecastListPayload.js +2 -0
  1050. package/lib/view/forecastList/forecastListReducer.js +41 -0
  1051. package/lib/view/forecastList/forecastListSelector.js +27 -0
  1052. package/lib/view/forecastList/forecastListState.js +2 -0
  1053. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -0
  1054. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +64 -0
  1055. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -0
  1056. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.js +2 -0
  1057. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +52 -0
  1058. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -0
  1059. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +7 -0
  1060. package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -0
  1061. package/lib/view/globalMerchantView/globalMerchantViewReducer.js +127 -0
  1062. package/lib/view/globalMerchantView/globalMerchantViewSelector.js +20 -0
  1063. package/lib/view/globalMerchantView/globalMerchantViewState.js +2 -0
  1064. package/lib/view/insightsCard/insightsCardEpic.js +20 -0
  1065. package/lib/view/insightsCard/insightsCardPayload.js +2 -0
  1066. package/lib/view/insightsCard/insightsCardReducer.js +52 -0
  1067. package/lib/view/insightsCard/insightsCardSelector.js +18 -0
  1068. package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -0
  1069. package/lib/view/insightsCard/insightsCardState.js +2 -0
  1070. package/lib/view/invoicing/auditView/auditViewEpics.js +58 -0
  1071. package/lib/view/invoicing/auditView/auditViewPayload.js +78 -0
  1072. package/lib/view/invoicing/auditView/auditViewReducer.js +63 -0
  1073. package/lib/view/invoicing/auditView/auditViewSelector.js +25 -0
  1074. package/lib/view/invoicing/auditView/auditViewState.js +2 -0
  1075. package/lib/view/invoicing/couponView/couponViewPayload.js +2 -0
  1076. package/lib/view/invoicing/couponView/couponViewReducer.js +111 -0
  1077. package/lib/view/invoicing/couponView/couponViewSelector.js +67 -0
  1078. package/lib/view/invoicing/couponView/couponViewState.js +37 -0
  1079. package/lib/view/invoicing/couponView/fetchInvoicingCouponCountsEpic.js +33 -0
  1080. package/lib/view/invoicing/couponView/fetchInvoicingCouponListEpic.js +63 -0
  1081. package/lib/view/invoicing/couponView/fetchInvoicingCouponListPageEpic.js +40 -0
  1082. package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +49 -0
  1083. package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +16 -0
  1084. package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +34 -0
  1085. package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +52 -0
  1086. package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.js +27 -0
  1087. package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +2 -0
  1088. package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +64 -0
  1089. package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +80 -0
  1090. package/lib/view/invoicing/createInvoice/createInvoicePayload.js +2 -0
  1091. package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +65 -0
  1092. package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +106 -0
  1093. package/lib/view/invoicing/createInvoice/createInvoiceState.js +2 -0
  1094. package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +78 -0
  1095. package/lib/view/invoicing/customerPaymentMethod/createInvoicingSetupIntentEpic.js +21 -0
  1096. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +2 -0
  1097. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +97 -0
  1098. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +19 -0
  1099. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +2 -0
  1100. package/lib/view/invoicing/customerPaymentMethod/fetchInvoicingPlaidLinkTokenEpic.js +19 -0
  1101. package/lib/view/invoicing/customerPaymentMethod/saveInvoicingPaymentMethodEpic.js +25 -0
  1102. package/lib/view/invoicing/customerPaymentMethod/sendInvoicingPaymentLinkEpic.js +30 -0
  1103. package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +2 -0
  1104. package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +172 -0
  1105. package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +26 -0
  1106. package/lib/view/invoicing/dataImportView/dataImportViewState.js +2 -0
  1107. package/lib/view/invoicing/dataImportView/fetchInvoicingDataImportStatusEpic.js +18 -0
  1108. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationDiagnosticsEpic.js +48 -0
  1109. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionEpic.js +18 -0
  1110. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionsEpic.js +18 -0
  1111. package/lib/view/invoicing/dataImportView/invoicingDataImportActionEpic.js +39 -0
  1112. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +185 -0
  1113. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +159 -0
  1114. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +144 -0
  1115. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +2 -0
  1116. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailEpic.js +29 -0
  1117. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailPageEpic.js +53 -0
  1118. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormHelper.js +138 -0
  1119. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogPlanActionEpic.js +32 -0
  1120. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogProductActionEpic.js +39 -0
  1121. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +117 -0
  1122. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/seedInvoicingCatalogItemFormDraftEpic.js +49 -0
  1123. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +77 -0
  1124. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +146 -0
  1125. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +141 -0
  1126. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +70 -0
  1127. package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +26 -0
  1128. package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailPageEpic.js +58 -0
  1129. package/lib/view/invoicing/editInvoicingCouponDetailView/runInvoicingDiscountActionEpic.js +59 -0
  1130. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +90 -0
  1131. package/lib/view/invoicing/editInvoicingCouponDetailView/seedInvoicingCouponFormDraftEpic.js +49 -0
  1132. package/lib/view/invoicing/editInvoicingCustomerDetailView/addPromotionalCreditsEpic.js +29 -0
  1133. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +49 -0
  1134. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +210 -0
  1135. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +147 -0
  1136. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +2 -0
  1137. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +29 -0
  1138. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +58 -0
  1139. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewEpic.js +35 -0
  1140. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewPageEpic.js +27 -0
  1141. package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +65 -0
  1142. package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +42 -0
  1143. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +79 -0
  1144. package/lib/view/invoicing/editInvoicingCustomerDetailView/seedInvoicingCustomerFormDraftEpic.js +49 -0
  1145. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +171 -0
  1146. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +200 -0
  1147. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +306 -0
  1148. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +2 -0
  1149. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailEpic.js +32 -0
  1150. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailPageEpic.js +68 -0
  1151. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionEstimateEpic.js +53 -0
  1152. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +44 -0
  1153. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +66 -0
  1154. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionDetailHelper.js +6 -0
  1155. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +107 -0
  1156. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/runInvoicingSubscriptionActionEpic.js +70 -0
  1157. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +125 -0
  1158. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/seedInvoicingSubscriptionFormDraftEpic.js +47 -0
  1159. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +86 -0
  1160. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +29 -0
  1161. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailPageEpic.js +37 -0
  1162. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +2 -0
  1163. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +85 -0
  1164. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +43 -0
  1165. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +2 -0
  1166. package/lib/view/invoicing/invoiceDetail/runInvoicingInvoiceActionEpic.js +62 -0
  1167. package/lib/view/invoicing/invoiceDetail/updateInvoicingInvoiceEpic.js +56 -0
  1168. package/lib/view/invoicing/invoiceDetail/voidInvoiceHelper.js +38 -0
  1169. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +36 -0
  1170. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +19 -0
  1171. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +62 -0
  1172. package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +36 -0
  1173. package/lib/view/invoicing/invoiceList/invoiceListPayload.js +2 -0
  1174. package/lib/view/invoicing/invoiceList/invoiceListReducer.js +182 -0
  1175. package/lib/view/invoicing/invoiceList/invoiceListSelector.js +40 -0
  1176. package/lib/view/invoicing/invoiceList/invoiceListState.js +40 -0
  1177. package/lib/view/invoicing/invoicingApiHelper.js +19 -0
  1178. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +24 -0
  1179. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +39 -0
  1180. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +58 -0
  1181. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +58 -0
  1182. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +2 -0
  1183. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +161 -0
  1184. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +87 -0
  1185. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +2 -0
  1186. package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +25 -0
  1187. package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +22 -0
  1188. package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +25 -0
  1189. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +21 -0
  1190. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +214 -0
  1191. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +34 -0
  1192. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +2 -0
  1193. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +23 -0
  1194. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +2 -0
  1195. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +38 -0
  1196. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +18 -0
  1197. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +2 -0
  1198. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +27 -0
  1199. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +61 -0
  1200. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +44 -0
  1201. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +2 -0
  1202. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +91 -0
  1203. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +37 -0
  1204. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +35 -0
  1205. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +24 -0
  1206. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +74 -0
  1207. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +45 -0
  1208. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +2 -0
  1209. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +108 -0
  1210. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +50 -0
  1211. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +32 -0
  1212. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailEpic.js +23 -0
  1213. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailPageEpic.js +39 -0
  1214. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewEpic.js +30 -0
  1215. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewPageEpic.js +20 -0
  1216. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +13 -0
  1217. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +126 -0
  1218. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +41 -0
  1219. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +2 -0
  1220. package/lib/view/invoicing/invoicingDunningCaseDetailView/runInvoicingDunningActionEpic.js +60 -0
  1221. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +24 -0
  1222. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +58 -0
  1223. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +51 -0
  1224. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +2 -0
  1225. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +91 -0
  1226. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +59 -0
  1227. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +40 -0
  1228. package/lib/view/invoicing/invoicingFormDraft.js +86 -0
  1229. package/lib/view/invoicing/invoicingListTabCache.js +120 -0
  1230. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +21 -0
  1231. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +21 -0
  1232. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +56 -0
  1233. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +21 -0
  1234. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +21 -0
  1235. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +21 -0
  1236. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +21 -0
  1237. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +99 -0
  1238. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +125 -0
  1239. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +73 -0
  1240. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +2 -0
  1241. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingAccountingPickersEpic.js +37 -0
  1242. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +19 -0
  1243. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +19 -0
  1244. package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +2 -0
  1245. package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +51 -0
  1246. package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +47 -0
  1247. package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +28 -0
  1248. package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +98 -0
  1249. package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +247 -0
  1250. package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.js +2 -0
  1251. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +27 -0
  1252. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +72 -0
  1253. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +44 -0
  1254. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +2 -0
  1255. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +104 -0
  1256. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +43 -0
  1257. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +37 -0
  1258. package/lib/view/invoicing/invoicingTabHelper.js +30 -0
  1259. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +23 -0
  1260. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +2 -0
  1261. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +57 -0
  1262. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +17 -0
  1263. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +2 -0
  1264. package/lib/view/invoicing/invoicingTransactionDetailView/runInvoicingPaymentActionEpic.js +31 -0
  1265. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +52 -0
  1266. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +30 -0
  1267. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +2 -0
  1268. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +122 -0
  1269. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +34 -0
  1270. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +59 -0
  1271. package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +52 -0
  1272. package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +10 -0
  1273. package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.js +69 -0
  1274. package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +58 -0
  1275. package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +36 -0
  1276. package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.js +2 -0
  1277. package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +103 -0
  1278. package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +13 -0
  1279. package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +64 -0
  1280. package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +71 -0
  1281. package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +77 -0
  1282. package/lib/view/invoicing/recordPayment/recordPaymentState.js +2 -0
  1283. package/lib/view/invoicing/runningInvoicingActionId.js +10 -0
  1284. package/lib/view/invoicing/settingsView/epics/connectInvoicingStripeEpic.js +31 -0
  1285. package/lib/view/invoicing/settingsView/epics/disconnectInvoicingStripeEpic.js +23 -0
  1286. package/lib/view/invoicing/settingsView/epics/fetchInvoicingSettingsEpic.js +29 -0
  1287. package/lib/view/invoicing/settingsView/epics/saveInvoicingSettingsEpic.js +50 -0
  1288. package/lib/view/invoicing/settingsView/epics/settingsViewActionType.js +2 -0
  1289. package/lib/view/invoicing/settingsView/epics/submitInvoicingQboSettingsEpic.js +29 -0
  1290. package/lib/view/invoicing/settingsView/initializeInvoicingBrandingAddressEpic.js +31 -0
  1291. package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +57 -0
  1292. package/lib/view/invoicing/settingsView/invoicingQboSettingsFormConfig.js +58 -0
  1293. package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +11 -0
  1294. package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
  1295. package/lib/view/invoicing/settingsView/settingsViewReducer.js +135 -0
  1296. package/lib/view/invoicing/settingsView/settingsViewSelector.js +198 -0
  1297. package/lib/view/invoicing/settingsView/settingsViewState.js +2 -0
  1298. package/lib/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +64 -0
  1299. package/lib/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.js +47 -0
  1300. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +61 -0
  1301. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +2 -0
  1302. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +108 -0
  1303. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +93 -0
  1304. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +2 -0
  1305. package/lib/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.js +113 -0
  1306. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -0
  1307. package/lib/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.js +73 -0
  1308. package/lib/view/netBurnOrIncome/netBurnOrIncomeHelper.js +37 -0
  1309. package/lib/view/netBurnOrIncome/netBurnOrIncomePayload.js +2 -0
  1310. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +581 -0
  1311. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +201 -0
  1312. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +22 -0
  1313. package/lib/view/netBurnOrIncome/netBurnOrIncomeState.js +2 -0
  1314. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.js +34 -0
  1315. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.js +2 -0
  1316. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +120 -0
  1317. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -0
  1318. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -0
  1319. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.js +2 -0
  1320. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.js +44 -0
  1321. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +49 -0
  1322. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +34 -0
  1323. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +2 -0
  1324. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +118 -0
  1325. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +69 -0
  1326. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +2 -0
  1327. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +2 -0
  1328. package/lib/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.js +29 -0
  1329. package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js +44 -0
  1330. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +49 -0
  1331. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +133 -0
  1332. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +85 -0
  1333. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +7 -0
  1334. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +16 -0
  1335. package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +117 -0
  1336. package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +9 -0
  1337. package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +46 -0
  1338. package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +296 -0
  1339. package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +40 -0
  1340. package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +9 -0
  1341. package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.js +39 -0
  1342. package/lib/view/notificationView/epics/fetchNotificationViewEpic.js +58 -0
  1343. package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js +50 -0
  1344. package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js +86 -0
  1345. package/lib/view/notificationView/notificationView.helpers.js +11 -0
  1346. package/lib/view/notificationView/notificationViewPayload.js +2 -0
  1347. package/lib/view/notificationView/notificationViewReducer.js +384 -0
  1348. package/lib/view/notificationView/notificationViewSelector.js +99 -0
  1349. package/lib/view/notificationView/notificationViewState.js +19 -0
  1350. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +53 -0
  1351. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -0
  1352. package/lib/view/onboardingView/cockpitView/epic/fetchQBOConnectionPoolEpic.js +19 -0
  1353. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -0
  1354. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +147 -0
  1355. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +88 -0
  1356. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -0
  1357. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -0
  1358. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +127 -0
  1359. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +120 -0
  1360. package/lib/view/onboardingView/cockpitView/epic/updateQBOConnectionPoolExternalConnectionEpic.js +31 -0
  1361. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +137 -0
  1362. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +600 -0
  1363. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +260 -0
  1364. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.js +2 -0
  1365. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +29 -0
  1366. package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +44 -0
  1367. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js +33 -0
  1368. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +44 -0
  1369. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +71 -0
  1370. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -0
  1371. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +53 -0
  1372. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewDashboardLoadedEpic.js +32 -0
  1373. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +209 -0
  1374. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +148 -0
  1375. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -0
  1376. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -0
  1377. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +45 -0
  1378. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -0
  1379. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -0
  1380. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +777 -0
  1381. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +355 -0
  1382. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +72 -0
  1383. package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -0
  1384. package/lib/view/opEx/fetchOpExWithForecastEpic.js +112 -0
  1385. package/lib/view/opEx/opExEpic.js +35 -0
  1386. package/lib/view/opEx/opExForTimeFrameEpic.js +68 -0
  1387. package/lib/view/opEx/opExPayload.js +2 -0
  1388. package/lib/view/opEx/opExReducer.js +544 -0
  1389. package/lib/view/opEx/opExSelector.js +189 -0
  1390. package/lib/view/opEx/opExSelectorTypes.js +2 -0
  1391. package/lib/view/opEx/opExState.js +2 -0
  1392. package/lib/view/opExByVendor/fetchOpExByVendorReportEpic.js +35 -0
  1393. package/lib/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.js +83 -0
  1394. package/lib/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.js +41 -0
  1395. package/lib/view/opExByVendor/opExByVendorPayload.js +2 -0
  1396. package/lib/view/opExByVendor/opExByVendorReducer.js +383 -0
  1397. package/lib/view/opExByVendor/opExByVendorSelector.js +182 -0
  1398. package/lib/view/opExByVendor/opExByVendorState.js +16 -0
  1399. package/lib/view/opExByVendor/refreshOpExByVendorReportEpic.js +25 -0
  1400. package/lib/view/opExClassesView/opExClassesViewEpic.js +34 -0
  1401. package/lib/view/opExClassesView/opExClassesViewPayload.js +2 -0
  1402. package/lib/view/opExClassesView/opExClassesViewReducer.js +121 -0
  1403. package/lib/view/opExClassesView/opExClassesViewSelector.js +90 -0
  1404. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +14 -0
  1405. package/lib/view/opExClassesView/opExClassesViewState.js +2 -0
  1406. package/lib/view/opExClassesView/opExForTimeframeClassesViewEpic.js +42 -0
  1407. package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.js +47 -0
  1408. package/lib/view/opExProjectView/opExProjectViewEpic.js +34 -0
  1409. package/lib/view/opExProjectView/opExProjectViewPayload.js +2 -0
  1410. package/lib/view/opExProjectView/opExProjectViewReducer.js +118 -0
  1411. package/lib/view/opExProjectView/opExProjectViewSelector.js +56 -0
  1412. package/lib/view/opExProjectView/opExProjectViewSelectorTypes.js +2 -0
  1413. package/lib/view/opExProjectView/opExProjectViewState.js +2 -0
  1414. package/lib/view/ownerList/fetchOwnerListEpic.js +34 -0
  1415. package/lib/view/ownerList/ownerListPayload.js +2 -0
  1416. package/lib/view/ownerList/ownerListReducer.js +41 -0
  1417. package/lib/view/ownerList/ownerListState.js +2 -0
  1418. package/lib/view/people/changeZeniPersonRolesEpic.js +38 -0
  1419. package/lib/view/people/deletePersonEpic.js +24 -0
  1420. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +23 -0
  1421. package/lib/view/people/fetchPeopleEpic.js +29 -0
  1422. package/lib/view/people/helpers/updateManagersListOnRoleChange.js +20 -0
  1423. package/lib/view/people/initializeEditPersonEpic.js +42 -0
  1424. package/lib/view/people/invitePeopleEpic.js +61 -0
  1425. package/lib/view/people/inviteZeniPeopleEpic.js +53 -0
  1426. package/lib/view/people/peoplePageEpic.js +23 -0
  1427. package/lib/view/people/peoplePayload.js +2 -0
  1428. package/lib/view/people/peopleReducer.js +257 -0
  1429. package/lib/view/people/peopleSaveUpdatesEpic.js +79 -0
  1430. package/lib/view/people/peopleSelector.js +148 -0
  1431. package/lib/view/people/peopleSelectorTypes.js +2 -0
  1432. package/lib/view/people/peopleState.js +2 -0
  1433. package/lib/view/people/peopleTypes.js +12 -0
  1434. package/lib/view/people/resendInviteEpic.js +25 -0
  1435. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +48 -0
  1436. package/lib/view/profitAndLoss/profitAndLossEpic.js +35 -0
  1437. package/lib/view/profitAndLoss/profitAndLossForTimeframeEpic.js +68 -0
  1438. package/lib/view/profitAndLoss/profitAndLossPayload.js +2 -0
  1439. package/lib/view/profitAndLoss/profitAndLossReducer.js +186 -0
  1440. package/lib/view/profitAndLoss/profitAndLossSelector.js +114 -0
  1441. package/lib/view/profitAndLoss/profitAndLossState.js +2 -0
  1442. package/lib/view/profitAndLossClassesView/horizontalSectionEmptyBalancesSlice.js +20 -0
  1443. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +338 -0
  1444. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelectorTypes.js +13 -0
  1445. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewEpic.js +34 -0
  1446. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewPayload.js +2 -0
  1447. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +130 -0
  1448. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +71 -0
  1449. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -0
  1450. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.js +2 -0
  1451. package/lib/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.js +48 -0
  1452. package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +310 -0
  1453. package/lib/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js +51 -0
  1454. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js +34 -0
  1455. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js +2 -0
  1456. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +126 -0
  1457. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js +69 -0
  1458. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js +2 -0
  1459. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewState.js +2 -0
  1460. package/lib/view/projectList/fetchProjectListEpic.js +42 -0
  1461. package/lib/view/projectList/projectListPayload.js +2 -0
  1462. package/lib/view/projectList/projectListReducer.js +46 -0
  1463. package/lib/view/projectList/projectListSelector.js +13 -0
  1464. package/lib/view/projectList/projectListState.js +2 -0
  1465. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +84 -0
  1466. package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +109 -0
  1467. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -0
  1468. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -0
  1469. package/lib/view/recommendation/recommendationHelper.js +94 -0
  1470. package/lib/view/recommendation/recommendationPayload.js +7 -0
  1471. package/lib/view/recommendation/recommendationReducer.js +186 -0
  1472. package/lib/view/recommendation/recommendationSelector.js +19 -0
  1473. package/lib/view/recommendation/recommendationState.js +13 -0
  1474. package/lib/view/recommendation/submitRecommendationFeedbackEpic.js +68 -0
  1475. package/lib/view/reconciliationReportView/epic/fetchReconciliationReportEpic.js +33 -0
  1476. package/lib/view/reconciliationReportView/reconciliationReportViewPayload.js +2 -0
  1477. package/lib/view/reconciliationReportView/reconciliationReportViewReducer.js +48 -0
  1478. package/lib/view/reconciliationReportView/reconciliationReportViewSelector.js +13 -0
  1479. package/lib/view/reconciliationReportView/reconciliationReportViewState.js +2 -0
  1480. package/lib/view/referralView/epics/fetchReferralsEpic.js +30 -0
  1481. package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -0
  1482. package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -0
  1483. package/lib/view/referralView/epics/sendReferralInviteEpic.js +48 -0
  1484. package/lib/view/referralView/epics/updateReferViewedEpic.js +22 -0
  1485. package/lib/view/referralView/referralPayload.js +33 -0
  1486. package/lib/view/referralView/referralReducer.js +204 -0
  1487. package/lib/view/referralView/referralSelector.js +92 -0
  1488. package/lib/view/referralView/referralState.js +42 -0
  1489. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -0
  1490. package/lib/view/reimbursementCard/reimbursementCardPayload.js +2 -0
  1491. package/lib/view/reimbursementCard/reimbursementCardReducer.js +58 -0
  1492. package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -0
  1493. package/lib/view/reimbursementCard/reimbursementCardState.js +4 -0
  1494. package/lib/view/reportUIOptions/reportUIOptionsReducer.js +125 -0
  1495. package/lib/view/reportUIOptions/reportUIOptionsState.js +2 -0
  1496. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -0
  1497. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +76 -0
  1498. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +51 -0
  1499. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +64 -0
  1500. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +30 -0
  1501. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -0
  1502. package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +34 -0
  1503. package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.js +34 -0
  1504. package/lib/view/reportsResync/reportsResyncEpic.js +56 -0
  1505. package/lib/view/reportsResync/reportsResyncReducer.js +64 -0
  1506. package/lib/view/reportsResync/reportsResyncSelector.js +10 -0
  1507. package/lib/view/reportsResync/reportsResyncState.js +2 -0
  1508. package/lib/view/revenue/fetchRevenueWithForecastEpic.js +111 -0
  1509. package/lib/view/revenue/revenueEpic.js +35 -0
  1510. package/lib/view/revenue/revenueForTimeframeEpic.js +70 -0
  1511. package/lib/view/revenue/revenueHelper.js +37 -0
  1512. package/lib/view/revenue/revenuePayload.js +2 -0
  1513. package/lib/view/revenue/revenueReducer.js +563 -0
  1514. package/lib/view/revenue/revenueSelector.js +228 -0
  1515. package/lib/view/revenue/revenueSelectorTypes.js +15 -0
  1516. package/lib/view/revenue/revenueState.js +2 -0
  1517. package/lib/view/revenueClassesView/revenueClassesViewEpic.js +34 -0
  1518. package/lib/view/revenueClassesView/revenueClassesViewPayload.js +2 -0
  1519. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +121 -0
  1520. package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -0
  1521. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -0
  1522. package/lib/view/revenueClassesView/revenueClassesViewState.js +2 -0
  1523. package/lib/view/revenueClassesView/revenueForTimeframeClassesViewEpic.js +34 -0
  1524. package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +39 -0
  1525. package/lib/view/revenueProjectView/revenueProjectViewEpic.js +34 -0
  1526. package/lib/view/revenueProjectView/revenueProjectViewPayload.js +2 -0
  1527. package/lib/view/revenueProjectView/revenueProjectViewReducer.js +118 -0
  1528. package/lib/view/revenueProjectView/revenueProjectViewSelector.js +62 -0
  1529. package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.js +2 -0
  1530. package/lib/view/revenueProjectView/revenueProjectViewState.js +2 -0
  1531. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +47 -0
  1532. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +79 -0
  1533. package/lib/view/reviewCompanyView/reviewCompanyPayload.js +2 -0
  1534. package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +134 -0
  1535. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +155 -0
  1536. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +62 -0
  1537. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.js +13 -0
  1538. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/cancelScheduleAccruedJournalEntryEpic.js +82 -0
  1539. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/createNewSchedulesAccruedEpic.js +34 -0
  1540. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +81 -0
  1541. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +72 -0
  1542. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsEpic.js +52 -0
  1543. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsPageEpic.js +28 -0
  1544. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/initializeScheduleAccruedDetailLocalDataEpic.js +42 -0
  1545. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/saveScheduleAccruedDetailsEpic.js +130 -0
  1546. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/updateAmountsInScheduleAccruedDetailEpic.js +33 -0
  1547. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailLocalDataHelper.js +123 -0
  1548. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +320 -0
  1549. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +397 -0
  1550. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailSelector.js +144 -0
  1551. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailState.js +2 -0
  1552. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +37 -0
  1553. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +81 -0
  1554. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +82 -0
  1555. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +28 -0
  1556. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +40 -0
  1557. package/lib/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +76 -0
  1558. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +104 -0
  1559. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +38 -0
  1560. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +269 -0
  1561. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +345 -0
  1562. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +383 -0
  1563. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +131 -0
  1564. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +2 -0
  1565. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +13 -0
  1566. package/lib/view/scheduleView/scheduleListView/epics/fetchAccruedScheduleListEpic.js +52 -0
  1567. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +64 -0
  1568. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +72 -0
  1569. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -0
  1570. package/lib/view/scheduleView/scheduleListView/scheduleListBalanceTypes.js +2 -0
  1571. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +403 -0
  1572. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
  1573. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +439 -0
  1574. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +393 -0
  1575. package/lib/view/scheduleView/scheduleListView/scheduleListState.js +2 -0
  1576. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +35 -0
  1577. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -0
  1578. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +43 -0
  1579. package/lib/view/settingsView/epic/fetchBillingAccountsViewEpic.js +17 -0
  1580. package/lib/view/settingsView/epic/fetchCompanyBillingAddressEpic.js +57 -0
  1581. package/lib/view/settingsView/epic/fetchMyProfileEpic.js +56 -0
  1582. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +20 -0
  1583. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +60 -0
  1584. package/lib/view/settingsView/epic/fetchNotificationSettingsViewEpic.js +18 -0
  1585. package/lib/view/settingsView/epic/initializeMyProfileLocalDataEpic.js +49 -0
  1586. package/lib/view/settingsView/epic/refreshIntegrationsDataEpic.js +32 -0
  1587. package/lib/view/settingsView/epic/saveCompanyBillingAddressEpic.js +61 -0
  1588. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +92 -0
  1589. package/lib/view/settingsView/epic/updateMyProfileEpic.js +112 -0
  1590. package/lib/view/settingsView/settingsViewHelpers.js +177 -0
  1591. package/lib/view/settingsView/settingsViewPayload.js +2 -0
  1592. package/lib/view/settingsView/settingsViewReducer.js +437 -0
  1593. package/lib/view/settingsView/settingsViewSelector.js +292 -0
  1594. package/lib/view/settingsView/settingsViewState.js +19 -0
  1595. package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -0
  1596. package/lib/view/spendManagement/autotransferRules/autoTransferRuleTypes.js +2 -0
  1597. package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +30 -0
  1598. package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +206 -0
  1599. package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +61 -0
  1600. package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.js +2 -0
  1601. package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +106 -0
  1602. package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +52 -0
  1603. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +40 -0
  1604. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +52 -0
  1605. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +54 -0
  1606. package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +73 -0
  1607. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.js +2 -0
  1608. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +559 -0
  1609. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +414 -0
  1610. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +59 -0
  1611. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +53 -0
  1612. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +76 -0
  1613. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +65 -0
  1614. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +172 -0
  1615. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillRecommendationsEpic.js +104 -0
  1616. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +43 -0
  1617. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchRecommendationsForBill.js +92 -0
  1618. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +89 -0
  1619. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +66 -0
  1620. package/lib/view/spendManagement/billPay/billList/billListFilterHelpers.js +58 -0
  1621. package/lib/view/spendManagement/billPay/billList/billListPayload.js +2 -0
  1622. package/lib/view/spendManagement/billPay/billList/billListReducer.js +189 -0
  1623. package/lib/view/spendManagement/billPay/billList/billListSelector.js +730 -0
  1624. package/lib/view/spendManagement/billPay/billList/billListState.js +68 -0
  1625. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +64 -0
  1626. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +44 -0
  1627. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +270 -0
  1628. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +140 -0
  1629. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.js +39 -0
  1630. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +105 -0
  1631. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +32 -0
  1632. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -0
  1633. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +115 -0
  1634. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +185 -0
  1635. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewState.js +11 -0
  1636. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +53 -0
  1637. package/lib/view/spendManagement/billPay/billPayReview/getDuplicateBills.js +26 -0
  1638. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -0
  1639. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +348 -0
  1640. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +129 -0
  1641. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.js +2 -0
  1642. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.js +2 -0
  1643. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +48 -0
  1644. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +34 -0
  1645. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -0
  1646. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +62 -0
  1647. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +40 -0
  1648. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/reorderBillPayApprovalRulesEpic.js +58 -0
  1649. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +78 -0
  1650. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +176 -0
  1651. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.js +2 -0
  1652. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -0
  1653. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +109 -0
  1654. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +37 -0
  1655. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.js +2 -0
  1656. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +81 -0
  1657. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -0
  1658. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -0
  1659. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -0
  1660. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.js +2 -0
  1661. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +189 -0
  1662. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.js +76 -0
  1663. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +26 -0
  1664. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +79 -0
  1665. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +80 -0
  1666. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +88 -0
  1667. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +32 -0
  1668. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +19 -0
  1669. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +528 -0
  1670. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +751 -0
  1671. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +75 -0
  1672. package/lib/view/spendManagement/billPay/editBillView/epics/applyBillRecommendationsToLocalStoreEpic.js +102 -0
  1673. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +90 -0
  1674. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +56 -0
  1675. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +84 -0
  1676. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorAndUpdateBillLocalDataEpic.js +175 -0
  1677. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +41 -0
  1678. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +249 -0
  1679. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +492 -0
  1680. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +269 -0
  1681. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +122 -0
  1682. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +121 -0
  1683. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -0
  1684. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -0
  1685. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +43 -0
  1686. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +53 -0
  1687. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.js +14 -0
  1688. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +55 -0
  1689. package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +172 -0
  1690. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +50 -0
  1691. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +36 -0
  1692. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +43 -0
  1693. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +66 -0
  1694. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +19 -0
  1695. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +94 -0
  1696. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +33 -0
  1697. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +2 -0
  1698. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +42 -0
  1699. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +42 -0
  1700. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +41 -0
  1701. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +34 -0
  1702. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -0
  1703. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -0
  1704. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +280 -0
  1705. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +58 -0
  1706. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewState.js +2 -0
  1707. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +65 -0
  1708. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -0
  1709. package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +57 -0
  1710. package/lib/view/spendManagement/billPay/previousBills/previousBillsSelector.js +25 -0
  1711. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.js +13 -0
  1712. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -0
  1713. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +42 -0
  1714. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -0
  1715. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.js +2 -0
  1716. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +59 -0
  1717. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.js +28 -0
  1718. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.js +2 -0
  1719. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.js +40 -0
  1720. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.js +43 -0
  1721. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.js +38 -0
  1722. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +78 -0
  1723. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.js +27 -0
  1724. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.js +2 -0
  1725. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.js +42 -0
  1726. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +294 -0
  1727. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +113 -0
  1728. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +48 -0
  1729. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +115 -0
  1730. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +29 -0
  1731. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +369 -0
  1732. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +40 -0
  1733. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +26 -0
  1734. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +10 -0
  1735. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +126 -0
  1736. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +164 -0
  1737. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +31 -0
  1738. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.js +2 -0
  1739. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.js +53 -0
  1740. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +144 -0
  1741. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.js +24 -0
  1742. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +104 -0
  1743. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +100 -0
  1744. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +63 -0
  1745. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +28 -0
  1746. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +101 -0
  1747. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +34 -0
  1748. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.js +2 -0
  1749. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +34 -0
  1750. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +14 -0
  1751. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.js +2 -0
  1752. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +90 -0
  1753. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailSelector.js +55 -0
  1754. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailState.js +13 -0
  1755. package/lib/view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic.js +24 -0
  1756. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js +22 -0
  1757. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +74 -0
  1758. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.js +2 -0
  1759. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -0
  1760. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +152 -0
  1761. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.js +2 -0
  1762. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +679 -0
  1763. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +339 -0
  1764. package/lib/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.js +71 -0
  1765. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +82 -0
  1766. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +67 -0
  1767. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.js +42 -0
  1768. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +47 -0
  1769. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionStatisticsEpic.js +39 -0
  1770. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.js +44 -0
  1771. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js +40 -0
  1772. package/lib/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.js +77 -0
  1773. package/lib/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.js +74 -0
  1774. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -0
  1775. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardLimitEpic.js +74 -0
  1776. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.js +82 -0
  1777. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.js +42 -0
  1778. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +42 -0
  1779. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +93 -0
  1780. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.js +2 -0
  1781. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +375 -0
  1782. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +463 -0
  1783. package/lib/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.js +69 -0
  1784. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +35 -0
  1785. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +107 -0
  1786. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -0
  1787. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountRepaymentEpic.js +23 -0
  1788. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.js +23 -0
  1789. package/lib/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.js +69 -0
  1790. package/lib/view/spendManagement/chargeCards/chargeCardList/resendCardInviteEpic.js +31 -0
  1791. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeCardInviteEpic.js +29 -0
  1792. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.js +71 -0
  1793. package/lib/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.js +68 -0
  1794. package/lib/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.js +76 -0
  1795. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js +35 -0
  1796. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +26 -0
  1797. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js +106 -0
  1798. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js +2 -0
  1799. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +91 -0
  1800. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +107 -0
  1801. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js +35 -0
  1802. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js +35 -0
  1803. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +59 -0
  1804. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +41 -0
  1805. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailState.js +2 -0
  1806. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentPayload.js +2 -0
  1807. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +25 -0
  1808. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +91 -0
  1809. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -0
  1810. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +165 -0
  1811. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +46 -0
  1812. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.js +2 -0
  1813. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +80 -0
  1814. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/enableChargeCardAutoPayEpic.js +54 -0
  1815. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js +48 -0
  1816. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +81 -0
  1817. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -0
  1818. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList.js +2 -0
  1819. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListPayload.js +2 -0
  1820. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +56 -0
  1821. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector.js +13 -0
  1822. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/fetchChargeCardStatementListEpic.js +32 -0
  1823. package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +2 -0
  1824. package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +38 -0
  1825. package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +61 -0
  1826. package/lib/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.js +2 -0
  1827. package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +39 -0
  1828. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.js +30 -0
  1829. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +61 -0
  1830. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +148 -0
  1831. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +178 -0
  1832. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +140 -0
  1833. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +2 -0
  1834. package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +66 -0
  1835. package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +48 -0
  1836. package/lib/view/spendManagement/commonHistoryView/commonHistory.js +33 -0
  1837. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +24 -0
  1838. package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +68 -0
  1839. package/lib/view/spendManagement/commonHistoryView/commonHistorySelector.js +19 -0
  1840. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +63 -0
  1841. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +61 -0
  1842. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +62 -0
  1843. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +81 -0
  1844. package/lib/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.js +41 -0
  1845. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +344 -0
  1846. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +157 -0
  1847. package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.js +17 -0
  1848. package/lib/view/spendManagement/commonSetup/kycKybParseMapper.js +229 -0
  1849. package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -0
  1850. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +387 -0
  1851. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +288 -0
  1852. package/lib/view/spendManagement/commonSetup/setupViewState.js +19 -0
  1853. package/lib/view/spendManagement/commonSetup/types/businessVerification.js +152 -0
  1854. package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.js +46 -0
  1855. package/lib/view/spendManagement/helpers.js +417 -0
  1856. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +30 -0
  1857. package/lib/view/spendManagement/merchantList/merchantListPayload.js +2 -0
  1858. package/lib/view/spendManagement/merchantList/merchantListReducer.js +50 -0
  1859. package/lib/view/spendManagement/merchantList/merchantListSelector.js +13 -0
  1860. package/lib/view/spendManagement/merchantList/merchantListState.js +2 -0
  1861. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js +41 -0
  1862. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +29 -0
  1863. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -0
  1864. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +38 -0
  1865. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -0
  1866. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePrimaryFundingAccountEpic.js +93 -0
  1867. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +148 -0
  1868. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -0
  1869. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +459 -0
  1870. package/lib/view/spendManagement/plaidAccount/plaidAccountViewSelector.js +6 -0
  1871. package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.js +33 -0
  1872. package/lib/view/spendManagement/plaidAccount/types/paymentAccount.js +2 -0
  1873. package/lib/view/spendManagement/plaidAccount/types/plaidConnection.js +2 -0
  1874. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -0
  1875. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +71 -0
  1876. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.js +19 -0
  1877. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.js +14 -0
  1878. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +126 -0
  1879. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.js +52 -0
  1880. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +507 -0
  1881. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +203 -0
  1882. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.js +24 -0
  1883. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -0
  1884. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +67 -0
  1885. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +122 -0
  1886. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +58 -0
  1887. package/lib/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.js +110 -0
  1888. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +195 -0
  1889. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +120 -0
  1890. package/lib/view/spendManagement/reimbursement/editRemiView/getRecommendedCategoryClass.js +26 -0
  1891. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -0
  1892. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.js +19 -0
  1893. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +59 -0
  1894. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +14 -0
  1895. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +10 -0
  1896. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +56 -0
  1897. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +65 -0
  1898. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -0
  1899. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +71 -0
  1900. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +115 -0
  1901. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.js +2 -0
  1902. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +322 -0
  1903. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +320 -0
  1904. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.js +39 -0
  1905. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -0
  1906. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +52 -0
  1907. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +73 -0
  1908. package/lib/view/spendManagement/reimbursement/remiListView/remiListFilterHelpers.js +32 -0
  1909. package/lib/view/spendManagement/reimbursement/remiListView/remiListPayload.js +2 -0
  1910. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +204 -0
  1911. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +616 -0
  1912. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +86 -0
  1913. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +48 -0
  1914. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -0
  1915. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -0
  1916. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +64 -0
  1917. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +40 -0
  1918. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/reorderRemiApprovalRulesEpic.js +65 -0
  1919. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +78 -0
  1920. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -0
  1921. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +342 -0
  1922. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +147 -0
  1923. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.js +2 -0
  1924. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.js +2 -0
  1925. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +83 -0
  1926. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -0
  1927. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +39 -0
  1928. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -0
  1929. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -0
  1930. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -0
  1931. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +167 -0
  1932. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +54 -0
  1933. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +7 -0
  1934. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -0
  1935. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/approveOrRejectRemisBulkActionEpic.js +79 -0
  1936. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/cancelOrDeleteRemisBulkActionEpic.js +80 -0
  1937. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/reviewDraftRemisBulkActionEpic.ts.js +28 -0
  1938. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/submitDraftRemisBulkActionEpic.js +73 -0
  1939. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewPayload.js +2 -0
  1940. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +176 -0
  1941. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector.js +50 -0
  1942. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewState.js +24 -0
  1943. package/lib/view/spendManagement/spendManagementFilterHelpers.js +147 -0
  1944. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +76 -0
  1945. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryHistoryEpic.js +31 -0
  1946. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryTransactionListEpic.js +39 -0
  1947. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailPayload.js +15 -0
  1948. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +181 -0
  1949. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailSelector.js +52 -0
  1950. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailState.js +12 -0
  1951. package/lib/view/spendManagement/treasury/treasurySetUp/epic/acceptTreasuryTermsEpic.js +44 -0
  1952. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchPortfolioAllocationEpic.js +21 -0
  1953. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasuryFundsEpic.js +28 -0
  1954. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasurySetupViewEpic.js +81 -0
  1955. package/lib/view/spendManagement/treasury/treasurySetUp/epic/updatePortfolioAllocationEpic.js +44 -0
  1956. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewPayload.js +2 -0
  1957. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +310 -0
  1958. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewSelector.js +52 -0
  1959. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.js +21 -0
  1960. package/lib/view/spendManagement/treasury/treasuryStatementList/fetchTreasuryStatementListEpic.js +42 -0
  1961. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementList.js +11 -0
  1962. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListPayload.js +2 -0
  1963. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +60 -0
  1964. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListSelector.js +17 -0
  1965. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/fetchTreasuryTaxLetterListEpic.js +41 -0
  1966. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +60 -0
  1967. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector.js +17 -0
  1968. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListState.js +11 -0
  1969. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyEpic.js +91 -0
  1970. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyPayload.js +15 -0
  1971. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +54 -0
  1972. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneySelector.js +64 -0
  1973. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyState.js +2 -0
  1974. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +48 -0
  1975. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +49 -0
  1976. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -0
  1977. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.js +2 -0
  1978. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.js +15 -0
  1979. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +199 -0
  1980. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +86 -0
  1981. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.js +30 -0
  1982. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +58 -0
  1983. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +35 -0
  1984. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -0
  1985. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +67 -0
  1986. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.js +2 -0
  1987. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.js +14 -0
  1988. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +45 -0
  1989. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js +13 -0
  1990. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -0
  1991. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -0
  1992. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +65 -0
  1993. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +25 -0
  1994. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.js +9 -0
  1995. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +57 -0
  1996. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js +39 -0
  1997. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/submitExpressPayEpic.js +66 -0
  1998. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +64 -0
  1999. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +82 -0
  2000. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayState.js +2 -0
  2001. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.js +52 -0
  2002. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +41 -0
  2003. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.js +2 -0
  2004. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -0
  2005. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +99 -0
  2006. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js +20 -0
  2007. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -0
  2008. package/lib/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js +40 -0
  2009. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +19 -0
  2010. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +117 -0
  2011. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +34 -0
  2012. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.js +2 -0
  2013. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -0
  2014. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +68 -0
  2015. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +40 -0
  2016. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.js +2 -0
  2017. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +87 -0
  2018. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +60 -0
  2019. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +2 -0
  2020. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -0
  2021. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +81 -0
  2022. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -0
  2023. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -0
  2024. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +96 -0
  2025. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +41 -0
  2026. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.js +2 -0
  2027. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -0
  2028. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +99 -0
  2029. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +58 -0
  2030. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +24 -0
  2031. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.js +2 -0
  2032. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -0
  2033. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -0
  2034. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -0
  2035. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -0
  2036. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +86 -0
  2037. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -0
  2038. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -0
  2039. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -0
  2040. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -0
  2041. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -0
  2042. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -0
  2043. package/lib/view/subscriptionView/selectorHelpers.js +32 -0
  2044. package/lib/view/subscriptionView/subscriptionEstmiatePayload.js +44 -0
  2045. package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -0
  2046. package/lib/view/subscriptionView/subscriptionViewReducer.js +365 -0
  2047. package/lib/view/subscriptionView/subscriptionViewSelector.js +430 -0
  2048. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -0
  2049. package/lib/view/subscriptionView/subscriptionViewState.js +2 -0
  2050. package/lib/view/subscriptionView/types/subscriptionEstmiate.js +2 -0
  2051. package/lib/view/subscriptionView/types/subscriptionTypes.js +29 -0
  2052. package/lib/view/subscriptionView/types/subscriptionView.js +2 -0
  2053. package/lib/view/tagView/epics/createTagEpic.js +69 -0
  2054. package/lib/view/tagView/epics/deleteTagEpic.js +53 -0
  2055. package/lib/view/tagView/epics/fetchAllTagsEpic.js +33 -0
  2056. package/lib/view/tagView/tagViewPayload.js +2 -0
  2057. package/lib/view/tagView/tagViewReducer.js +99 -0
  2058. package/lib/view/tagView/tagViewSelector.js +17 -0
  2059. package/lib/view/tagView/tagViewState.js +2 -0
  2060. package/lib/view/taskManager/cannedResponsesView/cannedResponses.js +2 -0
  2061. package/lib/view/taskManager/cannedResponsesView/cannedResponsesPayload.js +15 -0
  2062. package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +69 -0
  2063. package/lib/view/taskManager/cannedResponsesView/cannedResponsesSelector.js +6 -0
  2064. package/lib/view/taskManager/cannedResponsesView/epics/deleteCannedResponseEpic.js +21 -0
  2065. package/lib/view/taskManager/cannedResponsesView/epics/fetchCannedResponsesEpic.js +25 -0
  2066. package/lib/view/taskManager/cannedResponsesView/epics/saveCannedResponseEpic.js +33 -0
  2067. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +71 -0
  2068. package/lib/view/taskManager/taskDetailView/epics/createSubTaskEpic.js +100 -0
  2069. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +51 -0
  2070. package/lib/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.js +57 -0
  2071. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +152 -0
  2072. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +46 -0
  2073. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +62 -0
  2074. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +28 -0
  2075. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +170 -0
  2076. package/lib/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js +70 -0
  2077. package/lib/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js +61 -0
  2078. package/lib/view/taskManager/taskDetailView/taskDetail.js +43 -0
  2079. package/lib/view/taskManager/taskDetailView/taskDetailLocalData.js +51 -0
  2080. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +439 -0
  2081. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +193 -0
  2082. package/lib/view/taskManager/taskGroupTemplateView/epics/createTaskFromTaskGroupTemplateEpic.js +54 -0
  2083. package/lib/view/taskManager/taskGroupTemplateView/epics/fetchTaskGroupTemplatesEpic.js +34 -0
  2084. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewPayload.js +2 -0
  2085. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +62 -0
  2086. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewSelector.js +10 -0
  2087. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewState.js +2 -0
  2088. package/lib/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.js +59 -0
  2089. package/lib/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.js +41 -0
  2090. package/lib/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.js +33 -0
  2091. package/lib/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.js +51 -0
  2092. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.js +2 -0
  2093. package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +143 -0
  2094. package/lib/view/taskManager/taskGroupView/taskGroupViewState.js +2 -0
  2095. package/lib/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js +136 -0
  2096. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +23 -0
  2097. package/lib/view/taskManager/taskListView/epics/fetchTaskListEpic.js +45 -0
  2098. package/lib/view/taskManager/taskListView/epics/fetchTaskListPageEpic.js +52 -0
  2099. package/lib/view/taskManager/taskListView/epics/updateTaskFromListViewEpic.js +37 -0
  2100. package/lib/view/taskManager/taskListView/taskList.js +69 -0
  2101. package/lib/view/taskManager/taskListView/taskListFilterHelpers.js +22 -0
  2102. package/lib/view/taskManager/taskListView/taskListPayload.js +2 -0
  2103. package/lib/view/taskManager/taskListView/taskListReducer.js +947 -0
  2104. package/lib/view/taskManager/taskListView/taskListSelector.js +421 -0
  2105. package/lib/view/taskManager/taskListView/taskListViewHelpers.js +114 -0
  2106. package/lib/view/tasksCard/fetchTasksCardEpic.js +18 -0
  2107. package/lib/view/tasksCard/tasksCardPayload.js +2 -0
  2108. package/lib/view/tasksCard/tasksCardReducer.js +67 -0
  2109. package/lib/view/tasksCard/tasksCardSelector.js +54 -0
  2110. package/lib/view/tasksCard/tasksCardState.js +2 -0
  2111. package/lib/view/topEx/topExEpic.js +20 -0
  2112. package/lib/view/topEx/topExPayload.js +2 -0
  2113. package/lib/view/topEx/topExReducer.js +87 -0
  2114. package/lib/view/topEx/topExSelector.js +68 -0
  2115. package/lib/view/topEx/topExSelectorTypes.js +2 -0
  2116. package/lib/view/topEx/topExState.js +17 -0
  2117. package/lib/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js +47 -0
  2118. package/lib/view/transactionActivityLogView/transactionActivityLogViewPayload.js +2 -0
  2119. package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +54 -0
  2120. package/lib/view/transactionActivityLogView/transactionActivityLogViewSelector.js +37 -0
  2121. package/lib/view/transactionActivityLogView/transactionActivityLogViewState.js +2 -0
  2122. package/lib/view/transactionDetail/createTransaction/createTransactionLocalDataHelper.js +172 -0
  2123. package/lib/view/transactionDetail/createTransaction/createTransactionPayload.js +196 -0
  2124. package/lib/view/transactionDetail/createTransaction/createTransactionSelector.js +76 -0
  2125. package/lib/view/transactionDetail/createTransaction/createTransactionState.js +16 -0
  2126. package/lib/view/transactionDetail/createTransaction/epics/createTransactionAttachmentUploadFailureEpic.js +23 -0
  2127. package/lib/view/transactionDetail/createTransaction/epics/createTransactionEpic.js +85 -0
  2128. package/lib/view/transactionDetail/createTransaction/epics/fetchVendorRecommendationsForCreateTransactionEpic.js +57 -0
  2129. package/lib/view/transactionDetail/createTransaction/epics/initializeCreateTransactionLocalDataEpic.js +14 -0
  2130. package/lib/view/transactionDetail/epics/deleteTransactionAttachmentEpic.js +45 -0
  2131. package/lib/view/transactionDetail/epics/downloadAccountingProviderAttachmentEpic.js +26 -0
  2132. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -0
  2133. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +141 -0
  2134. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -0
  2135. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +344 -0
  2136. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +141 -0
  2137. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +396 -0
  2138. package/lib/view/transactionDetail/epics/uploadMissingAttachmentSuccessEpic.js +20 -0
  2139. package/lib/view/transactionDetail/filePayload.js +2 -0
  2140. package/lib/view/transactionDetail/getAccountingProviderAttachmentSelector.js +12 -0
  2141. package/lib/view/transactionDetail/journalEntryLinesViewModel.js +220 -0
  2142. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +1157 -0
  2143. package/lib/view/transactionDetail/transactionDetailPayload.js +2 -0
  2144. package/lib/view/transactionDetail/transactionDetailReducer.js +1084 -0
  2145. package/lib/view/transactionDetail/transactionDetailSelector.js +223 -0
  2146. package/lib/view/transactionDetail/transactionDetailState.js +77 -0
  2147. package/lib/view/transactionDetail/transactionDetailTypes.js +2 -0
  2148. package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -0
  2149. package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -0
  2150. package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +62 -0
  2151. package/lib/view/transactionList/fetchTransactionListByProjectEpic.js +52 -0
  2152. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -0
  2153. package/lib/view/transactionList/filterTransactionsByTimePeriod.js +22 -0
  2154. package/lib/view/transactionList/parallelFetchAccountTransactionListEpic.js +84 -0
  2155. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -0
  2156. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +92 -0
  2157. package/lib/view/transactionList/parallelFetchProjectTransactionListEpic.js +36 -0
  2158. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -0
  2159. package/lib/view/transactionList/reduceTransactionListFetchState.js +56 -0
  2160. package/lib/view/transactionList/transactionListByAccountSelector.js +66 -0
  2161. package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +55 -0
  2162. package/lib/view/transactionList/transactionListByClassSelector.js +67 -0
  2163. package/lib/view/transactionList/transactionListByEntitySelector.js +105 -0
  2164. package/lib/view/transactionList/transactionListByProjectSelector.js +67 -0
  2165. package/lib/view/transactionList/transactionListPayload.js +2 -0
  2166. package/lib/view/transactionList/transactionListReducer.js +489 -0
  2167. package/lib/view/transactionList/transactionListState.js +62 -0
  2168. package/lib/view/trend/fetchExpenseTrendEpic.js +58 -0
  2169. package/lib/view/trend/fetchIncomeTrendEpic.js +82 -0
  2170. package/lib/view/trend/trendPayload.js +2 -0
  2171. package/lib/view/trend/trendReducer.js +78 -0
  2172. package/lib/view/trend/trendSelector.js +139 -0
  2173. package/lib/view/trend/trendState.js +2 -0
  2174. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -0
  2175. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -0
  2176. package/lib/view/trendWithTransactions/reduceTrendWithTransactionsState.js +55 -0
  2177. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +71 -0
  2178. package/lib/view/trendWithTransactions/trendWithTransactionsSelector.js +60 -0
  2179. package/lib/view/trendWithTransactions/trendWithTransactionsState.js +5 -0
  2180. package/lib/view/twoFactorAuthentication/resendOtpEpic.js +172 -0
  2181. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +173 -0
  2182. package/lib/view/twoFactorAuthentication/twoFactorAuthentication.js +38 -0
  2183. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js +11 -0
  2184. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +245 -0
  2185. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationSelector.js +20 -0
  2186. package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +157 -0
  2187. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +52 -0
  2188. package/lib/view/userFinancialAccount/userFinancialAccountPayload.js +2 -0
  2189. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +96 -0
  2190. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +34 -0
  2191. package/lib/view/userFinancialAccount/userFinancialAccountState.js +2 -0
  2192. package/lib/view/userGroupListView/userGroupListViewReducer.js +72 -0
  2193. package/lib/view/userGroupListView/userGroupListViewSelector.js +25 -0
  2194. package/lib/view/userGroupListView/userGroupListViewState.js +2 -0
  2195. package/lib/view/userListView/fetchUserListByTypeEpic.js +91 -0
  2196. package/lib/view/userListView/userListViewPayload.js +2 -0
  2197. package/lib/view/userListView/userListViewReducer.js +85 -0
  2198. package/lib/view/userListView/userListViewSelector.js +38 -0
  2199. package/lib/view/userListView/userListViewState.js +2 -0
  2200. package/lib/view/userRoleConfigView/userRoleConfigEpic.js +36 -0
  2201. package/lib/view/userRoleConfigView/userRoleConfigPayload.js +2 -0
  2202. package/lib/view/userRoleConfigView/userRoleConfigReducer.js +47 -0
  2203. package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -0
  2204. package/lib/view/userRoleConfigView/userRoleConfigState.js +2 -0
  2205. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +23 -0
  2206. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +2 -0
  2207. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +54 -0
  2208. package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +2 -0
  2209. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099DownloadMock.js +95 -0
  2210. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +209 -0
  2211. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +46 -0
  2212. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +158 -0
  2213. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +30 -0
  2214. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.js +49 -0
  2215. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099ListEpic.js +41 -0
  2216. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload.js +2 -0
  2217. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +135 -0
  2218. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +88 -0
  2219. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +13 -0
  2220. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +55 -0
  2221. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +219 -0
  2222. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +58 -0
  2223. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +16 -0
  2224. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +2 -0
  2225. package/lib/view/vendorList/fetchVendorsListEpic.js +97 -0
  2226. package/lib/view/vendorList/vendorListPayload.js +2 -0
  2227. package/lib/view/vendorList/vendorListReducer.js +155 -0
  2228. package/lib/view/vendorList/vendorListSelector.js +91 -0
  2229. package/lib/view/vendorList/vendorListState.js +2 -0
  2230. package/lib/view/vendorReviewView/common/payload/commonTypes.js +94 -0
  2231. package/lib/view/vendorReviewView/common/payload/commonTypesPayloadShapes.js +2 -0
  2232. package/lib/view/vendorReviewView/common/state/commonTypes.js +90 -0
  2233. package/lib/view/vendorReviewView/common/state/recommendedNonExistingGlobalMerchant.js +2 -0
  2234. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.js +37 -0
  2235. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -0
  2236. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.js +61 -0
  2237. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +254 -0
  2238. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js +29 -0
  2239. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +346 -0
  2240. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +126 -0
  2241. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +15 -0
  2242. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +149 -0
  2243. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -0
  2244. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +94 -0
  2245. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +12 -0
  2246. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +266 -0
  2247. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +60 -0
  2248. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +12 -0
  2249. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +75 -0
  2250. package/lib/view/vendorTabView/vendorTabViewReducer.js +58 -0
  2251. package/lib/view/vendorTabView/vendorTabViewSelector.js +15 -0
  2252. package/lib/view/vendorTabView/vendorTabViewState.js +14 -0
  2253. package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -0
  2254. package/lib/view/vendorTypeList/vendorTypeListPayload.js +2 -0
  2255. package/lib/view/vendorTypeList/vendorTypeListReducer.js +40 -0
  2256. package/lib/view/vendorTypeList/vendorTypeListState.js +2 -0
  2257. package/lib/view/vendorTypeList/vendorTypeSelector.js +1 -0
  2258. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +36 -0
  2259. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -0
  2260. package/lib/view/zeniAccStatementList/zeniAccStatementList.js +11 -0
  2261. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.js +2 -0
  2262. package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +85 -0
  2263. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +39 -0
  2264. package/lib/view/zeniOAuthView/epics/approveOAuthConsentEpic.js +69 -0
  2265. package/lib/view/zeniOAuthView/zeniOAuthParamsParser.js +44 -0
  2266. package/lib/view/zeniOAuthView/zeniOAuthReducer.js +57 -0
  2267. package/lib/view/zeniOAuthView/zeniOAuthSelector.js +9 -0
  2268. package/lib/view/zeniOAuthView/zeniOAuthState.js +2 -0
  2269. package/lib/zeniAPI.js +207 -0
  2270. package/lib/zeniAPIClientState.js +7 -0
  2271. package/lib/zeniAPIStatus.js +29 -0
  2272. package/lib/zeniDayJS.js +169 -0
  2273. package/lib/zeniUrl.js +19 -0
  2274. package/package.json +2 -4
@@ -0,0 +1,525 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.isAiAccountantSchedule = void 0;
7
+ exports.isRenderableOneTimeAccrual = isRenderableOneTimeAccrual;
8
+ exports.getJEScheduleRowType = getJEScheduleRowType;
9
+ exports.isPendingReviewRow = isPendingReviewRow;
10
+ exports.isExistingTabRow = isExistingTabRow;
11
+ exports.isAccruedScheduleRow = isAccruedScheduleRow;
12
+ exports.isOneTimeAccrualRow = isOneTimeAccrualRow;
13
+ exports.getExpenseAutomationJESchedulesView = getExpenseAutomationJESchedulesView;
14
+ exports.getExpenseAutomationJEOneTimeAccrualDetailView = getExpenseAutomationJEOneTimeAccrualDetailView;
15
+ const omit_1 = __importDefault(require("lodash/omit"));
16
+ const orderBy_1 = __importDefault(require("lodash/orderBy"));
17
+ const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
18
+ const accountSelector_1 = require("../../../entity/account/accountSelector");
19
+ const jeScheduleHelper_1 = require("../../../entity/jeSchedules/jeScheduleHelper");
20
+ const jeSchedulesSelector_1 = require("../../../entity/jeSchedules/jeSchedulesSelector");
21
+ const jeSchedulesTypes_1 = require("../../../entity/jeSchedules/jeSchedulesTypes");
22
+ const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
23
+ const accountListSelector_1 = require("../../accountList/accountListSelector");
24
+ const classListSelector_1 = require("../../classList/classListSelector");
25
+ const scheduleDetailLocalDataHelper_1 = require("../../scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper");
26
+ const scheduleDetailSelector_1 = require("../../scheduleView/scheduleDetailView/scheduleDetailSelector");
27
+ const scheduleListHelper_1 = require("../../scheduleView/scheduleListView/scheduleListHelper");
28
+ const jeSchedulesViewState_1 = require("../types/jeSchedulesViewState");
29
+ const getAllStepsHelper_1 = require("./getAllStepsHelper");
30
+ const jeAccountSettingsViewSelector_1 = require("./jeAccountSettingsViewSelector");
31
+ const jeNewScheduleViewSelector_1 = require("./jeNewScheduleViewSelector");
32
+ // Matches the AI-automation user addresses webc's schedule list row already
33
+ // checks (JEScheduleReadOnlyListRow/JEScheduleDraftListRow "Method" column,
34
+ // strings.ts aiBotEmail/botEmail) to determine whether a schedule was
35
+ // created by the AI accountant vs. a human.
36
+ const AI_BOT_EMAIL = 'ai@zeni.ai';
37
+ const BOT_EMAIL = 'bot@zeni.ai';
38
+ // A one-time accrual has no jeScheduleType of its own — it is not a JE schedule. It is still an
39
+ // accrued expense, so it counts and filters under that type on the page's type tabs.
40
+ const ONE_TIME_ACCRUAL_SCHEDULE_TYPE = 'accrued_expenses';
41
+ // Which of the two list buckets an accrual belongs in. `draft` still needs a human to post it;
42
+ // everything else is already on the books or in a transient claim.
43
+ const ONE_TIME_ACCRUAL_REVIEW_STATUSES = [
44
+ 'draft',
45
+ ];
46
+ /**
47
+ * `posting_blocked` is written by the posting Cron when a JE fails to post. It is an internal
48
+ * failure state with no human action attached, so it is dropped here rather than hidden at render
49
+ * time — filtering in the view would leave the group counts and KPI totals counting rows nobody
50
+ * can see. The expense-automation endpoint applies no status filter on the close-period path, so
51
+ * these rows do arrive.
52
+ */
53
+ function isRenderableOneTimeAccrual(accrual) {
54
+ return (accrual.accrualStatus !== 'posting_blocked' &&
55
+ // Terminal states the user has already decided. The GET list excludes both server-side, so
56
+ // these only appear in the window between an ignore/revert response being written back and the
57
+ // background refresh landing -- during which an ignored row would otherwise sit in Pending
58
+ // Review offering a Post button. Dropped here rather than at render time so group counts and
59
+ // KPI totals do not count rows nobody can see.
60
+ accrual.accrualStatus !== 'reverted' &&
61
+ !accrual.isIgnored);
62
+ }
63
+ function getJEScheduleRowType(schedule) {
64
+ return isOneTimeAccrualRow(schedule)
65
+ ? ONE_TIME_ACCRUAL_SCHEDULE_TYPE
66
+ : schedule.jeScheduleType;
67
+ }
68
+ function isPendingReviewRow(schedule) {
69
+ return isOneTimeAccrualRow(schedule)
70
+ ? ONE_TIME_ACCRUAL_REVIEW_STATUSES.includes(schedule.accrualStatus)
71
+ : schedule.status.code === 'draft';
72
+ }
73
+ // Belongs on the Existing Schedules tab. For an accrual the endpoint has already filtered to
74
+ // posted, so this only has to agree with that rather than re-derive it.
75
+ function isExistingTabRow(schedule) {
76
+ return isOneTimeAccrualRow(schedule)
77
+ ? schedule.accrualStatus === 'posted'
78
+ : schedule.status.code === 'ongoing';
79
+ }
80
+ // Exported (rather than kept as a closure inside the selector) so it can be
81
+ // unit-tested directly — confidenceScore is a separate, more narrowly
82
+ // populated field that can be null on a schedule the bot user created,
83
+ // which previously caused these schedules to display as "AI Accountant" in
84
+ // the list but count under "Manual" in the KPI summary.
85
+ const isAiAccountantSchedule = (schedule) => {
86
+ // A one-time accrual records who made it as `origin`, which is authoritative — no email
87
+ // sniffing needed, and the JE bot is often absent from the user entity entirely.
88
+ if (isOneTimeAccrualRow(schedule)) {
89
+ return schedule.origin === 'agent';
90
+ }
91
+ return (schedule.createdByUser?.email === AI_BOT_EMAIL ||
92
+ schedule.createdByUser?.email === BOT_EMAIL);
93
+ };
94
+ exports.isAiAccountantSchedule = isAiAccountantSchedule;
95
+ // Accrued schedules are structurally distinct — no baseTransaction, carrying recurringAmount and
96
+ // memo in its place — so anything reading baseTransaction has to branch on this first.
97
+ //
98
+ // Discriminates on jeAccruedScheduleKey, which only JEAccruedSchedule carries. jeScheduleType
99
+ // cannot be used: it is a data field present on BOTH row shapes, so an accrued-typed row that
100
+ // arrived through the prepaid/fixed DTO (failed_je_postings, legacy fetches) would be
101
+ // misclassified and then crash on recurringAmount / jeAccruedScheduleKey.
102
+ function isAccruedScheduleRow(schedule) {
103
+ return 'jeAccruedScheduleKey' in schedule;
104
+ }
105
+ // Same structural approach as isAccruedScheduleRow, and for the same reason: jeOneTimeAccrualKey
106
+ // exists only on this shape. Note the two guards are NOT interchangeable — a one-time accrual is
107
+ // not an accrued *schedule*, and routing it into the accrued branch would read recurringAmount,
108
+ // render postedCount/lifecycleTotal as a lifecycle and startDate–endDate as a period, none of
109
+ // which it has.
110
+ function isOneTimeAccrualRow(schedule) {
111
+ return 'jeOneTimeAccrualKey' in schedule;
112
+ }
113
+ /** The row's own Amount, so callers can read its currency and not just its value. */
114
+ function getScheduleAmountObject(schedule) {
115
+ if (isOneTimeAccrualRow(schedule)) {
116
+ return schedule.estimatedAmount;
117
+ }
118
+ if (isAccruedScheduleRow(schedule)) {
119
+ return schedule.recurringAmount;
120
+ }
121
+ return schedule.baseTransaction.amount;
122
+ }
123
+ function getScheduleAmount(schedule) {
124
+ if (isOneTimeAccrualRow(schedule)) {
125
+ return schedule.estimatedAmount.amount;
126
+ }
127
+ if (isAccruedScheduleRow(schedule)) {
128
+ return schedule.recurringAmount.amount;
129
+ }
130
+ return schedule.baseTransaction.amount.amount;
131
+ }
132
+ // A one-time accrual shares almost no sortable field with a schedule, so it gets its own accessor
133
+ // rather than a guard on each of the dozen cases below. Keys with no meaning for a single-month
134
+ // accrual -- amortizationPeriod, remainingMonths, runningBalance, jePostingDate, scheduleCategory --
135
+ // deliberately fall through to undefined, which sorts them together at one end.
136
+ function getOneTimeAccrualSortValue(accrual, sortKey) {
137
+ switch (sortKey) {
138
+ case 'vendor':
139
+ return accrual.vendorName.toLowerCase();
140
+ case 'category':
141
+ return accrual.jeDebitAccountName?.toLowerCase();
142
+ case 'class':
143
+ return accrual.jeDebitAccountingClassName?.toLowerCase();
144
+ case 'depCategory':
145
+ return accrual.jeCreditAccountName?.toLowerCase();
146
+ case 'type':
147
+ return ONE_TIME_ACCRUAL_SCHEDULE_TYPE;
148
+ case 'totalAmount':
149
+ return accrual.estimatedAmount.amount;
150
+ case 'transactionDate':
151
+ return accrual.postingDate?.valueOf();
152
+ case 'memo':
153
+ return accrual.memo.toLowerCase();
154
+ case 'startMonth':
155
+ return accrual.serviceMonth;
156
+ default:
157
+ return undefined;
158
+ }
159
+ }
160
+ function getJEScheduleSortAccessor(sortKey) {
161
+ const scheduleAccessor = getScheduleRowSortAccessor(sortKey);
162
+ return (schedule) => isOneTimeAccrualRow(schedule)
163
+ ? getOneTimeAccrualSortValue(schedule, sortKey)
164
+ : scheduleAccessor(schedule);
165
+ }
166
+ function getScheduleRowSortAccessor(sortKey) {
167
+ switch (sortKey) {
168
+ case 'vendor':
169
+ return (s) => s.vendor.name?.toLowerCase();
170
+ case 'category':
171
+ return (s) => s.jeDebit.account?.accountName?.toLowerCase();
172
+ case 'class':
173
+ return (s) => s.jeDebit.accountingClass?.className?.toLowerCase();
174
+ case 'depCategory':
175
+ return (s) => s.jeCredit.account?.accountName?.toLowerCase();
176
+ case 'scheduleCategory':
177
+ return (s) => isAccruedScheduleRow(s)
178
+ ? undefined
179
+ : s.baseTransaction.account?.accountName?.toLowerCase();
180
+ case 'startMonth':
181
+ return (s) => s.startDate?.valueOf();
182
+ case 'type':
183
+ return (s) => s.jeScheduleType;
184
+ case 'amortizationPeriod':
185
+ return (s) => s.period;
186
+ case 'jePostingDate':
187
+ return (s) => s.lastDayOfMonth === true
188
+ ? timePeriod_1.LAST_SCHEDULE_DAY_OF_MONTH
189
+ : (s.dayOfPostingDate ?? null);
190
+ case 'remainingMonths':
191
+ return (s) => {
192
+ const total = s.period ?? 0;
193
+ const posted = Array.isArray(s.scheduledJournalEntry)
194
+ ? s.scheduledJournalEntry.length
195
+ : 0;
196
+ return total - posted;
197
+ };
198
+ case 'runningBalance':
199
+ return (s) => {
200
+ const sje = s.scheduledJournalEntry;
201
+ if (sje != null && !Array.isArray(sje)) {
202
+ return sje.runningBalance?.amount ?? null;
203
+ }
204
+ return s.balanceAsOfToday?.amount ?? null;
205
+ };
206
+ case 'totalAmount':
207
+ return (s) => getScheduleAmount(s);
208
+ case 'transactionDate':
209
+ return (s) => s.createTime?.valueOf();
210
+ case 'memo':
211
+ return (s) => isAccruedScheduleRow(s)
212
+ ? s.memo.toLowerCase()
213
+ : s.baseTransaction.memo?.toLowerCase();
214
+ default:
215
+ return (s) => s.startDate?.valueOf();
216
+ }
217
+ }
218
+ function sortJEScheduledTransactions(transactions, sortKey, sortOrder) {
219
+ const accessor = getJEScheduleSortAccessor(sortKey);
220
+ return (0, orderBy_1.default)(transactions, [accessor], [sortOrder === 'ascending' ? 'asc' : 'desc']);
221
+ }
222
+ function getExpenseAutomationJESchedulesView(state) {
223
+ const jeScheduledTransaction = [];
224
+ const failedJeScheduledTransaction = [];
225
+ const accruedSchedules = [];
226
+ const oneTimeAccruals = [];
227
+ const { accountState, accountListState, classState, classListState, expenseAutomationJESchedulesViewState, expenseAutomationViewState, monthEndCloseChecksState, } = state;
228
+ const { jeScheduleTransactionKeysByPeriodAndTab, jeScheduleAccruedKeysByPeriodAndTab, jeScheduleOneTimeAccrualKeysByPeriodAndTab, failedJePostings, jeScheduleLocalDataById, postStatusById, ignoreStatusById, revertStatusById, oneTimeAccrualActionStatusById, uiState, error, fetchState, refreshStatus, newSchedule, } = expenseAutomationJESchedulesViewState;
229
+ const accountSettingsView = (0, jeAccountSettingsViewSelector_1.getJEAccountSettingsView)(state);
230
+ const newScheduleView = newSchedule.selectedDetailScheduleType === 'fixed_assets' ||
231
+ newSchedule.selectedDetailScheduleType === 'prepaid_expenses'
232
+ ? (0, jeNewScheduleViewSelector_1.getNewScheduleView)(state, newSchedule.selectedDetailScheduleType)
233
+ : undefined;
234
+ const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state);
235
+ const { selectedPeriodByTenantId } = expenseAutomationViewState;
236
+ const selectedPeriod = selectedPeriodByTenantId[currentTenant.tenantId];
237
+ const accountTypes = (0, scheduleListHelper_1.getAccountsTypesForScheduleList)('prepaid_expenses');
238
+ const uncategorizedAccounts = (0, accountListSelector_1.getUncategorizedAccounts)(accountState, accountListState, accountTypes.accountListKey);
239
+ const scheduleDetailAccountTypes = (0, scheduleDetailLocalDataHelper_1.getAccountsTypesForScheduleDetails)('prepaid_expenses');
240
+ const scheduleDetailAccountIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, scheduleDetailAccountTypes);
241
+ const allAccountList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, 'schedulesAccountList');
242
+ const filteredAccounts = allAccountList.accounts.filter((account) => scheduleDetailAccountIds.includes(account.accountId));
243
+ const depreciationCategoryIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, ['fixed_assets', 'other_assets'] // This will always be for fixed assets list
244
+ );
245
+ const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)('fixed_assets');
246
+ const fixedAssetLabelAccountIds = accountLabel != null
247
+ ? (0, accountListSelector_1.getAccountIdsForLabel)(accountListState, accountTypes.accountListKey, accountLabel)
248
+ : [];
249
+ const filteredDepAccounts = allAccountList.accounts.filter((account) => depreciationCategoryIds.includes(account.accountId) &&
250
+ !fixedAssetLabelAccountIds.includes(account.accountId));
251
+ const allClassList = (0, classListSelector_1.getClassList)(classState, classListState);
252
+ const allClasses = allClassList.classes.map((classData) => {
253
+ return (0, omit_1.default)(classData, ['accountIds', 'key']);
254
+ });
255
+ const accountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
256
+ scheduleDetailAccountIds.includes(account.accountId[0]));
257
+ const depAccountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, accountTypes.accountListKey);
258
+ const filteredDepAccountListNestedAccountHierarchy = (0, scheduleDetailSelector_1.filterNestedAccountHierarchyById)(depAccountListNestedAccountHierarchy, filteredDepAccounts.map((account) => account.accountId));
259
+ const classListNestedAccountHierarchy = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
260
+ const monthYearPeriodId = selectedPeriod != null ? (0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod) : null;
261
+ const selectedPeriodTabKey = monthYearPeriodId != null
262
+ ? (0, jeSchedulesViewState_1.getJESchedulePeriodTabKey)(uiState.selectedPageTab, monthYearPeriodId)
263
+ : null;
264
+ const jeScheduleTransactionKeysForSelectedTab = selectedPeriodTabKey != null
265
+ ? jeScheduleTransactionKeysByPeriodAndTab[selectedPeriodTabKey]
266
+ : undefined;
267
+ // Distinguishes "this tab has never been fetched for this period" from "fetched and genuinely
268
+ // empty". Without it the page cannot tell a first visit from a real empty state, and renders an
269
+ // empty table where it should render a skeleton.
270
+ const hasLoadedForSelectedTab = jeScheduleTransactionKeysForSelectedTab != null;
271
+ const jeScheduleTransactionKeys = jeScheduleTransactionKeysForSelectedTab ?? [];
272
+ const jeScheduleAccruedKeys = (selectedPeriodTabKey != null
273
+ ? jeScheduleAccruedKeysByPeriodAndTab[selectedPeriodTabKey]
274
+ : undefined) ?? [];
275
+ const jeScheduleOneTimeAccrualKeys = (selectedPeriodTabKey != null
276
+ ? jeScheduleOneTimeAccrualKeysByPeriodAndTab[selectedPeriodTabKey]
277
+ : undefined) ?? [];
278
+ jeScheduleOneTimeAccrualKeys.forEach((jeOneTimeAccrualKey) => {
279
+ const accrual = (0, jeSchedulesSelector_1.getJEOneTimeAccrualByKey)(jeOneTimeAccrualKey, state.jeSchedulesState);
280
+ if (accrual != null && isRenderableOneTimeAccrual(accrual)) {
281
+ oneTimeAccruals.push(accrual);
282
+ }
283
+ });
284
+ jeScheduleTransactionKeys.forEach((jeScheduleKey) => {
285
+ const jeScheduleDetails = (0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleTransactionKey)(jeScheduleKey, state);
286
+ jeScheduledTransaction.push(jeScheduleDetails);
287
+ });
288
+ jeScheduleAccruedKeys.forEach((jeAccruedScheduleKey) => {
289
+ const accruedScheduleDetails = (0, jeSchedulesSelector_1.getJEAccruedScheduleByJEScheduleKey)(jeAccruedScheduleKey, state);
290
+ if (accruedScheduleDetails != null) {
291
+ accruedSchedules.push(accruedScheduleDetails);
292
+ }
293
+ });
294
+ // Sourced from the tenant-wide bucket, not the per-period one: a failed posting belongs to no
295
+ // close month, and windowing it is what kept older failures off the only tab that can resolve
296
+ // them.
297
+ failedJePostings.jeScheduleTransactionKeys.forEach((jeScheduleKey) => {
298
+ // getJEScheduledTransactionByJEScheduleTransactionKey throws three different ways: it
299
+ // destructures the result of recordGet without a null check, and it raises explicitly for a
300
+ // missing vendor and for a missing base transaction. Catching rather than pre-checking each
301
+ // one keeps this correct if a fourth is added, and none of the three is recoverable here --
302
+ // the row cannot be drawn either way.
303
+ //
304
+ // This matters more for this bucket than anywhere else on the page. It is tenant-wide, so it
305
+ // names schedules the close-month list never loaded, and the group is defined by deleted
306
+ // vendors and deleted categories -- precisely the rows whose entities are most likely to be
307
+ // missing. Unguarded, one such key takes down the whole JE tab instead of dropping one row.
308
+ try {
309
+ failedJeScheduledTransaction.push((0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleTransactionKey)(jeScheduleKey, state));
310
+ }
311
+ catch {
312
+ // Intentionally swallowed: a failed posting we cannot resolve is one missing row, and the
313
+ // alternative is a blank page for every other row too.
314
+ }
315
+ });
316
+ // What the endpoint last reported as failing. The entity store keeps every month a schedule
317
+ // has and an entry resolved by someone else keeps its old `error` array, so `error` alone would
318
+ // leave a Retry button on a posting that is no longer failing.
319
+ const failedScheduledJournalEntryIDs = new Set(failedJePostings.scheduledJournalEntryIDs);
320
+ const { sortKey, sortOrder, selectedJETypeFilter } = uiState;
321
+ const matchesTypeFilter = (schedule) => selectedJETypeFilter == null ||
322
+ getJEScheduleRowType(schedule) === selectedJETypeFilter;
323
+ const unsortedResolveSchedules = [];
324
+ failedJeScheduledTransaction.forEach((schedule) => {
325
+ // Only the entries that actually carry an error. The schedule's entry array is shared state:
326
+ // opening a schedule's detail page or Quick View replaces it with every month the schedule
327
+ // has, posted ones included, so fanning out over all of them turned one failed posting into a
328
+ // row per month -- and a month that never failed has nothing to resolve, so it rendered with
329
+ // an empty action column.
330
+ //
331
+ // Intersected with the ids the endpoint actually returned, not just `error`: the entry array
332
+ // is a cache of every month, and an entry whose failure someone else resolved keeps its stale
333
+ // error array until something overwrites it. Only what the last fetch named is still failing.
334
+ schedule.scheduledJournalEntry
335
+ .filter((journalEntry) => journalEntry.error.length > 0 &&
336
+ failedScheduledJournalEntryIDs.has(journalEntry.scheduledJournalEntryID))
337
+ .forEach((journalEntry) => {
338
+ unsortedResolveSchedules.push({
339
+ ...schedule,
340
+ scheduledJournalEntry: journalEntry,
341
+ });
342
+ });
343
+ });
344
+ const resolveSchedules = sortJEScheduledTransactions(unsortedResolveSchedules.filter(matchesTypeFilter), sortKey, sortOrder);
345
+ const isCreatedStatus = (schedule) => {
346
+ // An accrual is "created" once it is not review work: posted, reversing, reversed, or in a
347
+ // transient posting claim.
348
+ if (isOneTimeAccrualRow(schedule)) {
349
+ return !isPendingReviewRow(schedule);
350
+ }
351
+ return (schedule.status.code === 'ongoing' ||
352
+ schedule.status.code === 'completed' ||
353
+ schedule.status.code === 'marked_as_completed');
354
+ };
355
+ const allScheduleRows = [
356
+ ...jeScheduledTransaction,
357
+ ...accruedSchedules,
358
+ ...oneTimeAccruals,
359
+ ];
360
+ const pendingReviewSchedules = sortJEScheduledTransactions([
361
+ ...allScheduleRows.filter((schedule) => isPendingReviewRow(schedule) && matchesTypeFilter(schedule)),
362
+ ], sortKey, sortOrder);
363
+ const createdSchedules = sortJEScheduledTransactions(allScheduleRows.filter((schedule) => isCreatedStatus(schedule) && matchesTypeFilter(schedule)), sortKey, sortOrder);
364
+ // KPI summary — derived from unfiltered schedules so counts are always accurate
365
+ const allSchedules = allScheduleRows;
366
+ const sumAmount = (schedules) => schedules.reduce((total, schedule) => total + (getScheduleAmount(schedule) ?? 0), 0);
367
+ const pendingReviewTotal = sumAmount(pendingReviewSchedules);
368
+ const createdTotal = sumAmount(createdSchedules);
369
+ /**
370
+ * The currency the tiles render in. Taken from the schedules themselves rather than assumed:
371
+ * every row on a tab shares a tenant currency, so the first one that states it is the answer.
372
+ */
373
+ const sumToAmount = (schedules) => {
374
+ const first = schedules[0];
375
+ const currency = first != null
376
+ ? getScheduleAmountObject(first)
377
+ : allScheduleAmountFallback;
378
+ return {
379
+ ...currency,
380
+ amount: sumAmount(schedules),
381
+ };
382
+ };
383
+ // An empty bucket still has to render a currency; borrow it from any row on the page.
384
+ const allScheduleAmountFallback = allScheduleRows.length > 0
385
+ ? getScheduleAmountObject(allScheduleRows[0])
386
+ : { amount: 0, currencyCode: '', currencySymbol: '' };
387
+ const aiAccountantSchedules = allSchedules.filter(exports.isAiAccountantSchedule);
388
+ const manualSchedules = allSchedules.filter((schedule) => !(0, exports.isAiAccountantSchedule)(schedule));
389
+ const pendingUnfiltered = allSchedules.filter((schedule) => isPendingReviewRow(schedule));
390
+ const kpiSummary = {
391
+ aiAccountant: {
392
+ count: aiAccountantSchedules.length,
393
+ amount: sumToAmount(aiAccountantSchedules),
394
+ },
395
+ manual: {
396
+ count: manualSchedules.length,
397
+ amount: sumToAmount(manualSchedules),
398
+ },
399
+ needsReview: {
400
+ count: pendingUnfiltered.length,
401
+ amount: sumToAmount(pendingUnfiltered),
402
+ },
403
+ total: {
404
+ count: allSchedules.length,
405
+ amount: sumToAmount(allSchedules),
406
+ },
407
+ };
408
+ // Each tab's badge counts from that tab's own bucket. A tab that has not been fetched yet
409
+ // reports undefined rather than 0, so the UI can hide the badge instead of asserting "none".
410
+ const scheduleCountsByTab = {};
411
+ jeSchedulesViewState_1.ALL_JE_PAGE_TABS.forEach((pageTab) => {
412
+ // AM's badge is `actualMatching.kpiSummary`, not schedule row keys.
413
+ if (pageTab === 'actual_matching') {
414
+ return;
415
+ }
416
+ const periodTabKey = monthYearPeriodId != null
417
+ ? (0, jeSchedulesViewState_1.getJESchedulePeriodTabKey)(pageTab, monthYearPeriodId)
418
+ : null;
419
+ const transactionKeys = periodTabKey != null
420
+ ? jeScheduleTransactionKeysByPeriodAndTab[periodTabKey]
421
+ : undefined;
422
+ if (transactionKeys == null) {
423
+ return;
424
+ }
425
+ const accruedKeys = (periodTabKey != null
426
+ ? jeScheduleAccruedKeysByPeriodAndTab[periodTabKey]
427
+ : undefined) ?? [];
428
+ const oneTimeAccrualKeys = (periodTabKey != null
429
+ ? jeScheduleOneTimeAccrualKeysByPeriodAndTab[periodTabKey]
430
+ : undefined) ?? [];
431
+ const rowsForTab = [
432
+ ...transactionKeys.map((transactionKey) => (0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleTransactionKey)(transactionKey, state)),
433
+ ...accruedKeys
434
+ .map((accruedKey) => (0, jeSchedulesSelector_1.getJEAccruedScheduleByJEScheduleKey)(accruedKey, state))
435
+ .filter((accruedRow) => accruedRow != null),
436
+ ...oneTimeAccrualKeys
437
+ .map((accrualKey) => (0, jeSchedulesSelector_1.getJEOneTimeAccrualByKey)(accrualKey, state.jeSchedulesState))
438
+ .filter((accrualRow) => accrualRow != null && isRenderableOneTimeAccrual(accrualRow)),
439
+ ];
440
+ scheduleCountsByTab[pageTab] =
441
+ pageTab === 'existing_schedules'
442
+ ? rowsForTab.filter((row) => isExistingTabRow(row)).length
443
+ : rowsForTab.filter((row) => isPendingReviewRow(row) || isCreatedStatus(row)).length;
444
+ });
445
+ const allSteps = monthYearPeriodId != null
446
+ ? (0, getAllStepsHelper_1.getAllSteps)(monthEndCloseChecksState, monthYearPeriodId, currentTenant.tenantId)
447
+ : [];
448
+ const jeCompletionStatus = allSteps.find((step) => step.step === 'je_schedules')?.completionStatus;
449
+ const completionStatus = jeCompletionStatus != null ? jeCompletionStatus : 'incomplete';
450
+ const countByType = (schedules) => {
451
+ const counts = jeSchedulesTypes_1.ALL_SCHEDULES_TYPES.reduce((acc, type) => ({ ...acc, [type]: 0 }), {});
452
+ schedules.forEach((schedule) => {
453
+ const scheduleType = getJEScheduleRowType(schedule);
454
+ if (scheduleType != null) {
455
+ counts[scheduleType] += 1;
456
+ }
457
+ });
458
+ return counts;
459
+ };
460
+ const jeScheduleTypeCounts = {
461
+ active: countByType(allSchedules.filter((schedule) => isPendingReviewRow(schedule) || isCreatedStatus(schedule))),
462
+ ongoing: countByType(allSchedules.filter((schedule) => isExistingTabRow(schedule))),
463
+ };
464
+ return {
465
+ uncategorizedAccounts,
466
+ allDepreciationAccountList: filteredDepAccounts,
467
+ allDepreciationAccountListNestedAccountHierarchy: filteredDepAccountListNestedAccountHierarchy,
468
+ classListNestedAccountHierarchy,
469
+ allAccountList: filteredAccounts,
470
+ accountListNestedAccountHierarchy,
471
+ allClassList: allClasses,
472
+ createdSchedules,
473
+ createdTotal,
474
+ hasLoadedForSelectedTab,
475
+ jeScheduleTypeCounts,
476
+ scheduleCountsByTab,
477
+ kpiSummary,
478
+ pendingReviewSchedules,
479
+ pendingReviewTotal,
480
+ failedPostings: resolveSchedules,
481
+ // Exposed so a consumer can tell "still loading" and "the lookup failed" from "nothing has
482
+ // failed". The bucket keeps its rows on failure precisely so an error can be shown beside
483
+ // them, which is only possible if the state travels with them.
484
+ failedPostingsFetchState: failedJePostings.fetchState,
485
+ // Deprecated alias of failedPostings. Still read by the section's footer-form effect and by
486
+ // app-ui analytics; remove once both are repointed.
487
+ resolveSchedules: resolveSchedules,
488
+ accountSettingsView,
489
+ newScheduleView,
490
+ postStatusById: postStatusById,
491
+ ignoreStatusById: ignoreStatusById,
492
+ revertStatusById: revertStatusById,
493
+ oneTimeAccrualActionStatusById: oneTimeAccrualActionStatusById,
494
+ fetchState,
495
+ jeScheduleLocalDataById: jeScheduleLocalDataById,
496
+ uiState: uiState,
497
+ error,
498
+ refreshStatus,
499
+ completionStatus,
500
+ };
501
+ }
502
+ /**
503
+ * One accrual plus the status of its promote / ignore request, for the detail screen.
504
+ *
505
+ * `accrual` is undefined on a cold load — a refresh or a shared link, where the list has never run
506
+ * — so the screen dispatches `fetchOneTimeAccrual` and waits on `detailFetchState`. The two states
507
+ * are separate on purpose: `actionFetchState` drives the row spinner and the post-revert navigation,
508
+ * and a page load must not look like an action that just finished.
509
+ */
510
+ function getExpenseAutomationJEOneTimeAccrualDetailView(state, accrualId) {
511
+ return {
512
+ accrual: (0, jeSchedulesSelector_1.getJEOneTimeAccrualByKey)((0, jeScheduleHelper_1.generateJEOneTimeAccrualKey)(accrualId), state.jeSchedulesState),
513
+ actionFetchState: state.expenseAutomationJESchedulesViewState
514
+ .oneTimeAccrualActionStatusById[accrualId] ?? {
515
+ fetchState: 'Not-Started',
516
+ error: undefined,
517
+ },
518
+ detailFetchState: state.expenseAutomationJESchedulesViewState
519
+ .oneTimeAccrualFetchStatusById[accrualId] ?? {
520
+ fetchState: 'Not-Started',
521
+ error: undefined,
522
+ },
523
+ localData: state.expenseAutomationJESchedulesViewState.oneTimeAccrualLocalDataById[accrualId],
524
+ };
525
+ }