@zeniai/client-epic-state 4.20.2-beta37RR → 4.20.2-betaJK1

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 (221) hide show
  1. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.d.ts +19 -0
  2. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +2 -0
  3. package/lib/commonStateTypes/animations.d.ts +1 -1
  4. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  5. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  6. package/lib/entity/account/accountPayload.d.ts +2 -0
  7. package/lib/entity/account/accountReducer.d.ts +5 -2
  8. package/lib/entity/account/accountReducer.js +7 -2
  9. package/lib/entity/account/accountSelector.d.ts +1 -0
  10. package/lib/entity/account/accountSelector.js +8 -1
  11. package/lib/entity/account/accountState.d.ts +1 -1
  12. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  13. package/lib/entity/aiCfo/aiCfoSelector.d.ts +1 -2
  14. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +2 -2
  15. package/lib/entity/class/classReducer.d.ts +4 -4
  16. package/lib/entity/class/classState.d.ts +1 -1
  17. package/lib/entity/forecast/forecastState.d.ts +1 -1
  18. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +38 -0
  19. package/lib/entity/jeSchedules/jeSchedulesPayload.js +78 -0
  20. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +4 -1
  21. package/lib/entity/jeSchedules/jeSchedulesSelector.js +5 -1
  22. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +37 -0
  23. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  24. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  25. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  26. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  27. package/lib/entity/snackbar/snackbarTypes.js +0 -2
  28. package/lib/entity/task/taskPayload.d.ts +0 -3
  29. package/lib/entity/task/taskPayload.js +0 -5
  30. package/lib/entity/task/taskState.d.ts +0 -3
  31. package/lib/entity/tenant/tenantPayload.d.ts +1 -0
  32. package/lib/entity/tenant/tenantReducer.js +1 -0
  33. package/lib/entity/tenant/tenantSelector.d.ts +1 -0
  34. package/lib/entity/tenant/tenantSelector.js +9 -1
  35. package/lib/entity/tenant/tenantState.d.ts +1 -0
  36. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +4 -1
  37. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
  38. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +3 -0
  39. package/lib/entity/transaction/payloadTypes/transactionPayload.js +18 -1
  40. package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +1 -0
  41. package/lib/entity/transaction/stateTypes/transaction.d.ts +5 -0
  42. package/lib/entity/transaction/stateTypes/transactionLine.d.ts +1 -1
  43. package/lib/epic.d.ts +4 -3
  44. package/lib/epic.js +4 -3
  45. package/lib/esm/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +1 -0
  46. package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  47. package/lib/esm/entity/account/accountReducer.js +6 -1
  48. package/lib/esm/entity/account/accountSelector.js +6 -0
  49. package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +78 -0
  50. package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js +5 -1
  51. package/lib/esm/entity/snackbar/snackbarTypes.js +0 -2
  52. package/lib/esm/entity/task/taskPayload.js +0 -5
  53. package/lib/esm/entity/tenant/tenantReducer.js +1 -0
  54. package/lib/esm/entity/tenant/tenantSelector.js +7 -0
  55. package/lib/esm/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
  56. package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js +18 -1
  57. package/lib/esm/epic.js +4 -3
  58. package/lib/esm/index.js +14 -13
  59. package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +82 -1
  60. package/lib/esm/view/aiCfoView/aiCfoViewSelector.js +8 -2
  61. package/lib/esm/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +29 -0
  62. package/lib/esm/view/classList/fetchClassListEpic.js +9 -2
  63. package/lib/esm/view/commonVendorView/vendorView/vendorViewSelector.js +18 -5
  64. package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +6 -2
  65. package/lib/esm/view/companyView/types/cockpitTypes.js +0 -1
  66. package/lib/esm/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +44 -0
  67. package/lib/esm/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +6 -11
  68. package/lib/esm/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +44 -0
  69. package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +2 -2
  70. package/lib/esm/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +2 -2
  71. package/lib/esm/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +4 -3
  72. package/lib/esm/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -1
  73. package/lib/esm/view/expenseAutomationView/helpers/saveTransactionHelper.js +2 -2
  74. package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
  75. package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +17 -1
  76. package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +148 -3
  77. package/lib/esm/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +10 -2
  78. package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +63 -6
  79. package/lib/esm/view/expenseAutomationView/selectors/missingReceiptsSelector.js +12 -4
  80. package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js +90 -10
  81. package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +12 -6
  82. package/lib/esm/view/expenseAutomationView/types/jeSchedulesViewState.js +18 -1
  83. package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +3 -0
  84. package/lib/esm/view/spendManagement/billPay/billList/billListSelector.js +10 -0
  85. package/lib/esm/view/spendManagement/billPay/billList/billListState.js +1 -0
  86. package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +7 -3
  87. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +5 -5
  88. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +7 -2
  89. package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +13 -6
  90. package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +1 -0
  91. package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +2 -0
  92. package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +7 -4
  93. package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListSelector.js +12 -0
  94. package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListState.js +1 -0
  95. package/lib/esm/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +0 -3
  96. package/lib/esm/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +0 -5
  97. package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -1
  98. package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -1
  99. package/lib/esm/view/taskManager/taskDetailView/taskDetail.js +0 -4
  100. package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js +1 -49
  101. package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +2 -11
  102. package/lib/esm/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js +8 -56
  103. package/lib/esm/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +0 -1
  104. package/lib/esm/view/taskManager/taskListView/epics/fetchTaskListEpic.js +3 -13
  105. package/lib/esm/view/taskManager/taskListView/taskList.js +0 -8
  106. package/lib/esm/view/taskManager/taskListView/taskListReducer.js +12 -106
  107. package/lib/esm/view/taskManager/taskListView/taskListSelector.js +39 -51
  108. package/lib/esm/view/transactionDetail/epics/saveTransactionHelper.js +2 -2
  109. package/lib/esm/view/transactionDetail/transactionDetailLocalDataHelper.js +16 -14
  110. package/lib/index.d.ts +20 -17
  111. package/lib/index.js +44 -36
  112. package/lib/view/aiCfoView/aiCfoViewPayload.d.ts +7 -0
  113. package/lib/view/aiCfoView/aiCfoViewReducer.d.ts +15 -1
  114. package/lib/view/aiCfoView/aiCfoViewReducer.js +83 -2
  115. package/lib/view/aiCfoView/aiCfoViewSelector.d.ts +4 -1
  116. package/lib/view/aiCfoView/aiCfoViewSelector.js +9 -2
  117. package/lib/view/aiCfoView/aiCfoViewState.d.ts +15 -1
  118. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.d.ts +8 -0
  119. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +33 -0
  120. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  121. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  122. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  123. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  124. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  125. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  126. package/lib/view/classList/fetchClassListEpic.d.ts +1 -1
  127. package/lib/view/classList/fetchClassListEpic.js +8 -1
  128. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -0
  129. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +18 -5
  130. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +1 -0
  131. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +6 -2
  132. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
  133. package/lib/view/companyView/types/cockpitTypes.d.ts +1 -1
  134. package/lib/view/companyView/types/cockpitTypes.js +0 -1
  135. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  136. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.d.ts +8 -0
  137. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +48 -0
  138. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +6 -11
  139. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.d.ts +9 -0
  140. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +48 -0
  141. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +2 -2
  142. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +1 -1
  143. package/lib/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +4 -3
  144. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -1
  145. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +2 -2
  146. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  147. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
  148. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +1 -1
  149. package/lib/view/expenseAutomationView/payload/reconciliationPayload.d.ts +33 -0
  150. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +2 -2
  151. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +18 -2
  152. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.d.ts +14 -3
  153. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +149 -4
  154. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +2 -0
  155. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +11 -1
  156. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +10 -2
  157. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +63 -6
  158. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +12 -4
  159. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +89 -9
  160. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +11 -5
  161. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +5 -0
  162. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +20 -0
  163. package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +12 -0
  164. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  165. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  166. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +1 -1
  167. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +3 -0
  168. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  169. package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
  170. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  171. package/lib/view/spendManagement/billPay/billList/billListSelector.js +10 -0
  172. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  173. package/lib/view/spendManagement/billPay/billList/billListState.js +1 -0
  174. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +7 -3
  175. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +5 -5
  176. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +7 -2
  177. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +13 -6
  178. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -1
  179. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
  180. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +1 -0
  181. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +2 -0
  182. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +6 -3
  183. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.d.ts +1 -0
  184. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +12 -0
  185. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +1 -1
  186. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +1 -0
  187. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +1 -2
  188. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +0 -3
  189. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.d.ts +1 -2
  190. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +0 -5
  191. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -1
  192. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -1
  193. package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +0 -2
  194. package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -4
  195. package/lib/view/taskManager/taskDetailView/taskDetailReducer.d.ts +1 -10
  196. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +2 -50
  197. package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +0 -4
  198. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +2 -11
  199. package/lib/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.d.ts +3 -9
  200. package/lib/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js +7 -55
  201. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +0 -1
  202. package/lib/view/taskManager/taskListView/epics/fetchTaskListEpic.js +3 -13
  203. package/lib/view/taskManager/taskListView/taskList.d.ts +1 -15
  204. package/lib/view/taskManager/taskListView/taskList.js +1 -10
  205. package/lib/view/taskManager/taskListView/taskListPayload.d.ts +0 -3
  206. package/lib/view/taskManager/taskListView/taskListReducer.d.ts +4 -8
  207. package/lib/view/taskManager/taskListView/taskListReducer.js +13 -107
  208. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +3 -9
  209. package/lib/view/taskManager/taskListView/taskListSelector.js +39 -51
  210. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  211. package/lib/view/topEx/topExSelector.d.ts +1 -1
  212. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +2 -2
  213. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +16 -14
  214. package/package.json +1 -1
  215. package/lib/esm/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js +0 -65
  216. package/lib/esm/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js +0 -56
  217. package/lib/tsconfig.typecheck.tsbuildinfo +0 -1
  218. package/lib/view/taskManager/taskDetailView/epics/snoozeTaskEpic.d.ts +0 -9
  219. package/lib/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js +0 -69
  220. package/lib/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.d.ts +0 -9
  221. package/lib/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js +0 -60
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Canonical union of `page_context` values for GET …/suggested-questions (and related Redux
3
+ * `suggestedQuestionsByPageContext` on `AiCfoViewState`).
4
+ *
5
+ * ## Report IDs vs `page_context`
6
+ *
7
+ * **These strings are not all finance `report_id` values.** They are the **API’s** `page_context`
8
+ * slugs. Only the **reports tab** subset is *derived* from `ReportID` (e.g. `profit_and_loss` →
9
+ * `profit_loss`). That mapping lives in the web app:
10
+ * `zeni-web-app-ui/src/aiCfo/aiCfoSuggestedQuestionsPageContext.ts`
11
+ * (`reportIdToAiCfoSuggestedQuestionsPageContext`).
12
+ *
13
+ * Other members (e.g. `dashboard`, `bills_list`, `task_checklist`) come from **product routes /
14
+ * screens**, not from report IDs. Adding a new host screen usually means extending this union and
15
+ * wiring route resolution in the UI; coordinate with the backend for suggested-questions support.
16
+ *
17
+ * @see README.md in this directory for maintenance expectations.
18
+ */
19
+ export type AiCfoSuggestedQuestionsPageContext = 'balance_sheet' | 'profit_loss' | 'vendors' | 'transactions' | 'cash_flow' | 'accounts_receivable' | 'accounts_payable' | 'transaction_details' | 'dashboard' | 'cash_balance' | 'card_balance' | 'command_centre' | 'je_schedules' | 'reconciliation' | 'flux_analysis' | 'receipts' | 'mei' | 'task_checklist' | 'performance' | 'bills_list' | 'bills_details' | 'reimbursement_list' | 'reimbursement_details' | 'vendors_summary' | 'opex_by_vendor' | 'prepaid_expenses' | 'fixed_assets' | 'form_1099' | 'accrued_expenses' | 'forecast' | 'checking' | 'checking_details' | 'treasury' | 'cards' | 'cards_detail' | 'people' | 'rewards' | 'notifications';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,2 @@
1
- export declare const toAnimationsFileName: (v: string) => "AiAgent" | "AiIconEntry" | "AiIconExit" | "AiIconLoop" | "AiStar" | "AiStarIcon" | "AiStarPlain" | "AIPoweredInvoiceDark" | "AIPoweredInvoiceLight" | "Angry" | "AutoTransfer" | "CloseCard" | "Confetti" | "ConfettiSuccess" | "DashboardChristmasSnow" | "DashboardNewYearShow" | "DashboardSidebarBottomChristmas" | "DashboardSidebarBottomHalloween" | "DashboardSidebarBottomNewYear" | "DashboardSidebarBottomThanksgiving" | "DashboardSidebarTopChristmas" | "DashboardSidebarTopHalloween" | "DashboardSidebarTopNewYear" | "DashboardSidebarTopThanksgiving" | "EarnYield" | "FastestWayDark" | "FastestWayLight" | "FinanceTeamDark" | "FinanceTeamLight" | "Happy" | "Liquidity" | "LockCard" | "MoneyTransferSuccess" | "MultiLevelApprovalDark" | "MultiLevelApprovalLight" | "NotHappy" | "Protection" | "ReceiptDark" | "ReceiptLight" | "ReimburseDark" | "ReimburseLight" | "RewardsDark" | "RewardsDarkHover" | "RewardsLight" | "RewardsLightHover" | "Secure" | "Success" | "UnlockCard" | "VeryHappy" | "ZeniAssist";
1
+ export declare const toAnimationsFileName: (v: string) => "Success" | "AiAgent" | "AiIconEntry" | "AiIconExit" | "AiIconLoop" | "AiStar" | "AiStarIcon" | "AiStarPlain" | "AIPoweredInvoiceDark" | "AIPoweredInvoiceLight" | "Angry" | "AutoTransfer" | "CloseCard" | "Confetti" | "ConfettiSuccess" | "DashboardChristmasSnow" | "DashboardNewYearShow" | "DashboardSidebarBottomChristmas" | "DashboardSidebarBottomHalloween" | "DashboardSidebarBottomNewYear" | "DashboardSidebarBottomThanksgiving" | "DashboardSidebarTopChristmas" | "DashboardSidebarTopHalloween" | "DashboardSidebarTopNewYear" | "DashboardSidebarTopThanksgiving" | "EarnYield" | "FastestWayDark" | "FastestWayLight" | "FinanceTeamDark" | "FinanceTeamLight" | "Happy" | "Liquidity" | "LockCard" | "MoneyTransferSuccess" | "MultiLevelApprovalDark" | "MultiLevelApprovalLight" | "NotHappy" | "Protection" | "ReceiptDark" | "ReceiptLight" | "ReimburseDark" | "ReimburseLight" | "RewardsDark" | "RewardsDarkHover" | "RewardsLight" | "RewardsLightHover" | "Secure" | "UnlockCard" | "VeryHappy" | "ZeniAssist";
2
2
  export type AnimationFileName = ReturnType<typeof toAnimationsFileName>;
