@zeniai/client-epic-state 4.8.85 → 4.8.87

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 (78) hide show
  1. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  2. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  3. package/lib/entity/account/accountSelector.d.ts +6 -6
  4. package/lib/entity/account/accountState.d.ts +3 -3
  5. package/lib/entity/account/accountState.js +1 -0
  6. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +2 -2
  7. package/lib/entity/accountGroup/accountGroupSelector.d.ts +44 -44
  8. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  9. package/lib/entity/class/classReducer.d.ts +4 -4
  10. package/lib/entity/class/classState.d.ts +1 -1
  11. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
  12. package/lib/entity/forecast/forecastState.d.ts +1 -1
  13. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +6 -1
  14. package/lib/entity/jeSchedules/jeSchedulesPayload.js +11 -1
  15. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +2 -1
  16. package/lib/entity/jeSchedules/jeSchedulesSelector.js +2 -1
  17. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +5 -1
  18. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +4 -4
  19. package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -1
  20. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  21. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  22. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  23. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +1 -0
  24. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
  25. package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +1 -0
  26. package/lib/index.d.ts +4 -4
  27. package/lib/index.js +5 -4
  28. package/lib/view/accountList/accountListReducer.d.ts +2 -2
  29. package/lib/view/accountList/accountListReducer.js +2 -1
  30. package/lib/view/accountList/accountListState.d.ts +1 -1
  31. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +1 -1
  32. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  33. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  34. package/lib/view/cardBalance/cardBalanceSelector.d.ts +3 -3
  35. package/lib/view/cashBalance/cashBalanceSelector.d.ts +3 -3
  36. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  37. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  38. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  39. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  40. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  41. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  42. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +9 -2
  43. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +6 -6
  44. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +3 -2
  45. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +13 -5
  46. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +11 -8
  47. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +4 -4
  48. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +8 -6
  49. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +7 -5
  50. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +37 -6
  51. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +8 -4
  52. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +53 -4
  53. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +21 -11
  54. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +66 -35
  55. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +12 -3
  56. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +31 -14
  57. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +19 -5
  58. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +0 -3
  59. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +4 -3
  60. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +0 -10
  61. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +7 -24
  62. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +2 -5
  63. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +7 -5
  64. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +37 -28
  65. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.d.ts +27 -18
  66. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +109 -76
  67. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +4 -8
  68. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +42 -40
  69. package/lib/view/scheduleView/scheduleListView/scheduleListState.d.ts +16 -13
  70. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +5 -5
  71. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +3 -1
  72. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  73. package/lib/view/topEx/topExSelector.d.ts +2 -2
  74. package/lib/view/transactionList/transactionListReducer.d.ts +12 -12
  75. package/lib/view/vendorList/vendorListSelector.d.ts +2 -2
  76. package/lib/view/vendorList/vendorListSelector.js +1 -0
  77. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +1 -1
  78. package/package.json +1 -1
