@zeniai/client-epic-state 4.15.42 → 4.15.44

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 +19 -1
  2. package/lib/commonPayloadTypes/recommendationPayload.d.ts +1 -0
  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 +1 -0
  12. package/lib/configureStore.js +2 -1
  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/accountRecon/accountReconPayload.d.ts +70 -0
  19. package/lib/entity/accountRecon/accountReconPayload.js +125 -0
  20. package/lib/entity/accountRecon/accountReconReducer.d.ts +16 -0
  21. package/lib/entity/accountRecon/accountReconReducer.js +71 -0
  22. package/lib/entity/accountRecon/accountReconSelector.d.ts +28 -0
  23. package/lib/entity/accountRecon/accountReconSelector.js +44 -0
  24. package/lib/entity/accountRecon/accountReconState.d.ts +70 -0
  25. package/lib/entity/accountRecon/accountReconState.js +28 -0
  26. package/lib/entity/approvalRule/approvalRuleState.d.ts +2 -2
  27. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +4 -4
  28. package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
  29. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +1 -1
  30. package/lib/entity/class/classReducer.d.ts +4 -4
  31. package/lib/entity/class/classState.d.ts +1 -1
  32. package/lib/entity/company/companyReducer.js +0 -1
  33. package/lib/entity/customer/customerPayload.d.ts +1 -1
  34. package/lib/entity/customer/customerPayload.js +16 -6
  35. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
  36. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +2 -2
  37. package/lib/entity/file/fileState.d.ts +3 -3
  38. package/lib/entity/forecast/forecastState.d.ts +1 -1
  39. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  40. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +2 -2
  41. package/lib/entity/notification/types/notificationTypes.d.ts +2 -2
  42. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  43. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  44. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  45. package/lib/entity/snackbar/snackbarTypes.d.ts +2 -2
  46. package/lib/entity/snackbar/snackbarTypes.js +4 -0
  47. package/lib/entity/task/taskState.d.ts +3 -3
  48. package/lib/entity/tenant/clearAllEpic.d.ts +4 -2
  49. package/lib/entity/tenant/clearAllEpic.js +4 -0
  50. package/lib/entity/tenant/tenantReducer.d.ts +2 -2
  51. package/lib/entity/tenant/tenantReducer.js +0 -1
  52. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.d.ts +1 -1
  53. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +1 -2
  54. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.d.ts +35 -0
  55. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +53 -0
  56. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +2 -0
  57. package/lib/entity/transaction/payloadTypes/transactionPayload.js +9 -6
  58. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.d.ts +9 -1
  59. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +24 -2
  60. package/lib/entity/transaction/stateTypes/attachment.d.ts +2 -2
  61. package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +32 -0
  62. package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +10 -0
  63. package/lib/entity/transaction/stateTypes/transaction.d.ts +3 -1
  64. package/lib/entity/transaction/stateTypes/transactionType.d.ts +1 -1
  65. package/lib/entity/transaction/stateTypes/transactionType.js +1 -1
  66. package/lib/entity/transaction/stateTypes/vendorTransaction.d.ts +5 -0
  67. package/lib/entity/transaction/stateTypes/vendorTransaction.js +5 -1
  68. package/lib/entity/transaction/toSupportedTransaction.js +6 -1
  69. package/lib/entity/transaction/transactionReducer.d.ts +17 -0
  70. package/lib/entity/transaction/transactionReducer.js +47 -2
  71. package/lib/entity/transaction/transactionSelector.d.ts +2 -0
  72. package/lib/entity/transaction/transactionSelector.js +5 -0
  73. package/lib/entity/transaction/transactionState.d.ts +6 -4
  74. package/lib/entity/vendorExpense/vendorExpenseReducer.js +0 -1
  75. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  76. package/lib/epic.d.ts +6 -1
  77. package/lib/epic.js +6 -1
  78. package/lib/index.d.ts +22 -13
  79. package/lib/index.js +56 -27
  80. package/lib/init.d.ts +2 -1
  81. package/lib/init.js +9 -2
  82. package/lib/reducer.d.ts +7 -1
  83. package/lib/reducer.js +6 -0
  84. package/lib/view/accountList/accountListReducer.js +1 -3
  85. package/lib/view/accountMappingView/accountMappingReducer.js +0 -1
  86. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +1 -2
  87. package/lib/view/auditReportView/auditReportViewReducer.d.ts +2 -2
  88. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  89. package/lib/view/balanceSheet/balanceSheetReducer.js +1 -6
  90. package/lib/view/bankAccountView/bankAccountViewReducer.js +0 -1
  91. package/lib/view/billPayCard/billPayCardSelector.d.ts +2 -2
  92. package/lib/view/cardBalance/cardBalanceSelector.d.ts +3 -3
  93. package/lib/view/cashBalance/cashBalanceSelector.d.ts +3 -3
  94. package/lib/view/cashFlow/cashFlowReducer.js +1 -4
  95. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +2 -2
  96. package/lib/view/cashPosition/cashPositionReducer.js +0 -1
  97. package/lib/view/cashPosition/cashPositionSelector.d.ts +2 -2
  98. package/lib/view/common/reportsHelpers.d.ts +1 -1
  99. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +7 -0
  100. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +1 -3
  101. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  102. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
  103. package/lib/view/companyView/companyViewReducer.d.ts +1 -1
  104. package/lib/view/companyView/companyViewReducer.js +1 -10
  105. package/lib/view/companyView/types/cockpitTypes.d.ts +3 -3
  106. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +1 -1
  107. package/lib/view/dashboard/dashboardEpic.js +0 -2
  108. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  109. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.d.ts +15 -0
  110. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +118 -0
  111. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.d.ts +10 -0
  112. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +49 -0
  113. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.d.ts +14 -0
  114. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +169 -0
  115. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.d.ts +9 -0
  116. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +154 -0
  117. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.d.ts +6 -0
  118. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +110 -0
  119. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +2 -1
  120. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +24 -10
  121. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +2 -1
  122. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +14 -0
  123. package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +30 -7
  124. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +2 -2
  125. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +1 -5
  126. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +17 -2
  127. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +2 -2
  128. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +1 -1
  129. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.d.ts +7 -0
  130. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +18 -0
  131. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +98 -42
  132. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  133. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +86 -10
  134. package/lib/view/expenseAutomationView/payload/reconciliationPayload.d.ts +28 -0
  135. package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +51 -0
  136. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +11 -11
  137. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.d.ts +66 -0
  138. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +384 -0
  139. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +12 -1
  140. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +66 -7
  141. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +2 -0
  142. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +1 -1
  143. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +51 -0
  144. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +7 -0
  145. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +5 -2
  146. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.d.ts +5 -0
  147. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +254 -0
  148. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
  149. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +1 -1
  150. package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +103 -0
  151. package/lib/view/expenseAutomationView/types/reconciliationViewState.js +37 -0
  152. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +12 -2
  153. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  154. package/lib/view/financeStatement/financeStatementReducer.js +1 -4
  155. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +4 -4
  156. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +3 -10
  157. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +1 -6
  158. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +0 -1
  159. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +1 -1
  160. package/lib/view/notificationView/notificationViewReducer.d.ts +8 -8
  161. package/lib/view/notificationView/notificationViewState.d.ts +2 -2
  162. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +0 -3
  163. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.d.ts +2 -2
  164. package/lib/view/opEx/opExForTimeFrameEpic.js +1 -1
  165. package/lib/view/opEx/opExReducer.js +4 -14
  166. package/lib/view/opExByVendor/opExByVendorReducer.js +1 -3
  167. package/lib/view/opExByVendor/opExByVendorState.d.ts +1 -1
  168. package/lib/view/opExClassesView/opExClassesViewReducer.js +1 -6
  169. package/lib/view/people/fetchPeopleEpic.js +1 -3
  170. package/lib/view/people/invitePeopleEpic.js +1 -3
  171. package/lib/view/people/inviteZeniPeopleEpic.js +1 -3
  172. package/lib/view/people/peopleReducer.js +0 -1
  173. package/lib/view/people/peopleSaveUpdatesEpic.js +1 -1
  174. package/lib/view/profitAndLoss/profitAndLossReducer.js +1 -6
  175. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +1 -6
  176. package/lib/view/recommendation/recommendationReducer.js +1 -4
  177. package/lib/view/referralView/referralState.d.ts +1 -1
  178. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +2 -2
  179. package/lib/view/reportUIOptions/reportUIOptionsReducer.d.ts +8 -8
  180. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +1 -3
  181. package/lib/view/revenue/revenueReducer.js +3 -10
  182. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +1 -6
  183. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  184. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  185. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +2 -2
  186. package/lib/view/settingsView/settingsViewReducer.js +0 -1
  187. package/lib/view/settingsView/settingsViewState.d.ts +1 -1
  188. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
  189. package/lib/view/spendManagement/billPay/billList/billListReducer.js +0 -1
  190. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +2 -2
  191. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +5 -1
  192. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +1 -1
  193. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +0 -6
  194. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.d.ts +2 -2
  195. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +4 -3
  196. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +1 -3
  197. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +2 -1
  198. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +2 -2
  199. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +1 -1
  200. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +7 -7
  201. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +1 -1
  202. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +11 -3
  203. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +11 -10
  204. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +3 -1
  205. package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.d.ts +1 -1
  206. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +2 -6
  207. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +1 -3
  208. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  209. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +0 -1
  210. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
  211. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.d.ts +2 -2
  212. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.d.ts +2 -2
  213. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js +7 -7
  214. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.d.ts +2 -2
  215. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +5 -4
  216. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayState.d.ts +2 -2
  217. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +14 -0
  218. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +78 -1
  219. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +3 -1
  220. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +2 -1
  221. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +2 -1
  222. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +9 -0
  223. package/lib/view/subscriptionView/subscriptionViewReducer.js +0 -1
  224. package/lib/view/subscriptionView/types/subscriptionTypes.js +0 -1
  225. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +1 -3
  226. package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
  227. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +1 -1
  228. package/lib/view/tasksCard/fetchTasksCardEpic.js +1 -2
  229. package/lib/view/tasksCard/tasksCardSelector.d.ts +2 -2
  230. package/lib/view/tasksCard/tasksCardSelector.js +1 -1
  231. package/lib/view/topEx/topExSelector.d.ts +3 -3
  232. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +30 -52
  233. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +22 -4
  234. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +66 -13
  235. package/lib/view/transactionDetail/transactionDetailReducer.d.ts +13 -4
  236. package/lib/view/transactionDetail/transactionDetailReducer.js +51 -21
  237. package/lib/view/transactionDetail/transactionDetailState.d.ts +3 -2
  238. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +8 -0
  239. package/lib/view/transactionList/transactionListByEntitySelector.js +0 -2
  240. package/lib/view/transactionList/transactionListReducer.js +4 -6
  241. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +0 -1
  242. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +1 -3
  243. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  244. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +1 -1
  245. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +1 -1
  246. package/lib/zeniAPI.d.ts +1 -0
  247. package/lib/zeniUrl.d.ts +1 -1
  248. package/package.json +14 -12