@@ -3,8 +3,8 @@ import { FetchStateAndError, ID } from '../common';
3
3
  import { DataAvailable } from '../dataAvailable';
4
4
  import { Status } from '../status';
5
5
  import { Month } from '../timePeriod';
6
- export declare const ALL_REPORT_IDS: readonly ["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", "zeni_treasury", "charge_cards", "other_connection", "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", "zeni_credit_promo_card", "treasury_promo_card"];
7
- export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "zeni_credit_promo_card" | "treasury_promo_card";
6
+ export declare const ALL_REPORT_IDS: readonly ["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", "zeni_treasury", "charge_cards", "other_connection", "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", "zeni_credit_promo_card", "treasury_promo_card", "excluded_account_reconciliation"];
7
+ export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation";
8
8
  export type ReportID = ReturnType<typeof toReportID>;
9
9
  export type ReportIDPlusForecastID = ReportID | `${ReportID}+${ID}`;
10
10
  /** Any view state should extend this interface */
@@ -60,6 +60,7 @@ exports.ALL_REPORT_IDS = [
60
60
  'account_reconciliation',
61
61
  'zeni_credit_promo_card',
62
62
  'treasury_promo_card',
63
+ 'excluded_account_reconciliation',
63
64
  ];
64
65
  const toReportID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_REPORT_IDS);
