@zeniai/client-epic-state 4.15.41 → 4.15.42

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 (248) hide show
  1. package/README.md +1 -19
  2. package/lib/commonPayloadTypes/recommendationPayload.d.ts +0 -1
  3. package/lib/commonStateTypes/common.d.ts +1 -1
  4. package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.d.ts +2 -2
  5. package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.d.ts +2 -2
  6. package/lib/commonStateTypes/timePeriod.d.ts +7 -7
  7. package/lib/commonStateTypes/timePeriod.js +2 -2
  8. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +1 -1
  9. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +1 -1
  10. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  11. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
  12. package/lib/configureStore.js +1 -2
  13. package/lib/entity/account/accountSelector.d.ts +3 -3
  14. package/lib/entity/account/accountState.d.ts +1 -1
  15. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +1 -1
  16. package/lib/entity/accountGroup/accountGroupSelector.d.ts +22 -22
  17. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  18. package/lib/entity/approvalRule/approvalRuleState.d.ts +2 -2
  19. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +4 -4
  20. package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
  21. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +1 -1
  22. package/lib/entity/class/classReducer.d.ts +4 -4
  23. package/lib/entity/class/classState.d.ts +1 -1
  24. package/lib/entity/company/companyReducer.js +1 -0
  25. package/lib/entity/customer/customerPayload.d.ts +1 -1
  26. package/lib/entity/customer/customerPayload.js +6 -16
  27. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
  28. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +2 -2
  29. package/lib/entity/file/fileState.d.ts +3 -3
  30. package/lib/entity/forecast/forecastState.d.ts +1 -1
  31. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  32. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +2 -2
  33. package/lib/entity/notification/types/notificationTypes.d.ts +2 -2
  34. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  35. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  36. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  37. package/lib/entity/snackbar/snackbarTypes.d.ts +2 -2
  38. package/lib/entity/snackbar/snackbarTypes.js +0 -4
  39. package/lib/entity/task/taskState.d.ts +3 -3
  40. package/lib/entity/tenant/clearAllEpic.d.ts +2 -4
  41. package/lib/entity/tenant/clearAllEpic.js +0 -4
  42. package/lib/entity/tenant/tenantReducer.d.ts +2 -2
  43. package/lib/entity/tenant/tenantReducer.js +1 -0
  44. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.d.ts +1 -1
  45. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +2 -1
  46. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +0 -2
  47. package/lib/entity/transaction/payloadTypes/transactionPayload.js +6 -9
  48. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.d.ts +1 -9
  49. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +2 -24
  50. package/lib/entity/transaction/stateTypes/attachment.d.ts +2 -2
  51. package/lib/entity/transaction/stateTypes/transaction.d.ts +1 -3
  52. package/lib/entity/transaction/stateTypes/transactionType.d.ts +1 -1
  53. package/lib/entity/transaction/stateTypes/transactionType.js +1 -1
  54. package/lib/entity/transaction/stateTypes/vendorTransaction.d.ts +0 -5
  55. package/lib/entity/transaction/stateTypes/vendorTransaction.js +1 -5
  56. package/lib/entity/transaction/toSupportedTransaction.js +1 -6
  57. package/lib/entity/transaction/transactionReducer.d.ts +0 -17
  58. package/lib/entity/transaction/transactionReducer.js +2 -47
  59. package/lib/entity/transaction/transactionSelector.d.ts +0 -2
  60. package/lib/entity/transaction/transactionSelector.js +0 -5
  61. package/lib/entity/transaction/transactionState.d.ts +4 -6
  62. package/lib/entity/vendorExpense/vendorExpenseReducer.js +1 -0
  63. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  64. package/lib/epic.d.ts +1 -6
  65. package/lib/epic.js +1 -6
  66. package/lib/index.d.ts +13 -22
  67. package/lib/index.js +27 -56
  68. package/lib/init.d.ts +1 -2
  69. package/lib/init.js +2 -9
  70. package/lib/reducer.d.ts +1 -7
  71. package/lib/reducer.js +0 -6
  72. package/lib/view/accountList/accountListReducer.js +3 -1
  73. package/lib/view/accountMappingView/accountMappingReducer.js +1 -0
  74. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +2 -1
  75. package/lib/view/auditReportView/auditReportViewReducer.d.ts +2 -2
  76. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  77. package/lib/view/balanceSheet/balanceSheetReducer.js +6 -1
  78. package/lib/view/bankAccountView/bankAccountViewReducer.js +1 -0
  79. package/lib/view/billPayCard/billPayCardSelector.d.ts +2 -2
  80. package/lib/view/cardBalance/cardBalanceSelector.d.ts +3 -3
  81. package/lib/view/cashBalance/cashBalanceSelector.d.ts +3 -3
  82. package/lib/view/cashFlow/cashFlowReducer.js +4 -1
  83. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +2 -2
  84. package/lib/view/cashPosition/cashPositionReducer.js +1 -0
  85. package/lib/view/cashPosition/cashPositionSelector.d.ts +2 -2
  86. package/lib/view/common/reportsHelpers.d.ts +1 -1
  87. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +0 -7
  88. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +3 -1
  89. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  90. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
  91. package/lib/view/companyView/companyViewReducer.d.ts +1 -1
  92. package/lib/view/companyView/companyViewReducer.js +10 -1
  93. package/lib/view/companyView/types/cockpitTypes.d.ts +3 -3
  94. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +1 -1
  95. package/lib/view/dashboard/dashboardEpic.js +2 -0
  96. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  97. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +1 -2
  98. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +10 -24
  99. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +1 -2
  100. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -14
  101. package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +7 -30
  102. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +2 -2
  103. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +5 -1
  104. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +2 -17
  105. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +2 -2
  106. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +1 -1
  107. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +42 -98
  108. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  109. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +10 -86
  110. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +11 -11
  111. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +1 -12
  112. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +7 -66
  113. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +0 -2
  114. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +1 -1
  115. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +2 -5
  116. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
  117. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +1 -1
  118. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +2 -12
  119. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  120. package/lib/view/financeStatement/financeStatementReducer.js +4 -1
  121. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +4 -4
  122. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +10 -3
  123. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -1
  124. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +1 -0
  125. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +1 -1
  126. package/lib/view/notificationView/notificationViewReducer.d.ts +8 -8
  127. package/lib/view/notificationView/notificationViewState.d.ts +2 -2
  128. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +3 -0
  129. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.d.ts +2 -2
  130. package/lib/view/opEx/opExForTimeFrameEpic.js +1 -1
  131. package/lib/view/opEx/opExReducer.js +14 -4
  132. package/lib/view/opExByVendor/opExByVendorReducer.js +3 -1
  133. package/lib/view/opExByVendor/opExByVendorState.d.ts +1 -1
  134. package/lib/view/opExClassesView/opExClassesViewReducer.js +6 -1
  135. package/lib/view/people/fetchPeopleEpic.js +3 -1
  136. package/lib/view/people/invitePeopleEpic.js +3 -1
  137. package/lib/view/people/inviteZeniPeopleEpic.js +3 -1
  138. package/lib/view/people/peopleReducer.js +1 -0
  139. package/lib/view/people/peopleSaveUpdatesEpic.js +1 -1
  140. package/lib/view/profitAndLoss/profitAndLossReducer.js +6 -1
  141. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -1
  142. package/lib/view/recommendation/recommendationReducer.js +4 -1
  143. package/lib/view/referralView/referralState.d.ts +1 -1
  144. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +2 -2
  145. package/lib/view/reportUIOptions/reportUIOptionsReducer.d.ts +8 -8
  146. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +3 -1
  147. package/lib/view/revenue/revenueReducer.js +10 -3
  148. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +6 -1
  149. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  150. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  151. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +2 -2
  152. package/lib/view/settingsView/settingsViewReducer.js +1 -0
  153. package/lib/view/settingsView/settingsViewState.d.ts +1 -1
  154. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
  155. package/lib/view/spendManagement/billPay/billList/billListReducer.js +1 -0
  156. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +2 -2
  157. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +1 -5
  158. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +1 -1
  159. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +6 -0
  160. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.d.ts +2 -2
  161. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +3 -4
  162. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +3 -1
  163. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +1 -2
  164. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +2 -2
  165. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +1 -1
  166. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +7 -7
  167. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +1 -1
  168. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +3 -11
  169. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +10 -11
  170. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +1 -3
  171. package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.d.ts +1 -1
  172. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +6 -2
  173. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +3 -1
  174. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  175. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +1 -0
  176. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
  177. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.d.ts +2 -2
  178. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.d.ts +2 -2
  179. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js +7 -7
  180. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.d.ts +2 -2
  181. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +4 -5
  182. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayState.d.ts +2 -2
  183. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +0 -14
  184. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +1 -78
  185. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +1 -3
  186. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +1 -2
  187. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +1 -2
  188. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +0 -9
  189. package/lib/view/subscriptionView/subscriptionViewReducer.js +1 -0
  190. package/lib/view/subscriptionView/types/subscriptionTypes.js +1 -0
  191. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +3 -1
  192. package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
  193. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +1 -1
  194. package/lib/view/tasksCard/fetchTasksCardEpic.js +2 -1
  195. package/lib/view/tasksCard/tasksCardSelector.d.ts +2 -2
  196. package/lib/view/tasksCard/tasksCardSelector.js +1 -1
  197. package/lib/view/topEx/topExSelector.d.ts +3 -3
  198. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +52 -45
  199. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +4 -22
  200. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +13 -66
  201. package/lib/view/transactionDetail/transactionDetailReducer.d.ts +4 -13
  202. package/lib/view/transactionDetail/transactionDetailReducer.js +21 -51
  203. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -3
  204. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +0 -8
  205. package/lib/view/transactionList/transactionListByEntitySelector.js +2 -0
  206. package/lib/view/transactionList/transactionListReducer.js +6 -4
  207. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +1 -0
  208. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +3 -1
  209. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  210. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +1 -1
  211. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +1 -1
  212. package/lib/zeniAPI.d.ts +0 -1
  213. package/lib/zeniUrl.d.ts +1 -1
  214. package/package.json +12 -14
  215. package/lib/entity/accountRecon/accountReconPayload.d.ts +0 -70
  216. package/lib/entity/accountRecon/accountReconPayload.js +0 -125
  217. package/lib/entity/accountRecon/accountReconReducer.d.ts +0 -16
  218. package/lib/entity/accountRecon/accountReconReducer.js +0 -71
  219. package/lib/entity/accountRecon/accountReconSelector.d.ts +0 -28
  220. package/lib/entity/accountRecon/accountReconSelector.js +0 -44
  221. package/lib/entity/accountRecon/accountReconState.d.ts +0 -70
  222. package/lib/entity/accountRecon/accountReconState.js +0 -28
  223. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.d.ts +0 -35
  224. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +0 -53
  225. package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +0 -32
  226. package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +0 -10
  227. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.d.ts +0 -15
  228. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +0 -118
  229. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.d.ts +0 -10
  230. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +0 -49
  231. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.d.ts +0 -14
  232. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +0 -169
  233. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.d.ts +0 -9
  234. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +0 -154
  235. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.d.ts +0 -6
  236. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +0 -110
  237. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.d.ts +0 -7
  238. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +0 -18
  239. package/lib/view/expenseAutomationView/payload/reconciliationPayload.d.ts +0 -28
  240. package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +0 -51
  241. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.d.ts +0 -66
  242. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +0 -384
  243. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +0 -51
  244. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +0 -7
  245. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.d.ts +0 -5
  246. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +0 -254
  247. package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +0 -103
  248. package/lib/view/expenseAutomationView/types/reconciliationViewState.js +0 -37
