@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
@@ -167,6 +167,7 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
167
167
  }
168
168
  },
169
169
  saveOnboardingCustomerViewUpdates: {
170
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
170
171
  reducer(draft, action) {
171
172
  if (draft.onboardingCustomerLocalData != null) {
172
173
  const { sendInvite } = action.payload;
@@ -182,6 +183,7 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
182
183
  draft.emailGroupFetchState.error = undefined;
183
184
  }
184
185
  },
186
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
185
187
  prepare(sendInvite, skipSnackbarOnSuccess = false) {
186
188
  return {
187
189
  payload: { sendInvite, skipSnackbarOnSuccess },
@@ -272,6 +274,7 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
272
274
  draft.customerCreationStatus = exports.initialState.customerCreationStatus;
273
275
  },
274
276
  fetchCompanyOnboardingView: {
277
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
275
278
  prepare(fetchFullResponse = false) {
276
279
  return { payload: { fetchFullResponse } };
277
280
  },
@@ -16,12 +16,12 @@ export declare const fetchOnboardingCustomerView: import("@reduxjs/toolkit").Act
16
16
  companyId: string;
17
17
  checkOnboardingComplete: boolean;
18
18
  productSuitePage: boolean;
19
- }, "onboardingCustomerView/updateOnboardingCustomerViewCompleteStatus", never, never>, updateOnboardingCustomerViewCompleteStatusSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"onboardingCustomerView/updateOnboardingCustomerViewCompleteStatusSuccess">, updateOnboardingCustomerViewCompleteStatusFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>], ZeniAPIStatus<Record<string, unknown>>, "onboardingCustomerView/updateOnboardingCustomerViewCompleteStatusFailure", never, never>, updateOnboardingCustomerView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, sendForVerification: boolean, reCalculateCurrentStep?: boolean | undefined, isBillingAddressUpdate?: boolean | undefined, officerType?: "Officer_1" | "Officer_3" | "Officer_2" | "Officer_4" | "Officer_5" | "Officer_6" | "Officer_7" | "Officer_8" | "Officer_9" | "Officer_10" | undefined], {
19
+ }, "onboardingCustomerView/updateOnboardingCustomerViewCompleteStatus", never, never>, updateOnboardingCustomerViewCompleteStatusSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"onboardingCustomerView/updateOnboardingCustomerViewCompleteStatusSuccess">, updateOnboardingCustomerViewCompleteStatusFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>], ZeniAPIStatus<Record<string, unknown>>, "onboardingCustomerView/updateOnboardingCustomerViewCompleteStatusFailure", never, never>, updateOnboardingCustomerView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, sendForVerification: boolean, reCalculateCurrentStep?: boolean | undefined, isBillingAddressUpdate?: boolean | undefined, officerType?: "Officer_2" | "Officer_1" | "Officer_3" | "Officer_4" | "Officer_8" | "Officer_5" | "Officer_6" | "Officer_10" | "Officer_7" | "Officer_9" | undefined], {
20
20
  companyId: string;
21
21
  sendForVerification: boolean;
22
22
  reCalculateCurrentStep: boolean | undefined;
23
23
  isBillingAddressUpdate: boolean | undefined;
24
- officerType: "Officer_1" | "Officer_3" | "Officer_2" | "Officer_4" | "Officer_5" | "Officer_6" | "Officer_7" | "Officer_8" | "Officer_9" | "Officer_10" | undefined;
24
+ officerType: "Officer_2" | "Officer_1" | "Officer_3" | "Officer_4" | "Officer_8" | "Officer_5" | "Officer_6" | "Officer_10" | "Officer_7" | "Officer_9" | undefined;
25
25
  }, "onboardingCustomerView/updateOnboardingCustomerView", never, never>, updateOnboardingCustomerViewSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"onboardingCustomerView/updateOnboardingCustomerViewSuccess">, updateOnboardingCustomerViewFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>], ZeniAPIStatus<Record<string, unknown>>, "onboardingCustomerView/updateOnboardingCustomerViewFailure", never, never>, updateOnboardingPaymentAccountStatus: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[verificationStatusCode: string, paymentAccountId: string, linkTokenType?: PlaidLinkTokenType | undefined], {
26
26
  verificationStatusCode: string;
27
27
  paymentAccountId: string;
@@ -32,7 +32,7 @@ const fetchOpExReportForTimeframeEpic = (actions$, state, zeniAPI) => actions$.p
32
32
  actions.push((0, opExReducer_1.updateOpExForTimeframe)({
33
33
  timeframe: action.payload.timeframe,
34
34
  forecastId: action.payload.forecastId,
35
- report: response.data,
35
+ report: response.data, // eslint-disable-line @typescript-eslint/no-non-null-assertion
36
36
  }));
37
37
  if (action.payload.forecastId == null &&
38
38
  action.payload.timeframe === 'month') {
@@ -81,7 +81,11 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
81
81
  },
82
82
  },