65
66
  exports.toReportID = toReportID;
@@ -12,6 +12,8 @@ export interface AccountBasePayload {
12
12
  account_sub_type?: string | null;
13
13
  account_type?: string | null;
14
14
  coa_id?: string | null;
15
+ currency_code?: string | null;
16
+ currency_symbol?: string | null;
15
17
  is_bill_editable_coa_account_type?: boolean | null;
16
18
  is_deleted?: boolean | null;
17
19
  last_4_digits?: string | null;
@@ -4,7 +4,7 @@ import { ClassesViewParentID } from '../../commonStateTypes/classesView/nestedCl
4
4
  import { ID, UpdateType } from '../../commonStateTypes/common';
5
5
  import { ReportIDPlusForecastID } from '../../commonStateTypes/viewAndReport/viewAndReport';
6
6
  import { AccountPayload } from './accountPayload';
7
- import { AccountBase, AccountState, StatementCloseDay } from './accountState';
7
+ import { AccountBase, AccountKey, AccountState, StatementCloseDay } from './accountState';
8
8
  export declare const initialState: AccountState;
9
9
  export declare const updateAccounts: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: AccountPayload[], reportId: ReportIDPlusForecastID, classesViewParentId?: ClassesViewParentID | undefined, updateType?: UpdateType | undefined], AccountPayload[], "account/updateAccounts", never, {
10
10
  reportId: ReportIDPlusForecastID;
@@ -20,7 +20,10 @@ export declare const updateAccounts: import("@reduxjs/toolkit").ActionCreatorWit
20
20
  accountId: ID;
21
21
  reportId: ReportIDPlusForecastID;
22
22
  statementCloseDay: StatementCloseDay;
23
- }, "account/updateAccountStatementCloseDay">, clearAllAccounts: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"account/clearAllAccounts">;
23
+ }, "account/updateAccountStatementCloseDay">, changeAccountKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
24
+ newKey: AccountKey;
25
+ oldKey: AccountKey;
26
+ }, "account/changeAccountKey">, clearAllAccounts: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"account/clearAllAccounts">;
24
27
  declare const _default: import("redux").Reducer<AccountState>;
