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