@zeniai/client-epic-state 5.0.7-betaRD2 → 5.0.8-betaRD1
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.
- package/lib/commonStateTypes/animations.d.ts +1 -1
- package/lib/commonStateTypes/animations.js +1 -0
- package/lib/esm/commonStateTypes/animations.js +1 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewReducer.js +0 -3
- package/lib/esm/view/aiAccountantView/aiAccountantViewSelector.js +0 -5
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/aiAccountantView/aiAccountantViewReducer.js +0 -3
- package/lib/view/aiAccountantView/aiAccountantViewSelector.d.ts +1 -3
- package/lib/view/aiAccountantView/aiAccountantViewSelector.js +0 -5
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const toAnimationsFileName: (v: string) => "Success" | "AiAgent" | "AiIconEntry" | "AiIconExit" | "AiIconLoop" | "AiStar" | "AiStarIcon" | "AiStarPlain" | "AIPoweredInvoiceDark" | "AIPoweredInvoiceLight" | "Angry" | "AutoTransfer" | "CloseCard" | "Confetti" | "ConfettiSuccess" | "DashboardChristmasSnow" | "DashboardNewYearShow" | "DashboardSidebarBottomChristmas" | "DashboardSidebarBottomHalloween" | "DashboardSidebarBottomNewYear" | "DashboardSidebarBottomThanksgiving" | "DashboardSidebarTopChristmas" | "DashboardSidebarTopHalloween" | "DashboardSidebarTopNewYear" | "DashboardSidebarTopThanksgiving" | "Distribution" | "EarnYield" | "FastestWayDark" | "FastestWayLight" | "FinanceTeamDark" | "FinanceTeamLight" | "Happy" | "Liquidity" | "LockCard" | "MoneyTransferSuccess" | "MultiLevelApprovalDark" | "MultiLevelApprovalLight" | "NotHappy" | "Protection" | "ReceiptDark" | "ReceiptLight" | "Recurring" | "ReimburseDark" | "ReimburseLight" | "RewardsDark" | "RewardsDarkHover" | "RewardsLight" | "RewardsLightHover" | "Secure" | "Target" | "UnlockCard" | "VeryHappy" | "ZeniAssist";
|
|
1
|
+
export declare const toAnimationsFileName: (v: string) => "Success" | "AiAgent" | "AiIconEntry" | "AiIconExit" | "AiIconLoop" | "AiStar" | "AiStarIcon" | "AiStarPlain" | "AIPoweredInvoiceDark" | "AIPoweredInvoiceLight" | "Angry" | "AutoTransfer" | "CloseCard" | "Confetti" | "ConfettiSuccess" | "DashboardChristmasSnow" | "DashboardNewYearShow" | "DashboardSidebarBottomChristmas" | "DashboardSidebarBottomHalloween" | "DashboardSidebarBottomNewYear" | "DashboardSidebarBottomThanksgiving" | "DashboardSidebarTopChristmas" | "DashboardSidebarTopHalloween" | "DashboardSidebarTopNewYear" | "DashboardSidebarTopThanksgiving" | "Distribution" | "EarnYield" | "FastestWayDark" | "FastestWayLight" | "FinanceTeamDark" | "FinanceTeamLight" | "Happy" | "Liquidity" | "LockCard" | "MoneyTransferSuccess" | "MultiLevelApprovalDark" | "MultiLevelApprovalLight" | "NotHappy" | "Protection" | "ReceiptDark" | "ReceiptLight" | "Recurring" | "ReimburseDark" | "ReimburseLight" | "RewardsDark" | "RewardsDarkHover" | "RewardsLight" | "RewardsLightHover" | "Ripple" | "Secure" | "Target" | "UnlockCard" | "VeryHappy" | "ZeniAssist";
|
|
2
2
|
export type AnimationFileName = ReturnType<typeof toAnimationsFileName>;
|
|
@@ -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 ──
|