@zeniai/client-epic-state 5.0.41 → 5.0.42
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/entity/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +0 -3
- package/lib/entity/task/taskPayload.d.ts +0 -1
- package/lib/entity/task/taskPayload.js +0 -5
- package/lib/entity/task/taskState.d.ts +0 -5
- package/lib/entity/task/taskState.js +1 -6
- package/lib/entity/tenant/clearAllEpic.d.ts +3 -5
- package/lib/entity/tenant/clearAllEpic.js +2 -6
- package/lib/entity/tenant/tenantReducer.js +28 -2
- package/lib/epic.d.ts +1 -7
- package/lib/epic.js +1 -7
- package/lib/esm/entity/snackbar/snackbarTypes.js +0 -3
- package/lib/esm/entity/task/taskPayload.js +1 -6
- package/lib/esm/entity/task/taskState.js +0 -3
- package/lib/esm/entity/tenant/clearAllEpic.js +2 -6
- package/lib/esm/entity/tenant/tenantReducer.js +28 -2
- package/lib/esm/epic.js +1 -7
- package/lib/esm/index.js +9 -15
- package/lib/esm/reducer.js +3 -9
- package/lib/esm/view/common/recurringViewHelper.js +0 -17
- package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
- package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
- package/lib/esm/view/taskManager/taskDetailView/taskDetail.js +0 -1
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
- package/lib/index.d.ts +13 -21
- package/lib/index.js +46 -77
- package/lib/reducer.d.ts +3 -9
- package/lib/reducer.js +3 -9
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -3
- package/lib/view/common/recurringViewHelper.js +1 -18
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
- package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +1 -3
- package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -1
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +0 -1
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
- package/package.json +1 -1
- package/lib/entity/creditAgent/creditAgentPayload.d.ts +0 -41
- package/lib/entity/creditAgent/creditAgentPayload.js +0 -40
- package/lib/entity/creditAgent/creditAgentReducer.d.ts +0 -9
- package/lib/entity/creditAgent/creditAgentReducer.js +0 -37
- package/lib/entity/creditAgent/creditAgentSelector.d.ts +0 -3
- package/lib/entity/creditAgent/creditAgentSelector.js +0 -10
- package/lib/entity/creditAgent/creditAgentState.d.ts +0 -39
- package/lib/entity/creditAgent/creditAgentState.js +0 -17
- package/lib/esm/entity/creditAgent/creditAgentPayload.js +0 -36
- package/lib/esm/entity/creditAgent/creditAgentReducer.js +0 -33
- package/lib/esm/entity/creditAgent/creditAgentSelector.js +0 -6
- package/lib/esm/entity/creditAgent/creditAgentState.js +0 -13
- package/lib/esm/view/creditAgentView/buildCreditReportCsv.js +0 -44
- package/lib/esm/view/creditAgentView/creditAgentViewPayload.js +0 -2
- package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +0 -183
- package/lib/esm/view/creditAgentView/creditAgentViewSelector.js +0 -85
- package/lib/esm/view/creditAgentView/creditAgentViewState.js +0 -20
- package/lib/esm/view/creditAgentView/epics/fetchCardProfilesEpic.js +0 -20
- package/lib/esm/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +0 -13
- package/lib/esm/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +0 -19
- package/lib/esm/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +0 -58
- package/lib/esm/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +0 -39
- package/lib/esm/view/creditAgentView/epics/updateCardProfileEpic.js +0 -62
- package/lib/view/creditAgentView/buildCreditReportCsv.d.ts +0 -17
- package/lib/view/creditAgentView/buildCreditReportCsv.js +0 -47
- package/lib/view/creditAgentView/creditAgentViewPayload.d.ts +0 -9
- package/lib/view/creditAgentView/creditAgentViewPayload.js +0 -7
- package/lib/view/creditAgentView/creditAgentViewReducer.d.ts +0 -41
- package/lib/view/creditAgentView/creditAgentViewReducer.js +0 -187
- package/lib/view/creditAgentView/creditAgentViewSelector.d.ts +0 -20
- package/lib/view/creditAgentView/creditAgentViewSelector.js +0 -93
- package/lib/view/creditAgentView/creditAgentViewState.d.ts +0 -34
- package/lib/view/creditAgentView/creditAgentViewState.js +0 -22
- package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.d.ts +0 -15
- package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +0 -24
- package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.d.ts +0 -11
- package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +0 -17
- package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.d.ts +0 -15
- package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +0 -23
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.d.ts +0 -29
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +0 -62
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.d.ts +0 -30
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +0 -43
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.d.ts +0 -37
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.js +0 -66
package/lib/reducer.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import { AccountState } from './entity/account/accountState';
|
|
|
2
2
|
import { AccountGroupState } from './entity/accountGroup/accountGroupState';
|
|
3
3
|
import { AccountReconState } from './entity/accountRecon/accountReconState';
|
|
4
4
|
import { AddressState } from './entity/address/addressState';
|
|
5
|
-
import { AiAccountantCustomerState } from './entity/aiAccountantCustomer/aiAccountantCustomerState';
|
|
6
|
-
import { CreditAgentEntityState } from './entity/creditAgent/creditAgentState';
|
|
7
5
|
import { AiCfoState } from './entity/aiCfo/aiCfoState';
|
|
8
6
|
import { ApprovalRuleState } from './entity/approvalRule/approvalRuleState';
|
|
9
7
|
import { BankAccountState } from './entity/bankAccount/bankAccount';
|
|
@@ -15,6 +13,7 @@ import { ChargeCardState } from './entity/chargeCard/chargeCard';
|
|
|
15
13
|
import { ChargeCardRepaymentState } from './entity/chargeCardRepayment/chargeCardRepayment';
|
|
16
14
|
import { ChargeCardTransactionState } from './entity/chargeCardTransaction/chargeCardTransaction';
|
|
17
15
|
import { ClassState } from './entity/class/classState';
|
|
16
|
+
import { ProjectState } from './entity/project/projectReducer';
|
|
18
17
|
import { CompanyState } from './entity/company/companyState';
|
|
19
18
|
import { CompanyHealthState } from './entity/companyHealthMetric/companyHealthMetricState';
|
|
20
19
|
import { ConnectedAccountState } from './entity/connectedAccount/connectedAccount';
|
|
@@ -39,7 +38,6 @@ import { OnboardingCustomerState } from './entity/onboardingCustomer/onboardingC
|
|
|
39
38
|
import { PaymentAccountState } from './entity/paymentAccount/paymentAccountState';
|
|
40
39
|
import { PaymentInstrumentState } from './entity/paymentInstrument/paymentInstrument';
|
|
41
40
|
import { AccountingSummaryState } from './entity/portfolio/accountingSummary/accountingSummaryState';
|
|
42
|
-
import { ProjectState } from './entity/project/projectReducer';
|
|
43
41
|
import { ReimbursementState } from './entity/reimbursement/reimbursementState';
|
|
44
42
|
import { SectionAccountsViewState } from './entity/sectionAccountsView/sectionAccountsViewState';
|
|
45
43
|
import { SectionClassesViewStateV2 } from './entity/sectionClassesViewV2/sectionClassesViewState';
|
|
@@ -68,9 +66,10 @@ import { VendorExpenseState } from './entity/vendorExpense/vendorExpenseState';
|
|
|
68
66
|
import { AccountListState } from './view/accountList/accountListState';
|
|
69
67
|
import { AccountMappingState } from './view/accountMappingView/accountMappingState';
|
|
70
68
|
import { AddressViewState } from './view/addressView/addressViewState';
|
|
71
|
-
import { AiAccountantViewState } from './view/aiAccountantView/aiAccountantViewState';
|
|
72
69
|
import { AggregatedReportViewState } from './view/aiAgentPerformance/aggregatedReportViewReducer';
|
|
73
70
|
import { AiCfoViewState } from './view/aiCfoView/aiCfoViewState';
|
|
71
|
+
import { AiAccountantCustomerState } from './entity/aiAccountantCustomer/aiAccountantCustomerState';
|
|
72
|
+
import { AiAccountantViewState } from './view/aiAccountantView/aiAccountantViewState';
|
|
74
73
|
import { ApAgingDetailState } from './view/apAgingView/apAgingDetail/apAgingDetailState';
|
|
75
74
|
import { ApAgingState } from './view/apAgingView/apAgingReport/apAgingState';
|
|
76
75
|
import { ArAgingDetailState } from './view/arAgingView/arAgingDetail/arAgingDetailState';
|
|
@@ -97,7 +96,6 @@ import { CompanyHealthMetricView } from './view/companyHealthMetricView/companyH
|
|
|
97
96
|
import { CompanyMonthEndReportViewState } from './view/companyMonthEndReportView/companyMonthEndReportViewState';
|
|
98
97
|
import { CompanyTaskManagerViewState } from './view/companyTaskManagerView/companyTaskManagerViewState';
|
|
99
98
|
import { CompanyViewState } from './view/companyView/companyViewState';
|
|
100
|
-
import { CreditAgentViewState } from './view/creditAgentView/creditAgentViewState';
|
|
101
99
|
import { DashboardState } from './view/dashboard/dashboardState';
|
|
102
100
|
import { DashboardLayoutState } from './view/dashboardLayout/dashboardLayoutState';
|
|
103
101
|
import { ExpenseAutomationViewState } from './view/expenseAutomationView/expenseAutomationViewState';
|
|
@@ -340,8 +338,6 @@ type ViewsState = {
|
|
|
340
338
|
companyTaskManagerViewState: CompanyTaskManagerViewState;
|
|
341
339
|
companyViewState: CompanyViewState;
|
|
342
340
|
countryListState: CountryListState;
|
|
343
|
-
creditAgentEntityState: CreditAgentEntityState;
|
|
344
|
-
creditAgentViewState: CreditAgentViewState;
|
|
345
341
|
dashboardLayoutState: DashboardLayoutState;
|
|
346
342
|
dashboardState: DashboardState;
|
|
347
343
|
depositAccountListState: DepositAccountListState;
|
|
@@ -499,8 +495,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
499
495
|
companyTaskManagerViewState: CompanyTaskManagerViewState;
|
|
500
496
|
companyViewState: CompanyViewState;
|
|
501
497
|
countryListState: CountryListState;
|
|
502
|
-
creditAgentEntityState: CreditAgentEntityState;
|
|
503
|
-
creditAgentViewState: CreditAgentViewState;
|
|
504
498
|
dashboardState: DashboardState;
|
|
505
499
|
dashboardLayoutState: DashboardLayoutState;
|
|
506
500
|
depositAccountListState: DepositAccountListState;
|
package/lib/reducer.js
CHANGED
|
@@ -42,8 +42,6 @@ const accountReducer_1 = __importStar(require("./entity/account/accountReducer")
|
|
|
42
42
|
const accountGroupReducer_1 = __importStar(require("./entity/accountGroup/accountGroupReducer"));
|
|
43
43
|
const accountReconReducer_1 = __importStar(require("./entity/accountRecon/accountReconReducer"));
|
|
44
44
|
const addressReducer_1 = __importStar(require("./entity/address/addressReducer"));
|
|
45
|
-
const aiAccountantCustomerReducer_1 = __importStar(require("./entity/aiAccountantCustomer/aiAccountantCustomerReducer"));
|
|
46
|
-
const creditAgentReducer_1 = __importStar(require("./entity/creditAgent/creditAgentReducer"));
|
|
47
45
|
const aiCfoReducer_1 = __importStar(require("./entity/aiCfo/aiCfoReducer"));
|
|
48
46
|
const approvalRuleReducer_1 = __importStar(require("./entity/approvalRule/approvalRuleReducer"));
|
|
49
47
|
const bankAccountReducer_1 = __importStar(require("./entity/bankAccount/bankAccountReducer"));
|
|
@@ -55,6 +53,7 @@ const chargeCardReducer_1 = __importStar(require("./entity/chargeCard/chargeCard
|
|
|
55
53
|
const chargeCardRepaymentReducer_1 = __importStar(require("./entity/chargeCardRepayment/chargeCardRepaymentReducer"));
|
|
56
54
|
const chargeCardTransactionReducer_1 = __importStar(require("./entity/chargeCardTransaction/chargeCardTransactionReducer"));
|
|
57
55
|
const classReducer_1 = __importStar(require("./entity/class/classReducer"));
|
|
56
|
+
const projectReducer_1 = __importStar(require("./entity/project/projectReducer"));
|
|
58
57
|
const companyReducer_1 = __importStar(require("./entity/company/companyReducer"));
|
|
59
58
|
const companyHealthMetricReducer_1 = __importStar(require("./entity/companyHealthMetric/companyHealthMetricReducer"));
|
|
60
59
|
const connectedAccountReducer_1 = __importStar(require("./entity/connectedAccount/connectedAccountReducer"));
|
|
@@ -79,7 +78,6 @@ const onboardingCustomerReducer_1 = __importStar(require("./entity/onboardingCus
|
|
|
79
78
|
const paymentAccountReducer_1 = __importStar(require("./entity/paymentAccount/paymentAccountReducer"));
|
|
80
79
|
const paymentInstrumentReducer_1 = __importStar(require("./entity/paymentInstrument/paymentInstrumentReducer"));
|
|
81
80
|
const accountingSummaryReducer_1 = __importStar(require("./entity/portfolio/accountingSummary/accountingSummaryReducer"));
|
|
82
|
-
const projectReducer_1 = __importStar(require("./entity/project/projectReducer"));
|
|
83
81
|
const reimbursementReducer_1 = __importStar(require("./entity/reimbursement/reimbursementReducer"));
|
|
84
82
|
const sectionAccountsViewReducer_1 = __importStar(require("./entity/sectionAccountsView/sectionAccountsViewReducer"));
|
|
85
83
|
const sectionClassesViewReducer_1 = __importStar(require("./entity/sectionClassesViewV2/sectionClassesViewReducer"));
|
|
@@ -108,9 +106,10 @@ const vendorExpenseReducer_1 = __importStar(require("./entity/vendorExpense/vend
|
|
|
108
106
|
const accountListReducer_1 = __importStar(require("./view/accountList/accountListReducer"));
|
|
109
107
|
const accountMappingReducer_1 = __importStar(require("./view/accountMappingView/accountMappingReducer"));
|
|
110
108
|
const addressViewReducer_1 = __importStar(require("./view/addressView/addressViewReducer"));
|
|
111
|
-
const aiAccountantViewReducer_1 = __importStar(require("./view/aiAccountantView/aiAccountantViewReducer"));
|
|
112
109
|
const aggregatedReportViewReducer_1 = __importStar(require("./view/aiAgentPerformance/aggregatedReportViewReducer"));
|
|
113
110
|
const aiCfoViewReducer_1 = __importStar(require("./view/aiCfoView/aiCfoViewReducer"));
|
|
111
|
+
const aiAccountantCustomerReducer_1 = __importStar(require("./entity/aiAccountantCustomer/aiAccountantCustomerReducer"));
|
|
112
|
+
const aiAccountantViewReducer_1 = __importStar(require("./view/aiAccountantView/aiAccountantViewReducer"));
|
|
114
113
|
const apAgingDetailReducer_1 = __importStar(require("./view/apAgingView/apAgingDetail/apAgingDetailReducer"));
|
|
115
114
|
const apAgingReducer_1 = __importStar(require("./view/apAgingView/apAgingReport/apAgingReducer"));
|
|
116
115
|
const arAgingDetailReducer_1 = __importStar(require("./view/arAgingView/arAgingDetail/arAgingDetailReducer"));
|
|
@@ -137,7 +136,6 @@ const companyHealthMetricViewReducer_1 = __importStar(require("./view/companyHea
|
|
|
137
136
|
const companyMonthEndReportViewReducer_1 = __importStar(require("./view/companyMonthEndReportView/companyMonthEndReportViewReducer"));
|
|
138
137
|
const companyTaskManagerViewReducer_1 = __importStar(require("./view/companyTaskManagerView/companyTaskManagerViewReducer"));
|
|
139
138
|
const companyViewReducer_1 = __importStar(require("./view/companyView/companyViewReducer"));
|
|
140
|
-
const creditAgentViewReducer_1 = __importStar(require("./view/creditAgentView/creditAgentViewReducer"));
|
|
141
139
|
const dashboardReducer_1 = __importStar(require("./view/dashboard/dashboardReducer"));
|
|
142
140
|
const dashboardLayoutReducer_1 = __importStar(require("./view/dashboardLayout/dashboardLayoutReducer"));
|
|
143
141
|
const expenseAutomationViewReducer_1 = __importStar(require("./view/expenseAutomationView/expenseAutomationViewReducer"));
|
|
@@ -382,8 +380,6 @@ const initialViewsState = {
|
|
|
382
380
|
companyTaskManagerViewState: companyTaskManagerViewReducer_1.initialState,
|
|
383
381
|
companyViewState: companyViewReducer_1.initialState,
|
|
384
382
|
countryListState: countryListReducer_1.initialState,
|
|
385
|
-
creditAgentEntityState: creditAgentReducer_1.initialCreditAgentEntityState,
|
|
386
|
-
creditAgentViewState: creditAgentViewReducer_1.initialState,
|
|
387
383
|
dashboardLayoutState: dashboardLayoutReducer_1.initialState,
|
|
388
384
|
dashboardState: dashboardReducer_1.initialState,
|
|
389
385
|
depositAccountListState: depositAccountListReducer_1.initialState,
|
|
@@ -616,8 +612,6 @@ const viewReducers = {
|
|
|
616
612
|
companyTaskManagerViewState: companyTaskManagerViewReducer_1.default,
|
|
617
613
|
companyViewState: companyViewReducer_1.default,
|
|
618
614
|
countryListState: countryListReducer_1.default,
|
|
619
|
-
creditAgentEntityState: creditAgentReducer_1.default,
|
|
620
|
-
creditAgentViewState: creditAgentViewReducer_1.default,
|
|
621
615
|
dashboardState: dashboardReducer_1.default,
|
|
622
616
|
dashboardLayoutState: dashboardLayoutReducer_1.default,
|
|
623
617
|
depositAccountListState: depositAccountListReducer_1.default,
|