@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
@@ -1,18 +1,14 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.updateMonthClosePerformanceTrendFetchStatus = exports.updateMonthClosePerformanceTrend = exports.fetchMonthClosePerformanceTrend = exports.clearAllMonthEndCloseChecksView = exports.updateMonthEndCloseChecksView = exports.fetchMonthEndCloseChecks = exports.initialState = void 0;
4
+ exports.clearAllMonthEndCloseChecksView = exports.updateMonthEndCloseChecksView = exports.fetchMonthEndCloseChecks = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
- const formatZeniDateFY_1 = require("../../commonStateTypes/fiscalYearHelpers/formatZeniDateFY");
7
6
  const timePeriod_1 = require("../../commonStateTypes/timePeriod");
8
- const zeniDayJS_1 = require("../../zeniDayJS");
9
7
  exports.initialState = {
10
8
  monthEndCloseChecksViewByTenantId: {},
11
9
  refreshStatus: {
12
10
  fetchState: 'Not-Started',
13
11
  },
14
- monthClosePerformanceTrend: {},
15
- monthClosePerformanceTrendFetchStatus: {},
16
12
  };
17
13
  const monthEndCloseChecksView = (0, toolkit_1.createSlice)({
18
14
  name: 'monthEndCloseChecksView',
@@ -44,50 +40,10 @@ const monthEndCloseChecksView = (0, toolkit_1.createSlice)({
44
40
  draft.refreshStatus.fetchState = 'Completed';
45
41
  }
46
42
  },
47
- fetchMonthClosePerformanceTrend: {
48
- prepare(period) {
49
- return { payload: { period } };
50
- },
51
- reducer(draft, action) {
52
- const { period } = action.payload;
53
- draft.monthClosePerformanceTrendFetchStatus[(0, timePeriod_1.toMonthYearPeriodId)(period)] = {
54
- fetchState: 'In-Progress',
55
- error: undefined,
56
- };
57
- },
58
- },
59
- updateMonthClosePerformanceTrend(draft, action) {
60
- const { performanceTrend, period } = action.payload;
61
- draft.monthClosePerformanceTrend[(0, timePeriod_1.toMonthYearPeriodId)(period)] = [];
62
- performanceTrend.forEach((curr) => {
63
- const parsedDate = (0, zeniDayJS_1.date)(curr.month_and_year, formatZeniDateFY_1.MM_YYYY_FORMAT);
64
- const parsedPeriod = {
65
- month: (0, timePeriod_1.toMonth)(parsedDate.month() + 1),
66
- year: parsedDate.year(),
67
- };
68
- draft.monthClosePerformanceTrend[(0, timePeriod_1.toMonthYearPeriodId)(period)].push({
69
- auditScore: curr.audit_score_percentage,
70
- period: parsedPeriod,
71
- });
72
- });
73
- draft.monthClosePerformanceTrendFetchStatus[(0, timePeriod_1.toMonthYearPeriodId)(period)] =
74
- {
75
- fetchState: 'Completed',
76
- error: undefined,
77
- };
78
- },
79
- updateMonthClosePerformanceTrendFetchStatus(draft, action) {
80
- const { period, fetchState, error } = action.payload;
81
- draft.monthClosePerformanceTrendFetchStatus[(0, timePeriod_1.toMonthYearPeriodId)(period)] =
82
- {
83
- fetchState,
84
- error,
85
- };
86
- },
87
43
  clearAllMonthEndCloseChecksView(draft) {
88
- Object.assign(draft, exports.initialState);
44
+ draft.monthEndCloseChecksViewByTenantId = {};
89
45
  },
90
46
  },
91
47
  });
92
- _a = monthEndCloseChecksView.actions, exports.fetchMonthEndCloseChecks = _a.fetchMonthEndCloseChecks, exports.updateMonthEndCloseChecksView = _a.updateMonthEndCloseChecksView, exports.clearAllMonthEndCloseChecksView = _a.clearAllMonthEndCloseChecksView, exports.fetchMonthClosePerformanceTrend = _a.fetchMonthClosePerformanceTrend, exports.updateMonthClosePerformanceTrend = _a.updateMonthClosePerformanceTrend, exports.updateMonthClosePerformanceTrendFetchStatus = _a.updateMonthClosePerformanceTrendFetchStatus;
48
+ _a = monthEndCloseChecksView.actions, exports.fetchMonthEndCloseChecks = _a.fetchMonthEndCloseChecks, exports.updateMonthEndCloseChecksView = _a.updateMonthEndCloseChecksView, exports.clearAllMonthEndCloseChecksView = _a.clearAllMonthEndCloseChecksView;
93
49
  exports.default = monthEndCloseChecksView.reducer;