@@ -26,6 +26,10 @@ const sortedJETransactionsView = (jeTransactions, sortKey, sortOrder) => {
26
26
  return jeTransaction.jeDebit.account != null
27
27
  ? jeTransaction.jeDebit.account.accountName.toLowerCase()
28
28
  : null;
29
+ case 'accumulatedDepreciationCategory':
30
+ return jeTransaction.jeCredit.account != null
31
+ ? jeTransaction.jeCredit.account.accountName.toLowerCase()
32
+ : null;
29
33
  case 'class':
30
34
  return jeTransaction.jeDebit.accountingClass != null
31
35
  ? jeTransaction.jeDebit.accountingClass.className.toLowerCase()
@@ -54,6 +58,10 @@ const sortedJETransactionsView = (jeTransactions, sortKey, sortOrder) => {
54
58
  return jeTransaction.baseTransaction.type.toLowerCase();
55
59
  case 'status':
56
60
  return jeTransaction.status.code.toLowerCase();
61
+ case 'assetId':
62
+ return jeTransaction.otherAttributes.assetId != null
63
+ ? jeTransaction.otherAttributes.assetId.toLowerCase()
64
+ : null;
57
65
  default:
58
66
  return jeTransaction.updatedByUser != null
59
67
  ? jeTransaction.updatedByUser.firstName.toLowerCase()
@@ -63,11 +71,10 @@ const sortedJETransactionsView = (jeTransactions, sortKey, sortOrder) => {
63
71
  };
64
72
  const getScheduleListReport = (state) => {
65
73
  const { scheduleListState, accountListState, accountState } = state;
66
- const downloadState = scheduleListState.downloadState;
67
- const key = (0, scheduleListTypes_1.getScheduleListKey)(scheduleListState.currentTab, scheduleListState.selectedCategoryId, scheduleListState.selectedTimeframe);
68
- const scheduleListRecord = (0, get_1.default)(scheduleListState.byScheduleListKey, key, undefined);
69
- const allScheduleAccounts = (0, accountListSelector_1.getAccountList)(accountState, accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedulesTab)(scheduleListState.currentTab));
70
- let allNestedAccounts = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedulesTab)(scheduleListState.currentTab));
74
+ const scheduleState = (0, scheduleListReducer_1.getState)(scheduleListState, scheduleListState.currentTab);
75
+ const downloadState = scheduleState.downloadState;
76
+ const allScheduleAccounts = (0, accountListSelector_1.getAccountList)(accountState, accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
77
+ let allNestedAccounts = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
71
78
  let allAccounts = allScheduleAccounts.accounts;
72
79
  const accountTypes = (0, scheduleListHelper_1.getAccountsTypesForScheduleList)(scheduleListState.currentTab);
73
80
  const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)(scheduleListState.currentTab);
@@ -75,7 +82,7 @@ const getScheduleListReport = (state) => {
75
82
  ? (0, accountListSelector_1.getAccountIdsForLabel)(accountListState, accountTypes.accountListKey, accountLabel)
76
83
  : [];
77
84
  if (accountLabel != null) {
78
- const filteredList = (0, accountListSelector_1.getFilteredNestedAndAccountListsForLabel)(accountState, accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedulesTab)(scheduleListState.currentTab), accountLabel);
85
+ const filteredList = (0, accountListSelector_1.getFilteredNestedAndAccountListsForLabel)(accountState, accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)(), accountLabel);
79
86
  // Use this list only if there is some account in it.
80
87
  if (filteredList.accountList.length > 0) {
81
88
  allAccounts = filteredList.accountList.filter((account) => scheduleListCurrentTabAccountIds.includes(account.accountId));
@@ -83,7 +90,9 @@ const getScheduleListReport = (state) => {
83
90
  scheduleListCurrentTabAccountIds.includes(account.accountId[0]));
84
91
  }
85
92
  }
