@zeniai/client-epic-state 4.15.43 → 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 (235) 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 +20 -12
  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/billPayConfigState.d.ts +1 -1
  192. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +0 -6
  193. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.d.ts +2 -2
  194. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +4 -3
  195. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +1 -3
  196. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +2 -2
  197. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +1 -1
  198. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +7 -7
  199. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +1 -1
  200. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +11 -3
  201. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +11 -10
  202. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +3 -1
  203. package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.d.ts +1 -1
  204. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +2 -6
  205. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +1 -3
  206. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  207. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +0 -1
  208. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
  209. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.d.ts +2 -2
  210. package/lib/view/subscriptionView/subscriptionViewReducer.js +0 -1
  211. package/lib/view/subscriptionView/types/subscriptionTypes.js +0 -1
  212. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +1 -3
  213. package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
  214. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +1 -1
  215. package/lib/view/tasksCard/fetchTasksCardEpic.js +1 -2
  216. package/lib/view/tasksCard/tasksCardSelector.d.ts +2 -2
  217. package/lib/view/tasksCard/tasksCardSelector.js +1 -1
  218. package/lib/view/topEx/topExSelector.d.ts +3 -3
  219. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +30 -52
  220. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +22 -4
  221. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +66 -13
  222. package/lib/view/transactionDetail/transactionDetailReducer.d.ts +13 -4
  223. package/lib/view/transactionDetail/transactionDetailReducer.js +51 -21
  224. package/lib/view/transactionDetail/transactionDetailState.d.ts +3 -2
  225. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +8 -0
  226. package/lib/view/transactionList/transactionListByEntitySelector.js +0 -2
  227. package/lib/view/transactionList/transactionListReducer.js +4 -6
  228. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +0 -1
  229. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +1 -3
  230. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  231. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +1 -1
  232. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +1 -1
  233. package/lib/zeniAPI.d.ts +1 -0
  234. package/lib/zeniUrl.d.ts +1 -1
  235. package/package.json +13 -12
package/README.md CHANGED
@@ -1,2 +1,20 @@
1
1
  # client-epic-state
2
- Common module for Web, Mobile & Server Side Rendering repos containing required abstractions for state management, data transformation & async network communication.
2
+
3
+ Common module for Web, Mobile & Server Side Rendering repos containing required abstractions for state management, data transformation & async network communication.
4
+
5
+ ## Testing Best Practices
6
+
7
+ ### Local Development
8
+
9
+ - Use `pnpm test` to run the full suite before pushing to `master` or publishing.
10
+ - Build command has test suite integration:
11
+ - `pnpm build` runs the full test suite along with linting and TypeScript compilation
12
+ - Tests are run using Vitest to ensure all tests pass before building
13
+ - If any tests fail, the build process will be terminated
14
+ - Test files are automatically excluded from the final build output
15
+
16
+ ### Vitest
17
+
18
+ - Fast framework for running unit, integration, and component tests in modern TypeScript/JavaScript projects.
19
+ - Provides instant feedback with watch mode, built-in coverage, and Jest-compatible APIs.
20
+ - Recommended for new tests and as a drop-in replacement for legacy Jest/Chai setups.
@@ -13,6 +13,7 @@ export interface RecommendationPayload {
13
13
  accounts?: RecommendedAccountBasePayload[];
14
14
  accounting_classes?: RecommendedClassBasePayload[];
15
15
  vendors?: RecommendedVendorBasePayload[];
16
+ customers?: RecommendedVendorBasePayload[];
16
17
  }
