@zeniai/client-epic-state 5.0.7-betaRD1 → 5.0.7

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.
@@ -79,9 +79,6 @@ const aiAccountantView = createSlice({
79
79
  },
80
80
  triggerAiAccountantJobSuccess(draft) {
81
81
  draft.triggerJobStatus = { fetchState: 'Completed' };
82
- // Bulk selection resets after a successful fire so checkboxes
83
- // return to an empty state along with the customer-list refresh.
84
- draft.selectedTenantIdsForJobTrigger = [];
85
82
  },
86
83
  triggerAiAccountantJobFailure(draft, action) {
87
84
  draft.triggerJobStatus = { fetchState: 'Error', error: action.payload };
@@ -27,9 +27,6 @@ export const getAiAccountantCockpitView = createSelector((state) => state.aiAcco
27
27
  // Sorting
28
28
  const sortedCustomers = getSortedCustomers(filteredCustomers, uiState.sortKey, uiState.sortOrder);
29
29
  const selectedCustomersForJobTrigger = allCustomers.filter((customer) => selectedTenantIdsForJobTrigger.includes(customer.tenantId));
30
- const unonboardedTenantIds = allCustomers
31
- .filter((customer) => customer.enrollment == null)
32
- .map((customer) => customer.tenantId);
33
30
  return {
34
31
  averageAccuracy: calcOverallAverageAccuracy(allCustomers),
35
32
  fetchState: customersFetchStatus.fetchState,
@@ -37,10 +34,8 @@ export const getAiAccountantCockpitView = createSelector((state) => state.aiAcco
37
34
  customers: sortedCustomers,
38
35
  customerViewStateByTenantId: customersByTenantId,
39
36
  selectedCustomersForJobTrigger,
40
- selectedTenantIds: selectedTenantIdsForJobTrigger,
41
37
  triggerJobStatus,
42
38
  uiState,
43
- unonboardedTenantIds,
44
39
  };
45
40
  });
46
41
  // ── Helpers ──