@zeniai/client-epic-state 4.18.92 → 4.18.93

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 (122) hide show
  1. package/lib/commonStateTypes/animations.d.ts +1 -1
  2. package/lib/commonStateTypes/animations.js +0 -4
  3. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js +0 -2
  4. package/lib/commonStateTypes/classesView/nestedClassID.d.ts +0 -1
  5. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  6. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
  7. package/lib/entity/account/accountState.d.ts +1 -1
  8. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  9. package/lib/entity/chargeCard/chargeCard.d.ts +1 -2
  10. package/lib/entity/chargeCard/chargeCard.js +0 -2
  11. package/lib/entity/chargeCard/chargeCardPayload.d.ts +1 -2
  12. package/lib/entity/chargeCard/chargeCardPayload.js +9 -10
  13. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +1 -1
  14. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +2 -1
  15. package/lib/entity/class/classPayload.d.ts +0 -1
  16. package/lib/entity/class/classPayload.js +9 -9
  17. package/lib/entity/class/classReducer.d.ts +4 -4
  18. package/lib/entity/class/classState.d.ts +1 -2
  19. package/lib/entity/forecast/forecastState.d.ts +1 -1
  20. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -8
  21. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -14
  22. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -8
  23. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  24. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  25. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  26. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  27. package/lib/entity/snackbar/snackbarTypes.js +8 -34
  28. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  29. package/lib/entity/tenant/tenantReducer.d.ts +1 -1
  30. package/lib/entity/tenant/tenantReducer.js +2 -8
  31. package/lib/entity/tenant/tenantState.d.ts +0 -1
  32. package/lib/epic.d.ts +1 -13
  33. package/lib/epic.js +1 -13
  34. package/lib/index.d.ts +12 -14
  35. package/lib/index.js +30 -53
  36. package/lib/init.d.ts +1 -2
  37. package/lib/init.js +2 -3
  38. package/lib/responsePayload.d.ts +0 -3
  39. package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
  40. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  41. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  42. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  43. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  44. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  45. package/lib/view/classList/classListReducer.d.ts +1 -3
  46. package/lib/view/classList/classListReducer.js +3 -8
  47. package/lib/view/classList/fetchClassListEpic.js +2 -6
  48. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +1 -2
  49. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +2 -10
  50. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -2
  51. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  52. package/lib/view/dashboard/dashboardSelector.d.ts +1 -2
  53. package/lib/view/dashboard/dashboardSelector.js +6 -14
  54. package/lib/view/dashboardLayout/dashboardLayoutReducer.js +0 -1
  55. package/lib/view/dashboardLayout/fetchDashboardLayoutEpic.js +1 -14
  56. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +1 -1
  57. package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +1 -3
  58. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +3 -3
  59. package/lib/view/expenseAutomationView/helpers/helpers.js +4 -4
  60. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +6 -5
  61. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +2 -2
  62. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +64 -46
  63. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  64. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  65. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +1 -1
  66. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +0 -8
  67. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +1 -11
  68. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +3 -47
  69. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +0 -3
  70. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +13 -18
  71. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +1 -7
  72. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  73. package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
  74. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +4 -3
  75. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +2 -17
  76. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +3 -38
  77. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +1 -11
  78. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +4 -40
  79. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +26 -189
  80. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +1 -19
  81. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +12 -87
  82. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js +4 -4
  83. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +0 -7
  84. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +0 -1
  85. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +4 -34
  86. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +3 -142
  87. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +0 -46
  88. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +4 -198
  89. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +1 -3
  90. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +0 -18
  91. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.d.ts +1 -1
  92. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +2 -24
  93. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.d.ts +0 -1
  94. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  95. package/lib/view/topEx/topExSelector.d.ts +1 -1
  96. package/lib/zeniAPI.d.ts +1 -12
  97. package/lib/zeniAPI.js +6 -33
  98. package/package.json +1 -1
  99. package/lib/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.d.ts +0 -7
  100. package/lib/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.js +0 -47
  101. package/lib/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.d.ts +0 -9
  102. package/lib/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.js +0 -71
  103. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.d.ts +0 -7
  104. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.js +0 -44
  105. package/lib/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.d.ts +0 -9
  106. package/lib/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.js +0 -78
  107. package/lib/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.d.ts +0 -9
  108. package/lib/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.js +0 -75
  109. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.d.ts +0 -9
  110. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.js +0 -83
  111. package/lib/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.d.ts +0 -9
  112. package/lib/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.js +0 -69
  113. package/lib/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.d.ts +0 -9
  114. package/lib/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.js +0 -69
  115. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.d.ts +0 -8
  116. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.js +0 -71
  117. package/lib/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.d.ts +0 -9
  118. package/lib/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.js +0 -68
  119. package/lib/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.d.ts +0 -9
  120. package/lib/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.js +0 -76
  121. package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.d.ts +0 -8
  122. package/lib/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.js +0 -22
@@ -2,8 +2,6 @@ import { ZeniAPIStatus } from '../../responsePayload';
2
2
  import { ClassListResponse } from './classListPayload';
3
3
  import { ClassListState } from './classListState';
4
4
  export declare const initialState: ClassListState;
5
- export declare const fetchClassList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isIncludeDeleted?: boolean | undefined], {
6
- isIncludeDeleted: boolean;
7
- }, "classList/fetchClassList", never, never>, updateClassList: import("@reduxjs/toolkit").ActionCreatorWithPayload<ClassListResponse, "classList/updateClassList">, updateClassListFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "classList/updateClassListFailure">, clearClassList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"classList/clearClassList">;
5
+ export declare const fetchClassList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"classList/fetchClassList">, updateClassList: import("@reduxjs/toolkit").ActionCreatorWithPayload<ClassListResponse, "classList/updateClassList">, updateClassListFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "classList/updateClassListFailure">, clearClassList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"classList/clearClassList">;
8
6
  declare const _default: import("redux").Reducer<ClassListState>;