@@ -47,7 +47,6 @@ const netBurnOrIncomeStoryCardState = (0, toolkit_1.createSlice)({
47
47
  initialState: exports.initialState,
48
48
  reducers: {
49
49
  fetchNetBurnOrIncomeStoryCard: {
50
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
51
50
  prepare(fetchFullReport = false) {
52
51
  return { payload: { fetchFullReport } };
53
52
  },
@@ -5,7 +5,7 @@ import { ZeniDate } from '../../zeniDayJS';
5
5
  export declare const ALL_TIME_SPAN_IDS_FOR_AVERAGE: readonly ["last_month", "last_completed_month", "average_of_last_2_months", "average_of_last_3_months"];
6
6
  export declare const toTimeSpanIdForAverage: (v: string) => "last_month" | "last_completed_month" | "average_of_last_2_months" | "average_of_last_3_months";
7
7
  export type TimeSpanIdForAverage = ReturnType<typeof toTimeSpanIdForAverage>;
8
- export declare const toNumberOfMonthForAverage: (n: number) => 2 | 1 | 3;
8
+ export declare const toNumberOfMonthForAverage: (n: number) => 1 | 3 | 2;
9
9
  export type AverageMonthsCount = ReturnType<typeof toNumberOfMonthForAverage>;
10
10
  export interface NetBurnOrIncomeRunway {
11
11
  cashZeroDate: ZeniDate;
@@ -4,9 +4,9 @@ import { NotificationGroup } from '../../entity/notification/types/notificationT
4
4
  import { ZeniAPIStatus } from '../../responsePayload';
5
5
  import { NotificationTabState, NotificationTabType, NotificationViewState, NotificationViewUIState } from './notificationViewState';
6
6
  export declare const initialState: NotificationViewState;
7
- export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "email" | "dashboard" | undefined, status?: ("read" | "unread")[] | undefined, isNewNotificationFetch?: boolean | undefined], {
7
+ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "dashboard" | "email" | undefined, status?: ("read" | "unread")[] | undefined, isNewNotificationFetch?: boolean | undefined], {
8
8
  notificationGroup: "task_manager";
9
- mode: "email" | "dashboard";
9
+ mode: "dashboard" | "email";
10
10
  status: ("read" | "unread")[];
11
11
  isNewNotificationFetch: boolean;
12
12
  }, "notificationView/fetchNotificationView", never, never>, fetchNotificationViewSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notifications: NotificationPayload[], totalCount: number, notificationGroup: "task_manager", pageToken: PageToken], {
@@ -17,9 +17,9 @@ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCre
17
17
  }, "notificationView/fetchNotificationViewSuccess", never, never>, fetchNotificationViewFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
18
18
  status: ZeniAPIStatus;
19
19
  notificationGroup: NotificationGroup;
20
- }, "notificationView/fetchNotificationViewFailure">, fetchNotificationUnreadCount: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "email" | "dashboard" | undefined], {
20
+ }, "notificationView/fetchNotificationViewFailure">, fetchNotificationUnreadCount: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "dashboard" | "email" | undefined], {
21
21
  notificationGroup: "task_manager";
22
- mode: "email" | "dashboard";
22
+ mode: "dashboard" | "email";
23
23
  }, "notificationView/fetchNotificationUnreadCount", never, never>, fetchNotificationUnreadCountSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[unreadCount: number, notificationGroup: "task_manager"], {
24
24
  unreadCount: number;
25
25
  notificationGroup: "task_manager";
@@ -48,11 +48,11 @@ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCre
48
48
  }, "notificationView/updateNotificationViewAllNotificationsStatusFailure">, updateNotificationViewTabState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationTabState: Partial<NotificationTabState>, tab: "comments" | "tasks"], {
49
49
  notificationTabState: Partial<NotificationTabState>;
50
50
  tab: "comments" | "tasks";
51
- }, "notificationView/updateNotificationViewTabState", never, never>, updateNotificationViewCurrentTabAndSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newTab: "comments" | "tasks", newSubTab?: "all" | "read" | "unread" | "mentions" | undefined], {
51
+ }, "notificationView/updateNotificationViewTabState", never, never>, updateNotificationViewCurrentTabAndSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newTab: "comments" | "tasks", newSubTab?: "read" | "unread" | "all" | "mentions" | undefined], {
52
52
  newTab: "comments" | "tasks";
53
- newSubTab: "all" | "read" | "unread" | "mentions" | undefined;
54
- }, "notificationView/updateNotificationViewCurrentTabAndSubTab", never, never>, updateNotificationViewSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newSubTab: "all" | "read" | "unread" | "mentions"], {
55
- newSubTab: "all" | "read" | "unread" | "mentions";
53
+ newSubTab: "read" | "unread" | "all" | "mentions" | undefined;
54
+ }, "notificationView/updateNotificationViewCurrentTabAndSubTab", never, never>, updateNotificationViewSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newSubTab: "read" | "unread" | "all" | "mentions"], {
55
+ newSubTab: "read" | "unread" | "all" | "mentions";
56
56
  }, "notificationView/updateNotificationViewSubTab", never, never>, updateNotificationViewUIState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[uiState: Partial<NotificationViewUIState>, tab: "comments" | "tasks"], {
57
57
  uiState: Partial<NotificationViewUIState>;
58
58
  tab: "comments" | "tasks";
@@ -3,8 +3,8 @@ import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport';
3
3
  declare const toNotificationTabType: (v: string) => "comments" | "tasks";
4
4
  export declare const toNotificationTabTypeStrict: (v: string) => "comments" | "tasks" | undefined;
5
5
  export type NotificationTabType = ReturnType<typeof toNotificationTabType>;
6
- declare const toNotificationSubTabType: (v: string) => "all" | "read" | "unread" | "mentions";
7
- export declare const toNotificationSubTabTypeStrict: (v: string) => "all" | "read" | "unread" | "mentions" | undefined;
6
+ declare const toNotificationSubTabType: (v: string) => "read" | "unread" | "all" | "mentions";
7
+ export declare const toNotificationSubTabTypeStrict: (v: string) => "read" | "unread" | "all" | "mentions" | undefined;
8
8
  export type NotificationSubTabType = ReturnType<typeof toNotificationSubTabType>;
9
9
  export interface NotificationViewUIState {
10
10
  pageToken: PageToken;
@@ -167,7 +167,6 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
167
167
  }
168
168
  },