25
28
  export default _default;
26
29
  export declare const emptyAccount: AccountBase;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  var _a;
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.emptyAccount = exports.clearAllAccounts = exports.updateAccountStatementCloseDay = exports.updateMultipleSubAccountsWithBalances = exports.updateAccounts = exports.initialState = void 0;
7
+ exports.emptyAccount = exports.clearAllAccounts = exports.changeAccountKey = exports.updateAccountStatementCloseDay = exports.updateMultipleSubAccountsWithBalances = exports.updateAccounts = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const assignWith_1 = __importDefault(require("lodash/assignWith"));
10
10
  const balanceChangePayload_1 = require("../../commonPayloadTypes/balanceChangePayload");
@@ -52,12 +52,17 @@ const account = (0, toolkit_1.createSlice)({
52
52
  draft.accountsByKey[key].statementCloseDay =
53
53
  action.payload.statementCloseDay;
54
54
  },
55
+ changeAccountKey(draft, action) {
56
+ const { oldKey, newKey } = action.payload;
57
+ draft.accountsByKey[newKey] = draft.accountsByKey[oldKey];
58
+ delete draft.accountsByKey[oldKey];
59
+ },
55
60
  clearAllAccounts(draft) {
56
61
  draft.accountsByKey = {};
57
62
  },
58
63
  },