83
83
  fetchOpExReportForTimeframe: {
84
- prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
84
+ prepare(timeframe, forecastId,
85
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
86
+ fetchFullReport = true,
87
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
88
+ cacheOverride = false) {
85
89
  return {
86
90
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
87
91
  };
@@ -101,7 +105,8 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
101
105
  reducer(draft) {
102
106
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
103
107
  },
104
- prepare(cacheOverride = false, forecastId) {
108
+ prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
109
+ forecastId) {
105
110
  return {
106
111
  payload: {
107
112
  cacheOverride,
@@ -114,7 +119,8 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
114
119
  reducer(draft) {
115
120
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
116
121
  },
117
- prepare(cacheOverride = false, forecastId) {
122
+ prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
123
+ forecastId) {
118
124
  return {
119
125
  payload: {
120
126
  cacheOverride,
@@ -150,7 +156,11 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
150
156
  clearOpEx(draft) {
151
157
  Object.assign(draft, exports.initialState);
152
158
  },
153
- updateOpExAdditionalBalancesSelection(draft, action) {
159
+ updateOpExAdditionalBalancesSelection(
160
+ //eslint-disable-next-line @typescript-eslint/no-unused-vars
161
+ draft,
162
+ //eslint-disable-next-line @typescript-eslint/no-unused-vars
163
+ action) {
154
164
  var _a, _b, _c;
155
165
  const opExReport = getState(draft, draft.uiState.isForecastModeOn, (_a = draft.uiState.selectedForecast) === null || _a === void 0 ? void 0 : _a.id);
156
166
  const { opExBalancesByTimeframe, dataAvailable } = opExReport;
@@ -165,7 +165,9 @@ const opexByVendor = (0, toolkit_1.createSlice)({
165
165
  draft.opExByVendorReportGenerated = action.payload;
166
166
  },
167
167
  fetchOpExByVendorReportSummary: {
168
- prepare(cacheOverride = false) {
168
+ prepare(
169
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
170
+ cacheOverride = false) {
169
171
  return {
170
172
  payload: { cacheOverride },
171
173
  };
@@ -12,7 +12,7 @@ export interface OpExByVendorQuery {
12
12
  pageLimit?: number;
13
13
  fetchNextPage: boolean;
14
14
  }
15
- export declare const toOpexByVendorSortKeyType: (v: string) => "vendor" | "totals" | "account" | "class";
15
+ export declare const toOpexByVendorSortKeyType: (v: string) => "class" | "vendor" | "totals" | "account";
16
16
  export declare type OpexByVendorSortKey = ReturnType<typeof toOpexByVendorSortKeyType>;
17
17
  export declare function getOpexVendorKey(vendorId: ID, accountId: ID | undefined, classId: ID | undefined): string;
18
18
  export type OpexVendorKey = ReturnType<typeof getOpexVendorKey>;
@@ -37,6 +37,7 @@ const opExClassesView = (0, toolkit_1.createSlice)({
37
37
  initialState: exports.initialState,
38
38
  reducers: {
39
39
  fetchOpExClassesView: {
40
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
40
41
  prepare(cacheOverride = false) {
41
42
  return { payload: { cacheOverride } };
42
43
  },
@@ -49,7 +50,11 @@ const opExClassesView = (0, toolkit_1.createSlice)({
49
50
  },
50
51
  },
51
52
  fetchOpExForTimeframeClassesView: {
52
- prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
53
+ prepare(timeframe,
54
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
55
+ fetchFullReport = true,
56
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
57
+ cacheOverride = false) {
53
58
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
54
59
  },
55
60
  reducer(draft, action) {
@@ -19,7 +19,9 @@ const fetchPeopleEpic = (actions$, state, zeniAPI) => actions$.pipe((0, operator
19
19
  return zeniAPI.getJSON(URL).pipe((0, operators_1.mergeMap)((response) => {
20
20
  var _a, _b, _c, _d;
21
21
  if ((0, responsePayload_1.isSuccessResponse)(response)) {
22
- return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) !== null && _b !== void 0 ? _b : []), (0, userReducer_1.updateAllUsers)({ users: (_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.users) !== null && _d !== void 0 ? _d : [] }), (0, peopleReducer_1.updatePersonUserIds)(response.data) // eslint-disable-line @typescript-eslint/no-non-null-assertion
22
+ return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) !== null && _b !== void 0 ? _b : []), // eslint-disable-line @typescript-eslint/no-non-null-assertion
23
+ (0, userReducer_1.updateAllUsers)({ users: (_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.users) !== null && _d !== void 0 ? _d : [] }), // eslint-disable-line @typescript-eslint/no-non-null-assertion
24
+ (0, peopleReducer_1.updatePersonUserIds)(response.data) // eslint-disable-line @typescript-eslint/no-non-null-assertion
23
25
  );
24
26
  }
25
27
  else {
@@ -21,7 +21,9 @@ const invitePeopleEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operat
21
21
  if (Boolean((_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) === true) {
22
22
  (0, updateManagersListOnRoleChange_1.updateManagersListOnRoleChange)(actions, (_b = response.data) === null || _b === void 0 ? void 0 : _b.user_roles[0], false);
23
23
  }
24
- return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.user_roles) !== null && _d !== void 0 ? _d : []), (0, userReducer_1.updateAllUsers)({ users: (_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.users) !== null && _f !== void 0 ? _f : [] }), (0, peopleReducer_1.invitePeopleSuccess)(response.data), // eslint-disable-line @typescript-eslint/no-non-null-assertion
24
+ return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.user_roles) !== null && _d !== void 0 ? _d : []), // eslint-disable-line @typescript-eslint/no-non-null-assertion
25
+ (0, userReducer_1.updateAllUsers)({ users: (_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.users) !== null && _f !== void 0 ? _f : [] }), // eslint-disable-line @typescript-eslint/no-non-null-assertion
26
+ (0, peopleReducer_1.invitePeopleSuccess)(response.data), // eslint-disable-line @typescript-eslint/no-non-null-assertion
25
27
  (0, snackbarReducer_1.openSnackbar)({
26
28
  messageSection: invitePayload.invites.length > 1
27
29
  ? 'people_invite_multiple_people'
@@ -21,7 +21,9 @@ const inviteZeniPeopleEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, op
21
21
  if (Boolean((_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) === true) {
22
22
  (0, updateManagersListOnRoleChange_1.updateManagersListOnRoleChange)(actions, (_b = response.data) === null || _b === void 0 ? void 0 : _b.user_roles[0], true);
23
23
  }
24
- return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.user_roles) !== null && _d !== void 0 ? _d : []), (0, userReducer_1.updateAllUsers)({ users: (_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.users) !== null && _f !== void 0 ? _f : [] }), (0, peopleReducer_1.invitePeopleSuccess)(response.data), // eslint-disable-line @typescript-eslint/no-non-null-assertion
24
+ return (0, rxjs_1.of)((0, userRoleReducer_1.updateUserRoles)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.user_roles) !== null && _d !== void 0 ? _d : []), // eslint-disable-line @typescript-eslint/no-non-null-assertion
25
+ (0, userReducer_1.updateAllUsers)({ users: (_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.users) !== null && _f !== void 0 ? _f : [] }), // eslint-disable-line @typescript-eslint/no-non-null-assertion
26
+ (0, peopleReducer_1.invitePeopleSuccess)(response.data), // eslint-disable-line @typescript-eslint/no-non-null-assertion
25
27
  (0, snackbarReducer_1.openSnackbar)({
26
28
  messageSection: invitePayload.users.length > 1
27
29
  ? 'people_invite_multiple_people'
@@ -201,6 +201,7 @@ const people = (0, toolkit_1.createSlice)({
201
201
  reducer() {
202
202
  // Do nothing.
203
203
  },
204
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
204
205
  prepare(companyId, shouldFetchClassList) {
205
206
  return { payload: { companyId, shouldFetchClassList } };
206
207
  },
@@ -20,7 +20,7 @@ const peopleSaveUpdatesEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, o
20
20
  var _a, _b, _c, _d;
21
21
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
22
22
  const actions = [
23
- (0, userRoleReducer_1.updateUserRoles)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) !== null && _b !== void 0 ? _b : []),
23
+ (0, userRoleReducer_1.updateUserRoles)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) !== null && _b !== void 0 ? _b : []), // eslint-disable-line @typescript-eslint/no-non-null-assertion
24
24
  (0, peopleReducer_1.peopleSaveUpdatesSuccess)(),
25
25
  (0, snackbarReducer_1.openSnackbar)({
26
26
  messageSection: 'people_update_person',
@@ -41,6 +41,7 @@ const profitAndLoss = (0, toolkit_1.createSlice)({
41
41
  initialState: exports.initialState,
42
42
  reducers: {
43
43
  fetchProfitAndLoss: {
44
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
44
45
  prepare(forecastId, cacheOverride = false) {
45
46
  return { payload: { forecastId, cacheOverride } };
46
47
  },
@@ -53,7 +54,11 @@ const profitAndLoss = (0, toolkit_1.createSlice)({
53
54
  },
54
55
  },
55
56
  fetchProfitAndLossForTimeframe: {
56
- prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
57
+ prepare(timeframe, forecastId,
58
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
59
+ fetchFullReport = true,
60
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
61
+ cacheOverride = false) {
57
62
  return {
58
63
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
59
64
  };
@@ -38,6 +38,7 @@ const profitAndLossClassesView = (0, toolkit_1.createSlice)({
38
38
  initialState: exports.initialState,
39
39
  reducers: {
40
40
  fetchProfitAndLossClassesView: {
41
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
41
42
  prepare(cacheOverride = false) {
42
43
  return { payload: { cacheOverride } };
43
44
  },
@@ -50,7 +51,11 @@ const profitAndLossClassesView = (0, toolkit_1.createSlice)({
50
51
  },
51
52
  },
52
53
  fetchProfitAndLossForTimeframeClassesView: {
53
- prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
54
+ prepare(timeframe,
55
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
56
+ fetchFullReport = true,
57
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
58
+ cacheOverride = false) {
54
59
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
55
60
  },
56
61
  reducer(draft, action) {
@@ -12,7 +12,9 @@ const recommendation = (0, toolkit_1.createSlice)({
12
12
  initialState: exports.initialState,
13
13
  reducers: {
14
14
  fetchEntityRecommendationsByTransactionId: {
15
- reducer(draft, action) {
15
+ reducer(draft,
16
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
17
+ action) {
16
18
  const { entity } = action.payload;
17
19
  const key = (0, recommendationState_1.getEntityRecommendationKey)(entity.type, entity.id);
18
20
  const existingRecommendation = draft.recommendationByEntity[key];
@@ -73,6 +75,7 @@ const recommendation = (0, toolkit_1.createSlice)({
73
75
  updateRecommendationForEntity(draft, action) {
74
76
  doUpdateRecommendationForEntity(draft.recommendationByEntity, action.payload.entityId, action.payload.entityType, action.payload.recommendations);
75
77
  },
78
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
76
79
  updateRecommendationForEntityFailure(draft, action) {
77
80
  const { entityId, entityType, status } = action.payload;
78
81
  const key = (0, recommendationState_1.getEntityRecommendationKey)(entityType, entityId);
@@ -50,7 +50,7 @@ export declare type SupportedRewardPlans = ReturnType<typeof toSupportedRewardPl
50
50
  export declare const REFERRAL_LIST_VIEW_SORT_KEYS: readonly ["invitee_email", "amount", "status", "referral_date"];
51
51
  export declare const toReferralListViewSortKeyType: (v: string) => "status" | "amount" | "invitee_email" | "referral_date";
52
52
  export declare type ReferralListViewSortKey = ReturnType<typeof toReferralListViewSortKeyType>;
53
- declare const toReferralStatusType: (v: string) => "onboarding" | "active" | "declined" | "invite_processing" | "invite_sent" | "resend_invite" | "reward_sent";
53
+ declare const toReferralStatusType: (v: string) => "active" | "onboarding" | "declined" | "invite_processing" | "invite_sent" | "resend_invite" | "reward_sent";
54
54
  export declare type ReferralStatus = ReturnType<typeof toReferralStatusType>;
55
55
  export declare const StatusTypes: Record<ReferralStatus, string>;
56
56
  declare const toReferralAmountStatusType: (v: string) => "received" | "to_be_received";
@@ -1,12 +1,12 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getReimbursementCardReport: (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
  reimbursementAmountByKey: 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 ReimbursementCardReport = ReturnType<typeof getReimbursementCardReport>;
@@ -4,31 +4,31 @@ import { ID } from '../../commonStateTypes/common';
4
4
  import { TimeframeTick } from '../../commonStateTypes/timeframeTick';
5
5
  import { ReportUIOptionsState } from './reportUIOptionsState';
6
6
  export declare const initialState: ReportUIOptionsState;
7
- export declare const updateReportUIOptionTimeframe: import("@reduxjs/toolkit").ActionCreatorWithPayload<"month" | "year" | "quarter", "report_ui_options/updateReportUIOptionTimeframe">, updateReportUIOptionThisPeriod: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11, thisPeriod: TimeframeTick, maxNumOfPeriodsToSelect?: number | undefined], {
8
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
7
+ export declare const updateReportUIOptionTimeframe: import("@reduxjs/toolkit").ActionCreatorWithPayload<"month" | "year" | "quarter", "report_ui_options/updateReportUIOptionTimeframe">, updateReportUIOptionThisPeriod: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9, thisPeriod: TimeframeTick, maxNumOfPeriodsToSelect?: number | undefined], {
8
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
9
9
  thisPeriod: TimeframeTick;
10
10
  maxNumOfPeriodsToSelect: number | undefined;
11
11
  }, "report_ui_options/updateReportUIOptionThisPeriod", never, never>, updateReportUIOptionCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[selectedCOABalancesRange: COABalancesRange, highlightedCOABalancesRange?: COABalancesRangeWithThisPeriod | undefined], {
12
12
  selectedCOABalancesRange: COABalancesRange;
13
13
  highlightedCOABalancesRange: COABalancesRangeWithThisPeriod | undefined;
14
- }, "report_ui_options/updateReportUIOptionCOABalancesRange", never, never>, updateReportUIOptionIsCompareModeOn: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11, isCompareModeOn: boolean, maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
15
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
14
+ }, "report_ui_options/updateReportUIOptionCOABalancesRange", never, never>, updateReportUIOptionIsCompareModeOn: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9, isCompareModeOn: boolean, maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
15
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
16
16
  isCompareModeOn: boolean;
17
17
  maxNumOfPeriodsToHighlight: any;
18
18
  additionalBalances: COABalanceType[];
19
- }, "report_ui_options/updateReportUIOptionIsCompareModeOn", never, never>, updateReportUIOptionCompareMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11, compareMode: "compare_mode_percent" | "compare_mode_amount", maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
20
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
19
+ }, "report_ui_options/updateReportUIOptionIsCompareModeOn", never, never>, updateReportUIOptionCompareMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9, compareMode: "compare_mode_percent" | "compare_mode_amount", maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
20
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
21
21
  compareMode: "compare_mode_percent" | "compare_mode_amount";
22
22
  maxNumOfPeriodsToHighlight: any;
23
23
  additionalBalances: COABalanceType[];
24
24
  }, "report_ui_options/updateReportUIOptionCompareMode", never, never>, updateReportUIOptionIsForecastVsActualOn: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "report_ui_options/updateReportUIOptionIsForecastVsActualOn">, updateReportUIOptionSelectedForecast: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[id: string, index: number], {
25
25
  id: string;
26
26
  index: number;
27
- }, "report_ui_options/updateReportUIOptionSelectedForecast", never, never>, toggleReportUIOptionForecastMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11, isForecastModeOn: boolean, maxNumOfPeriodsToHighlightWithForecast?: any, selectedForecast?: {
27
+ }, "report_ui_options/updateReportUIOptionSelectedForecast", never, never>, toggleReportUIOptionForecastMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9, isForecastModeOn: boolean, maxNumOfPeriodsToHighlightWithForecast?: any, selectedForecast?: {
28
28
  id: ID;
29
29
  index: number;
30
30
  } | undefined], {
31
- firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
31
+ firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
32
32
  isForecastModeOn: boolean;
33
33
  maxNumOfPeriodsToHighlightWithForecast: any;
34
34
  selectedForecast: {
@@ -24,7 +24,9 @@ const updateReportUIOptionThisPeriodEpic = (actions$, state) => actions$.pipe((0
24
24
  firstMonthOfFY: action.payload.firstMonthOfFY,
25
25
  thisPeriod: action.payload.thisPeriod,
26
26
  coaBalances: financeStatementState.balancesInTimeframe,
27
- maxNumOfPeriodsToHighlight: (_a = action.payload.maxNumOfPeriodsToSelect) !== null && _a !== void 0 ? _a : financeStatementReducer_1.initialFinanceStatementState.maxNumOfPeriodsToHighlight,
27
+ maxNumOfPeriodsToHighlight:
28
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
29
+ (_a = action.payload.maxNumOfPeriodsToSelect) !== null && _a !== void 0 ? _a : financeStatementReducer_1.initialFinanceStatementState.maxNumOfPeriodsToHighlight,
28
30
  }));
29
31
  }));
30
32
  exports.updateReportUIOptionThisPeriodEpic = updateReportUIOptionThisPeriodEpic;
@@ -72,6 +72,7 @@ const revenue = (0, toolkit_1.createSlice)({
72
72
  initialState: exports.initialState,
73
73
  reducers: {
74
74
  fetchRevenue: {
75
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
75
76
  prepare(fetchFullReport = false, forecastId, cacheOverride = false) {
76
77
  return { payload: { fetchFullReport, forecastId, cacheOverride } };
77
78
  },
@@ -84,7 +85,11 @@ const revenue = (0, toolkit_1.createSlice)({
84
85
  },
85
86
  },
86
87
  fetchRevenueForTimeframe: {
87
- prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
88
+ prepare(timeframe, forecastId,
89
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
90
+ fetchFullReport = true,
91
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
92
+ cacheOverride = false) {
88
93
  return {
89
94
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
90
95
  };
@@ -104,7 +109,8 @@ const revenue = (0, toolkit_1.createSlice)({
104
109
  reducer(draft) {
105
110
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
106
111
  },
107
- prepare(cacheOverride = false, forecastId) {
112
+ prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
113
+ forecastId) {
108
114
  return {
109
115
  payload: {
110
116
  cacheOverride,
@@ -117,7 +123,8 @@ const revenue = (0, toolkit_1.createSlice)({
117
123
  reducer(draft) {
118
124
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
119
125
  },
120
- prepare(cacheOverride = false, forecastId) {
126
+ prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
127
+ forecastId) {
121
128
  return {
122
129
  payload: {
123
130
  cacheOverride,
@@ -37,6 +37,7 @@ const revenueClassesView = (0, toolkit_1.createSlice)({
37
37
  initialState: exports.initialState,
38
38
  reducers: {
39
39
  fetchRevenueClassesView: {
40
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
40
41
  prepare(cacheOverride = false) {
41
42
  return { payload: { cacheOverride } };
42
43
  },
@@ -49,7 +50,11 @@ const revenueClassesView = (0, toolkit_1.createSlice)({
49
50
  },
50
51
  },
51
52
  fetchRevenueForTimeframeClassesView: {
52
- prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
53
+ prepare(timeframe,
54
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
55
+ fetchFullReport = true,
56
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
57
+ cacheOverride = false) {
53
58
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
54
59
  },
55
60
  reducer(draft, action) {
@@ -1,3 +1,3 @@
1
- declare const toLinkBillExpenseKeysType: (v: string) => "amount" | "name" | "memo" | "attachment" | "transactionType" | "creationDate";
1
+ declare const toLinkBillExpenseKeysType: (v: string) => "name" | "attachment" | "amount" | "memo" | "transactionType" | "creationDate";
2
2
  export declare type LinkBillExpenseKey = ReturnType<typeof toLinkBillExpenseKeysType>;
3
3
  export {};
@@ -36,9 +36,9 @@ export declare const createNewSchedules: import("@reduxjs/toolkit").ActionCreato
36
36
  }, "scheduleDetailView/updateDeletedScheduleDetail", never, never>, deleteScheduleDetailSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[fetchState: FetchState, error?: ZeniAPIStatus<Record<string, unknown>> | undefined], {
37
37
  fetchState: FetchState;
38
38
  error: ZeniAPIStatus<Record<string, unknown>> | undefined;
39
- }, "scheduleDetailView/deleteScheduleDetailSuccessOrFailure", never, never>, initializeScheduleDetailLocalData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedJEScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`, selectedJeScheduleDetailId?: string | undefined], {
39
+ }, "scheduleDetailView/deleteScheduleDetailSuccessOrFailure", never, never>, initializeScheduleDetailLocalData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedJEScheduleKey: `${string}_transfer` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`, selectedJeScheduleDetailId?: string | undefined], {
40
40
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
41
- selectedJEScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
41
+ selectedJEScheduleKey: `${string}_transfer` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
42
42
  selectedJeScheduleDetailId: string | undefined;
43
43
  }, "scheduleDetailView/initializeScheduleDetailLocalData", never, never>, updateScheduleDetailsLocalData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
44
44
  scheduleType: ScheduleTypes;
@@ -66,9 +66,9 @@ export declare const createNewSchedules: import("@reduxjs/toolkit").ActionCreato
66
66
  jeScheduleDetailId: ID;
67
67
  rowId: number;
68
68
  originalScheduledJE: ScheduledJournalEntry;
69
- }, "scheduleDetailView/resetJELinkInLocalData">, markAsCompleteScheduleDetail: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", jeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
69
+ }, "scheduleDetailView/resetJELinkInLocalData">, markAsCompleteScheduleDetail: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", jeScheduleKey: `${string}_transfer` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
70
70
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
71
- jeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
71
+ jeScheduleKey: `${string}_transfer` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
72
72
  }, "scheduleDetailView/markAsCompleteScheduleDetail", never, never>, markAsCompleteScheduleDetailSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[fetchState: FetchState, error?: ZeniAPIStatus<Record<string, unknown>> | undefined], {
73
73
  fetchState: FetchState;
74
74
  error: ZeniAPIStatus<Record<string, unknown>> | undefined;
@@ -5,9 +5,9 @@ export declare const toScheduleListTabsFileTypeStrict: (v?: string) => "excel" |
5
5
  export type ScheduleListTabsFileType = NonNullable<ReturnType<typeof toScheduleListTabsFileTypeStrict>>;
6
6
  export declare const getScheduleListKey: (selectedCategory: ID, selectedTimeframe: TimeframeTick) => `${string}-${string}--${string}`;
7
7
  export type ScheduleListKey = ReturnType<typeof getScheduleListKey>;
8
- export declare const toScheduleSubTabType: (v: string) => "completed" | "new" | "ongoing" | "all";
8
+ export declare const toScheduleSubTabType: (v: string) => "all" | "new" | "completed" | "ongoing";
9
9
  export type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
10
- declare const toScheduleSortKeyType: (v: string) => "months" | "vendor" | "status" | "amount" | "class" | "user" | "createTime" | "balanceAsOfToday" | "memo" | "assetId" | "transactionDate" | "transactionType" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth";
10
+ declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "class" | "vendor" | "amount" | "createTime" | "balanceAsOfToday" | "memo" | "assetId" | "transactionType" | "transactionDate" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth";
11
11
  export declare type ScheduleListSortKey = ReturnType<typeof toScheduleSortKeyType>;
12
12
  export interface DownloadJEScheduleTabOptions {
13
13
  timezone: string;
@@ -93,6 +93,7 @@ const settings = (0, toolkit_1.createSlice)({
93
93
  reducer() {
94
94
  // Do nothing.
95
95
  },
96
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
96
97
  prepare(companyId, shouldFetchClassList) {
97
98
  return { payload: { companyId, shouldFetchClassList } };
98
99
  },
@@ -15,7 +15,7 @@ export type ReminderTypeKey = ReturnType<typeof toReminderTypeKey>;
15
15
  export declare const toRemindersFrequencyType: (v: string) => "weekly" | "monthly" | "daily" | "bi-weekly";
16
16
  export type FrequencyTypeKey = ReturnType<typeof toRemindersFrequencyType>;
17
17
  export declare const NOTIFICATION_MODES: readonly ["email", "dashboard"];
18
- export declare const toNotificationMode: (v: string) => "dashboard" | "email";
18
+ export declare const toNotificationMode: (v: string) => "email" | "dashboard";
19
19
  export type NotificationModeKey = ReturnType<typeof toNotificationMode>;
20
20
  export interface MonthEndInsightsNotificationSettingsData {
21
21
  enabled: boolean | null;
@@ -21,7 +21,7 @@ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWith
21
21
  period: TimePeriod;
22
22
  tab: "paid" | "pending_approval" | "scheduled" | "draft";
23
23
  error: ZeniAPIStatus<Record<string, unknown>>;
24
- }, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"rejected" | "ach" | "wire" | "failed" | "cancelled" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "deleted" | "offline", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
24
+ }, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"all" | "failed" | "offline" | "rejected" | "cancelled" | "ach" | "wire" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "deleted", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
25
25
  uiState: Partial<BillListUIState>;
26
26
  period: TimePeriod;
27
27
  }, "billList/updateBillListUIState">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -163,6 +163,7 @@ function doUpdateBillList(draft, payload, tab) {
163
163
  const pendingApprovalTransactionIDs = payload.pending_approval_transaction_ids_for_user;
164
164
  const start = (0, timePeriod_1.toAbsoluteDay)(payload === null || payload === void 0 ? void 0 : payload.query.start_date); // eslint-disable-line @typescript-eslint/no-non-null-assertion
165
165
  const end = (0, timePeriod_1.toAbsoluteDay)(payload === null || payload === void 0 ? void 0 : payload.query.end_date); // eslint-disable-line @typescript-eslint/no-non-null-assertion
166
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
166
167
  const key = (0, billListState_1.getBillListKey)({ start, end }, tab);
167
168
  draft[key] = Object.assign(Object.assign({}, billListState_1.billListInitialState), { uiState: draft[key] != null ? draft[key].uiState : billListState_1.billListInitialState.uiState, fetchState: 'Completed', error: undefined, transactionIDs,
168
169
  pendingApprovalTransactionIDs });
@@ -35,9 +35,9 @@ export type SaveBillStageCode = 'draft' | 'pending_approval' | undefined;
35
35
  export declare const ALL_BILL_TABS: readonly ["paid", "pending_approval", "scheduled", "draft"];
36
36
  declare const toBillTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
37
37
  export type BillTab = ReturnType<typeof toBillTabType>;
38
- declare const toBillsSubTabType: (v: string) => "rejected" | "ach" | "wire" | "failed" | "cancelled" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "deleted" | "offline";
38
+ declare const toBillsSubTabType: (v: string) => "all" | "failed" | "offline" | "rejected" | "cancelled" | "ach" | "wire" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "deleted";
39
39
  export type BillsSubTabType = ReturnType<typeof toBillsSubTabType>;
40
- declare const toBillPaySortKeyType: (v: string) => "status" | "amount" | "name" | "dueDate" | "paymentMethod" | "invoiceDate";
40
+ declare const toBillPaySortKeyType: (v: string) => "name" | "status" | "amount" | "dueDate" | "paymentMethod" | "invoiceDate";
41
41
  export declare type BillPayViewSortKey = ReturnType<typeof toBillPaySortKeyType>;
42
42
  export interface BillPayFilters {
43
43
  categoryCombinationOperator: CategoryCombinationOperator;
@@ -3,7 +3,7 @@ import { Currency } from '../../../../commonStateTypes/amount';
3
3
  import { AccountBasePayload } from '../../../../entity/account/accountPayload';
4
4
  import { ClassBasePayload } from '../../../../entity/class/classPayload';
5
5
  import { ZeniAPIResponse } from '../../../../responsePayload';
6
- import { AccType, AccountTypeSubConfigCodeKeyType, BillPayConfig, BillPaymentConfigCodeType, BillPaymentOutsideZeniSubConfigCodeType, BillPaymentSubConfigCodeKeyType, BillPaymentSubConfigCodeType, BillPaymentWireSubConfigCodeKeyType, BillPaymentWireSubConfigCodeType, ConfigPeriod, InternationalSubConfigCodeKeyType, InternationalSubConfigCodeType, InternationalWireMethodCodeKeyType, InternationalWireMethodCodeType, PaymentAchSubConfigCodeKeyType, PaymentAchSubConfigCodeType, VendorCurrency } from './billPayConfigState';
6
+ import { AccType, AccountTypeSubConfigCodeKeyType, BillPayConfig, BillPaymentConfigCodeType, BillPaymentOutsideZeniSubConfigCodeType, BillPaymentSubConfigCodeKeyType, BillPaymentSubConfigCodeType, BillPaymentWireSubConfigCodeKeyType, BillPaymentWireSubConfigCodeType, InternationalSubConfigCodeKeyType, InternationalSubConfigCodeType, InternationalWireMethodCodeKeyType, InternationalWireMethodCodeType, PaymentAchSubConfigCodeKeyType, PaymentAchSubConfigCodeType, VendorCurrency } from './billPayConfigState';
7
7
  export interface BillPayConfigPayload {
8
8
  bill_pay_bot_email: string;
9
9
  is_us_domestic_wire_enabled: boolean;
@@ -106,10 +106,6 @@ export declare const getBillPaymentWireSubConfigCodeKey: (subCode: BillPaymentWi
106
106
  export declare const getInternationalSubConfigCodeKey: (subCode: InternationalSubConfigCodeType) => InternationalSubConfigCodeKeyType;
107
107
  export declare const getInternationalWireMethodCodeKey: (subCode: InternationalWireMethodCodeType) => InternationalWireMethodCodeKeyType;
108
108
  export declare const getAccountTypeSubConfigCodeKey: (subCode: AccType) => AccountTypeSubConfigCodeKeyType;
109
- export interface TimelineDetail {
110
- minPeriod: ConfigPeriod;
111
- maxPeriod: ConfigPeriod;
112
- }
113
109
  export declare const mapBillPayConfigPayloadToBillPayConfig: (paymentProcessor: BillPayConfigPaymentProcessorPayload, isEnabled: boolean, isVerified: boolean, code: BillPaymentConfigCodeType, subCode: BillPaymentSubConfigCodeType, accType?: AccType, internationalMethod?: InternationalWireMethodCodeType, internationalSubMethod?: InternationalSubConfigCodeType) => BillPayConfig;
114
110
  export declare const mapBillPayVendorConfigPayloadToBillPayVendorConfig: (payload: BillPayConfigPayload, code: BillPaymentConfigCodeType, subCode: BillPaymentSubConfigCodeType) => Currency[];
115
111
  export declare const toVendorCurrency: (payload: VendorCurrencyPayload) => VendorCurrency;
@@ -7,7 +7,7 @@ export declare const getBillPayConfigKey: (method: string, subMethod: string) =>
7
7
  type BillPayConfigKey = ReturnType<typeof getBillPayConfigKey>;
8
8
  export declare const getBillPayConfigMethodKey: (method: BillPaymentConfigCodeType, subMethod: BillPaymentSubConfigCodeKeyType, accType?: AccountTypeSubConfigCodeKeyType, internationalMethod?: InternationalWireMethodCodeKeyType, internationalSubMethod?: InternationalSubConfigCodeKeyType) => string;
9
9
  type VendorCurrencyConfig = Record<BillPayConfigKey, Currency[]>;
10
- export declare const toDynamicFeeType: (v: string) => "percent" | "fixed";
10
+ export declare const toDynamicFeeType: (v: string) => "fixed" | "percent";
11
11
  type DynamicFeeType = ReturnType<typeof toDynamicFeeType>;
12
12
  export interface BillPayConfigState extends FetchedState {
13
13
  methodById: Record<string, BillPayConfig>;