169
169
  saveOnboardingCustomerViewUpdates: {
170
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
171
170
  reducer(draft, action) {
172
171
  if (draft.onboardingCustomerLocalData != null) {
173
172
  const { sendInvite } = action.payload;
@@ -183,7 +182,6 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
183
182
  draft.emailGroupFetchState.error = undefined;
184
183
  }
185
184
  },
186
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
187
185
  prepare(sendInvite, skipSnackbarOnSuccess = false) {
188
186
  return {
189
187
  payload: { sendInvite, skipSnackbarOnSuccess },
@@ -274,7 +272,6 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
274
272
  draft.customerCreationStatus = exports.initialState.customerCreationStatus;
275
273
  },
276
274
  fetchCompanyOnboardingView: {
277
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
278
275
  prepare(fetchFullResponse = false) {
279
276
  return { payload: { fetchFullResponse } };
280
277
  },
@@ -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_2" | "Officer_1" | "Officer_3" | "Officer_4" | "Officer_8" | "Officer_5" | "Officer_6" | "Officer_10" | "Officer_7" | "Officer_9" | 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_1" | "Officer_3" | "Officer_2" | "Officer_4" | "Officer_5" | "Officer_6" | "Officer_7" | "Officer_8" | "Officer_9" | "Officer_10" | undefined], {
20
20
  companyId: string;
21
21
  sendForVerification: boolean;
22
22
  reCalculateCurrentStep: boolean | undefined;
23
23
  isBillingAddressUpdate: boolean | undefined;
24
- officerType: "Officer_2" | "Officer_1" | "Officer_3" | "Officer_4" | "Officer_8" | "Officer_5" | "Officer_6" | "Officer_10" | "Officer_7" | "Officer_9" | undefined;
24
+ officerType: "Officer_1" | "Officer_3" | "Officer_2" | "Officer_4" | "Officer_5" | "Officer_6" | "Officer_7" | "Officer_8" | "Officer_9" | "Officer_10" | 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, // eslint-disable-line @typescript-eslint/no-non-null-assertion
35
+ report: response.data,
36
36
  }));