59
64
  });
60
- _a = account.actions, exports.updateAccounts = _a.updateAccounts, exports.updateMultipleSubAccountsWithBalances = _a.updateMultipleSubAccountsWithBalances, exports.updateAccountStatementCloseDay = _a.updateAccountStatementCloseDay, exports.clearAllAccounts = _a.clearAllAccounts;
65
+ _a = account.actions, exports.updateAccounts = _a.updateAccounts, exports.updateMultipleSubAccountsWithBalances = _a.updateMultipleSubAccountsWithBalances, exports.updateAccountStatementCloseDay = _a.updateAccountStatementCloseDay, exports.changeAccountKey = _a.changeAccountKey, exports.clearAllAccounts = _a.clearAllAccounts;
61
66
  exports.default = account.reducer;
62
67
  /**
63
68
  * Helper functions.
@@ -6,6 +6,7 @@ import { ID } from '../../commonStateTypes/common';
6
6
  import { EntityOrder } from '../../commonStateTypes/selectorTypes/selectorTypes';
7
7
  import { ReportIDPlusForecastID } from '../../commonStateTypes/viewAndReport/viewAndReport';
8
8
  import { Account, AccountBase, AccountState, AccountType } from './accountState';
9
+ export declare const getAccountByAccountId: (accountState: AccountState, accountId: ID) => Account | undefined;
9
10
  export declare const getAccountBase: (accountState: AccountState, accountId: ID, reportId: ReportIDPlusForecastID) => AccountBase | undefined;
10
11
  export declare function getAccount(accountState: AccountState, id: {
11
12
  accountId: ID;
@@ -3,13 +3,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getAccountIdsForLabels = exports.getAccountIdsForTypes = exports.getAccountsByType = exports.getAccountsOrdered = exports.getAccountBase = void 0;
6
+ exports.getAccountIdsForLabels = exports.getAccountIdsForTypes = exports.getAccountsByType = exports.getAccountsOrdered = exports.getAccountBase = exports.getAccountByAccountId = void 0;
7
7
  exports.getAccount = getAccount;
8
8
  exports.getAccountWithBalance = getAccountWithBalance;
9
9
  const flatMap_1 = __importDefault(require("lodash/flatMap"));
10
10
  const coaBalance_1 = require("../../commonStateTypes/coaBalance/coaBalance");
11
11
  const sortBalancesByFreeRangeTotal_1 = require("../../commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal");
12
12
  const accountState_1 = require("./accountState");
13
+ // create a selector to get the account by accountId
14
+ const getAccountByAccountId = (accountState, accountId) => {
15
+ const accounts = Object.values(accountState.accountsByKey);
16
+ const account = accounts.find((account) => account.accountId === accountId);
17
+ return account;
18
+ };
19
+ exports.getAccountByAccountId = getAccountByAccountId;
13
20
  function getCommonAccountFields(accountState, id) {
14
21
  const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
15
22
  const account = accountState.accountsByKey[key];
@@ -14,7 +14,7 @@ export type UncategorizedAccountTypes = 'expense' | 'income';
14
14
  declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
15
15
  export type AccountLabel = ReturnType<typeof toAccountLabel>;
16
16
  export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
17
- export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-zeni_treasury` | `${string}-charge_cards` | `${string}-other_connection` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-account_reconciliation` | `${string}-zeni_credit_promo_card` | `${string}-treasury_promo_card` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-zeni_treasury+${string}` | `${string}-charge_cards+${string}` | `${string}-other_connection+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}` | `${string}-account_reconciliation+${string}` | `${string}-zeni_credit_promo_card+${string}` | `${string}-treasury_promo_card+${string}`;
17
+ export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-zeni_treasury` | `${string}-charge_cards` | `${string}-other_connection` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-account_reconciliation` | `${string}-zeni_credit_promo_card` | `${string}-treasury_promo_card` | `${string}-excluded_account_reconciliation` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-zeni_treasury+${string}` | `${string}-charge_cards+${string}` | `${string}-other_connection+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}` | `${string}-account_reconciliation+${string}` | `${string}-zeni_credit_promo_card+${string}` | `${string}-treasury_promo_card+${string}` | `${string}-excluded_account_reconciliation+${string}`;
18
18
  export type AccountKey = ReturnType<typeof getAccountKey>;
19
19
  export declare const toReconciliationAccountSource: (v: string) => "plaid" | "bank_statement";
20
20
  export type ReconciliationAccountSourceType = ReturnType<typeof toReconciliationAccountSource>;