86
- if (scheduleListRecord == null) {
93
+ const key = (0, scheduleListTypes_1.getScheduleListKey)(scheduleState.selectedCategoryId, scheduleState.selectedTimeframe);
94
+ const scheduleJETransactions = (0, get_1.default)(scheduleState.jeScheduleKeysByListKey, key, undefined);
95
+ if (scheduleJETransactions == null) {
87
96
  return {
88
97
  reportTitle: 'Schedule List',
89
98
  version: 1,
@@ -91,14 +100,11 @@ const getScheduleListReport = (state) => {
91
100
  jeScheduleOrder: 'descending_transaction_date',
92
101
  jeScheduledTransactions: [],
93
102
  currentTab: scheduleListState.currentTab,
94
- currentSubTab: scheduleListState.currentSubTab,
95
103
  selectedScheduledId: undefined,
96
104
  downloadUIState: downloadState,
97
- searchText: '',
98
- selectedCategoryID: scheduleListState.scheduleListLocalData.selectedCategoryID,
99
- selectedTimeframe: scheduleListState.scheduleListLocalData.selectedTimeframe,
100
- allSubTabs: scheduleListTypes_1.ALL_SCHEDULES_SUB_TABS.map((subTab) => subTab),
101
- uiState: scheduleListReducer_1.scheduleListInitialState.uiState,
105
+ selectedCategoryId: scheduleState.selectedCategoryId,
106
+ selectedTimeframe: scheduleState.selectedTimeframe,
107
+ uiState: scheduleState.uiState,
102
108
  scheduleListAccounts: [(0, scheduleListHelper_1.getAllAccountBase)(), ...allAccounts],
103
109
  scheduleListNestedAccountHierarchy: [
104
110
  (0, scheduleListHelper_1.getAllAccountNested)(),
@@ -106,7 +112,7 @@ const getScheduleListReport = (state) => {
106
112
  ],
107
113
  fetchState: 'Not-Started',
108
114
  error: undefined,
109
- scheduleListLocalData: scheduleListState.scheduleListLocalData,
115
+ scheduleListLocalData: scheduleState.scheduleListLocalData,
110
116
  allTimeframeTicks: [],
111
117
  totalBalanceTimeframeTicks: {
112
118
  months: [],
@@ -116,8 +122,9 @@ const getScheduleListReport = (state) => {
116
122
  };
117
123
  }
118
124
  else {
119
- const jeScheduleIds = scheduleListRecord.jeScheduleTransactionKeys;
120
- const { uiState, selectedScheduleId, fetchState, error } = scheduleListRecord;
125
+ const jeScheduleIds = scheduleJETransactions.jeScheduleTransactionKeys;
126
+ const { uiState, selectedScheduleId } = scheduleState;
127
+ const { fetchState, error } = scheduleJETransactions;
121
128
  const { sortKey, sortOrder } = uiState;
122
129
  const scheduleTransactionsUnsorted = jeScheduleIds
123
130
  .map((jeScheduleId) => (0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleKey)(jeScheduleId, state))
@@ -129,24 +136,22 @@ const getScheduleListReport = (state) => {
129
136
  });
130
137
  const currentTabTransactions = (0, orderBy_1.default)(scheduleTransactionsUnsorted, (value) => value.baseTransaction.date.valueOf(), 'desc');
131
138
  let jeTransactionsView = [];
132
- switch (scheduleListState.currentTab) {
133
- case 'prepaid_expenses':
134
- switch (scheduleListState.currentSubTab) {
135
- case 'new':
136
- jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'new');
137
- break;
138
- case 'ongoing':
139
- jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'ongoing');
140
- break;
141
- case 'completed':
142
- jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'completed');
143
- break;
144
- default:
145
- jeTransactionsView = currentTabTransactions;
146
- }
139
+ switch (uiState.currentSubTab) {
140
+ case 'new':
141
+ jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'new');
142
+ break;
143
+ case 'ongoing':
144
+ jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'ongoing');
147
145
  break;
146
+ case 'completed':
147
+ jeTransactionsView = currentTabTransactions.filter((tran) => tran.status.code === 'completed');
148
+ break;
149
+ default:
150
+ jeTransactionsView = currentTabTransactions;
148
151
  }
149
- const loweredSearchText = scheduleListState.searchText.trim().toLowerCase();
152
+ const loweredSearchText = scheduleState.uiState.searchText
153
+ .trim()
154
+ .toLowerCase();
150
155
  const sortedJETransactionView = sortedJETransactionsView(jeTransactionsView.filter((jeTransaction) => {
151
156
  return (jeTransaction.vendor.name
152
157
  .toLowerCase()
@@ -169,13 +174,10 @@ const getScheduleListReport = (state) => {
169
174
  jeScheduleOrder: 'descending_transaction_date',
170
175
  jeScheduledTransactions: jeScheduledTransactionWithBalance,
171
176
  currentTab: scheduleListState.currentTab,
172
- currentSubTab: scheduleListState.currentSubTab,
173
177
  selectedScheduledId: selectedScheduleId,
174
178
  downloadUIState: downloadState,
175
- searchText: scheduleListState.searchText,
176
- selectedCategoryID: scheduleListState.selectedCategoryId,
177
- selectedTimeframe: scheduleListState.selectedTimeframe,
178
- allSubTabs: scheduleListTypes_1.ALL_SCHEDULES_SUB_TABS.map((subTab) => subTab),
179
+ selectedCategoryId: scheduleState.selectedCategoryId,
180
+ selectedTimeframe: scheduleState.selectedTimeframe,
179
181
  uiState,
180
182
  scheduleListAccounts: [(0, scheduleListHelper_1.getAllAccountBase)(), ...allAccounts],
181
183
  scheduleListNestedAccountHierarchy: [
@@ -184,7 +186,7 @@ const getScheduleListReport = (state) => {
184
186
  ],
185
187
  fetchState,
186
188
  error,
187
- scheduleListLocalData: scheduleListState.scheduleListLocalData,
189
+ scheduleListLocalData: scheduleState.scheduleListLocalData,
188
190
  totalAmount: totalBalances.totalAmount,
189
191
  totalRunningBalances: totalBalances.totalRunningBalances,
190
192
  allTimeframeTicks,
@@ -193,7 +195,7 @@ const getScheduleListReport = (state) => {
193
195
  }
194
196
  };
195
197
  exports.getScheduleListReport = getScheduleListReport;
196
- const getFetchStateForScheduleAccountList = (state, scheduleTab) => {
197
- return (0, accountListSelector_1.getAccountListFetchState)(state.accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedulesTab)(scheduleTab));
198
+ const getFetchStateForScheduleAccountList = (state) => {
199
+ return (0, accountListSelector_1.getAccountListFetchState)(state.accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
198
200
  };
199
201
  exports.getFetchStateForScheduleAccountList = getFetchStateForScheduleAccountList;
@@ -1,29 +1,32 @@
1
1
  import { FetchedState, FetchStateAndError, ID } from '../../../commonStateTypes/common';
2
2
  import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes';
3
3
  import { TimeframeTick } from '../../../commonStateTypes/timeframeTick';
4
- import { JEScheduleKey, SchedulesTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
4
+ import { JEScheduleKey, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
5
5
  import { ScheduleListKey, ScheduleSubTabType, ScheduleListSortKey } from './scheduleListTypes';
6
6
  export interface ScheduleListUIState {
7
7
  sortKey: ScheduleListSortKey;
8
8
  sortOrder: SortOrder;
9
- scrollYOffset: number;
10
- }
11
- export interface ScheduleWithListStatus extends FetchedState {
12
- jeScheduleTransactionKeys: JEScheduleKey[];
13
- uiState: ScheduleListUIState;
14
- selectedScheduleId?: ID;
9
+ scrollYOffset: Record<ScheduleSubTabType, number>;
10
+ searchText: string;
11
+ currentSubTab: ScheduleSubTabType;
15
12
  }
16
13
  export interface ScheduleListLocalData {
17
- selectedCategoryID: ID;
14
+ selectedCategoryId: ID;
18
15
  selectedTimeframe: TimeframeTick;
19
16
  }
20
- export interface ScheduleListViewState {
21
- byScheduleListKey: Record<ScheduleListKey, ScheduleWithListStatus>;
17
+ export interface JESchedulesForTypeState extends FetchedState {
18
+ jeScheduleTransactionKeys: JEScheduleKey[];
19
+ }
20
+ export interface ScheduleListForTypeState {
21
+ jeScheduleKeysByListKey: Record<ScheduleListKey, JESchedulesForTypeState>;
22
+ selectedScheduleId?: ID;
22
23
  downloadState: FetchStateAndError;
23
- searchText: string;
24
- currentTab: SchedulesTypes;
25
- currentSubTab: ScheduleSubTabType;
24
+ uiState: ScheduleListUIState;
26
25
  selectedCategoryId: ID;
27
26
  selectedTimeframe: TimeframeTick;
28
27
  scheduleListLocalData: ScheduleListLocalData;
29
28
  }
29
+ export interface ScheduleListViewState {
30
+ listByScheduleType: Record<ScheduleTypes, ScheduleListForTypeState>;
31
+ currentTab: ScheduleTypes;
32
+ }
@@ -1,21 +1,21 @@
1
1
  import { ID } from '../../../commonStateTypes/common';
2
2
  import { TimeframeTick } from '../../../commonStateTypes/timeframeTick';
3
- import { SchedulesTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
3
+ import { ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
4
4
  export declare const ALL_SCHEDULE_LIST_TABS_FILE_TYPES: readonly ["excel"];
5
5
  export declare const toScheduleListTabsFileTypeStrict: (v?: string | undefined) => "excel" | undefined;
6
6
  export declare type ScheduleListTabsFileType = NonNullable<ReturnType<typeof toScheduleListTabsFileTypeStrict>>;
7
- export declare const getScheduleListKey: (tab: SchedulesTypes, selectedCategory: ID, selectedTimeframe: TimeframeTick) => `prepaid_expenses-${string}-${string}--${string}` | `fixed_assets-${string}-${string}--${string}` | `accured_expenses-${string}-${string}--${string}` | `deferred_revenue-${string}-${string}--${string}`;
7
+ export declare const getScheduleListKey: (selectedCategory: ID, selectedTimeframe: TimeframeTick) => `${string}-${string}--${string}`;
8
8
  export declare type ScheduleListKey = ReturnType<typeof getScheduleListKey>;
9
9
  export declare const ALL_SCHEDULES_SUB_TABS: readonly ["all", "new", "ongoing", "completed"];
10
10
  export declare const toScheduleSubTabType: (v: string) => "all" | "new" | "completed" | "ongoing";
11
11
  export declare type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
12
- export declare const ALL_SCHEDULES_PAY_SORT_KEYS: readonly ["transactionDate", "vendor", "scheduleCategory", "expenseCategory", "class", "amount", "balanceAsOfToday", "memo", "startMonth", "endMonth", "months", "transactionType", "status", "user"];
13
- export declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "amount" | "vendor" | "class" | "memo" | "transactionDate" | "scheduleCategory" | "expenseCategory" | "balanceAsOfToday" | "startMonth" | "endMonth" | "transactionType";
12
+ export declare const ALL_SCHEDULES_PAY_SORT_KEYS: readonly ["transactionDate", "vendor", "scheduleCategory", "expenseCategory", "accumulatedDepreciationCategory", "class", "amount", "balanceAsOfToday", "memo", "startMonth", "endMonth", "months", "transactionType", "status", "assetId", "user"];
13
+ export declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "amount" | "vendor" | "class" | "memo" | "transactionDate" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "balanceAsOfToday" | "startMonth" | "endMonth" | "transactionType" | "assetId";
14
14
  export declare type ScheduleListSortKey = ReturnType<typeof toScheduleSortKeyType>;
15
15
  export interface DownloadJEScheduleTabOptions {
16
16
  timezone: string;
17
17
  tabsFileType: ScheduleListTabsFileType;
18
- tabs: SchedulesTypes[];
18
+ tabs: ScheduleTypes[];
19
19
  categoryId: ID;
20
20
  timeframe: TimeframeTick;
21
21
  searchText?: string;
@@ -9,7 +9,7 @@ const toScheduleListTabsFileTypeStrict = (v) => {
9
9
  return (0, stringToUnion_1.stringToUnionStrict)((_a = v === null || v === void 0 ? void 0 : v.toLocaleLowerCase()) !== null && _a !== void 0 ? _a : '', exports.ALL_SCHEDULE_LIST_TABS_FILE_TYPES);
10
10
  };
11
11
  exports.toScheduleListTabsFileTypeStrict = toScheduleListTabsFileTypeStrict;
12
- const getScheduleListKey = (tab, selectedCategory, selectedTimeframe) => `${tab}-${selectedCategory}-${selectedTimeframe.startDate.format(formatZeniDateFY_1.DAY_MONTH_YEAR_FORMAT)}--${selectedTimeframe.endDate.format(formatZeniDateFY_1.DAY_MONTH_YEAR_FORMAT)}`;
12
+ const getScheduleListKey = (selectedCategory, selectedTimeframe) => `${selectedCategory}-${selectedTimeframe.startDate.format(formatZeniDateFY_1.DAY_MONTH_YEAR_FORMAT)}--${selectedTimeframe.endDate.format(formatZeniDateFY_1.DAY_MONTH_YEAR_FORMAT)}`;
13
13
  exports.getScheduleListKey = getScheduleListKey;
14
14
  exports.ALL_SCHEDULES_SUB_TABS = [
15
15
  'all',
@@ -24,6 +24,7 @@ exports.ALL_SCHEDULES_PAY_SORT_KEYS = [
24
24
  'vendor',
25
25
  'scheduleCategory',
26
26
  'expenseCategory',
27
+ 'accumulatedDepreciationCategory',
27
28
  'class',
28
29
  'amount',
29
30
  'balanceAsOfToday',
@@ -33,6 +34,7 @@ exports.ALL_SCHEDULES_PAY_SORT_KEYS = [
33
34
  'months',
34
35
  'transactionType',
35
36
  'status',
37
+ 'assetId',
36
38
  'user',
37
39
  ];
38
40
  const toScheduleSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_SCHEDULES_PAY_SORT_KEYS);
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getTasksCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "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";
3
+ reportId: "cash_balance" | "card_balance" | "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";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  status: import("../..").Status | undefined;
@@ -5,7 +5,7 @@ import { AccountState } from '../../entity/account/accountState';
5
5
  import { EntityOrder } from '../../commonStateTypes/selectorTypes/selectorTypes';
6
6
  import { TopExReport, TopExTimePeriodWithMetaData } from './topExSelectorTypes';
7
7
  export declare const getTopExpenses: (accountState: AccountState, topExState: TopExState, numberOfExpenses?: number | undefined) => {
8
- reportId: "cash_balance" | "card_balance" | "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";
8
+ reportId: "cash_balance" | "card_balance" | "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";
9
9
  reportTitle: string;
10
10
  version: string | number | undefined;
11
11
  status: import("../..").Status | undefined;
@@ -22,7 +22,7 @@ export declare const getTopExpenses: (accountState: AccountState, topExState: To
22
22
  accountsOrdered: {
23
23
  accountId: string;
24
24
  accountName: string;
25
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets" | undefined;
25
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets" | undefined;
26
26
  accountSubType: string | undefined;
27
27
  accountDescription: string;
28
28
  logo: import("url-parse")<string> | import("url-parse")<Record<string, string | undefined>> | undefined;
@@ -9,23 +9,23 @@ import { ZeniAPIStatus } from '../../responsePayload';
9
9
  import { TransactionListByAccountPayload, TransactionListByClassPayload, TransactionListByEntityPayload } from './transactionListPayload';
10
10
  import { TransactionListState, TransactionListUIState, TransactionCategoryType } from './transactionListState';
11
11
  export declare const initialState: TransactionListState;
12
- export declare const parallelFetchAccountTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, accountName?: string | undefined, cacheOverride?: any, includeSubAccountTransactions?: any], {
12
+ export declare const parallelFetchAccountTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, accountName?: string | undefined, cacheOverride?: any, includeSubAccountTransactions?: any], {
13
13
  accountId: string;
14
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
14
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
15
15
  period: TimePeriod;
16
16
  accountName: string | undefined;
17
17
  cacheOverride: any;
18
18
  includeSubAccountTransactions: any;
19
- }, string, never, never>, fetchAccountTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, includeSubAccountTransactions: boolean, accountName?: string | undefined, cacheOverride?: any], {
19
+ }, string, never, never>, fetchAccountTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, includeSubAccountTransactions: boolean, accountName?: string | undefined, cacheOverride?: any], {
20
20
  accountId: string;
21
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
21
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
22
22
  period: TimePeriod;
23
23
  accountName: string | undefined;
24
24
  includeSubAccountTransactions: boolean;
25
25
  cacheOverride: any;
26
- }, string, never, never>, updateTransactionListByAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload<TransactionListByAccountPayload, string>, updateTransactionListByAccountFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, error: ZeniAPIStatus<Record<string, unknown>>], {
26
+ }, string, never, never>, updateTransactionListByAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload<TransactionListByAccountPayload, string>, updateTransactionListByAccountFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", period: TimePeriod, error: ZeniAPIStatus<Record<string, unknown>>], {
27
27
  accountId: string;
28
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
28
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
29
29
  period: TimePeriod;
30
30
  error: ZeniAPIStatus<Record<string, unknown>>;
31
31
  }, string, never, never>, parallelFetchEntityTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[entity: Entity, period: TimePeriod, cacheOverride?: any], {
@@ -45,15 +45,15 @@ export declare const parallelFetchAccountTransactionList: import("@reduxjs/toolk
45
45
  accountId: ID;
46
46
  accountType: AccountType;
47
47
  uiState: TransactionListUIState;
48
- }, string>, parallelFetchClassTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, cacheOverride?: any], {
48
+ }, string>, parallelFetchClassTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, cacheOverride?: any], {
49
49
  accountId: string;
50
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
50
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
51
51
  classId: string;
52
52
  period: TimePeriod;
53
53
  cacheOverride: any;
54
- }, string, never, never>, fetchClassTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, cacheOverride?: any], {
54
+ }, string, never, never>, fetchClassTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, cacheOverride?: any], {
55
55
  accountId: string;
56
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
56
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
57
57
  classId: string;
58
58
  period: TimePeriod;
59
59
  cacheOverride: any;
@@ -62,9 +62,9 @@ export declare const parallelFetchAccountTransactionList: import("@reduxjs/toolk
62
62
  accountType: AccountType;
63
63
  classId: ID;
64
64
  uiState: TransactionListUIState;
65
- }, string>, updateTransactionListByClassFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, error: ZeniAPIStatus<Record<string, unknown>>], {
65
+ }, string>, updateTransactionListByClassFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountId: string, accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets", classId: string, period: TimePeriod, error: ZeniAPIStatus<Record<string, unknown>>], {
66
66
  accountId: string;
67
- accountType: "cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "fixed_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
67
+ accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets";
68
68
  classId: string;
69
69
  period: TimePeriod;
70
70
  error: ZeniAPIStatus<Record<string, unknown>>;
@@ -8,8 +8,8 @@ import { Vendor } from '../../entity/vendor/vendorState';
8
8
  import { RootState } from '../../reducer';
9
9
  import { ZeniDate } from '../../zeniDayJS';
10
10
  import { VendorListViewSortKey, VendorListViewYTDSpendSortKey, VendorViewUIState } from './vendorListState';
11
- export declare const toVendorReportIDType: (v: string) => "operating_expenses_by_vendor" | "vendors_tab" | "prepaid_expenses";
12
- export declare const toVendorReportIDTypeStrict: (v?: string | undefined) => "operating_expenses_by_vendor" | "vendors_tab" | "prepaid_expenses" | undefined;
11
+ export declare const toVendorReportIDType: (v: string) => "operating_expenses_by_vendor" | "vendors_tab" | "prepaid_expenses" | "fixed_assets";
12
+ export declare const toVendorReportIDTypeStrict: (v?: string | undefined) => "operating_expenses_by_vendor" | "vendors_tab" | "prepaid_expenses" | "fixed_assets" | undefined;
13
13
  export declare type VendorReportIDType = ReturnType<typeof toVendorReportIDType>;
14
14
  export interface VendorListSelectorView extends SelectorView {
15
15
  vendors: VendorListView[];
@@ -10,6 +10,7 @@ const ALL_VENDOR_REPORT_ID_TYPES = [
10
10
  'operating_expenses_by_vendor',
11
11
  'vendors_tab',
12
12
  'prepaid_expenses',
13
+ 'fixed_assets',
13
14
  ];
14
15
  const toVendorReportIDType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_VENDOR_REPORT_ID_TYPES);
15
16
  exports.toVendorReportIDType = toVendorReportIDType;
@@ -5,7 +5,7 @@ export declare const getZeniAccountsPromoCard: (state: RootState) => {
5
5
  maxPossibleInterest: number | undefined;
6
6
  maxInsuredAmount: number;
7
7
  depositAccountId: string | undefined;
8
- reportId: "cash_balance" | "card_balance" | "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";
8
+ reportId: "cash_balance" | "card_balance" | "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";
9
9
  reportTitle: string;
10
10
  firstMonthOfFY: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
11
11
  fetchState: import("../..").FetchState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.8.85",
3
+ "version": "4.8.87",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",