9
7
  export default _default;
@@ -18,14 +18,9 @@ const classList = (0, toolkit_1.createSlice)({
18
18
  name: 'classList',
19
19
  initialState: exports.initialState,
20
20
  reducers: {
21
- fetchClassList: {
22
- reducer(draft) {
23
- draft.fetchState = 'In-Progress';
24
- draft.error = undefined;
25
- },
26
- prepare(isIncludeDeleted) {
27
- return { payload: { isIncludeDeleted: isIncludeDeleted !== null && isIncludeDeleted !== void 0 ? isIncludeDeleted : false } };
28
- },
21
+ fetchClassList(draft) {
22
+ draft.fetchState = 'In-Progress';
23
+ draft.error = undefined;
29
24
  },
30
25
  updateClassList(draft, action) {
31
26
  var _a, _b, _c, _d;
@@ -6,13 +6,9 @@ const operators_1 = require("rxjs/operators");
6
6
  const classReducer_1 = require("../../entity/class/classReducer");
7
7
  const responsePayload_1 = require("../../responsePayload");
8
8
  const classListReducer_1 = require("./classListReducer");
9
- const fetchClassListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(classListReducer_1.fetchClassList.match), (0, operators_1.switchMap)((action) => {
10
- const { isIncludeDeleted } = action.payload;
11
- const queryParams = isIncludeDeleted === true
12
- ? `?query=${encodeURIComponent(JSON.stringify({ is_include_deleted: true }))}`
13
- : '';
9
+ const fetchClassListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(classListReducer_1.fetchClassList.match), (0, operators_1.switchMap)(() => {
14
10
  return zeniAPI
15
- .getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/classes${queryParams}`)
11
+ .getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/classes`)
16
12
  .pipe((0, operators_1.mergeMap)((response) => {
17
13
  var _a, _b;
18
14
  if ((0, responsePayload_1.isSuccessResponse)(response)) {
@@ -19,12 +19,11 @@ export declare const fetchImproveUsingZeniGPT: import("@reduxjs/toolkit").Action
19
19
  }, "reviewCompanyView/updateImproveUsingZeniGPTSuccess", never, never>, updateImproveUsingZeniGPTFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[status: ZeniAPIStatus<Record<string, unknown>>, companyId: string], {
20
20
  status: ZeniAPIStatus<Record<string, unknown>>;
21
21
  companyId: string;
22
- }, "reviewCompanyView/updateImproveUsingZeniGPTFailure", never, never>, fetchCompanyMonthEndReportView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride: any, companyId: string, tenantId?: string | undefined, insightDate?: string | undefined, refreshInsights?: boolean | undefined], {
22
+ }, "reviewCompanyView/updateImproveUsingZeniGPTFailure", never, never>, fetchCompanyMonthEndReportView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride: any, companyId: string, tenantId?: string | undefined, insightDate?: string | undefined], {
23
23
  cacheOverride: any;
24
24
  companyId: string;
25
25
  tenantId: string | undefined;
26
26
  insightDate: string | undefined;
27
- refreshInsights: boolean | undefined;
28
27
  }, "reviewCompanyView/fetchCompanyMonthEndReportView", never, never>, updateCompanyMonthEndReportViewOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, data: CompanyMonthEndReportViewPayload], {
29
28
  companyId: string;
30
29
  data: CompanyMonthEndReportViewPayload;
@@ -48,16 +48,8 @@ const companyMonthEndReportView = (0, toolkit_1.createSlice)({
48
48
  initialState: exports.initialState,
49
49
  reducers: {
50
50
  fetchCompanyMonthEndReportView: {
51
- prepare(cacheOverride = true, companyId, tenantId, insightDate, refreshInsights) {
52
- return {
53
- payload: {
54
- cacheOverride,
55
- companyId,
56
- tenantId,
57
- insightDate,
58
- refreshInsights,
59
- },
60
- };
51
+ prepare(cacheOverride = true, companyId, tenantId, insightDate) {
52
+ return { payload: { cacheOverride, companyId, tenantId, insightDate } };
61
53
  },
62
54
  reducer(draft, action) {
63
55
  const companyId = action.payload.companyId;
@@ -7,13 +7,15 @@ const fileReducer_1 = require("../../../entity/file/fileReducer");
7
7
  const responsePayload_1 = require("../../../responsePayload");
8
8
  const companyMonthEndReportViewReducer_1 = require("../companyMonthEndReportViewReducer");
9
9
  const fetchCompanyMonthEndReportViewEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(companyMonthEndReportViewReducer_1.fetchCompanyMonthEndReportView.match), (0, operators_1.switchMap)((action) => {
10
- const { cacheOverride, companyId, tenantId, refreshInsights, insightDate } = action.payload;
10
+ const { cacheOverride, companyId, tenantId, insightDate } = action.payload;
11
11
  const state = state$.value;
12
12
  const fetchState = state.companyMonthEndReportViewState.monthEndReportDataByCompanyId[companyId].fetchState;
13
13
  const zeniTenantId = tenantId !== null && tenantId !== void 0 ? tenantId : state.companyState.companiesById[companyId].companyInfo.tenantId;
14
14
  if (zeniTenantId != null &&
15
15
  (cacheOverride === true || fetchState !== 'Completed')) {
16
- const queryParam = Object.assign({ insight_date: insightDate !== null && insightDate !== void 0 ? insightDate : null }, (refreshInsights === true && { refresh_insights: refreshInsights }));
16
+ const queryParam = {
17
+ insight_date: insightDate !== null && insightDate !== void 0 ? insightDate : null,
18
+ };
17
19
  const apiUrl = `${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/companies/${companyId}/emails/month-end?query=${encodeURIComponent(JSON.stringify(queryParam))}`;
18
20
  return zeniAPI
19
21
  .getJSON(apiUrl, {
@@ -1,12 +1,12 @@
1
1
  import { DashboardState } from './dashboardState';
2
2
  export declare const initialState: DashboardState;
3
- export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card")[] | undefined], {
3
+ export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card")[] | undefined], {
4
4
  userId: string;
5
5
  companyId: string;
6
6
  tenantId: string;
7
7
  fetchFullReport: any;
8
8
  cacheOverride: any;
9
- excludeResources: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card")[];
9
+ excludeResources: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card")[];
10
10
  }, "dashboard/fetchDashboard", never, never>, clearDashboard: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dashboard/clearDashboard">;
11
11
  declare const _default: import("redux").Reducer<DashboardState>;
12
12
  export default _default;
@@ -1,7 +1,6 @@
1
1
  import { ReportID, SelectorReport, SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
2
2
  import { TenantsOrdered } from '../../entity/tenant/tenantSelector';
3
3
  import { LoggedInUser, Tenant } from '../../entity/tenant/tenantState';
4
- import { RoleMap } from '../../entity/userRole/userRoleType';
5
4
  import { RootState } from '../../reducer';
6
5
  import { CardType } from './dashboardState';
7
6
  export interface DashboardReport extends SelectorReport {
@@ -12,4 +11,4 @@ export interface DashboardReport extends SelectorReport {
12
11
  currentTenant?: Tenant;
13
12
  }
14
13
  export declare const getDashboard: (state: RootState, additionalExcludedReports: ReportID[], // used when reports are excluded through statsig
15
- signedInUser: LoggedInUser | undefined, isExpenseAutomationFeatureEnabledV2: boolean, isExpenseAutomationFeatureEnabled: boolean, isDebitCardFeatureEnabled: boolean, isTreasuryFeatureEnabled: boolean, userRoleMap?: RoleMap) => DashboardReport;
14
+ signedInUser: LoggedInUser | undefined, isExpenseAutomationFeatureEnabledV2: boolean, isExpenseAutomationFeatureEnabled: boolean, isDebitCardFeatureEnabled: boolean) => DashboardReport;
@@ -45,8 +45,8 @@ const tenantSelector = (0, toolkit_1.createSelector)(tenantSelector_1.getTenants
45
45
  exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalanceSelector_1.getCardBalance, cashBalanceSelector_1.getCashBalance, getOperatingExpensesForLast5Periods, getRevenueForLast4Periods, topExSelector_1.getTop6Expenses, getNetBurnOrIncomeForLast4Periods, getNetBurnOrIncomeStoryCard, getCashPositionLast5Periods, getCashInCashOutLast4Periods, insightsCardSelector_1.getInsights, companyPassportViewSelector_1.getCompanyPassportView, tasksCardSelector_1.getTasksCardReport, billPayCardSelector_1.getBillPayCardReport, reimbursementCardSelector_1.getReimbursementCardReport, apAgingSelector, arAgingSelector, zeniAccountsPromoCardSelector_1.getZeniAccountsPromoCard, referralSelector_1.getRewardsPlanCard, dashboardLayoutSelector_1.getDashboardCardsOrdered, (state) => {
46
46
  const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state);
47
47
  return (0, monthEndCloseChecksViewSelector_1.getMonthEndCloseChecksViewByTenantId)(state, currentTenant.tenantId);
48
- }, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (_state, _additionalExcludedReports, signedInUser) => signedInUser, (_state, _excluded, _signedInUser, isExpenseAutomationFeatureEnabledV2) => isExpenseAutomationFeatureEnabledV2, (_state, _excluded, _signedInUser, _enabledV2, isExpenseAutomationFeatureEnabled) => isExpenseAutomationFeatureEnabled, (_state, _excluded, _signedInUser, _enabledV2, _enabled, isDebitCardFeatureEnabled) => isDebitCardFeatureEnabled, (_state, _excluded, _signedInUser, _enabledV2, _enabled, _debitEnabled, isTreasuryFeatureEnabled) => isTreasuryFeatureEnabled, (_state, _excluded, _signedInUser, _enabledV2, _enabled, _debitEnabled, _treasuryEnabled, userRoleMap) => userRoleMap, (tenants, cardBalance, cashBalance, opEx, revenue, topEx, netBurnOrIncome, netBurnOrIncomeStoryCard, cashPosition, cashInCashOut, insightsView, companyPassportView, tasksCard, billPayCard, reimbursementCard, apAgingReport, arAgingReport, zeniAccountsPromoCard, rewardsPlanCard, cards, monthEndCloseChecksView, tenantState, additionalExcludedReports, signedInUser, isExpenseAutomationFeatureEnabledV2, isExpenseAutomationFeatureEnabled, isDebitCardFeatureEnabled, isTreasuryFeatureEnabled, userRoleMap) => {
49
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
48
+ }, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (_state, _additionalExcludedReports, signedInUser) => signedInUser, (_state, _excluded, _signedInUser, isExpenseAutomationFeatureEnabledV2) => isExpenseAutomationFeatureEnabledV2, (_state, _excluded, _signedInUser, _enabledV2, isExpenseAutomationFeatureEnabled) => isExpenseAutomationFeatureEnabled, (_state, _excluded, _signedInUser, _enabledV2, _enabled, isDebitCardFeatureEnabled) => isDebitCardFeatureEnabled, (tenants, cardBalance, cashBalance, opEx, revenue, topEx, netBurnOrIncome, netBurnOrIncomeStoryCard, cashPosition, cashInCashOut, insightsView, companyPassportView, tasksCard, billPayCard, reimbursementCard, apAgingReport, arAgingReport, zeniAccountsPromoCard, rewardsPlanCard, cards, monthEndCloseChecksView, tenantState, additionalExcludedReports, signedInUser, isExpenseAutomationFeatureEnabledV2, isExpenseAutomationFeatureEnabled, isDebitCardFeatureEnabled) => {
49
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
50
50
  const isReimbursementFeatureEnabled = (_a = tenants.currentTenant.company) === null || _a === void 0 ? void 0 : _a.featuresActivationInfo.isReimbursementFeatureEnabled;
51
51
  const isBillPayFeatureEnabled = (_b = tenants.currentTenant.company) === null || _b === void 0 ? void 0 : _b.featuresActivationInfo.isBillPayFeatureEnabled;
52
52
  const isAdmin = Boolean((_c = tenants.currentTenant) === null || _c === void 0 ? void 0 : _c.userRole) === true
@@ -61,20 +61,20 @@ exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalance
61
61
  const cardsToRemove = new Set();
62
62
  const chargeCardInfo = (_l = tenants.currentTenant.companyChargeCardInfo) === null || _l === void 0 ? void 0 : _l.info;
63
63
  const creditAccountLimit = (_m = chargeCardInfo === null || chargeCardInfo === void 0 ? void 0 : chargeCardInfo.chargeCardsCreditAccountLimit) !== null && _m !== void 0 ? _m : 0;
64
- let isZeniPromoCardOn4thPosition = true;
64
+ let isZeniPromoCardOn3rdPosition = true;
65
65
  const isChargeCardEnabled = (_o = chargeCardInfo === null || chargeCardInfo === void 0 ? void 0 : chargeCardInfo.isChargeCardEnabled) !== null && _o !== void 0 ? _o : false;
66
66
  if (cardBalance != null &&
67
67
  cardBalance.fetchState === 'Completed' &&
68
68
  (cardBalance.accountsInOrder.length === 0 ||
69
69
  ((_p = cardBalance.status) === null || _p === void 0 ? void 0 : _p.code) !== 200)) {
70
70
  cardsToRemove.add('card_balance');
71
- isZeniPromoCardOn4thPosition = false;
71
+ isZeniPromoCardOn3rdPosition = false;
72
72
  }
73
73
  else if (isChargeCardEnabled ||
74
74
  creditAccountLimit === -1 ||
75
75
  (isDebitCardFeatureEnabled && creditAccountLimit === 0)) {
76
76
  cardsToRemove.add('zeni_promo_card');
77
- isZeniPromoCardOn4thPosition = false;
77
+ isZeniPromoCardOn3rdPosition = false;
78
78
  }
79
79
  if (hasTopExAccess === false) {
80
80
  cardsToRemove.add('top_expenses');
@@ -166,7 +166,7 @@ exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalance
166
166
  }
167
167
  // //show cards carousel as priority, if ZC promo is coming in 2nd position, follow show promos based on Checking promo > Bills & Reimbursement promo
168
168
  // //else if ZC promo is coming in 3rd position, follow ZC promo > Checking promo > Bills & Reimbursement promo
169
- if (isZeniPromoCardOn4thPosition) {
169
+ if (isZeniPromoCardOn3rdPosition) {
170
170
  cardsToRemove.add('bill_pay_promo_card');
171
171
  cardsToRemove.add('reimbursement_promo_card');
172
172
  cardsToRemove.add('zeni_accounts_promo_card');
@@ -181,14 +181,6 @@ exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalance
181
181
  cardsToRemove.add('zeni_accounts_promo_card');
182
182
  }
183
183
  }
184
- // remove treasury promo card if its already enabled
185
- const isUserHasTreasuryAccess = (0, userRoleType_1.hasTreasuryAccess)(userRoleMap);
186
- const isTreasuryTOSAccepted = (_0 = (_z = tenants.currentTenant.companyTreasuryInfo) === null || _z === void 0 ? void 0 : _z.info) === null || _0 === void 0 ? void 0 : _0.isTreasuryTOSAccepted;
187
- if (isTreasuryTOSAccepted === true ||
188
- isTreasuryFeatureEnabled === false ||
189
- isUserHasTreasuryAccess === false) {
190
- cardsToRemove.add('treasury_promo_card');
191
- }
192
184
  cardsCopy = cardsCopy.filter((c) => !cardsToRemove.has(c));
193
185
  const reportsInOrder = [
194
186
  cashBalance,
@@ -6,7 +6,6 @@ const toolkit_1 = require("@reduxjs/toolkit");
6
6
  exports.defaultCardsInOrder = [
7
7
  'cash_balance',
8
8
  'card_balance',
9
- 'treasury_promo_card',
10
9
  'zeni_promo_card',
11
10
  'expense_automation_card',
12
11
  'zeni_accounts_promo_card',
@@ -10,20 +10,7 @@ const fetchDashboardLayoutEpic = (actions$, _, zeniAPI) => actions$.pipe((0, ope
10
10
  .getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/webapp-preferences`)
11
11
  .pipe((0, operators_1.mergeMap)((response) => {
12
12
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data) {
13
- const cardOrder = response.data.preferences
14
- .card_order;
15
- let updatedCardOrder = cardOrder;
16
- // if treasury promo card is not in the response, add it at third position
17
- // and update in the backend
18
- if (cardOrder.includes('treasury_promo_card') === false) {
19
- updatedCardOrder = [
20
- ...cardOrder.slice(0, 2),
21
- 'treasury_promo_card',
22
- ...cardOrder.slice(2),
23
- ];
24
- return (0, rxjs_1.of)((0, dashboardLayoutReducer_1.updateDashboardLayout)(updatedCardOrder));
25
- }
26
- return (0, rxjs_1.of)((0, dashboardLayoutReducer_1.fetchDashboardLayoutSuccess)(updatedCardOrder));
13
+ return (0, rxjs_1.of)((0, dashboardLayoutReducer_1.fetchDashboardLayoutSuccess)(response.data.preferences.card_order));
27
14
  }
28
15
  else {
29
16
  const shouldCallPost = response.status.code === 404;
@@ -48,7 +48,7 @@ const refreshExpenseAutomationCurrentTabEpic = (actions$, state$) => actions$.pi
48
48
  ]);
49
49
  case 'month_end_insights':
50
50
  return (0, rxjs_1.from)([
51
- (0, companyMonthEndReportViewReducer_1.fetchCompanyMonthEndReportView)(true, companyId, currentTenant.tenantId, undefined, true),
51
+ (0, companyMonthEndReportViewReducer_1.fetchCompanyMonthEndReportView)(true, companyId, currentTenant.tenantId, undefined),
52
52
  (0, companyMonthEndReportViewReducer_1.fetchCompanyMonthEndReportTemplates)(companyId, currentTenant.tenantId),
53
53
  ]);
54
54
  case 'reconciliation': {
@@ -51,7 +51,6 @@ const markTransactionAsNotMiscategorizedEpic = (actions$, state$, zeniAPI) => ac
51
51
  ...Object.keys(failedLineItemsByTransactionId),
52
52
  ]),
53
53
  ];
54
- const allCategorizedTransactionIds = allReviewedTransactionIds.filter((transactionId) => !(transactionId in failedLineItemsByTransactionId));
55
54
  const transactionsToRemoveFromEntity = [];
56
55
  const transactionsToRemoveFromTab = [];
57
56
  const transactionsToUpdateLineItems = {};
@@ -119,8 +118,7 @@ const markTransactionAsNotMiscategorizedEpic = (actions$, state$, zeniAPI) => ac
119
118
  selectedTab,
120
119
  totalCount: updatedTotalCount,
121
120
  }));
122
- actions.push((0, snackbarReducer_1.openSnackbar)((0, transactionCategorizationLocalDataHelper_1.getSnackbarMessageForTransactionReview)(transactionsSuccess.length -
123
- allCategorizedTransactionIds.length, allFailedIds.length, allCategorizedTransactionIds.length)));
121
+ actions.push((0, snackbarReducer_1.openSnackbar)((0, transactionCategorizationLocalDataHelper_1.getSnackbarMessageForTransactionReview)(transactionsSuccess.length, allFailedIds.length, reviewedSuccess.length)));
124
122
  if (currentTenant != null) {
125
123
  actions.push((0, monthEndCloseChecksViewReducer_1.fetchMonthEndCloseChecks)({
126
124
  tenantId: currentTenant.tenantId,
@@ -1,10 +1,10 @@
1
1
  import { CurrencyPayload } from '../../../commonPayloadTypes/v2/viewAndReportPayloadv2';
2
2
  import { FluxAnalysisActionQueryType, FluxAnalysisQuerySortKey, MonthBalancePayload } from '../payload/fluxAnalysisPayload';
3
3
  import { FluxAnalysisActionType, FluxAnalysisReviewStatus, FluxAnalysisSortKey, FluxBalancesByMonth } from '../types/fluxAnalysisViewState';
4
+ export declare const TRANSACTION_VARIABLE_NAME = "_transaction_";
4
5
  export declare const TRANSACTION_COUNT_VARIABLE_NAME = "_transactions_count_";
5
- export declare const TRANSACTION_CATEGORIZED_COUNT_VARIABLE_NAME = "_categorized_count_";
6
- export declare const TRANSACTION_UPDATED_COUNT_VARIABLE_NAME = "_updated_count_";
7
- export declare const TRANSACTION_FAILED_COUNT_VARIABLE_NAME = "_failed_count_";
6
+ export declare const TRANSACTION_FAILED_COUNT_VARIABLE_NAME = "_transactions_failed_count_";
7
+ export declare const TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME = "_total_transactions_count_";
8
8
  export declare const toBalancesByMonthFromPayload: (month1: MonthBalancePayload, month2: MonthBalancePayload, currency: CurrencyPayload) => FluxBalancesByMonth;
9
9
  export declare const toVendorFluxAnalysisSortKeyPayload: (sortKey: FluxAnalysisSortKey) => FluxAnalysisQuerySortKey;
10
10
  export declare const toVendorFluxAnalysisReviewActionPayload: (actionType: FluxAnalysisActionType) => FluxAnalysisActionQueryType;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toVendorFluxAnalysisStatusFromPayload = exports.toVendorFluxAnalysisReviewActionPayload = exports.toVendorFluxAnalysisSortKeyPayload = exports.toBalancesByMonthFromPayload = exports.TRANSACTION_FAILED_COUNT_VARIABLE_NAME = exports.TRANSACTION_UPDATED_COUNT_VARIABLE_NAME = exports.TRANSACTION_CATEGORIZED_COUNT_VARIABLE_NAME = exports.TRANSACTION_COUNT_VARIABLE_NAME = void 0;
3
+ exports.toVendorFluxAnalysisStatusFromPayload = exports.toVendorFluxAnalysisReviewActionPayload = exports.toVendorFluxAnalysisSortKeyPayload = exports.toBalancesByMonthFromPayload = exports.TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME = exports.TRANSACTION_FAILED_COUNT_VARIABLE_NAME = exports.TRANSACTION_COUNT_VARIABLE_NAME = exports.TRANSACTION_VARIABLE_NAME = void 0;
4
4
  const zeniDayJS_1 = require("../../../zeniDayJS");
5
+ exports.TRANSACTION_VARIABLE_NAME = '_transaction_';
5
6
  exports.TRANSACTION_COUNT_VARIABLE_NAME = '_transactions_count_';
6
- exports.TRANSACTION_CATEGORIZED_COUNT_VARIABLE_NAME = '_categorized_count_';
7
- exports.TRANSACTION_UPDATED_COUNT_VARIABLE_NAME = '_updated_count_';
8
- exports.TRANSACTION_FAILED_COUNT_VARIABLE_NAME = '_failed_count_';
7
+ exports.TRANSACTION_FAILED_COUNT_VARIABLE_NAME = '_transactions_failed_count_';
8
+ exports.TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME = '_total_transactions_count_';
9
9
  const toBalancesByMonthFromPayload = (month1, month2, currency) => {
10
10
  var _a, _b, _c, _d;
11
11
  return {
@@ -34,12 +34,13 @@ const toTransactionUpdatesFromTransactionCategorizationLocalData = (transactionC
34
34
  let lastUpdatedClass;
35
35
  (_a = transaction.lines) === null || _a === void 0 ? void 0 : _a.forEach((line) => {
36
36
  var _a, _b, _c, _d;
37
- const currentSelectedEntityLine = transactionCategorizationLocalData.lineItemById[line.id]
38
- .selectedEntityLine;
39
- const entityDetails = getEntityDetails(currentSelectedEntity, transactionCategorizationLocalData.lineItemById[line.id], transactionCategorizationLocalData.vendorUpdates, transactionCategorizationLocalData.customerUpdates, currentSelectedEntityLine);
40
- if (line.type === 'transaction_with_account_and_class_line' ||
37
+ if ((line.type === 'transaction_with_account_and_class_line' ||
41
38
  line.type === 'transaction_with_product_or_service_line' ||
42
- line.type === 'journal_entry_transaction_line') {
39
+ line.type === 'journal_entry_transaction_line') &&
40
+ line.id in transactionCategorizationLocalData.lineItemById) {
41
+ const currentSelectedEntityLine = transactionCategorizationLocalData.lineItemById[line.id]
42
+ .selectedEntityLine;
43
+ const entityDetails = getEntityDetails(currentSelectedEntity, transactionCategorizationLocalData.lineItemById[line.id], transactionCategorizationLocalData.vendorUpdates, transactionCategorizationLocalData.customerUpdates, currentSelectedEntityLine);
43
44
  const lineItem = transactionCategorizationLocalData.lineItemById[line.id];
44
45
  updatesByLineId[line.id] = {
45
46
  lineDescription: lineItem.lineDescription,
@@ -16,8 +16,8 @@ export declare const checkIfAllLineItemsAreCategoryClassFilled: (transaction: Su
16
16
  export declare const getLineItemsByTransactionsIdsFromResponse: (transactions: SupportedTransactionPayload[]) => Record<string, string[]>;
17
17
  export declare const getLineItemsByTransactionIdsFromLocalData: (transactionLocalData: TransactionReviewLocalDataSelectorView[], selectedTab: TransactionsTab) => Record<ID, string[]>;
18
18
  export declare const mergeTabSpecificLineItems: (currentTabSpecificLineItems: TabSpecificLineItems, selectedTab: TransactionsTab, newLineItems: TabSpecificLineItems) => TabSpecificLineItems;
19
- export declare const getSnackbarMessageForTransactionReview: (updatedCount: number, failedCount: number, categorizedCount: number) => {
20
- messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "charge_card_update_limit" | "charge_cards_update_limit" | "close_charge_card" | "lock_charge_card" | "lock_charge_card_card_user" | "lock_charge_cards" | "unlock_charge_card" | "unlock_charge_card_card_user" | "unlock_charge_cards" | "close_charge_cards" | "revoke_invite_charge_cards" | "charge_card_express_interest" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "update_charge_card_name" | "update_charge_card_name_card_user" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload" | "billing_address_view" | "express_pay_submit" | "exclude_transaction" | "reconcile" | "save_reconcile_for_later" | "recon_transaction_categorize" | "recon_transaction_match" | "update_debit_card_pin_attempt" | "set_debit_card_pin" | "ai_cfo_create_session_and_submit" | "charge_card_auto_pay_enable" | "charge_card_auto_pay_disable" | "treasury_setup" | "treasury_accept_term" | "treasury_transfer_money" | "treasury_transfer_money_failed" | "treasury_update_portfolio_allocation" | "send_email_magic_link_to_user" | "complete_profile_done" | "reports_resync" | "invalid_phone_number" | "transactions_categorized_updated_failed" | "transaction_categorized_updated_failed" | "transactionsCategorized_transactionsUpdated" | "transactionsCategorized_transactionUpdated" | "transactionCategorized_transactionsUpdated" | "transactionCategorized_transactionUpdated" | "transactionsCategorized_transactionsFailed" | "transactionsCategorized_transactionFailed" | "transactionCategorized_transactionsFailed" | "transactionCategorized_transactionFailed" | "transactionsUpdated_transactionsFailed" | "transactionsUpdated_transactionFailed" | "transactionUpdated_transactionsFailed" | "transactionUpdated_transactionFailed" | "transactionsCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionsUpdated_transactionFailed" | "transactionsCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionUpdated_transactionFailed" | "transactionCategorized_transactionsUpdated_transactionFailed" | "transactionCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionUpdated_transactionFailed";
19
+ export declare const getSnackbarMessageForTransactionReview: (successCount: number, failedCount: number, reviewedSuccessCount: number) => {
20
+ messageSection: "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "transaction_categorized" | "transactions_categorized" | "transaction_updated" | "transactions_updated";
21
21
  messageText: "notification" | "failed" | "success";
22
22
  type: "error" | "success" | "info";
23
23
  variables: {
@@ -457,67 +457,85 @@ const mergeTabSpecificLineItems = (currentTabSpecificLineItems, selectedTab, new
457
457
  return tabSpecificLineItems;
458
458
  };
459
459
  exports.mergeTabSpecificLineItems = mergeTabSpecificLineItems;
460
- const getSnackbarMessageForTransactionReview = (updatedCount, failedCount, categorizedCount) => {
461
- let messageSection = 'transactions_categorized_updated_failed';
460
+ const getSnackbarMessageForTransactionReview = (successCount, failedCount, reviewedSuccessCount) => {
461
+ let messageSection = 'transaction_reviewed';
462
462
  let messageText = 'notification';
463
463
  let type = 'info';
464
464
  let variables = [];
465
- if ([categorizedCount, updatedCount, failedCount].filter(count => count > 0).length === 1) {
466
- messageSection = 'transaction_categorized_updated_failed';
467
- let transactionCount = 0;
468
- if (categorizedCount > 1 || updatedCount > 1 || failedCount > 1) {
469
- messageSection = 'transactions_categorized_updated_failed';
470
- }
471
- if (categorizedCount > 0) {
472
- type = 'success';
465
+ if (successCount === 0 && failedCount > 0) {
466
+ messageSection =
467
+ failedCount > 1 ? 'transactions_reviewed' : 'transaction_reviewed';
468
+ messageText = 'failed';
469
+ type = 'error';
470
+ variables.push({
471
+ variableName: helpers_1.TRANSACTION_COUNT_VARIABLE_NAME,
472
+ variableValue: failedCount.toString(),
473
+ });
474
+ }
475
+ else if (successCount > 0 && failedCount === 0) {
476
+ if (reviewedSuccessCount === 0) {
477
+ messageSection =
478
+ successCount > 1 ? 'transactions_updated' : 'transaction_updated';
473
479
  messageText = 'success';
474
- transactionCount = categorizedCount;
475
- }
476
- else if (updatedCount > 0) {
477
- type = 'info';
478
- messageText = 'notification';
479
- transactionCount = updatedCount;
480
+ type = 'success';
481
+ variables.push({
482
+ variableName: helpers_1.TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME,
483
+ variableValue: successCount.toString(),
484
+ });
480
485
  }
481
- else if (failedCount > 0) {
482
- type = 'error';
483
- messageText = 'failed';
484
- transactionCount = failedCount;
486
+ else {
487
+ messageSection =
488
+ reviewedSuccessCount > 1
489
+ ? 'transactions_categorized'
490
+ : 'transaction_categorized';
491
+ variables = [
492
+ {
493
+ variableName: helpers_1.TRANSACTION_COUNT_VARIABLE_NAME,
494
+ variableValue: reviewedSuccessCount.toString(),
495
+ },
496
+ {
497
+ variableName: helpers_1.TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME,
498
+ variableValue: successCount.toString(),
499
+ },
500
+ ];
485
501
  }
486
- variables = [
487
- {
488
- variableName: helpers_1.TRANSACTION_COUNT_VARIABLE_NAME,
489
- variableValue: transactionCount.toString(),
490
- },
491
- ];
492
502
  }
493
- else {
494
- const messageSectionList = [];
495
- if (categorizedCount > 0) {
496
- messageSectionList.push(categorizedCount > 1
497
- ? "transactionsCategorized"
498
- : "transactionCategorized");
499
- }
500
- if (updatedCount > 0) {
501
- messageSectionList.push(updatedCount > 1 ? "transactionsUpdated" : "transactionUpdated");
502
- }
503
- if (failedCount > 0) {
504
- messageSectionList.push(failedCount > 1 ? "transactionsFailed" : "transactionFailed");
505
- }
506
- messageSection = messageSectionList.join("_");
503
+ else if (successCount > 0 && failedCount > 0) {
507
504
  variables = [
508
505
  {
509
- variableName: helpers_1.TRANSACTION_CATEGORIZED_COUNT_VARIABLE_NAME,
510
- variableValue: categorizedCount.toString(),
511
- },
512
- {
513
- variableName: helpers_1.TRANSACTION_UPDATED_COUNT_VARIABLE_NAME,
514
- variableValue: updatedCount.toString(),
506
+ variableName: helpers_1.TRANSACTION_COUNT_VARIABLE_NAME,
507
+ variableValue: reviewedSuccessCount.toString(),
515
508
  },
516
509
  {
517
510
  variableName: helpers_1.TRANSACTION_FAILED_COUNT_VARIABLE_NAME,
518
511
  variableValue: failedCount.toString(),
519
512
  },
520
513
  ];
514
+ if (failedCount === 1 && reviewedSuccessCount === 1) {
515
+ messageSection = 'transaction_reviewed';
516
+ }
517
+ else if (failedCount === 1 && reviewedSuccessCount > 1) {
518
+ messageSection = 'transactions_reviewed_failed';
519
+ }
520
+ else if (failedCount > 1 && reviewedSuccessCount === 1) {
521
+ messageSection = 'transaction_reviewed_failed';
522
+ }
523
+ else if (failedCount > 1 && reviewedSuccessCount > 1) {
524
+ messageSection = 'transactions_reviewed';
525
+ }
526
+ else {
527
+ messageSection = 'transactions_updated';
528
+ variables = [
529
+ {
530
+ variableName: helpers_1.TRANSACTION_COUNT_VARIABLE_NAME,
531
+ variableValue: successCount.toString(),
532
+ },
533
+ {
534
+ variableName: helpers_1.TOTAL_TRANSACTIONS_COUNT_VARIABLE_NAME,
535
+ variableValue: (failedCount + successCount).toString(),
536
+ },
537
+ ];
538
+ }
521
539
  }
522
540
  return {
523
541
  messageSection,
@@ -17,7 +17,7 @@ export declare const fetchFinanceStatement: import("@reduxjs/toolkit").ActionCre
17
17
  firstMonthOfFY: Month;
18
18
  maxNumOfPeriodsToHighlight: number;
19
19
  thisPeriod: TimeframeTick;
20
- }, "financeStatement/updateFinanceStatementThisPeriod">, updateCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPayload<COABalancesRange, "financeStatement/updateCOABalancesRange">, updateSelectedReportId: import("@reduxjs/toolkit").ActionCreatorWithPayload<"cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card", "financeStatement/updateSelectedReportId">, updateFinanceStatementAdditionalBalancesSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
20
+ }, "financeStatement/updateFinanceStatementThisPeriod">, updateCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPayload<COABalancesRange, "financeStatement/updateCOABalancesRange">, updateSelectedReportId: import("@reduxjs/toolkit").ActionCreatorWithPayload<"cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card", "financeStatement/updateSelectedReportId">, updateFinanceStatementAdditionalBalancesSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
21
21
  additionalBalances: COABalanceType[];
22
22
  coaBalances: COABalance[];
23
23
  firstMonthOfFY: Month;
@@ -3,9 +3,9 @@ import { ZeniAPIStatus } from '../../responsePayload';
3
3
  import { VendorReviewViewAllRecommendationsPayload } from '../vendorReviewView/common/payload/commonTypes';
4
4
  import { GlobalMerchantViewState, GlobalRecommendationFetchSource, NewGlobalMerchantCurrentSelection } from './globalMerchantViewState';
5
5
  export declare const initialState: GlobalMerchantViewState;
6
- export declare const createGlobalMerchant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[merchantId?: string | undefined, context?: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | undefined], {
6
+ export declare const createGlobalMerchant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[merchantId?: string | undefined, context?: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | undefined], {
7
7
  merchantId: string | undefined;
8
- context: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | undefined;
8
+ context: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | undefined;
9
9
  }, "globalMerchantView/createGlobalMerchant", never, never>, createGlobalMerchantSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
10
10
  merchantId: ID;
11
11
  }, "globalMerchantView/createGlobalMerchantSuccess">, createGlobalMerchantFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -8,7 +8,7 @@ const responsePayload_1 = require("../../../responsePayload");
8
8
  const monthEndCloseChecksViewReducer_1 = require("../monthEndCloseChecksViewReducer");
9
9
  const fetchMonthEndCloseChecksEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(monthEndCloseChecksViewReducer_1.fetchMonthEndCloseChecks.match), (0, operators_1.switchMap)((action) => {
10
10
  const { period, tenantId, refreshViewInBackground } = action.payload;
11
- const month = String(period.month).padStart(2, '0');
11
+ const month = period.month < 10 ? `0${period.month}` : period.month;
12
12
  const queryParam = {
13
13
  month_and_year: `${month}-${period.year}`,
14
14
  history_month_and_year_flag: true,
@@ -1,11 +1,3 @@
1
1
  import { MonthEndCloseChecksPayload } from '../../entity/monthEndCloseChecks/monthEndCloseChecksPayload';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
3
  export type FetchMonthEndCloseChecksResponse = ZeniAPIResponse<MonthEndCloseChecksPayload>;
4
- export type MonthClosePerformanceTrendPayload = {
5
- audit_score_percentage: number;
6
- month_and_year: string;
7
- };
8
- export interface MonthClosePerformanceTrendResponsePayload {
9
- performance_trend: MonthClosePerformanceTrendPayload[];
10
- }
11
- export type FetchMonthClosePerformanceTrendResponse = ZeniAPIResponse<MonthClosePerformanceTrendResponsePayload>;
@@ -1,7 +1,6 @@
1
1
  import { FetchState, ID } from '../../commonStateTypes/common';
2
2
  import { MonthYearPeriod } from '../../commonStateTypes/timePeriod';
3
3
  import { ZeniAPIStatus } from '../../responsePayload';
4
- import { MonthClosePerformanceTrendPayload } from './monthEndCloseChecksViewPayload';
5
4
  import { MonthEndCloseChecksViewState } from './monthEndCloseChecksViewState';
6
5
  export declare const initialState: MonthEndCloseChecksViewState;
7
6
  export declare const fetchMonthEndCloseChecks: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -14,15 +13,6 @@ export declare const fetchMonthEndCloseChecks: import("@reduxjs/toolkit").Action
14
13
  refreshViewInBackground: boolean;
15
14
  tenantId: ID;
16
15
  error?: ZeniAPIStatus;
17
- }, "monthEndCloseChecksView/updateMonthEndCloseChecksView">, clearAllMonthEndCloseChecksView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"monthEndCloseChecksView/clearAllMonthEndCloseChecksView">, fetchMonthClosePerformanceTrend: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: MonthYearPeriod], {
18
- period: MonthYearPeriod;
19
- }, "monthEndCloseChecksView/fetchMonthClosePerformanceTrend", never, never>, updateMonthClosePerformanceTrend: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
20
- performanceTrend: MonthClosePerformanceTrendPayload[];
21
- period: MonthYearPeriod;
22
- }, "monthEndCloseChecksView/updateMonthClosePerformanceTrend">, updateMonthClosePerformanceTrendFetchStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
23
- fetchState: FetchState;
24
- period: MonthYearPeriod;
25
- error?: ZeniAPIStatus;
26
- }, "monthEndCloseChecksView/updateMonthClosePerformanceTrendFetchStatus">;
16
+ }, "monthEndCloseChecksView/updateMonthEndCloseChecksView">, clearAllMonthEndCloseChecksView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"monthEndCloseChecksView/clearAllMonthEndCloseChecksView">;
27
17
  declare const _default: import("redux").Reducer<MonthEndCloseChecksViewState>;
28
18
  export default _default;