@@ -41,7 +41,9 @@ const accountList = (0, toolkit_1.createSlice)({
41
41
  initialState: exports.initialState,
42
42
  reducers: {
43
43
  fetchAccountList: {
44
- reducer(draft, action) {
44
+ reducer(draft,
45
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
46
+ action) {
45
47
  const existingData = draft.byReportId[action.payload.accountListKey];
46
48
  draft.byReportId[action.payload.accountListKey] = Object.assign(Object.assign({}, existingData), { fetchState: 'In-Progress', error: undefined });
47
49
  },
@@ -71,6 +71,7 @@ const accountMapping = (0, toolkit_1.createSlice)({
71
71
  name: 'accountMapping',
72
72
  initialState: exports.initialState,
73
73
  reducers: {
74
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
74
75
  initializeAccountMappingView(draft) {
75
76
  draft.data = exports.initialState.data;
76
77
  },
@@ -29,7 +29,8 @@ const apAgingDetail = (0, toolkit_1.createSlice)({
29
29
  const entityKey = (0, agingReportStateTypes_1.getAgingDetailReportEntityKey)(vendorId, reportDate);
30
30
  draft.apAgingDetailByVendorId[entityKey] = Object.assign(Object.assign({}, draft.apAgingDetailByVendorId[entityKey]), { fetchState: 'In-Progress', error: undefined, invoices: [] });
31
31
  },
32
- prepare(vendorId, reportDate, cacheOverride = false) {
32
+ prepare(vendorId, reportDate, cacheOverride = false // eslint-disable-line @typescript-eslint/no-inferrable-types,
33
+ ) {
33
34
  return {
34
35
  payload: {
35
36
  cacheOverride,
@@ -9,9 +9,9 @@ export declare const fetchAuditRuleGroupView: import("@reduxjs/toolkit").ActionC
9
9
  auditRuleGroups: AuditRuleGroupPayload[];
10
10
  }, "auditReportView/updateAuditRuleGroupViewOnSuccess", never, never>, updateAuditRuleGroupViewOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>], {
11
11
  error: ZeniAPIStatus<Record<string, unknown>>;
12
- }, "auditReportView/updateAuditRuleGroupViewOnFailure", never, never>, fetchAuditReportGroupView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, fetchAction: "generate" | "view", reportGroupId: string], {
12
+ }, "auditReportView/updateAuditRuleGroupViewOnFailure", never, never>, fetchAuditReportGroupView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, fetchAction: "view" | "generate", reportGroupId: string], {
13
13
  companyId: string;
14
- fetchAction: "generate" | "view";
14
+ fetchAction: "view" | "generate";
15
15
  reportGroupId: string;
16
16
  }, "auditReportView/fetchAuditReportGroupView", never, never>, updateAuditReportGroupViewOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, reportGroupId: string, auditReportGroupPayload: AuditReportGroupPayload], {
17
17
  companyId: string;
@@ -5,12 +5,12 @@ import { ZeniDate } from '../../zeniDayJS';
5
5
  import { AuditSummary } from '../reviewCompanyView/reviewCompanyViewState';
6
6
  export declare const toAuditRuleEntityType: (v: string) => "dashboard" | "reports" | "transactions";
7
7
  export type AuditRuleEntityType = ReturnType<typeof toAuditRuleEntityType>;
8
- declare const toAuditRuleEntityIdType: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "uncategorized-expense" | "uncategorized-income";
8
+ declare const toAuditRuleEntityIdType: (v: string) => "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense" | "uncategorized-expense" | "uncategorized-income";
9
9
  export type AuditRuleEntityIdType = ReturnType<typeof toAuditRuleEntityIdType>;
10
10
  export declare const toAuditRuleTypeIdType: (v: string) => "accounting" | "business";
11
11
  type AuditRuleTypeIdType = ReturnType<typeof toAuditRuleTypeIdType>;
12
12
  export declare const AUDIT_REPORT_ACTION_TYPES: readonly ["generate", "view"];
13
- export declare const toAuditReportActionType: (v: string) => "generate" | "view";
13
+ export declare const toAuditReportActionType: (v: string) => "view" | "generate";
14
14
  export type AuditReportActionType = ReturnType<typeof toAuditReportActionType>;
15
15
  interface AuditRuleGroupBase {
16
16
  auditRuleGroupId: ID;
@@ -36,6 +36,7 @@ const balanceSheet = (0, toolkit_1.createSlice)({
36
36
  initialState: exports.initialState,
37
37
  reducers: {
38
38
  fetchBalanceSheet: {
39
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
39
40
  prepare(cacheOverride = false) {
40
41
  return { payload: { cacheOverride } };
41
42
  },
@@ -48,7 +49,11 @@ const balanceSheet = (0, toolkit_1.createSlice)({
48
49
  },
49
50
  },
50
51
  fetchBalanceSheetForTimeframe: {
51
- prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
52
+ prepare(timeframe,
53
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
54
+ fetchFullReport = true,
55
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
56
+ cacheOverride = false) {
52
57
  return {
53
58
  payload: { timeframe, fetchFullReport, cacheOverride },
54
59
  };
@@ -45,6 +45,7 @@ const bankAccountView = (0, toolkit_1.createSlice)({
45
45
  },
46
46
  },
47
47
  createInternationalBankAccount: {
48
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
49
  reducer(draft) {
49
50
  draft.createInternationalBankAccountDetails.createStatus.fetchState =
50
51
  'In-Progress';
@@ -1,12 +1,12 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getBillPayCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
3
+ reportId: "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  fetchState: import("../..").FetchState;
7
7
  billPayAmountByKey: Record<string, import("../..").Amount>;
8
8
  error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
9
9
  transactionCount: number;
10
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
10
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
11
11
  };
12
12
  export type BillPayCardReport = ReturnType<typeof getBillPayCardReport>;
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getCardBalance: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
3
+ reportId: "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  status: import("../..").Status | undefined;
@@ -12,7 +12,7 @@ export declare const getCardBalance: (state: RootState) => {
12
12
  accountSubType: string | undefined;
13
13
  accountDescription: string;
14
14
  last4Digits: string | undefined;
15
- logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
15
+ logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
16
16
  status: import("../..").Status | undefined;
17
17
  balance: import("../..").Balance | undefined;
18
18
  statementCloseDay: import("../..").StatementCloseDay | undefined;
@@ -23,7 +23,7 @@ export declare const getCardBalance: (state: RootState) => {
23
23
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
24
24
  }[];
25
25
  balance: import("../..").Balance | undefined;
26
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
26
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
27
27
  dataAvailable: import("../..").TimeframeTick | undefined;
28
28
  error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
29
29
  };
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getCashBalance: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
3
+ reportId: "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  status: import("../..").Status | undefined;
@@ -12,7 +12,7 @@ export declare const getCashBalance: (state: RootState) => {
12
12
  accountSubType: string | undefined;
13
13
  accountDescription: string;
14
14
  last4Digits: string | undefined;
15
- logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
15
+ logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
16
16
  status: import("../..").Status | undefined;
17
17
  balance: import("../..").Balance | undefined;
18
18
  statementCloseDay: import("../..").StatementCloseDay | undefined;
@@ -23,7 +23,7 @@ export declare const getCashBalance: (state: RootState) => {
23
23
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
24
24
  }[];
25
25
  balance: import("../..").Balance | undefined;
26
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
26
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
27
27
  dataAvailable: import("../..").TimeframeTick | undefined;
28
28
  error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
29
29
  };
@@ -37,6 +37,7 @@ const cashFlow = (0, toolkit_1.createSlice)({
37
37
  initialState: exports.initialState,
38
38
  reducers: {
39
39
  fetchCashFlow: {
40
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
40
41
  prepare(fetchFullReport = false, cacheOverride = true) {
41
42
  return { payload: { fetchFullReport, cacheOverride } };
42
43
  },
@@ -46,7 +47,9 @@ const cashFlow = (0, toolkit_1.createSlice)({
46
47
  },
47
48
  },
48
49
  fetchCashFlowForTimeframe: {
49
- prepare(timeframe, fetchFullReport = true) {
50
+ prepare(timeframe,
51
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
52
+ fetchFullReport = true) {
50
53
  return {
51
54
  payload: { timeframe, fetchFullReport },
52
55
  };
@@ -12,10 +12,10 @@ export declare const getCashInCashOut: (accountState: AccountState, accountGroup
12
12
  cashOut: Section;
13
13
  netCashFlow: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
14
14
  allTimeframeTicks: TimeframeTickWithMetaData[];
15
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
15
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
16
16
  dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
17
17
  availableNumberOfPeriods: number | undefined;
18
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
18
+ reportId: "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
19
19
  reportTitle: string;
20
20
  version: string | number | undefined;
21
21
  status: import("../..").Status | undefined;
@@ -48,6 +48,7 @@ const cashPosition = (0, toolkit_1.createSlice)({
48
48
  initialState: exports.initialState,
49
49
  reducers: {
50
50
  fetchCashPosition: {
51
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
51
52
  prepare(fetchFullReport = false) {
52
53
  return { payload: { fetchFullReport } };
53
54
  },
@@ -9,10 +9,10 @@ export declare const getCashPosition: (accountState: AccountState, cashPositionS
9
9
  filter: COABalancesFilter;
10
10
  cashPosition: SectionWithAccountOnly;
11
11
  allTimeframeTicks: TimeframeTickWithMetaData[];
12
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
12
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
13
13
  dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
14
14
  availableNumberOfPeriods: number | undefined;
15
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
15
+ reportId: "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
16
16
  reportTitle: string;
17
17
  version: string | number | undefined;
18
18
  status: import("../..").Status | undefined;
@@ -1,3 +1,3 @@
1
1
  import { COABalanceGroupedByPeriod } from '../../commonStateTypes/coaBalance/coaBalance';
2
- export declare const getTimeSeriesGroup: (timeframe: "week" | "month" | "quarter" | "year") => "months" | "years" | "quarters" | "weeks";
2
+ export declare const getTimeSeriesGroup: (timeframe: "week" | "month" | "quarter" | "year") => "years" | "quarters" | "months" | "weeks";
3
3
  export declare const isCOABalanceGroupedByPeriodEmptyForTimeframe: (coaBalanceGrouped: COABalanceGroupedByPeriod, timeframe: "week" | "month" | "quarter" | "year") => boolean;
@@ -63,13 +63,6 @@ const saveTransactionVendorEpic = (actions$, state$, zeniAPI) => actions$.pipe((
63
63
  name: response.data.vendors[0].vendor_name,
64
64
  id: response.data.vendors[0].vendor_id,
65
65
  },
66
- selectedEntity: {
67
- name: response.data.vendors[0].vendor_name,
68
- id: response.data.vendors[0].vendor_id,
69
- type: 'vendor',
70
- zeniId: response.data.vendors[0].vendor_id,
71
- qboId: response.data.vendors[0].qbo_id,
72
- },
73
66
  }));
74
67
  }
75
68
  }
@@ -45,7 +45,9 @@ const fetchAndUpdateVendorRecommendationsEpic = (actions$, state$) => actions$.p
45
45
  }));
46
46
  exports.fetchAndUpdateVendorRecommendationsEpic = fetchAndUpdateVendorRecommendationsEpic;
47
47
  // just updates the local state with new data
48
- const waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.waitForVendorRecommendationAndUpdatedRecommendationByLineId.match
48
+ const waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic = (actions$,
49
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
50
+ state$) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.waitForVendorRecommendationAndUpdatedRecommendationByLineId.match
49
51
  // Wait For vendor recommendation and updated recommendation by line id
50
52
  ), (0, operators_1.switchMap)((action) => {
51
53
  const { vendorName } = action.payload;
@@ -36,8 +36,8 @@ export declare const fetchVendorsTabVendorDetails: import("@reduxjs/toolkit").Ac
36
36
  }, "vendorsTabVendorView/fetchVendorsTabVendorDetailPageView", never, never>, updateVendorsTabVendorAllTransactionsTabData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
37
37
  timePeriod: TimePeriod;
38
38
  numberOfQuartersFetched: number;
39
- }, "vendorsTabVendorView/updateVendorsTabVendorAllTransactionsTabData">, resetSelectedTabType: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"vendorsTabVendorView/resetSelectedTabType">, updateSelectedTabType: import("@reduxjs/toolkit").ActionCreatorWithPayload<"spend_transactions" | "all_transactions", "vendorsTabVendorView/updateSelectedTabType">, updateVendorSpendTrendFilterTabValue: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[vendorSpendTrendfilterTabValue: "last_month" | "variance" | "last_30_days" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year"], {
40
- vendorSpendTrendfilterTabValue: "last_month" | "variance" | "last_30_days" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year";
39
+ }, "vendorsTabVendorView/updateVendorsTabVendorAllTransactionsTabData">, resetSelectedTabType: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"vendorsTabVendorView/resetSelectedTabType">, updateSelectedTabType: import("@reduxjs/toolkit").ActionCreatorWithPayload<"spend_transactions" | "all_transactions", "vendorsTabVendorView/updateSelectedTabType">, updateVendorSpendTrendFilterTabValue: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[vendorSpendTrendfilterTabValue: "last_month" | "last_30_days" | "variance" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year"], {
40
+ vendorSpendTrendfilterTabValue: "last_month" | "last_30_days" | "variance" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year";
41
41
  }, "vendorsTabVendorView/updateVendorSpendTrendFilterTabValue", never, never>, resetVendorsTabVendorAllTransactionsTabData: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"vendorsTabVendorView/resetVendorsTabVendorAllTransactionsTabData">, updateContactsInVendorTabDetailLocalData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
42
42
  vendorId: ID;
43
43
  localData?: Partial<VendorsTabVendorDetailLocalData>;
@@ -4,10 +4,10 @@ import { CompanyTaskManagerViewPayload } from './companyTaskManagerViewPayload';
4
4
  import { CompanyTaskManagerViewState, CompanyTaskManagerViewUIState } from './companyTaskManagerViewState';
5
5
  export declare const initialUIState: CompanyTaskManagerViewUIState;
6
6
  export declare const initialState: CompanyTaskManagerViewState;
7
- export declare const fetchCompanyTaskManagerView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[pageToken: PageToken, sortKey: "status" | "name" | "dueDate" | "tags" | "createdBy" | "priority" | "taskName" | "assignee", sortOrder: "ascending" | "descending", keepExistingListItems?: any, searchString?: string | undefined], {
7
+ export declare const fetchCompanyTaskManagerView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[pageToken: PageToken, sortKey: "name" | "priority" | "status" | "dueDate" | "tags" | "createdBy" | "taskName" | "assignee", sortOrder: "ascending" | "descending", keepExistingListItems?: any, searchString?: string | undefined], {
8
8
  pageToken: PageToken;
9
9
  searchString: string | undefined;
10
- sortKey: "status" | "name" | "dueDate" | "tags" | "createdBy" | "priority" | "taskName" | "assignee";
10
+ sortKey: "name" | "priority" | "status" | "dueDate" | "tags" | "createdBy" | "taskName" | "assignee";
11
11
  sortOrder: "ascending" | "descending";
12
12
  keepExistingListItems: any;
13
13
  }, "companyTaskManagerView/fetchCompanyTaskManagerView", never, never>, updateCompanyTaskManagerViewOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -55,7 +55,7 @@ export declare const fetchCompanyPassportView: import("@reduxjs/toolkit").Action
55
55
  fetchFullResponse: boolean;
56
56
  }, "companyView/fetchCompanyPortfolioView", never, never>, fetchZeniUsers: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"companyView/fetchZeniUsers">, updateZeniUsersOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userIds: string[]], {
57
57
  userIds: string[];
58
- }, "companyView/updateZeniUsersOnSuccess", never, never>, updateZeniUsersOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "companyView/updateZeniUsersOnFailure">, clearCompanyView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"companyView/clearCompanyView">, updateCompanyPortfolioUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<PortfolioUIState>, "companyView/updateCompanyPortfolioUIState">, updateCompanyManagementUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ManagementUIState>, "companyView/updateCompanyManagementUIState">, companyPassportSaveDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<CompanyPassportLocalData>, "companyView/companyPassportSaveDataInLocalStore">, deleteCompanyOfficerInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithPayload<"Officer_1" | "Officer_3" | "Officer_2" | "Officer_4" | "Officer_5" | "Officer_6" | "Officer_7" | "Officer_8" | "Officer_9" | "Officer_10", "companyView/deleteCompanyOfficerInLocalStore">, companyPassportClearDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"companyView/companyPassportClearDataInLocalStore">, companyPassportUpdateCompanyDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, companyDetails: CompanyDetailsLocalData], {
58
+ }, "companyView/updateZeniUsersOnSuccess", never, never>, updateZeniUsersOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "companyView/updateZeniUsersOnFailure">, clearCompanyView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"companyView/clearCompanyView">, updateCompanyPortfolioUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<PortfolioUIState>, "companyView/updateCompanyPortfolioUIState">, updateCompanyManagementUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ManagementUIState>, "companyView/updateCompanyManagementUIState">, companyPassportSaveDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<CompanyPassportLocalData>, "companyView/companyPassportSaveDataInLocalStore">, deleteCompanyOfficerInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithPayload<"Officer_2" | "Officer_1" | "Officer_3" | "Officer_4" | "Officer_8" | "Officer_5" | "Officer_6" | "Officer_10" | "Officer_7" | "Officer_9", "companyView/deleteCompanyOfficerInLocalStore">, companyPassportClearDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"companyView/companyPassportClearDataInLocalStore">, companyPassportUpdateCompanyDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, companyDetails: CompanyDetailsLocalData], {
59
59
  companyId: string;
60
60
  companyDetails: CompanyDetailsLocalData;
61
61
  }, "companyView/companyPassportUpdateCompanyDetails", never, never>, companyPassportUpdateCompanyDetailsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string], {
@@ -49,6 +49,7 @@ const companyView = (0, toolkit_1.createSlice)({
49
49
  reducer() {
50
50
  // Do nothing.
51
51
  },
52
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
52
53
  prepare(cacheOverride = false) {
53
54
  return { payload: { cacheOverride } };
54
55
  },
@@ -57,6 +58,7 @@ const companyView = (0, toolkit_1.createSlice)({
57
58
  reducer() {
58
59
  // Do nothing.
59
60
  },
61
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
60
62
  prepare(cacheOverride = false) {
61
63
  return { payload: { cacheOverride } };
62
64
  },
@@ -65,7 +67,9 @@ const companyView = (0, toolkit_1.createSlice)({
65
67
  reducer() {
66
68
  // Do nothing.
67
69
  },
68
- prepare(cacheOverride = false, fetchFullResponse, companyId) {
70
+ prepare(
71
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
72
+ cacheOverride = false, fetchFullResponse, companyId) {
69
73
  return { payload: { cacheOverride, fetchFullResponse, companyId } };
70
74
  },
71
75
  },
@@ -73,6 +77,7 @@ const companyView = (0, toolkit_1.createSlice)({
73
77
  reducer() {
74
78
  // Do nothing.
75
79
  },
80
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
76
81
  prepare(cacheOverride = false, fetchFullResponse) {
77
82
  return { payload: { cacheOverride, fetchFullResponse } };
78
83
  },
@@ -81,11 +86,13 @@ const companyView = (0, toolkit_1.createSlice)({
81
86
  reducer() {
82
87
  // Do nothing.
83
88
  },
89
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
84
90
  prepare(cacheOverride = false, fetchFullResponse) {
85
91
  return { payload: { cacheOverride, fetchFullResponse } };
86
92
  },
87
93
  },
88
94
  fetchCompanyManagementView: {
95
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
89
96
  prepare(fetchFullResponse = false, companyParentId) {
90
97
  return { payload: { fetchFullResponse, companyParentId } };
91
98
  },
@@ -98,6 +105,7 @@ const companyView = (0, toolkit_1.createSlice)({
98
105
  },
99
106
  },
100
107
  fetchParentSubsidiaryManagementView: {
108
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
101
109
  prepare(fetchFullResponse = false, companyParentId) {
102
110
  return { payload: { fetchFullResponse, companyParentId } };
103
111
  },
@@ -461,6 +469,7 @@ const companyView = (0, toolkit_1.createSlice)({
461
469
  },
462
470
  },
463
471
  fetchCompanyPortfolioView: {
472
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
464
473
  prepare(fetchFullResponse = false) {
465
474
  return { payload: { fetchFullResponse } };
466
475
  },
@@ -4,10 +4,10 @@ import { SubscriptionViewSortKey } from '../../subscriptionView/types/subscripti
4
4
  import { FilterCategoryValueType } from '../helpers/cockpitHelpers';
5
5
  import { CockpitDownloadTabsID, CockpitTabsFileType } from './cockpitTabsID';
6
6
  export declare const toPortfolioSortKeyType: (v: string) => "expenses" | "runway" | "companyName" | "cashBalance" | "revenues" | "netIncome";
7
- export declare const toManagementSortKeyType: (v: string) => "status" | "bookCloseDate" | "taxStatus" | "controller" | "preparer" | "reviewer" | "annualRecurringRevenue" | "monthlyRecurringRevenue" | "companyName" | "group" | "task" | "notes" | "plans" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
7
+ export declare const toManagementSortKeyType: (v: string) => "status" | "group" | "bookCloseDate" | "taxStatus" | "controller" | "preparer" | "reviewer" | "annualRecurringRevenue" | "monthlyRecurringRevenue" | "companyName" | "task" | "notes" | "plans" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
8
8
  export declare const toOnboardingSortKeyType: (v: string) => "companyName" | "identityVerified" | "businessVerified" | "bankAccountLinked" | "qboLinked" | "groupCreated" | "customerCreated" | "notes" | "enroller" | "invite" | "latestCreated";
9
- export declare const toHealthSortKeyType: (v: string) => "runway" | "controller" | "monthlyRecurringRevenue" | "companyName" | "group" | "companyEngagementMetricsUpdatedAt" | "netPromoterScore" | "customerSatisfactionScore" | "externalProductServiceExposure" | "customerSuccessManager" | "lastReportSent" | "issues" | "productVerticals" | "churnProbability" | "subscriptionDate" | "renewalDate" | "dashboardLastSeen" | "lastEngagement";
10
- export declare const toTaskManagerSortKeyType: (v: string) => "status" | "name" | "dueDate" | "tags" | "createdBy" | "priority" | "taskName" | "assignee";
9
+ export declare const toHealthSortKeyType: (v: string) => "group" | "runway" | "controller" | "monthlyRecurringRevenue" | "companyName" | "companyEngagementMetricsUpdatedAt" | "netPromoterScore" | "customerSatisfactionScore" | "externalProductServiceExposure" | "customerSuccessManager" | "lastReportSent" | "issues" | "productVerticals" | "churnProbability" | "subscriptionDate" | "renewalDate" | "dashboardLastSeen" | "lastEngagement";
10
+ export declare const toTaskManagerSortKeyType: (v: string) => "name" | "priority" | "status" | "dueDate" | "tags" | "createdBy" | "taskName" | "assignee";
11
11
  export type PortfolioViewSortKey = ReturnType<typeof toPortfolioSortKeyType>;
12
12
  export type ManagementViewSortKey = ReturnType<typeof toManagementSortKeyType>;
13
13
  export type OnboardingViewSortKey = ReturnType<typeof toOnboardingSortKeyType>;
@@ -7,7 +7,7 @@ export interface PrimaryContactLocalData {
7
7
  email: string;
8
8
  }
9
9
  export declare const ALL_OFFICERS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
10
- declare const toOfficerType: (n: number) => 1 | 3 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
10
+ declare const toOfficerType: (n: number) => 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 9;
11
11
  export type OfficerType = ReturnType<typeof toOfficerType>;
12
12
  export type CompanyOfficerType = `Officer_${OfficerType}`;
13
13
  export declare const AllCompanyPassportAddressTypes: AddressType[];
@@ -109,6 +109,7 @@ const fetchDashboardEpic = (actions$, state$) => actions$.pipe((0, operators_1.f
109
109
  opExState.fetchState !== 'Completed') {
110
110
  fetchActions.push((0, opExReducer_1.fetchOpEx)(fetchFullReport));
111
111
  }
112
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
112
113
  if (revenueState.fetchState !== 'In-Progress' &&
113
114
  revenueState.fetchState !== 'Completed') {
114
115
  fetchActions.push((0, revenueReducer_1.fetchRevenue)(fetchFullReport));
@@ -168,6 +169,7 @@ const fetchDashboardEpic = (actions$, state$) => actions$.pipe((0, operators_1.f
168
169
  fetchActions.push((0, billPayCardReducer_1.fetchBillPayCard)());
169
170
  }
170
171
  if (state.reimbursementCardState.fetchState !== 'In-Progress' &&
172
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
171
173
  !state.reimbursementCardState.hasValidState() &&
172
174
  isReimbursementFeatureEnabled === true &&
173
175
  isAdmin) {
@@ -1,12 +1,12 @@
1
1
  import { DashboardState } from './dashboardState';
2
2
  export declare const initialState: DashboardState;
3
- export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation")[] | undefined], {
3
+ export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense")[] | undefined], {
4
4
  userId: string;
5
5
  companyId: string;
6
6
  tenantId: string;
7
7
  fetchFullReport: any;
8
8
  cacheOverride: any;
9
- excludeResources: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation")[];
9
+ excludeResources: ("billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense")[];
10
10
  }, "dashboard/fetchDashboard", never, never>, clearDashboard: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dashboard/clearDashboard">;
11
11
  declare const _default: import("redux").Reducer<DashboardState>;
12
12
  export default _default;
@@ -6,7 +6,6 @@ import { fetchAllExpenseAutomationTabs } from '../../expenseAutomationViewReduce
6
6
  import { fetchFluxAnalysisView } from '../../reducers/fluxAnalysisViewReducer';
7
7
  import { fetchJeSchedulesPage } from '../../reducers/jeSchedulesViewReducer';
8
8
  import { fetchMissingReceipts } from '../../reducers/missingReceiptsViewReducer';
9
- import { fetchReconciliation } from '../../reducers/reconciliationViewReducer';
10
9
  import { fetchTransactionCategorizationView } from '../../reducers/transactionsViewReducer';
11
- export type ActionType = ReturnType<typeof fetchAllExpenseAutomationTabs> | ReturnType<typeof fetchMissingReceipts> | ReturnType<typeof fetchMonthEndCloseChecks> | ReturnType<typeof fetchFluxAnalysisView> | ReturnType<typeof fetchJeSchedulesPage> | ReturnType<typeof fetchReconciliation> | ReturnType<typeof fetchTransactionCategorizationView>;
10
+ export type ActionType = ReturnType<typeof fetchAllExpenseAutomationTabs> | ReturnType<typeof fetchMissingReceipts> | ReturnType<typeof fetchMonthEndCloseChecks> | ReturnType<typeof fetchFluxAnalysisView> | ReturnType<typeof fetchJeSchedulesPage> | ReturnType<typeof fetchTransactionCategorizationView>;
12
11
  export declare const fetchAllExpenseAutomationTabsEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
@@ -9,14 +9,10 @@ const expenseAutomationViewReducer_1 = require("../../expenseAutomationViewReduc
9
9
  const fluxAnalysisViewReducer_1 = require("../../reducers/fluxAnalysisViewReducer");
10
10
  const jeSchedulesViewReducer_1 = require("../../reducers/jeSchedulesViewReducer");
11
11
  const missingReceiptsViewReducer_1 = require("../../reducers/missingReceiptsViewReducer");
12
- const reconciliationViewReducer_1 = require("../../reducers/reconciliationViewReducer");
13
12
  const transactionsViewReducer_1 = require("../../reducers/transactionsViewReducer");
14
13
  const fetchAllExpenseAutomationTabsEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(expenseAutomationViewReducer_1.fetchAllExpenseAutomationTabs.match), (0, operators_1.switchMap)((action) => {
15
- var _a, _b;
16
14
  const { cacheOverride, refreshViewInBackground } = action.payload;
17
15
  const state = state$.value;
18
- const { monthEndCloseChecksState } = state;
19
- const { monthEndCloseChecksByTenantId } = monthEndCloseChecksState;
20
16
  const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state);
21
17
  const companyId = currentTenant.companyId;
22
18
  const selectedPeriod = state.expenseAutomationViewState.selectedPeriodByTenantId[currentTenant.tenantId];
@@ -25,24 +21,22 @@ const fetchAllExpenseAutomationTabsEpic = (actions$, state$) => actions$.pipe((0
25
21
  const timePeriodStart = (0, timePeriod_1.toAbsoluteDay)(period.start);
26
22
  const timePeriodEnd = (0, timePeriod_1.toAbsoluteDay)(period.end);
27
23
  const monthYearPeriodId = (0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod);
28
- const monthEndCheckState = (_a = monthEndCloseChecksByTenantId === null || monthEndCloseChecksByTenantId === void 0 ? void 0 : monthEndCloseChecksByTenantId[currentTenant.tenantId]) === null || _a === void 0 ? void 0 : _a[monthYearPeriodId];
29
- const reconciliationEnabled = (_b = monthEndCheckState === null || monthEndCheckState === void 0 ? void 0 : monthEndCheckState.monthEndCloseCheckList.some((list) => list.id === 'reconciliation')) !== null && _b !== void 0 ? _b : false;
30
24
  if (timePeriodStart == null ||
31
25
  timePeriodEnd == null ||
32
26
  companyId == null) {
33
27
  throw Error(`Invalid start - ${timePeriodStart} and end - ${timePeriodEnd} period from given ${selectedPeriod}`);
34
28
  }
35
29
  if (cacheOverride === true) {
36
- const actions = [];
37
- actions.push((0, transactionsViewReducer_1.fetchTransactionCategorizationView)(selectedTransactionCategorizationTab, { start: timePeriodStart, end: timePeriodEnd }, cacheOverride, false, undefined, undefined, refreshViewInBackground), (0, missingReceiptsViewReducer_1.fetchMissingReceipts)({ start: timePeriodStart, end: timePeriodEnd }, {
38
- amount: 75.0,
39
- currencyCode: 'USD',
40
- currencySymbol: '$',
41
- }, cacheOverride, refreshViewInBackground), (0, fluxAnalysisViewReducer_1.fetchFluxAnalysisView)(selectedPeriod, cacheOverride, refreshViewInBackground, null), (0, jeSchedulesViewReducer_1.fetchJeSchedulesPage)({ start: timePeriodStart, end: timePeriodEnd }, cacheOverride));
42
- if (reconciliationEnabled) {
43
- actions.push((0, reconciliationViewReducer_1.fetchReconciliation)(selectedPeriod, undefined, cacheOverride, refreshViewInBackground));
44
- }
45
- return (0, rxjs_1.from)(actions);
30
+ return (0, rxjs_1.from)([
31
+ (0, transactionsViewReducer_1.fetchTransactionCategorizationView)(selectedTransactionCategorizationTab, { start: timePeriodStart, end: timePeriodEnd }, cacheOverride, false, undefined, undefined, refreshViewInBackground),
32
+ (0, missingReceiptsViewReducer_1.fetchMissingReceipts)({ start: timePeriodStart, end: timePeriodEnd }, {
33
+ amount: 75.0,
34
+ currencyCode: 'USD',
35
+ currencySymbol: '$',
36
+ }, cacheOverride, refreshViewInBackground),
37
+ (0, fluxAnalysisViewReducer_1.fetchFluxAnalysisView)(selectedPeriod, cacheOverride, refreshViewInBackground, null),
38
+ (0, jeSchedulesViewReducer_1.fetchJeSchedulesPage)({ start: timePeriodStart, end: timePeriodEnd }, cacheOverride),
39
+ ]);
46
40
  }
47
41
  else {
48
42
  const fetchActions = [];
@@ -74,14 +68,6 @@ const fetchAllExpenseAutomationTabsEpic = (actions$, state$) => actions$.pipe((0
74
68
  null)) {
75
69
  fetchActions.push((0, jeSchedulesViewReducer_1.fetchJeSchedulesPage)({ start: timePeriodStart, end: timePeriodEnd }, cacheOverride));
76
70
  }
77
- if (state.expenseAutomationReconciliationViewState.fetchState !==
78
- 'In-Progress' &&
79
- state.expenseAutomationReconciliationViewState
80
- .accountReconciliationRecordsBySelectedPeriod[monthYearPeriodId] ==
81
- null &&
82
- reconciliationEnabled) {
83
- fetchActions.push((0, reconciliationViewReducer_1.fetchReconciliation)(selectedPeriod, undefined, cacheOverride, refreshViewInBackground));
84
- }
85
71
  if (state.expenseAutomationTransactionsViewState
86
72
  .transactionCategorizationView[selectedTransactionCategorizationTab]
87
73
  .fetchState !== 'In-Progress' &&
@@ -7,7 +7,6 @@ import { refreshExpenseAutomationCurrentTab } from '../../expenseAutomationViewR
7
7
  import { fetchFluxAnalysisView } from '../../reducers/fluxAnalysisViewReducer';
8
8
  import { fetchJeSchedulesPage } from '../../reducers/jeSchedulesViewReducer';
9
9
  import { fetchMissingReceipts } from '../../reducers/missingReceiptsViewReducer';
10
- import { fetchReconciliation } from '../../reducers/reconciliationViewReducer';
11
10
  import { fetchTransactionCategorizationView } from '../../reducers/transactionsViewReducer';
12
- export type ActionType = ReturnType<typeof refreshExpenseAutomationCurrentTab> | ReturnType<typeof fetchCompanyMonthEndReportView> | ReturnType<typeof fetchCompanyMonthEndReportTemplates> | ReturnType<typeof fetchMissingReceipts> | ReturnType<typeof fetchMonthEndCloseChecks> | ReturnType<typeof fetchFluxAnalysisView> | ReturnType<typeof fetchReconciliation> | ReturnType<typeof fetchJeSchedulesPage> | ReturnType<typeof fetchTransactionCategorizationView>;
11
+ export type ActionType = ReturnType<typeof refreshExpenseAutomationCurrentTab> | ReturnType<typeof fetchCompanyMonthEndReportView> | ReturnType<typeof fetchCompanyMonthEndReportTemplates> | ReturnType<typeof fetchMissingReceipts> | ReturnType<typeof fetchMonthEndCloseChecks> | ReturnType<typeof fetchFluxAnalysisView> | ReturnType<typeof fetchJeSchedulesPage> | ReturnType<typeof fetchTransactionCategorizationView>;
13
12
  export declare const refreshExpenseAutomationCurrentTabEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;