@zeniai/client-epic-state 5.0.55 → 5.0.56

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 (132) hide show
  1. package/lib/commonStateTypes/recommendationBase.d.ts +1 -2
  2. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  3. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
  4. package/lib/entity/account/accountState.d.ts +1 -1
  5. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  6. package/lib/entity/class/classReducer.d.ts +4 -4
  7. package/lib/entity/class/classState.d.ts +1 -1
  8. package/lib/entity/forecast/forecastState.d.ts +1 -1
  9. package/lib/entity/project/projectPayload.d.ts +1 -8
  10. package/lib/entity/project/projectPayload.js +1 -15
  11. package/lib/entity/project/projectState.d.ts +2 -4
  12. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  13. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  14. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  15. package/lib/entity/sectionProjectView/sectionProjectView.d.ts +1 -1
  16. package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +2 -2
  17. package/lib/entity/tenant/clearAllEpic.d.ts +1 -2
  18. package/lib/entity/tenant/clearAllEpic.js +0 -2
  19. package/lib/entity/tenant/epic/deleteConnectionEpic.d.ts +1 -1
  20. package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.d.ts +1 -1
  21. package/lib/entity/tenant/epic/saveOAuthConnectionEpic.d.ts +1 -1
  22. package/lib/entity/tenant/tenantReducer.d.ts +16 -64
  23. package/lib/entity/tenant/tenantReducer.js +7 -86
  24. package/lib/entity/tenant/tenantState.d.ts +1 -3
  25. package/lib/entity/transaction/payloadTypes/transactionLinePayload.d.ts +0 -2
  26. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +0 -9
  27. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +0 -2
  28. package/lib/entity/transaction/payloadTypes/transactionPayload.js +0 -6
  29. package/lib/entity/transaction/stateTypes/transaction.d.ts +0 -2
  30. package/lib/entity/transaction/stateTypes/transactionLine.d.ts +0 -2
  31. package/lib/epic.d.ts +1 -4
  32. package/lib/epic.js +1 -5
  33. package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
  34. package/lib/esm/entity/project/projectPayload.js +0 -12
  35. package/lib/esm/entity/tenant/clearAllEpic.js +0 -2
  36. package/lib/esm/entity/tenant/tenantReducer.js +5 -84
  37. package/lib/esm/entity/transaction/payloadTypes/transactionLinePayload.js +0 -9
  38. package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js +0 -6
  39. package/lib/esm/epic.js +1 -5
  40. package/lib/esm/index.js +7 -11
  41. package/lib/esm/reducer.js +0 -3
  42. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +0 -8
  43. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +0 -3
  44. package/lib/esm/view/expenseAutomationView/helpers/saveTransactionHelper.js +0 -1
  45. package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -11
  46. package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +4 -13
  47. package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +2 -7
  48. package/lib/esm/view/expenseAutomationView/types/transactionsViewState.js +0 -1
  49. package/lib/esm/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +0 -44
  50. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +1 -1
  51. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +2 -7
  52. package/lib/esm/view/transactionDetail/epics/saveTransactionHelper.js +0 -1
  53. package/lib/esm/view/transactionDetail/epics/transactionDetailEpic.js +0 -6
  54. package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +0 -3
  55. package/lib/esm/view/transactionDetail/transactionDetailSelector.js +2 -14
  56. package/lib/esm/view/transactionList/transactionListReducer.js +2 -83
  57. package/lib/esm/view/transactionList/transactionListState.js +0 -10
  58. package/lib/index.d.ts +9 -14
  59. package/lib/index.js +30 -44
  60. package/lib/reducer.d.ts +0 -3
  61. package/lib/reducer.js +0 -3
  62. package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
  63. package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
  64. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  65. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  66. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  67. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  68. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  69. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  70. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.d.ts +1 -2
  71. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +0 -8
  72. package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +0 -3
  73. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +0 -1
  74. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -2
  75. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -11
  76. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +1 -3
  77. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +4 -13
  78. package/lib/view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes.d.ts +0 -3
  79. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +1 -6
  80. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +1 -4
  81. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -1
  82. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  83. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  84. package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.d.ts +1 -15
  85. package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +0 -45
  86. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  87. package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
  88. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +1 -1
  89. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +2 -7
  90. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  91. package/lib/view/topEx/topExSelector.d.ts +1 -1
  92. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +0 -1
  93. package/lib/view/transactionDetail/epics/transactionDetailEpic.d.ts +1 -2
  94. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +0 -6
  95. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +0 -3
  96. package/lib/view/transactionDetail/transactionDetailSelector.d.ts +0 -3
  97. package/lib/view/transactionDetail/transactionDetailSelector.js +1 -13
  98. package/lib/view/transactionDetail/transactionDetailState.d.ts +0 -2
  99. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +0 -2
  100. package/lib/view/transactionList/transactionListPayload.d.ts +0 -15
  101. package/lib/view/transactionList/transactionListReducer.d.ts +2 -25
  102. package/lib/view/transactionList/transactionListReducer.js +2 -83
  103. package/lib/view/transactionList/transactionListState.d.ts +0 -15
  104. package/lib/view/transactionList/transactionListState.js +1 -13
  105. package/package.json +1 -1
  106. package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.d.ts +0 -21
  107. package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.js +0 -42
  108. package/lib/esm/entity/tenant/epic/saveConnectorCredentialsEpic.js +0 -38
  109. package/lib/esm/view/projectList/fetchProjectListEpic.js +0 -38
  110. package/lib/esm/view/projectList/projectListPayload.js +0 -1
  111. package/lib/esm/view/projectList/projectListReducer.js +0 -39
  112. package/lib/esm/view/projectList/projectListSelector.js +0 -9
  113. package/lib/esm/view/projectList/projectListState.js +0 -1
  114. package/lib/esm/view/transactionList/fetchTransactionListByProjectEpic.js +0 -45
  115. package/lib/esm/view/transactionList/parallelFetchProjectTransactionListEpic.js +0 -32
  116. package/lib/esm/view/transactionList/transactionListByProjectSelector.js +0 -58
  117. package/lib/view/projectList/fetchProjectListEpic.d.ts +0 -8
  118. package/lib/view/projectList/fetchProjectListEpic.js +0 -42
  119. package/lib/view/projectList/projectListPayload.d.ts +0 -7
  120. package/lib/view/projectList/projectListPayload.js +0 -2
  121. package/lib/view/projectList/projectListReducer.d.ts +0 -9
  122. package/lib/view/projectList/projectListReducer.js +0 -43
  123. package/lib/view/projectList/projectListSelector.d.ts +0 -8
  124. package/lib/view/projectList/projectListSelector.js +0 -13
  125. package/lib/view/projectList/projectListState.d.ts +0 -4
  126. package/lib/view/projectList/projectListState.js +0 -2
  127. package/lib/view/transactionList/fetchTransactionListByProjectEpic.d.ts +0 -8
  128. package/lib/view/transactionList/fetchTransactionListByProjectEpic.js +0 -52
  129. package/lib/view/transactionList/parallelFetchProjectTransactionListEpic.d.ts +0 -6
  130. package/lib/view/transactionList/parallelFetchProjectTransactionListEpic.js +0 -36
  131. package/lib/view/transactionList/transactionListByProjectSelector.d.ts +0 -22
  132. package/lib/view/transactionList/transactionListByProjectSelector.js +0 -66