37
37
  if (action.payload.forecastId == null &&
38
38
  action.payload.timeframe === 'month') {
@@ -81,11 +81,7 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
81
81
  },
82
82
  },
83
83
  fetchOpExReportForTimeframe: {
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) {
84
+ prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
89
85
  return {
90
86
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
91
87
  };
@@ -105,8 +101,7 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
105
101
  reducer(draft) {
106
102
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
107
103
  },
108
- prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
109
- forecastId) {
104
+ prepare(cacheOverride = false, forecastId) {
110
105
  return {
111
106
  payload: {
112
107
  cacheOverride,
@@ -119,8 +114,7 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
119
114
  reducer(draft) {
120
115
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
121
116
  },
122
- prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
123
- forecastId) {
117
+ prepare(cacheOverride = false, forecastId) {
124
118
  return {
125
119
  payload: {
126
120
  cacheOverride,
@@ -156,11 +150,7 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
156
150
  clearOpEx(draft) {
157
151
  Object.assign(draft, exports.initialState);
158
152
  },
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) {
153
+ updateOpExAdditionalBalancesSelection(draft, action) {
164
154
  var _a, _b, _c;
165
155
  const opExReport = getState(draft, draft.uiState.isForecastModeOn, (_a = draft.uiState.selectedForecast) === null || _a === void 0 ? void 0 : _a.id);
166
156
  const { opExBalancesByTimeframe, dataAvailable } = opExReport;
@@ -165,9 +165,7 @@ const opexByVendor = (0, toolkit_1.createSlice)({
165
165
  draft.opExByVendorReportGenerated = action.payload;
166
166
  },
167
167
  fetchOpExByVendorReportSummary: {
168
- prepare(
169
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
170
- cacheOverride = false) {
168
+ prepare(cacheOverride = false) {
171
169
  return {
172
170
  payload: { cacheOverride },
173
171
  };
@@ -12,7 +12,7 @@ export interface OpExByVendorQuery {
12
12
  pageLimit?: number;
13
13
  fetchNextPage: boolean;
14
14
  }
15
- export declare const toOpexByVendorSortKeyType: (v: string) => "class" | "vendor" | "totals" | "account";
15
+ export declare const toOpexByVendorSortKeyType: (v: string) => "vendor" | "totals" | "account" | "class";
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,7 +37,6 @@ 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
41
40
  prepare(cacheOverride = false) {
42
41
  return { payload: { cacheOverride } };
43
42
  },
@@ -50,11 +49,7 @@ const opExClassesView = (0, toolkit_1.createSlice)({
50
49
  },
51
50
  },
52
51
  fetchOpExForTimeframeClassesView: {
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) {
52
+ prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
58
53
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
59
54
  },
60
55
  reducer(draft, action) {
@@ -19,9 +19,7 @@ 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 : []), // 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
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
25
23
  );
26
24
  }
27
25
  else {
@@ -21,9 +21,7 @@ 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 : []), // 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
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
27
25
  (0, snackbarReducer_1.openSnackbar)({
28
26
  messageSection: invitePayload.invites.length > 1
29
27
  ? 'people_invite_multiple_people'
@@ -21,9 +21,7 @@ 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 : []), // 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
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
27
25
  (0, snackbarReducer_1.openSnackbar)({
28
26
  messageSection: invitePayload.users.length > 1
29
27
  ? 'people_invite_multiple_people'
@@ -201,7 +201,6 @@ 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
205
204
  prepare(companyId, shouldFetchClassList) {
206
205
  return { payload: { companyId, shouldFetchClassList } };
207
206
  },
@@ -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 : []), // eslint-disable-line @typescript-eslint/no-non-null-assertion
23
+ (0, userRoleReducer_1.updateUserRoles)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.user_roles) !== null && _b !== void 0 ? _b : []),
24
24
  (0, peopleReducer_1.peopleSaveUpdatesSuccess)(),
25
25
  (0, snackbarReducer_1.openSnackbar)({
26
26
  messageSection: 'people_update_person',
@@ -41,7 +41,6 @@ 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
45
44
  prepare(forecastId, cacheOverride = false) {
46
45
  return { payload: { forecastId, cacheOverride } };
47
46
  },
@@ -54,11 +53,7 @@ const profitAndLoss = (0, toolkit_1.createSlice)({
54
53
  },
55
54
  },
56
55
  fetchProfitAndLossForTimeframe: {
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) {
56
+ prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
62
57
  return {
63
58
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
64
59
  };
@@ -38,7 +38,6 @@ 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
42
41
  prepare(cacheOverride = false) {
43
42
  return { payload: { cacheOverride } };
44
43
  },
@@ -51,11 +50,7 @@ const profitAndLossClassesView = (0, toolkit_1.createSlice)({
51
50
  },
52
51
  },
53
52
  fetchProfitAndLossForTimeframeClassesView: {
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) {
53
+ prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
59
54
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
60
55
  },
61
56
  reducer(draft, action) {
@@ -12,9 +12,7 @@ const recommendation = (0, toolkit_1.createSlice)({
12
12
  initialState: exports.initialState,
13
13
  reducers: {
14
14
  fetchEntityRecommendationsByTransactionId: {
15
- reducer(draft,
16
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
17
- action) {
15
+ reducer(draft, action) {
18
16
  const { entity } = action.payload;
19
17
  const key = (0, recommendationState_1.getEntityRecommendationKey)(entity.type, entity.id);
20
18
  const existingRecommendation = draft.recommendationByEntity[key];
@@ -75,7 +73,6 @@ const recommendation = (0, toolkit_1.createSlice)({
75
73
  updateRecommendationForEntity(draft, action) {
76
74
  doUpdateRecommendationForEntity(draft.recommendationByEntity, action.payload.entityId, action.payload.entityType, action.payload.recommendations);
77
75
  },
78
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
79
76
  updateRecommendationForEntityFailure(draft, action) {
80
77
  const { entityId, entityType, status } = action.payload;
81
78
  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) => "active" | "onboarding" | "declined" | "invite_processing" | "invite_sent" | "resend_invite" | "reward_sent";
53
+ declare const toReferralStatusType: (v: string) => "onboarding" | "active" | "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: "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";
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";
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: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
10
+ firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
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: 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;
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;
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: 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;
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;
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: 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;
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;
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: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9, isForecastModeOn: boolean, maxNumOfPeriodsToHighlightWithForecast?: any, selectedForecast?: {
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?: {
28
28
  id: ID;
29
29
  index: number;
30
30
  } | undefined], {
31
- firstMonthOfFY: 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
31
+ firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
32
32
  isForecastModeOn: boolean;
33
33
  maxNumOfPeriodsToHighlightWithForecast: any;
34
34
  selectedForecast: {
@@ -24,9 +24,7 @@ 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:
28
- // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
29
- (_a = action.payload.maxNumOfPeriodsToSelect) !== null && _a !== void 0 ? _a : financeStatementReducer_1.initialFinanceStatementState.maxNumOfPeriodsToHighlight,
27
+ maxNumOfPeriodsToHighlight: (_a = action.payload.maxNumOfPeriodsToSelect) !== null && _a !== void 0 ? _a : financeStatementReducer_1.initialFinanceStatementState.maxNumOfPeriodsToHighlight,
30
28
  }));
31
29
  }));
32
30
  exports.updateReportUIOptionThisPeriodEpic = updateReportUIOptionThisPeriodEpic;
@@ -72,7 +72,6 @@ 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
76
75
  prepare(fetchFullReport = false, forecastId, cacheOverride = false) {
77
76
  return { payload: { fetchFullReport, forecastId, cacheOverride } };
78
77
  },
@@ -85,11 +84,7 @@ const revenue = (0, toolkit_1.createSlice)({
85
84
  },
86
85
  },
87
86
  fetchRevenueForTimeframe: {
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) {
87
+ prepare(timeframe, forecastId, fetchFullReport = true, cacheOverride = false) {
93
88
  return {
94
89
  payload: { forecastId, timeframe, fetchFullReport, cacheOverride },
95
90
  };
@@ -109,8 +104,7 @@ const revenue = (0, toolkit_1.createSlice)({
109
104
  reducer(draft) {
110
105
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
111
106
  },
112
- prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
113
- forecastId) {
107
+ prepare(cacheOverride = false, forecastId) {
114
108
  return {
115
109
  payload: {
116
110
  cacheOverride,
@@ -123,8 +117,7 @@ const revenue = (0, toolkit_1.createSlice)({
123
117
  reducer(draft) {
124
118
  draft.lastFetchRequestTime = (0, zeniDayJS_1.dateNow)();
125
119
  },
126
- prepare(cacheOverride = false, // eslint-disable-line @typescript-eslint/no-inferrable-types
127
- forecastId) {
120
+ prepare(cacheOverride = false, forecastId) {
128
121
  return {
129
122
  payload: {
130
123
  cacheOverride,
@@ -37,7 +37,6 @@ 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
41
40
  prepare(cacheOverride = false) {
42
41
  return { payload: { cacheOverride } };
43
42
  },
@@ -50,11 +49,7 @@ const revenueClassesView = (0, toolkit_1.createSlice)({
50
49
  },
51
50
  },
52
51
  fetchRevenueForTimeframeClassesView: {
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) {
52
+ prepare(timeframe, fetchFullReport = true, cacheOverride = false) {
58
53
  return { payload: { timeframe, fetchFullReport, cacheOverride } };
59
54
  },
60
55
  reducer(draft, action) {
@@ -1,3 +1,3 @@
1
- declare const toLinkBillExpenseKeysType: (v: string) => "name" | "attachment" | "amount" | "memo" | "transactionType" | "creationDate";
1
+ declare const toLinkBillExpenseKeysType: (v: string) => "amount" | "name" | "memo" | "attachment" | "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}_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], {
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], {
40
40
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
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`;
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`;
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}_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`], {
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`], {
70
70
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
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`;
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`;
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) => "all" | "new" | "completed" | "ongoing";
8
+ export declare const toScheduleSubTabType: (v: string) => "completed" | "new" | "ongoing" | "all";
9
9
  export type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
10
- declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "class" | "vendor" | "amount" | "createTime" | "balanceAsOfToday" | "memo" | "assetId" | "transactionType" | "transactionDate" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth";
10
+ declare const toScheduleSortKeyType: (v: string) => "months" | "vendor" | "status" | "amount" | "class" | "user" | "createTime" | "balanceAsOfToday" | "memo" | "assetId" | "transactionDate" | "transactionType" | "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,7 +93,6 @@ 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
97
96
  prepare(companyId, shouldFetchClassList) {
98
97
  return { payload: { companyId, shouldFetchClassList } };
99
98
  },
@@ -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) => "email" | "dashboard";
18
+ export declare const toNotificationMode: (v: string) => "dashboard" | "email";
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<"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<{
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<{
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<{