@@ -4,10 +4,7 @@ import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport
4
4
  import { MonthEndAuditSummary, MonthEndCloseChecksInfo } from '../../entity/monthEndCloseChecks/monthEndCloseChecksState';
5
5
  import { CurrentTenant } from '../../entity/tenant/tenantSelector';
6
6
  import { RootState } from '../../reducer';
7
- import { MonthClosePerformanceTrend } from './monthEndCloseChecksViewState';
8
7
  export interface MonthEndCloseChecksView extends SelectorView {
9
- monthClosePerformanceTrend: MonthClosePerformanceTrend[];
10
- monthClosePerformanceTrendFetchStatus: FetchStateAndError;
11
8
  refreshStatus: FetchStateAndError;
12
9
  selectedPeriod: MonthYearPeriod;
13
10
  monthEndCloseChecks?: MonthEndCloseChecksInfo;
@@ -40,23 +40,26 @@ const isMonthEndInsightDisabled = (currentTenant, selectedPeriod, userAllowedToA
40
40
  };
41
41
  exports.isMonthEndInsightDisabled = isMonthEndInsightDisabled;
42
42
  exports.getMonthEndCloseChecksViewByTenantId = (0, toolkit_1.createSelector)((state) => state.monthEndCloseChecksState, (state) => state.monthEndCloseChecksViewState, (state) => state.expenseAutomationViewState, (state) => (0, tenantSelector_1.getCurrentTenant)(state), (state) => state.companyState, (state) => state.tenantState, (_state, tenantId) => tenantId, (monthEndCloseChecksState, monthEndCloseChecksViewState, expenseAutomationViewState, currentTenant, companyState, tenantState, tenantId) => {
43
- var _a, _b, _c, _d, _e, _f, _g;
43
+ var _a, _b, _c;
44
44
  const { refreshStatus } = monthEndCloseChecksViewState;
45
45
  const { loggedInUser } = tenantState;
46
46
  const selectedPeriod = (_a = expenseAutomationViewState.selectedPeriodByTenantId[tenantId]) !== null && _a !== void 0 ? _a : fetchAllTenantsEpic_1.defaultMonthYearPeriod;
47
- const { monthEndCloseChecksViewByTenantId, monthClosePerformanceTrend, monthClosePerformanceTrendFetchStatus, } = monthEndCloseChecksViewState;
48
- const monthClosePerformanceTrendForSelectedPeriod = (_b = monthClosePerformanceTrend[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]) !== null && _b !== void 0 ? _b : [];
49
- const monthYearPeriodId = (0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod);
50
- const monthEndCloseChecksView = (_c = monthEndCloseChecksViewByTenantId[tenantId]) === null || _c === void 0 ? void 0 : _c[monthYearPeriodId];
51
- const monthEndCloseChecks = (0, monthEndCloseChecksSelector_1.getMonthEndCloseChecksByTenantId)(monthEndCloseChecksState, tenantId, monthYearPeriodId);
47
+ const { monthEndCloseChecksViewByTenantId } = monthEndCloseChecksViewState;
48
+ const monthYearPeriodId = selectedPeriod != null ? (0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod) : null;
49
+ const monthEndCloseChecksView = monthYearPeriodId != null
50
+ ? (_b = monthEndCloseChecksViewByTenantId[tenantId]) === null || _b === void 0 ? void 0 : _b[monthYearPeriodId]
51
+ : undefined;
52
+ const monthEndCloseChecks = monthYearPeriodId != null
53
+ ? (0, monthEndCloseChecksSelector_1.getMonthEndCloseChecksByTenantId)(monthEndCloseChecksState, tenantId, monthYearPeriodId)
54
+ : undefined;
52
55
  if (monthEndCloseChecksView != null && monthEndCloseChecks != null) {
53
56
  const sortedMonthEndCloseCheckList = [
54
57
  ...monthEndCloseChecks.monthEndCloseCheckList,
55
58
  ].sort((a, b) => b.frequency.localeCompare(a.frequency));
56
59
  const currentCompany = companyState.companiesById[currentTenant.companyId];
57
60
  const managementInfo = currentCompany === null || currentCompany === void 0 ? void 0 : currentCompany.managementInfo;
58
- const preparerUserIds = (_d = managementInfo === null || managementInfo === void 0 ? void 0 : managementInfo.preparerUserIds) !== null && _d !== void 0 ? _d : [];
59
- const isZeniUser = Boolean((_e = loggedInUser === null || loggedInUser === void 0 ? void 0 : loggedInUser.userEmail) === null || _e === void 0 ? void 0 : _e.includes('zeni.ai'));
61
+ const preparerUserIds = managementInfo != null ? managementInfo.preparerUserIds : [];
62
+ const isZeniUser = Boolean((_c = loggedInUser === null || loggedInUser === void 0 ? void 0 : loggedInUser.userEmail) === null || _c === void 0 ? void 0 : _c.includes('zeni.ai'));
60
63
  const isPreparer = loggedInUser != null && preparerUserIds.includes(loggedInUser.userId);
61
64
  const userAllowedToAccessMonthEndInsights = isZeniUser === false || isPreparer === false;
62
65
  const monthEndCloseCheckListWithDisabledState = sortedMonthEndCloseCheckList.map((check) => {
@@ -68,11 +71,8 @@ exports.getMonthEndCloseChecksViewByTenantId = (0, toolkit_1.createSelector)((st
68
71
  }
69
72
  return check;
70
73
  });
71
- return Object.assign(Object.assign({}, monthEndCloseChecksView), { fetchState: monthEndCloseChecksView.fetchState, error: monthEndCloseChecksView.error, monthEndCloseChecks: Object.assign(Object.assign({}, monthEndCloseChecks), { monthEndCloseCheckList: monthEndCloseCheckListWithDisabledState }), reportId: 'expense_automation_card', selectedPeriod,
72
- refreshStatus, monthClosePerformanceTrend: monthClosePerformanceTrendForSelectedPeriod, monthClosePerformanceTrendFetchStatus: (_f = monthClosePerformanceTrendFetchStatus[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]) !== null && _f !== void 0 ? _f : {
73
- fetchState: 'Not-Started',
74
- error: undefined,
75
- } });
74
+ return Object.assign(Object.assign({}, monthEndCloseChecksView), { monthEndCloseChecks: Object.assign(Object.assign({}, monthEndCloseChecks), { monthEndCloseCheckList: monthEndCloseCheckListWithDisabledState }), reportId: 'expense_automation_card', selectedPeriod,
75
+ refreshStatus });
76
76
  }
77
77
  return {
78
78
  fetchState: 'Not-Started',
@@ -80,10 +80,5 @@ exports.getMonthEndCloseChecksViewByTenantId = (0, toolkit_1.createSelector)((st
80
80
  reportId: 'expense_automation_card',
81
81
  selectedPeriod,
82
82
  refreshStatus,
83
- monthClosePerformanceTrend: monthClosePerformanceTrendForSelectedPeriod,
84
- monthClosePerformanceTrendFetchStatus: (_g = monthClosePerformanceTrendFetchStatus[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]) !== null && _g !== void 0 ? _g : {
85
- fetchState: 'Not-Started',
86
- error: undefined,
87
- },
88
83
  };
89
84
  });
@@ -1,12 +1,6 @@
1
1
  import { FetchStateAndError, ID } from '../../commonStateTypes/common';
2
- import { MonthYearPeriod, MonthYearPeriodId } from '../../commonStateTypes/timePeriod';
3
- export interface MonthClosePerformanceTrend {
4
- auditScore: number;
5
- period: MonthYearPeriod;
6
- }
2
+ import { MonthYearPeriodId } from '../../commonStateTypes/timePeriod';
7
3
  export interface MonthEndCloseChecksViewState {
8
- monthClosePerformanceTrend: Record<MonthYearPeriodId, MonthClosePerformanceTrend[]>;
9
- monthClosePerformanceTrendFetchStatus: Record<MonthYearPeriodId, FetchStateAndError>;
10
4
  monthEndCloseChecksViewByTenantId: Record<ID, Record<MonthYearPeriodId, FetchStateAndError>>;
11
5
  refreshStatus: FetchStateAndError;
12
6
  }
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getReimbursementCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "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";
3
+ reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "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";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  fetchState: import("../..").FetchState;
@@ -2,8 +2,8 @@ import { ReportID } from '../../commonStateTypes/viewAndReport/viewAndReport';
2
2
  import { ZeniAPIStatus } from '../../responsePayload';
3
3
  import { ReportsResyncState } from './reportsResyncState';
4
4
  export declare const initialReportsResyncState: ReportsResyncState;
5
- export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "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"], {
6
- reportIdToResync: "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";
5
+ export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "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"], {
6
+ reportIdToResync: "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";
7
7
  }, "initiateReportsResync/initiateReportsResync", never, never>, initiateReportsClassViewRefetching: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
8
8
  reportIdToResync: ReportID;
9
9
  }, "initiateReportsResync/initiateReportsClassViewRefetching">, reportsResyncSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -27,7 +27,7 @@ const fetchEditBillDetailPageEpic = (actions$, state$) => actions$.pipe((0, oper
27
27
  const isCompanyZeniAccountsSetUpDone = (_c = currentCompany === null || currentCompany === void 0 ? void 0 : currentCompany.company.companyZeniAccountInfo.isZeniAccountEnabled) !== null && _c !== void 0 ? _c : false;
28
28
  if (cacheOverride) {
29
29
  billDetailActions.push((0, accountListReducer_1.fetchAccountList)('billPayAccountList', true, true, true));
30
- billDetailActions.push((0, classListReducer_1.fetchClassList)(true));
30
+ billDetailActions.push((0, classListReducer_1.fetchClassList)());
31
31
  billDetailActions.push((0, vendorTypeListReducer_1.fetchVendorTypeList)());
32
32
  billDetailActions.push((0, ownerListReducer_1.fetchOwnerList)());
33
33
  billDetailActions.push((0, billPayConfigReducer_1.fetchBillPayConfig)(isInternationalWireEnabled));
@@ -54,8 +54,9 @@ const fetchEditBillDetailPageEpic = (actions$, state$) => actions$.pipe((0, oper
54
54
  billDetailActions.push((0, accountListReducer_1.fetchAccountList)('billPayAccountList', true, true, true));
55
55
  }
56
56
  const classList = state.classListState;
57
- if (classList.fetchState !== 'In-Progress') {
58
- billDetailActions.push((0, classListReducer_1.fetchClassList)(true));
57
+ if (classList.hasValidState() === false &&
58
+ classList.fetchState !== 'In-Progress') {
59
+ billDetailActions.push((0, classListReducer_1.fetchClassList)());
59
60
  }
60
61
  if (state.vendorTypeListState.hasValidState() === false &&
61
62
  state.vendorTypeListState.fetchState !== 'In-Progress') {
@@ -1,36 +1,22 @@
1
- import { Amount } from '../../../../commonStateTypes/amount';
2
1
  import { FetchStateAndError, FetchedState, ID } from '../../../../commonStateTypes/common';
3
2
  import { SortOrder } from '../../../../commonStateTypes/selectorTypes/sortOrderTypes';
4
3
  import { PageToken } from '../../../../commonStateTypes/viewAndReport/viewAndReport';
5
- import { ChargeCardMerchant } from '../../../../entity/chargeCardTransaction/chargeCardTransaction';
6
4
  import { Attachment } from '../../../../entity/transaction/stateTypes/attachment';
7
- import { ZeniDate } from '../../../../zeniDayJS';
8
- import { ChargeCardTransactionStatisticsPayload, RecurringExpensePayload } from './chargeCardDetailPayload';
5
+ import { ChargeCardTransactionStatisticsPayload } from './chargeCardDetailPayload';
9
6
  export declare const VISA_EOD_CORRECTION_TRANSACTION_TYPE_NAME = "Card Transaction";
10
7
  export interface ChargeCardDetailState {
11
- depositAccountLimitFetchStateByDepositAccountId: Record<ID, FetchStateAndError>;
12
8
  detailById: Record<ID, ChargeCardDetail>;
13
- recurringExpensesByChargeCardId: Record<ID, RecurringExpense[]>;
14
- recurringExpensesFetchState: FetchStateAndError;
15
- }
16
- export interface RecurringExpense {
17
- amount: Amount;
18
- merchant: ChargeCardMerchant;
19
- nextPaymentDate: ZeniDate;
20
9
  }
21
10
  interface ChargeCardDetail extends FetchedState {
22
- closeChargeCardFetchState: FetchStateAndError;
23
11
  cvvActivationWaitStatus: FetchStateAndError;
24
12
  debitCardSetPinWaitStatus: FetchStateAndError;
13
+ depositAccountLimitFetchState: FetchStateAndError;
25
14
  id: ID;
26
15
  isRefreshingViewInBackground: boolean;
27
- lockChargeCardFetchState: FetchStateAndError;
28
16
  transactionList: ChargeCardDetailTransactionList;
29
17
  transactionStatistics: TransactionStatistics;
30
18
  twoFAState: TwoFAState;
31
- unlockChargeCardFetchState: FetchStateAndError;
32
19
  updateChargeCardLimitFetchState: FetchStateAndError;
33
- updateChargeCardNameFetchState: FetchStateAndError;
34
20
  updateDebitCardPinAttemptFetchState: FetchStateAndError;
35
21
  updatePhysicalChargeCardAttemptFetchState: FetchStateAndError;
36
22
  updateStatus: FetchStateAndError;
@@ -82,5 +68,4 @@ export interface ChargeCardTransactionStatistics {
82
68
  totalNumberOfTransactionsWithReceipts: number;
83
69
  }
84
70
  export declare const mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics: (statistics: ChargeCardTransactionStatisticsPayload) => ChargeCardTransactionStatistics;
85
- export declare const mapRecurringExpensePayloadToRecurringExpense: (recurringExpense: RecurringExpensePayload) => RecurringExpense;
86
71
  export {};
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mapRecurringExpensePayloadToRecurringExpense = exports.mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics = exports.emptyChargeCardDetail = exports.initialTransactionStatistics = exports.initialTransactionAttachments = exports.toChargeCardTransactionSortKeyType = exports.VISA_EOD_CORRECTION_TRANSACTION_TYPE_NAME = void 0;
4
- const urlPayload_1 = require("../../../../commonPayloadTypes/urlPayload");
5
- const amount_1 = require("../../../../commonStateTypes/amount");
3
+ exports.mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics = exports.emptyChargeCardDetail = exports.initialTransactionStatistics = exports.initialTransactionAttachments = exports.toChargeCardTransactionSortKeyType = exports.VISA_EOD_CORRECTION_TRANSACTION_TYPE_NAME = void 0;
6
4
  const stringToUnion_1 = require("../../../../commonStateTypes/stringToUnion");
7
- const zeniDayJS_1 = require("../../../../zeniDayJS");
8
5
  exports.VISA_EOD_CORRECTION_TRANSACTION_TYPE_NAME = 'Card Transaction';
9
6
  const ALL_CHARGE_CARD_TRANSACTION_SORT_KEYS = [
10
7
  'merchant',
@@ -51,20 +48,12 @@ exports.emptyChargeCardDetail = {
51
48
  otpChallenge: undefined,
52
49
  },
53
50
  isRefreshingViewInBackground: false,
54
- id: '',
55
- updateChargeCardNameFetchState: {
56
- fetchState: 'Not-Started',
57
- error: undefined,
58
- },
59
- lockChargeCardFetchState: {
51
+ depositAccountLimitFetchState: {
60
52
  fetchState: 'Not-Started',
61
53
  error: undefined,
62
54
  },
55
+ id: '',
63
56
  fetchState: 'Not-Started',
64
- closeChargeCardFetchState: {
65
- fetchState: 'Not-Started',
66
- error: undefined,
67
- },
68
57
  cvvActivationWaitStatus: {
69
58
  fetchState: 'Not-Started',
70
59
  error: undefined,
@@ -111,10 +100,6 @@ exports.emptyChargeCardDetail = {
111
100
  error: undefined,
112
101
  },
113
102
  transactionStatistics: exports.initialTransactionStatistics,
114
- unlockChargeCardFetchState: {
115
- fetchState: 'Not-Started',
116
- error: undefined,
117
- },
118
103
  };
119
104
  const mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics = (statistics) => {
120
105
  return {
@@ -131,23 +116,3 @@ const mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics
131
116
  };
132
117
  };
133
118
  exports.mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics = mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics;
134
- const mapRecurringExpensePayloadToRecurringExpense = (recurringExpense) => {
135
- var _a;
136
- return {
137
- amount: (0, amount_1.toAmount)(recurringExpense.amount, recurringExpense.currency_code, recurringExpense.currency_symbol),
138
- nextPaymentDate: (0, zeniDayJS_1.date)(recurringExpense.next_payment_date),
139
- merchant: {
140
- name: recurringExpense.merchant.name,
141
- brandName: recurringExpense.merchant.brand_name != null
142
- ? recurringExpense.merchant.brand_name
143
- : undefined,
144
- logo: recurringExpense.merchant.logo != null
145
- ? {
146
- url: (0, urlPayload_1.toURL)(recurringExpense.merchant.logo),
147
- base64: (_a = recurringExpense.merchant.logo.base64) !== null && _a !== void 0 ? _a : undefined,
148
- }
149
- : undefined,
150
- },
151
- };
152
- };
153
- exports.mapRecurringExpensePayloadToRecurringExpense = mapRecurringExpensePayloadToRecurringExpense;
@@ -1,8 +1,7 @@
1
1
  import { AddressPayload } from '../../../../entity/address/addressPayload';
2
2
  import { ChargeCardPayload } from '../../../../entity/chargeCard/chargeCardPayload';
3
- import { ChargeCardMerchantPayload, ChargeCardTransactionPayload } from '../../../../entity/chargeCardTransaction/chargeCardTransactionPayload';
3
+ import { ChargeCardTransactionPayload } from '../../../../entity/chargeCardTransaction/chargeCardTransactionPayload';
4
4
  import { ConnectedAccountPayload } from '../../../../entity/connectedAccount/connectedAccountPayload';
5
- import { AmountPayload } from '../../../../entity/reimbursement/reimbursementPayload';
6
5
  import { AttachmentPayload } from '../../../../entity/transaction/payloadTypes/attachmentPayload';
7
6
  import { UserPayload } from '../../../../entity/user/userPayload';
8
7
  import { UserRolePayload } from '../../../../entity/userRole/userRolePayload';
@@ -46,13 +45,4 @@ export interface ChargeCardTransactionStatisticsPayload {
46
45
  total_number_of_paid_transactions: number;
47
46
  total_number_of_transactions_with_receipts: number;
48
47
  }
49
- export interface RecurringExpensePayload extends AmountPayload {
50
- merchant: ChargeCardMerchantPayload;
51
- next_payment_date: string;
52
- }
53
- interface ChargeCardRecurringExpensePayload {
54
- card_id: string;
55
- expenses: RecurringExpensePayload[];
56
- }
57
- export type FetchChargeCardRecurringExpensesResponse = ZeniAPIResponse<ChargeCardRecurringExpensePayload[]>;
58
48
  export {};
@@ -3,7 +3,7 @@ import { FetchState, ID } from '../../../../commonStateTypes/common';
3
3
  import { PageToken } from '../../../../commonStateTypes/viewAndReport/viewAndReport';
4
4
  import { AttachmentPayload } from '../../../../entity/transaction/payloadTypes/attachmentPayload';
5
5
  import { ZeniAPIStatus } from '../../../../responsePayload';
6
- import { ChargeCardDetailState, ChargeCardDetailUiState, RecurringExpense } from './chargeCardDetail';
6
+ import { ChargeCardDetailState, ChargeCardDetailUiState } from './chargeCardDetail';
7
7
  import { ChargeCardTransactionListPayload, ChargeCardTransactionStatisticsPayload } from './chargeCardDetailPayload';
8
8
  export declare const initialState: ChargeCardDetailState;
9
9
  export declare const fetchChargeCardDetailPage: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chargeCardId: string, doFetchCreditAccounts: boolean, isCreditCardEnabled: boolean, cacheOverride?: any], {
@@ -97,40 +97,11 @@ export declare const fetchChargeCardDetailPage: import("@reduxjs/toolkit").Actio
97
97
  chargeCardId: ID;
98
98
  fetchState: FetchState;
99
99
  error?: ZeniAPIStatus;
100
- }, "chargeCardDetail/updateChargeCardSpendLimitSuccessOrFailure">, updateChargeCardName: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isChargeCardAdmin: boolean, chargeCardId: string, name: string], {
101
- isChargeCardAdmin: boolean;
102
- chargeCardId: string;
103
- name: string;
104
- }, "chargeCardDetail/updateChargeCardName", never, never>, updateChargeCardNameSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
105
- chargeCardId: ID;
106
- fetchState: FetchState;
107
- error?: ZeniAPIStatus;
108
- }, "chargeCardDetail/updateChargeCardNameSuccessOrFailure">, lockChargeCard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isChargeCardAdmin: boolean, chargeCardId: string, reason?: string | undefined], {
109
- isChargeCardAdmin: boolean;
110
- chargeCardId: string;
111
- reason: string | undefined;
112
- }, "chargeCardDetail/lockChargeCard", never, never>, lockChargeCardSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
100
+ }, "chargeCardDetail/updateChargeCardSpendLimitSuccessOrFailure">, fetchDepositAccountLimit: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
113
101
  chargeCardId: ID;
114
- fetchState: FetchState;
115
- error?: ZeniAPIStatus;
116
- }, "chargeCardDetail/lockChargeCardSuccessOrFailure">, unlockChargeCard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isChargeCardAdmin: boolean, chargeCardId: string], {
117
- chargeCardId: string;
118
- isChargeCardAdmin: boolean;
119
- }, "chargeCardDetail/unlockChargeCard", never, never>, unlockChargeCardSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
120
- chargeCardId: ID;
121
- fetchState: FetchState;
122
- error?: ZeniAPIStatus;
123
- }, "chargeCardDetail/unlockChargeCardSuccessOrFailure">, closeChargeCard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chargeCardId: string, reason?: string | undefined], {
124
- chargeCardId: string;
125
- reason: string | undefined;
126
- }, "chargeCardDetail/closeChargeCard", never, never>, closeChargeCardSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
127
- chargeCardId: ID;
128
- fetchState: FetchState;
129
- error?: ZeniAPIStatus;
130
- }, "chargeCardDetail/closeChargeCardSuccessOrFailure">, fetchDepositAccountLimit: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
131
102
  depositAccountId: ID;
132
103
  }, "chargeCardDetail/fetchDepositAccountLimit">, updateDepositAccountLimitFetchStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