package/lib/reducer.d.ts CHANGED
@@ -128,7 +128,6 @@ import { PeopleState } from './view/people/peopleState';
128
128
  import { ProfitAndLossWithForecastState } from './view/profitAndLoss/profitAndLossState';
129
129
  import { ProfitAndLossClassesViewState } from './view/profitAndLossClassesView/profitAndLossClassesViewState';
130
130
  import { ProfitAndLossProjectViewState } from './view/profitAndLossProjectView/profitAndLossProjectViewState';
131
- import { ProjectListState } from './view/projectList/projectListState';
132
131
  import { EntityRecommendationState } from './view/recommendation/recommendationState';
133
132
  import { ReferralViewState } from './view/referralView/referralState';
134
133
  import { ReimbursementCardState } from './view/reimbursementCard/reimbursementCardState';
@@ -388,7 +387,6 @@ type ViewsState = {
388
387
  profitAndLossClassesViewState: ProfitAndLossClassesViewState;
389
388
  profitAndLossProjectViewState: ProfitAndLossProjectViewState;
390
389
  profitAndLossState: ProfitAndLossWithForecastState;
391
- projectListState: ProjectListState;
392
390
  realTimeApprovalState: RealTimeApprovalState;
393
391
  referralViewState: ReferralViewState;
394
392
  reimbursementCardState: ReimbursementCardState;
@@ -549,7 +547,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
549
547
  profitAndLossClassesViewState: ProfitAndLossClassesViewState;
550
548
  profitAndLossProjectViewState: ProfitAndLossProjectViewState;
551
549
  profitAndLossState: ProfitAndLossWithForecastState;
552
- projectListState: ProjectListState;
553
550
  realTimeApprovalState: RealTimeApprovalState;
554
551
  referralViewState: ReferralViewState;
555
552
  reimbursementCardState: ReimbursementCardState;
package/lib/reducer.js CHANGED
@@ -169,7 +169,6 @@ const peopleReducer_1 = __importStar(require("./view/people/peopleReducer"));
169
169
  const profitAndLossReducer_1 = __importStar(require("./view/profitAndLoss/profitAndLossReducer"));
170
170
  const profitAndLossClassesViewReducer_1 = __importStar(require("./view/profitAndLossClassesView/profitAndLossClassesViewReducer"));
171
171
  const profitAndLossProjectViewReducer_1 = __importStar(require("./view/profitAndLossProjectView/profitAndLossProjectViewReducer"));
172
- const projectListReducer_1 = __importStar(require("./view/projectList/projectListReducer"));
173
172
  const recommendationReducer_1 = __importStar(require("./view/recommendation/recommendationReducer"));
174
173
  const referralReducer_1 = __importStar(require("./view/referralView/referralReducer"));
175
174
  const reimbursementCardReducer_1 = __importStar(require("./view/reimbursementCard/reimbursementCardReducer"));
@@ -430,7 +429,6 @@ const initialViewsState = {
430
429
  profitAndLossClassesViewState: profitAndLossClassesViewReducer_1.initialState,
431
430
  profitAndLossProjectViewState: profitAndLossProjectViewReducer_1.initialState,
432
431
  profitAndLossState: profitAndLossReducer_1.initialState,
433
- projectListState: projectListReducer_1.initialState,
434
432
  realTimeApprovalState: realTimeApprovalReducer_1.initialState,
435
433
  referralViewState: referralReducer_1.initialState,
436
434
  reimbursementCardState: reimbursementCardReducer_1.initialState,
@@ -666,7 +664,6 @@ const viewReducers = {
666
664
  profitAndLossClassesViewState: profitAndLossClassesViewReducer_1.default,
667
665
  profitAndLossProjectViewState: profitAndLossProjectViewReducer_1.default,
668
666
  profitAndLossState: profitAndLossReducer_1.default,
669
- projectListState: projectListReducer_1.default,
670
667
  realTimeApprovalState: realTimeApprovalReducer_1.default,
671
668
  referralViewState: referralReducer_1.default,
672
669
  reimbursementCardState: reimbursementCardReducer_1.default,