17
18
  export interface EntityRecommendationPayload {
18
19
  account?: RecommendedAccountBasePayload;
@@ -12,7 +12,7 @@ export type ID = string;
12
12
  */
13
13
  export type UpdateType = 'replace' | 'merge';
14
14
  export type FetchState = 'Not-Started' | 'In-Progress' | 'Completed' | 'Error';
15
- export declare const toCompletionStatusType: (v: string) => "complete" | "incomplete";
15
+ export declare const toCompletionStatusType: (v: string) => "incomplete" | "complete";
16
16
  export type CompletionStatusType = ReturnType<typeof toCompletionStatusType>;
17
17
  /** common interface for all the fetched states */
18
18
  export interface FetchStateAndError {
@@ -2,8 +2,8 @@ import { Month } from '../timePeriod';
2
2
  export declare const NUM_OF_MONTHS_IN_QTR: 3;
3
3
  export declare const NUM_OF_MONTHS_IN_YEAR: 12;
4
4
  export declare function getFYMonths(firstMonthOfFY: Month): {
5
- calendarYearMonths: (2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9)[];
6
- fiscalYearMonths: (2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9)[];
5
+ calendarYearMonths: (1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11)[];
6
+ fiscalYearMonths: (1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11)[];
7
7
  fiscalYearMonthsYearOffset: (0 | 1)[];
8
8
  numberOfItems: 12;
9
9
  };
@@ -10,5 +10,5 @@ export declare function getFYQuarterAndYear(date: ZeniDate, firstMonthOfFY: Mont
10
10
  fyQuarter: Quarter;
11
11
  fyYear: number;
12
12
  };
13
- export declare const getLastMonthOfFYQuarter: (quarter: number, firstMonthOfFY: Month) => 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
14
- export declare const getLastMonthOfFYYear: (firstMonthOfFY: Month) => 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
13
+ export declare const getLastMonthOfFYQuarter: (quarter: number, firstMonthOfFY: Month) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
14
+ export declare const getLastMonthOfFYYear: (firstMonthOfFY: Month) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
@@ -1,17 +1,17 @@
1
1
  export declare const SCHEDULE_DAYS_OF_MONTH: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28];
2
- export declare const toScheduleDaysOfMonth: (n: number) => 2 | 1 | 3 | 4 | 8 | 16 | 5 | 6 | 10 | 7 | 12 | 11 | 14 | 9 | 13 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28;
2
+ export declare const toScheduleDaysOfMonth: (n: number) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28;
3
3
  export type ScheduleDaysOfMonth = ReturnType<typeof toScheduleDaysOfMonth>;
4
4
  export declare const MIN_SCHEDULE_DAY_OF_MONTH = 1;
5
5
  export declare const MAX_SCHEDULE_DAY_OF_MONTH = 28;
6
6
  export declare const LAST_SCHEDULE_DAY_OF_MONTH = 31;
7
- declare const toDay: (n: number) => 2 | 1 | 3 | 4 | 8 | 16 | 5 | 6 | 10 | 7 | 12 | 11 | 14 | 9 | 13 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 29 | 30;
7
+ declare const toDay: (n: number) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 29 | 30;
8
8
  export type Day = ReturnType<typeof toDay>;
9
- export declare const toMonth: (n: number) => 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9;
10
- export declare const toMonthStrict: (n: number) => 2 | 1 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 12 | 11 | 9 | undefined;
9
+ export declare const toMonth: (n: number) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
10
+ export declare const toMonthStrict: (n: number) => 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | undefined;
11
11
  export type Month = ReturnType<typeof toMonth>;
12
12
  export declare const getMonthFromMonthName: (month: string | undefined, localeID?: string) => Month | undefined;
13
- export declare const toQuarter: (n: number) => 2 | 1 | 3 | 4;
14
- export declare const toQuarterStrict: (n: number) => 2 | 1 | 3 | 4 | undefined;
13
+ export declare const toQuarter: (n: number) => 1 | 3 | 2 | 4;
14
+ export declare const toQuarterStrict: (n: number) => 1 | 3 | 2 | 4 | undefined;
15
15
  export type Quarter = ReturnType<typeof toQuarter>;
16
16
  /**
17
17
  * Day identified by day-month-year, but without any time zone!
@@ -34,7 +34,7 @@ export declare const toMonthYearPeriodId: (selectedPeriod: MonthYearPeriod) => M
34
34
  * Convert to start: string; end: string in the format yyyy-mm-dd
35
35
  * @param period - MonthYearPeriod
36
36
  */
37
- export declare function convertToPeriod(period: MonthYearPeriod): {
37
+ export declare function convertToPeriod(period: MonthYearPeriod, useEndOfCurrentMonth?: boolean): {
38
38
  start: string;
39
39
  end: string;
40
40
  };
@@ -61,13 +61,13 @@ exports.toMonthYearPeriodId = toMonthYearPeriodId;
61
61
  * Convert to start: string; end: string in the format yyyy-mm-dd
62
62
  * @param period - MonthYearPeriod
63
63
  */
64
- function convertToPeriod(period) {
64
+ function convertToPeriod(period, useEndOfCurrentMonth = false) {
65
65
  const { month, year } = period;
66
66
  // Start of the month
67
67
  const today = (0, zeniDayJS_1.dateNow)();
68
68
  const startDate = (0, zeniDayJS_1.date)(`${year}-${String(month).padStart(2, '0')}-01`);
69
69
  let endDate = startDate.endOf('month');
70
- if (endDate.isAfter(today)) {
70
+ if (endDate.isAfter(today) && useEndOfCurrentMonth === false) {
71
71
  endDate = today;
72
72
  }
73
73
  return {
@@ -8,7 +8,7 @@ import { SortOrder } from '../selectorTypes/sortOrderTypes';
8
8
  import { ReportID } from './viewAndReport';
9
9
  export type AgingDateSelectionType = 'last_month' | 'last_quarter' | 'custom_date';
10
10
  export type AgingReportId = Extract<ReportID, 'accounts_payable_aging' | 'accounts_receivable_aging'>;
11
- declare const toAgingReportSortKey: (v: string) => "total" | "vendor" | "customer" | "current_due" | "due_1-30_days" | "due_31-60_days" | "due_61-90_days" | "due_over_90_days";
11
+ declare const toAgingReportSortKey: (v: string) => "vendor" | "customer" | "current_due" | "due_1-30_days" | "due_31-60_days" | "due_61-90_days" | "due_over_90_days" | "total";
12
12
  export type AgingReportSortKey = ReturnType<typeof toAgingReportSortKey>;
13
13
  export interface AgingReportInvoice {
14
14
  date: ZeniDate;
@@ -10,6 +10,6 @@ const AGING_REPORT_SORT_KEYS = [
10
10
  'customer',
11
11
  ];
12
12
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
13
- const toAgingReportSortKey = (v) => (0, stringToUnion_1.stringToUnion)(v, AGING_REPORT_SORT_KEYS); // eslint-disable-line @typescript-eslint/no-unused-vars
13
+ const toAgingReportSortKey = (v) => (0, stringToUnion_1.stringToUnion)(v, AGING_REPORT_SORT_KEYS);
14
14
  const getAgingDetailReportEntityKey = (entityId, reportDate) => `${entityId}_${reportDate.format('YYYY-MM-DD')}`;
15
15
  exports.getAgingDetailReportEntityKey = getAgingDetailReportEntityKey;
@@ -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", "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"];
7
- export declare const toReportID: (v: string) => "billing" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "flux_analysis_operating_expense";
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", "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"];
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" | "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";
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 */
@@ -55,6 +55,7 @@ exports.ALL_REPORT_IDS = [
55
55
  'rewards_card',
56
56
  'billing',
57
57
  'flux_analysis_operating_expense',
58
+ 'account_reconciliation',
58
59
  ];
59
60
  const toReportID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_REPORT_IDS);
60
61
  exports.toReportID = toReportID;
@@ -16,7 +16,8 @@ function configureNewStore(zeniAPI, includeReduxDevTools = false) {
16
16
  ? (0, extension_1.composeWithDevTools)({
17
17
  name: 'Zeni',
18
18
  trace: true,
19
- traceLimit: 500,
19
+ traceLimit: 1000,
20
+ maxAge: 500,
20
21
  })
21
22
  : redux_1.compose;
22
23
  const store = (0, redux_1.createStore)(reducer_1.default, composeEnhancers((0, redux_1.applyMiddleware)(epicMiddleware)));
@@ -35,7 +35,7 @@ export declare function getAccount(accountState: AccountState, id: {
35
35
  accountSubType: string | undefined;
36
36
  accountDescription: string;
37
37
  last4Digits: string | undefined;
38
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
38
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
39
39
  status: import("../..").Status | undefined;
40
40
  balance: import("../..").Balance | undefined;
41
41
  statementCloseDay: import("./accountState").StatementCloseDay | undefined;
@@ -57,7 +57,7 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
57
57
  accountSubType: string | undefined;
58
58
  accountDescription: string;
59
59
  last4Digits: string | undefined;
60
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
60
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
61
61
  status: import("../..").Status | undefined;
62
62
  balance: import("../..").Balance | undefined;
63
63
  statementCloseDay: import("./accountState").StatementCloseDay | undefined;
@@ -97,7 +97,7 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
97
97
  accountSubType: string | undefined;
98
98
  accountDescription: string;
99
99
  last4Digits: string | undefined;
100
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
100
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
101
101
  status: import("../..").Status | undefined;
102
102
  balance: import("../..").Balance | undefined;
103
103
  statementCloseDay: import("./accountState").StatementCloseDay | undefined;
@@ -13,7 +13,7 @@ export declare const toAccountTypeStrict: (v: string | null | undefined) => Acco
13
13
  declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
14
14
  export type AccountLabel = ReturnType<typeof toAccountLabel>;
15
15
  export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
16
- export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-billing` | `${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}-charge_cards` | `${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}-flux_analysis_operating_expense` | `${string}-billing+${string}` | `${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}-charge_cards+${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}-flux_analysis_operating_expense+${string}`;
16
+ 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}-charge_cards` | `${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}-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}-charge_cards+${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}`;
17
17
  export type AccountKey = ReturnType<typeof getAccountKey>;
18
18
  export interface AccountState {
19
19
  accountsByKey: Record<AccountKey, Account>;
@@ -27,7 +27,7 @@ export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) =
27
27
  accountSubType: string | undefined;
28
28
  accountDescription: string;
29
29
  last4Digits: string | undefined;
30
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
30
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
31
31
  status: import("../..").Status | undefined;
32
32
  balance: import("../..").Balance | undefined;
33
33
  statementCloseDay: import("./accountState").StatementCloseDay | undefined;
@@ -33,7 +33,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
33
33
  accountSubType: string | undefined;
34
34
  accountDescription: string;
35
35
  last4Digits: string | undefined;
36
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
36
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
37
37
  status: import("../..").Status | undefined;
38
38
  balance: import("../..").Balance | undefined;
39
39
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -67,7 +67,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
67
67
  accountSubType: string | undefined;
68
68
  accountDescription: string;
69
69
  last4Digits: string | undefined;
70
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
70
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
71
71
  status: import("../..").Status | undefined;
72
72
  balance: import("../..").Balance | undefined;
73
73
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -101,7 +101,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
101
101
  accountSubType: string | undefined;
102
102
  accountDescription: string;
103
103
  last4Digits: string | undefined;
104
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
104
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
105
105
  status: import("../..").Status | undefined;
106
106
  balance: import("../..").Balance | undefined;
107
107
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -135,7 +135,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
135
135
  accountSubType: string | undefined;
136
136
  accountDescription: string;
137
137
  last4Digits: string | undefined;
138
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
138
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
139
139
  status: import("../..").Status | undefined;
140
140
  balance: import("../..").Balance | undefined;
141
141
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -169,7 +169,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
169
169
  accountSubType: string | undefined;
170
170
  accountDescription: string;
171
171
  last4Digits: string | undefined;
172
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
172
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
173
173
  status: import("../..").Status | undefined;
174
174
  balance: import("../..").Balance | undefined;
175
175
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -204,7 +204,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
204
204
  accountSubType: string | undefined;
205
205
  accountDescription: string;
206
206
  last4Digits: string | undefined;
207
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
207
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
208
208
  status: import("../..").Status | undefined;
209
209
  balance: import("../..").Balance | undefined;
210
210
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -238,7 +238,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
238
238
  accountSubType: string | undefined;
239
239
  accountDescription: string;
240
240
  last4Digits: string | undefined;
241
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
241
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
242
242
  status: import("../..").Status | undefined;
243
243
  balance: import("../..").Balance | undefined;
244
244
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -272,7 +272,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
272
272
  accountSubType: string | undefined;
273
273
  accountDescription: string;
274
274
  last4Digits: string | undefined;
275
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
275
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
276
276
  status: import("../..").Status | undefined;
277
277
  balance: import("../..").Balance | undefined;
278
278
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -306,7 +306,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
306
306
  accountSubType: string | undefined;
307
307
  accountDescription: string;
308
308
  last4Digits: string | undefined;
309
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
309
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
310
310
  status: import("../..").Status | undefined;
311
311
  balance: import("../..").Balance | undefined;
312
312
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -340,7 +340,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
340
340
  accountSubType: string | undefined;
341
341
  accountDescription: string;
342
342
  last4Digits: string | undefined;
343
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
343
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
344
344
  status: import("../..").Status | undefined;
345
345
  balance: import("../..").Balance | undefined;
346
346
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -374,7 +374,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
374
374
  accountSubType: string | undefined;
375
375
  accountDescription: string;
376
376
  last4Digits: string | undefined;
377
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
377
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
378
378
  status: import("../..").Status | undefined;
379
379
  balance: import("../..").Balance | undefined;
380
380
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -415,7 +415,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
415
415
  accountSubType: string | undefined;
416
416
  accountDescription: string;
417
417
  last4Digits: string | undefined;
418
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
418
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
419
419
  status: import("../..").Status | undefined;
420
420
  balance: import("../..").Balance | undefined;
421
421
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -449,7 +449,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
449
449
  accountSubType: string | undefined;
450
450
  accountDescription: string;
451
451
  last4Digits: string | undefined;
452
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
452
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
453
453
  status: import("../..").Status | undefined;
454
454
  balance: import("../..").Balance | undefined;
455
455
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -483,7 +483,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
483
483
  accountSubType: string | undefined;
484
484
  accountDescription: string;
485
485
  last4Digits: string | undefined;
486
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
486
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
487
487
  status: import("../..").Status | undefined;
488
488
  balance: import("../..").Balance | undefined;
489
489
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -517,7 +517,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
517
517
  accountSubType: string | undefined;
518
518
  accountDescription: string;
519
519
  last4Digits: string | undefined;
520
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
520
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
521
521
  status: import("../..").Status | undefined;
522
522
  balance: import("../..").Balance | undefined;
523
523
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -551,7 +551,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
551
551
  accountSubType: string | undefined;
552
552
  accountDescription: string;
553
553
  last4Digits: string | undefined;
554
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
554
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
555
555
  status: import("../..").Status | undefined;
556
556
  balance: import("../..").Balance | undefined;
557
557
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -586,7 +586,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
586
586
  accountSubType: string | undefined;
587
587
  accountDescription: string;
588
588
  last4Digits: string | undefined;
589
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
589
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
590
590
  status: import("../..").Status | undefined;
591
591
  balance: import("../..").Balance | undefined;
592
592
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -620,7 +620,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
620
620
  accountSubType: string | undefined;
621
621
  accountDescription: string;
622
622
  last4Digits: string | undefined;
623
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
623
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
624
624
  status: import("../..").Status | undefined;
625
625
  balance: import("../..").Balance | undefined;
626
626
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -654,7 +654,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
654
654
  accountSubType: string | undefined;
655
655
  accountDescription: string;
656
656
  last4Digits: string | undefined;
657
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
657
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
658
658
  status: import("../..").Status | undefined;
659
659
  balance: import("../..").Balance | undefined;
660
660
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -688,7 +688,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
688
688
  accountSubType: string | undefined;
689
689
  accountDescription: string;
690
690
  last4Digits: string | undefined;
691
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
691
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
692
692
  status: import("../..").Status | undefined;
693
693
  balance: import("../..").Balance | undefined;
694
694
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -722,7 +722,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
722
722
  accountSubType: string | undefined;
723
723
  accountDescription: string;
724
724
  last4Digits: string | undefined;
725
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
725
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
726
726
  status: import("../..").Status | undefined;
727
727
  balance: import("../..").Balance | undefined;
728
728
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
@@ -756,7 +756,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
756
756
  accountSubType: string | undefined;
757
757
  accountDescription: string;
758
758
  last4Digits: string | undefined;
759
- logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
759
+ logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
760
760
  status: import("../..").Status | undefined;
761
761
  balance: import("../..").Balance | undefined;
762
762
  statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;