133
- depositAccountId: ID;
104
+ chargeCardId: ID;
134
105
  fetchState: FetchState;
135
106
  error?: ZeniAPIStatus;
136
107
  }, "chargeCardDetail/updateDepositAccountLimitFetchStatus">, fetchChargeCardTransactionStatistics: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -142,14 +113,7 @@ export declare const fetchChargeCardDetailPage: import("@reduxjs/toolkit").Actio
142
113
  chargeCardId: ID;
143
114
  fetchState: FetchState;
144
115
  error?: ZeniAPIStatus;
145
- }, "chargeCardDetail/updateChargeCardTransactionStatisticsFetchState">, fetchChargeCardsRecurringExpenses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cardIds: string[]], {
146
- cardIds: string[];
147
- }, "chargeCardDetail/fetchChargeCardsRecurringExpenses", never, never>, updateChargeCardsRecurringExpenses: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
148
- recurringExpensesByChargeCardId: Record<ID, RecurringExpense[]>;
149
- }, "chargeCardDetail/updateChargeCardsRecurringExpenses">, updateChargeCardsRecurringExpensesFetchState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
150
- fetchState: FetchState;
151
- error?: ZeniAPIStatus;
152
- }, "chargeCardDetail/updateChargeCardsRecurringExpensesFetchState">, sendOtpCardHolder: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
116
+ }, "chargeCardDetail/updateChargeCardTransactionStatisticsFetchState">, sendOtpCardHolder: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
153
117
  chargeCardId: ID;
154
118
  phone: string;
155
119
  }, "chargeCardDetail/sendOtpCardHolder">, resendOtpCardHolder: import("@reduxjs/toolkit").ActionCreatorWithPayload<{