@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.
Files changed (85) hide show
  1. package/lib/entity/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
  2. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  3. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  4. package/lib/entity/task/taskPayload.d.ts +0 -1
  5. package/lib/entity/task/taskPayload.js +0 -5
  6. package/lib/entity/task/taskState.d.ts +0 -5
  7. package/lib/entity/task/taskState.js +1 -6
  8. package/lib/entity/tenant/clearAllEpic.d.ts +3 -5
  9. package/lib/entity/tenant/clearAllEpic.js +2 -6
  10. package/lib/entity/tenant/tenantReducer.js +28 -2
  11. package/lib/epic.d.ts +1 -7
  12. package/lib/epic.js +1 -7
  13. package/lib/esm/entity/snackbar/snackbarTypes.js +0 -3
  14. package/lib/esm/entity/task/taskPayload.js +1 -6
  15. package/lib/esm/entity/task/taskState.js +0 -3
  16. package/lib/esm/entity/tenant/clearAllEpic.js +2 -6
  17. package/lib/esm/entity/tenant/tenantReducer.js +28 -2
  18. package/lib/esm/epic.js +1 -7
  19. package/lib/esm/index.js +9 -15
  20. package/lib/esm/reducer.js +3 -9
  21. package/lib/esm/view/common/recurringViewHelper.js +0 -17
  22. package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
  23. package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
  24. package/lib/esm/view/taskManager/taskDetailView/taskDetail.js +0 -1
  25. package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
  26. package/lib/index.d.ts +13 -21
  27. package/lib/index.js +46 -77
  28. package/lib/reducer.d.ts +3 -9
  29. package/lib/reducer.js +3 -9
  30. package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
  31. package/lib/view/common/recurringViewHelper.d.ts +2 -3
  32. package/lib/view/common/recurringViewHelper.js +1 -18
  33. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  34. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
  35. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
  36. package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +1 -3
  37. package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -1
  38. package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +0 -1
  39. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
  40. package/package.json +1 -1
  41. package/lib/entity/creditAgent/creditAgentPayload.d.ts +0 -41
  42. package/lib/entity/creditAgent/creditAgentPayload.js +0 -40
  43. package/lib/entity/creditAgent/creditAgentReducer.d.ts +0 -9
  44. package/lib/entity/creditAgent/creditAgentReducer.js +0 -37
  45. package/lib/entity/creditAgent/creditAgentSelector.d.ts +0 -3
  46. package/lib/entity/creditAgent/creditAgentSelector.js +0 -10
  47. package/lib/entity/creditAgent/creditAgentState.d.ts +0 -39
  48. package/lib/entity/creditAgent/creditAgentState.js +0 -17
  49. package/lib/esm/entity/creditAgent/creditAgentPayload.js +0 -36
  50. package/lib/esm/entity/creditAgent/creditAgentReducer.js +0 -33
  51. package/lib/esm/entity/creditAgent/creditAgentSelector.js +0 -6
  52. package/lib/esm/entity/creditAgent/creditAgentState.js +0 -13
  53. package/lib/esm/view/creditAgentView/buildCreditReportCsv.js +0 -44
  54. package/lib/esm/view/creditAgentView/creditAgentViewPayload.js +0 -2
  55. package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +0 -183
  56. package/lib/esm/view/creditAgentView/creditAgentViewSelector.js +0 -85
  57. package/lib/esm/view/creditAgentView/creditAgentViewState.js +0 -20
  58. package/lib/esm/view/creditAgentView/epics/fetchCardProfilesEpic.js +0 -20
  59. package/lib/esm/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +0 -13
  60. package/lib/esm/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +0 -19
  61. package/lib/esm/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +0 -58
  62. package/lib/esm/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +0 -39
  63. package/lib/esm/view/creditAgentView/epics/updateCardProfileEpic.js +0 -62
  64. package/lib/view/creditAgentView/buildCreditReportCsv.d.ts +0 -17
  65. package/lib/view/creditAgentView/buildCreditReportCsv.js +0 -47
  66. package/lib/view/creditAgentView/creditAgentViewPayload.d.ts +0 -9
  67. package/lib/view/creditAgentView/creditAgentViewPayload.js +0 -7
  68. package/lib/view/creditAgentView/creditAgentViewReducer.d.ts +0 -41
  69. package/lib/view/creditAgentView/creditAgentViewReducer.js +0 -187
  70. package/lib/view/creditAgentView/creditAgentViewSelector.d.ts +0 -20
  71. package/lib/view/creditAgentView/creditAgentViewSelector.js +0 -93
  72. package/lib/view/creditAgentView/creditAgentViewState.d.ts +0 -34
  73. package/lib/view/creditAgentView/creditAgentViewState.js +0 -22
  74. package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.d.ts +0 -15
  75. package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +0 -24
  76. package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.d.ts +0 -11
  77. package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +0 -17
  78. package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.d.ts +0 -15
  79. package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +0 -23
  80. package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.d.ts +0 -29
  81. package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +0 -62
  82. package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.d.ts +0 -30
  83. package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +0 -43
  84. package/lib/view/creditAgentView/epics/updateCardProfileEpic.d.ts +0 -37
  85. 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,