@zeniai/client-epic-state 5.1.84 → 5.1.85-betaRD2

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 (629) hide show
  1. package/lib/coreEpics.js +1 -2
  2. package/lib/entity/account/accountReducer.js +6 -0
  3. package/lib/entity/account/accountState.d.ts +1 -1
  4. package/lib/entity/accountGroup/accountGroupReducer.js +6 -0
  5. package/lib/entity/accountRecon/accountReconReducer.js +6 -0
  6. package/lib/entity/accountRecon/accountReconState.d.ts +1 -1
  7. package/lib/entity/address/addressReducer.js +6 -0
  8. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
  9. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.d.ts +2 -2
  10. package/lib/entity/aiCfo/aiCfoReducer.js +8 -0
  11. package/lib/entity/aiCfo/aiCfoState.d.ts +2 -2
  12. package/lib/entity/approvalRule/approvalRuleReducer.js +6 -0
  13. package/lib/entity/bankAccount/bankAccountReducer.js +6 -0
  14. package/lib/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
  15. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +3 -3
  16. package/lib/entity/billPay/contact/contactReducer.js +6 -0
  17. package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
  18. package/lib/entity/cardPayment/cardPaymentReducer.js +6 -0
  19. package/lib/entity/cardPolicy/cardPolicyReducer.js +6 -0
  20. package/lib/entity/chargeCard/chargeCard.d.ts +2 -2
  21. package/lib/entity/chargeCard/chargeCardReducer.js +6 -0
  22. package/lib/entity/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
  23. package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
  24. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
  25. package/lib/entity/class/classReducer.js +6 -0
  26. package/lib/entity/company/companyReducer.js +11 -0
  27. package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
  28. package/lib/entity/connectedAccount/connectedAccountReducer.js +6 -0
  29. package/lib/entity/countryList/countryListReducer.js +6 -0
  30. package/lib/entity/creditAgent/creditAgentReducer.js +6 -0
  31. package/lib/entity/creditAgent/creditAgentState.d.ts +1 -1
  32. package/lib/entity/currency/currencyReducer.js +6 -0
  33. package/lib/entity/customer/customerReducer.js +6 -0
  34. package/lib/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
  35. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
  36. package/lib/entity/depositAccount/depositAccountReducer.js +8 -0
  37. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
  38. package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
  39. package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
  40. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +2 -2
  41. package/lib/entity/file/fileReducer.js +6 -0
  42. package/lib/entity/forecast/forecastReducer.js +6 -0
  43. package/lib/entity/genericEntity/entityReducer.js +6 -0
  44. package/lib/entity/globalMerchant/globalMerchantReducer.js +6 -0
  45. package/lib/entity/insights/insightReducer.js +6 -0
  46. package/lib/entity/invoicing/coupon/couponReducer.js +6 -0
  47. package/lib/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
  48. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
  49. package/lib/entity/invoicing/invoice/invoiceReducer.js +6 -0
  50. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
  51. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
  52. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
  53. package/lib/entity/invoicing/plan/planReducer.js +6 -0
  54. package/lib/entity/invoicing/product/productReducer.js +6 -0
  55. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  56. package/lib/entity/jeSchedules/jeSchedulesReducer.js +7 -0
  57. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +3 -3
  58. package/lib/entity/merchant/merchantReducer.js +6 -0
  59. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
  60. package/lib/entity/notification/notificationReducer.js +6 -0
  61. package/lib/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
  62. package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
  63. package/lib/entity/paymentAccount/paymentAccountReducer.js +6 -0
  64. package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
  65. package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
  66. package/lib/entity/project/projectReducer.js +6 -0
  67. package/lib/entity/reimbursement/reimbursementReducer.js +6 -0
  68. package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
  69. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
  70. package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
  71. package/lib/entity/snackbar/snackbarReducer.js +6 -0
  72. package/lib/entity/subscription/subscription/subscriptionReducer.js +6 -0
  73. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
  74. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
  75. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
  76. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
  77. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
  78. package/lib/entity/tag/tagReducer.js +6 -0
  79. package/lib/entity/task/taskReducer.js +6 -0
  80. package/lib/entity/task/taskState.d.ts +1 -1
  81. package/lib/entity/taskGroup/taskGroupReducer.js +6 -0
  82. package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
  83. package/lib/entity/taskSummary/taskSummaryReducer.js +6 -0
  84. package/lib/entity/tenant/tenantReducer.d.ts +1 -3
  85. package/lib/entity/tenant/tenantReducer.js +14 -13
  86. package/lib/entity/toastNotification/toastNotificationReducer.js +6 -0
  87. package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +1 -1
  88. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  89. package/lib/entity/transaction/transactionReducer.js +8 -0
  90. package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
  91. package/lib/entity/user/userReducer.js +6 -0
  92. package/lib/entity/userGroups/userGroupsReducer.js +6 -0
  93. package/lib/entity/userRole/userRoleReducer.js +6 -0
  94. package/lib/entity/vendor/vendorReducer.js +6 -0
  95. package/lib/entity/vendorExpense/vendorExpenseReducer.js +8 -0
  96. package/lib/epic.d.ts +1 -2
  97. package/lib/epic.js +1 -2
  98. package/lib/esm/coreEpics.js +1 -2
  99. package/lib/esm/entity/account/accountReducer.js +6 -0
  100. package/lib/esm/entity/accountGroup/accountGroupReducer.js +6 -0
  101. package/lib/esm/entity/accountRecon/accountReconReducer.js +6 -0
  102. package/lib/esm/entity/address/addressReducer.js +6 -0
  103. package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
  104. package/lib/esm/entity/aiCfo/aiCfoReducer.js +8 -0
  105. package/lib/esm/entity/approvalRule/approvalRuleReducer.js +6 -0
  106. package/lib/esm/entity/bankAccount/bankAccountReducer.js +6 -0
  107. package/lib/esm/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
  108. package/lib/esm/entity/billPay/contact/contactReducer.js +6 -0
  109. package/lib/esm/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
  110. package/lib/esm/entity/cardPayment/cardPaymentReducer.js +6 -0
  111. package/lib/esm/entity/cardPolicy/cardPolicyReducer.js +6 -0
  112. package/lib/esm/entity/chargeCard/chargeCardReducer.js +6 -0
  113. package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
  114. package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
  115. package/lib/esm/entity/class/classReducer.js +6 -0
  116. package/lib/esm/entity/company/companyReducer.js +11 -0
  117. package/lib/esm/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
  118. package/lib/esm/entity/connectedAccount/connectedAccountReducer.js +6 -0
  119. package/lib/esm/entity/countryList/countryListReducer.js +6 -0
  120. package/lib/esm/entity/creditAgent/creditAgentReducer.js +6 -0
  121. package/lib/esm/entity/currency/currencyReducer.js +6 -0
  122. package/lib/esm/entity/customer/customerReducer.js +6 -0
  123. package/lib/esm/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
  124. package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
  125. package/lib/esm/entity/depositAccount/depositAccountReducer.js +8 -0
  126. package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
  127. package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
  128. package/lib/esm/entity/file/fileReducer.js +6 -0
  129. package/lib/esm/entity/forecast/forecastReducer.js +6 -0
  130. package/lib/esm/entity/genericEntity/entityReducer.js +6 -0
  131. package/lib/esm/entity/globalMerchant/globalMerchantReducer.js +6 -0
  132. package/lib/esm/entity/insights/insightReducer.js +6 -0
  133. package/lib/esm/entity/invoicing/coupon/couponReducer.js +6 -0
  134. package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
  135. package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
  136. package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +6 -0
  137. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
  138. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
  139. package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
  140. package/lib/esm/entity/invoicing/plan/planReducer.js +6 -0
  141. package/lib/esm/entity/invoicing/product/productReducer.js +6 -0
  142. package/lib/esm/entity/jeSchedules/jeSchedulesReducer.js +7 -0
  143. package/lib/esm/entity/merchant/merchantReducer.js +6 -0
  144. package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
  145. package/lib/esm/entity/notification/notificationReducer.js +6 -0
  146. package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
  147. package/lib/esm/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
  148. package/lib/esm/entity/paymentAccount/paymentAccountReducer.js +6 -0
  149. package/lib/esm/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
  150. package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
  151. package/lib/esm/entity/project/projectReducer.js +6 -0
  152. package/lib/esm/entity/reimbursement/reimbursementReducer.js +6 -0
  153. package/lib/esm/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
  154. package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
  155. package/lib/esm/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
  156. package/lib/esm/entity/snackbar/snackbarReducer.js +6 -0
  157. package/lib/esm/entity/subscription/subscription/subscriptionReducer.js +6 -0
  158. package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
  159. package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
  160. package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
  161. package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
  162. package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
  163. package/lib/esm/entity/tag/tagReducer.js +6 -0
  164. package/lib/esm/entity/task/taskReducer.js +6 -0
  165. package/lib/esm/entity/taskGroup/taskGroupReducer.js +6 -0
  166. package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
  167. package/lib/esm/entity/taskSummary/taskSummaryReducer.js +6 -0
  168. package/lib/esm/entity/tenant/tenantReducer.js +12 -11
  169. package/lib/esm/entity/toastNotification/toastNotificationReducer.js +6 -0
  170. package/lib/esm/entity/transaction/transactionReducer.js +8 -0
  171. package/lib/esm/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
  172. package/lib/esm/entity/user/userReducer.js +6 -0
  173. package/lib/esm/entity/userGroups/userGroupsReducer.js +6 -0
  174. package/lib/esm/entity/userRole/userRoleReducer.js +6 -0
  175. package/lib/esm/entity/vendor/vendorReducer.js +6 -0
  176. package/lib/esm/entity/vendorExpense/vendorExpenseReducer.js +8 -0
  177. package/lib/esm/epic.js +1 -2
  178. package/lib/esm/index.js +2 -1
  179. package/lib/esm/rootActions.js +18 -0
  180. package/lib/esm/view/accountList/accountListReducer.js +6 -0
  181. package/lib/esm/view/accountMappingView/accountMappingReducer.js +6 -0
  182. package/lib/esm/view/addressView/addressViewReducer.js +6 -0
  183. package/lib/esm/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
  184. package/lib/esm/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
  185. package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +6 -0
  186. package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
  187. package/lib/esm/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
  188. package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
  189. package/lib/esm/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
  190. package/lib/esm/view/auditReportView/auditReportViewReducer.js +8 -0
  191. package/lib/esm/view/authenticationView/authenticationViewReducer.js +7 -0
  192. package/lib/esm/view/autoComplete/entityAutoCompleteReducer.js +7 -0
  193. package/lib/esm/view/balanceSheet/balanceSheetReducer.js +6 -0
  194. package/lib/esm/view/bankAccountView/bankAccountViewReducer.js +6 -0
  195. package/lib/esm/view/billPayCard/billPayCardReducer.js +6 -0
  196. package/lib/esm/view/cardBalance/cardBalanceReducer.js +6 -0
  197. package/lib/esm/view/cardPayment/cardPaymentViewReducer.js +6 -0
  198. package/lib/esm/view/cashBalance/cashBalanceReducer.js +6 -0
  199. package/lib/esm/view/cashFlow/cashFlowReducer.js +6 -0
  200. package/lib/esm/view/cashInCashOut/cashInCashOutReducer.js +6 -0
  201. package/lib/esm/view/cashPosition/cashPositionReducer.js +6 -0
  202. package/lib/esm/view/classList/classListReducer.js +6 -0
  203. package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
  204. package/lib/esm/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
  205. package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
  206. package/lib/esm/view/companyConfigView/companyConfigReducer.js +6 -0
  207. package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
  208. package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
  209. package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
  210. package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
  211. package/lib/esm/view/companyView/companyViewReducer.js +6 -0
  212. package/lib/esm/view/createTransferEntry/createTransferEntryReducer.js +7 -1
  213. package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +4 -0
  214. package/lib/esm/view/dashboard/dashboardReducer.js +4 -0
  215. package/lib/esm/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
  216. package/lib/esm/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
  217. package/lib/esm/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
  218. package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
  219. package/lib/esm/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
  220. package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
  221. package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
  222. package/lib/esm/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
  223. package/lib/esm/view/fileView/fileViewReducer.js +6 -0
  224. package/lib/esm/view/financeStatement/financeStatementReducer.js +6 -0
  225. package/lib/esm/view/forecastList/forecastListReducer.js +6 -0
  226. package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
  227. package/lib/esm/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
  228. package/lib/esm/view/insightsCard/insightsCardReducer.js +6 -0
  229. package/lib/esm/view/invoicing/auditView/auditViewReducer.js +6 -0
  230. package/lib/esm/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
  231. package/lib/esm/view/invoicing/couponView/couponViewReducer.js +6 -0
  232. package/lib/esm/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
  233. package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
  234. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
  235. package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
  236. package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
  237. package/lib/esm/view/invoicing/discountAction/discountActionReducer.js +6 -0
  238. package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
  239. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
  240. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
  241. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
  242. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
  243. package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
  244. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
  245. package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
  246. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
  247. package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
  248. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
  249. package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
  250. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
  251. package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
  252. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
  253. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
  254. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
  255. package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
  256. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
  257. package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
  258. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
  259. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
  260. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
  261. package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
  262. package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
  263. package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
  264. package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
  265. package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
  266. package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +6 -0
  267. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
  268. package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
  269. package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
  270. package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
  271. package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
  272. package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
  273. package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
  274. package/lib/esm/view/notificationView/notificationViewReducer.js +6 -0
  275. package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
  276. package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
  277. package/lib/esm/view/opEx/opExReducer.js +6 -0
  278. package/lib/esm/view/opExByVendor/opExByVendorReducer.js +6 -0
  279. package/lib/esm/view/opExClassesView/opExClassesViewReducer.js +6 -0
  280. package/lib/esm/view/opExProjectView/opExProjectViewReducer.js +6 -0
  281. package/lib/esm/view/ownerList/ownerListReducer.js +6 -0
  282. package/lib/esm/view/people/peopleReducer.js +6 -0
  283. package/lib/esm/view/profitAndLoss/profitAndLossReducer.js +6 -0
  284. package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
  285. package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
  286. package/lib/esm/view/projectList/projectListReducer.js +6 -0
  287. package/lib/esm/view/recommendation/recommendationReducer.js +6 -0
  288. package/lib/esm/view/referralView/referralReducer.js +6 -0
  289. package/lib/esm/view/reimbursementCard/reimbursementCardReducer.js +6 -0
  290. package/lib/esm/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
  291. package/lib/esm/view/reportsResync/reportsResyncReducer.js +6 -0
  292. package/lib/esm/view/revenue/revenueReducer.js +6 -0
  293. package/lib/esm/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
  294. package/lib/esm/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
  295. package/lib/esm/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
  296. package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
  297. package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
  298. package/lib/esm/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
  299. package/lib/esm/view/settingsView/settingsViewReducer.js +6 -0
  300. package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
  301. package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
  302. package/lib/esm/view/spendManagement/billPay/billList/billListReducer.js +6 -0
  303. package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
  304. package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
  305. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
  306. package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
  307. package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
  308. package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
  309. package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
  310. package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
  311. package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
  312. package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
  313. package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
  314. package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
  315. package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
  316. package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
  317. package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
  318. package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
  319. package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
  320. package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
  321. package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
  322. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
  323. package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
  324. package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
  325. package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
  326. package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
  327. package/lib/esm/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
  328. package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
  329. package/lib/esm/view/spendManagement/merchantList/merchantListReducer.js +6 -0
  330. package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
  331. package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
  332. package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
  333. package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
  334. package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
  335. package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
  336. package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
  337. package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
  338. package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
  339. package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
  340. package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
  341. package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
  342. package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
  343. package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
  344. package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
  345. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
  346. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
  347. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
  348. package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
  349. package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
  350. package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
  351. package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
  352. package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
  353. package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
  354. package/lib/esm/view/subscriptionView/subscriptionViewReducer.js +6 -0
  355. package/lib/esm/view/tagView/tagViewReducer.js +6 -0
  356. package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
  357. package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
  358. package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
  359. package/lib/esm/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
  360. package/lib/esm/view/taskManager/taskListView/taskListReducer.js +4 -0
  361. package/lib/esm/view/tasksCard/tasksCardReducer.js +6 -0
  362. package/lib/esm/view/topEx/topExReducer.js +6 -0
  363. package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
  364. package/lib/esm/view/transactionDetail/transactionDetailReducer.js +6 -0
  365. package/lib/esm/view/transactionList/transactionListReducer.js +6 -0
  366. package/lib/esm/view/trend/trendReducer.js +6 -0
  367. package/lib/esm/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
  368. package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
  369. package/lib/esm/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
  370. package/lib/esm/view/userGroupListView/userGroupListViewReducer.js +6 -0
  371. package/lib/esm/view/userListView/userListViewReducer.js +6 -0
  372. package/lib/esm/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
  373. package/lib/esm/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
  374. package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
  375. package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
  376. package/lib/esm/view/vendorList/vendorListReducer.js +6 -0
  377. package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
  378. package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
  379. package/lib/esm/view/vendorTabView/vendorTabViewReducer.js +6 -0
  380. package/lib/esm/view/vendorTypeList/vendorTypeListReducer.js +6 -0
  381. package/lib/esm/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
  382. package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
  383. package/lib/esm/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
  384. package/lib/index.d.ts +2 -1
  385. package/lib/index.js +2 -1
  386. package/lib/rootActions.d.ts +17 -0
  387. package/lib/rootActions.js +21 -0
  388. package/lib/view/accountList/accountListReducer.js +6 -0
  389. package/lib/view/accountMappingView/accountMappingReducer.js +6 -0
  390. package/lib/view/addressView/addressViewReducer.js +6 -0
  391. package/lib/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
  392. package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
  393. package/lib/view/aiCfoView/aiCfoViewReducer.js +6 -0
  394. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
  395. package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
  396. package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
  397. package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
  398. package/lib/view/auditReportView/auditReportViewReducer.js +8 -0
  399. package/lib/view/authenticationView/authenticationViewReducer.js +7 -0
  400. package/lib/view/autoComplete/entityAutoCompleteReducer.js +7 -0
  401. package/lib/view/balanceSheet/balanceSheetReducer.js +6 -0
  402. package/lib/view/bankAccountView/bankAccountViewReducer.js +6 -0
  403. package/lib/view/billPayCard/billPayCardReducer.js +6 -0
  404. package/lib/view/cardBalance/cardBalanceReducer.js +6 -0
  405. package/lib/view/cardPayment/cardPaymentViewReducer.js +6 -0
  406. package/lib/view/cashBalance/cashBalanceReducer.js +6 -0
  407. package/lib/view/cashFlow/cashFlowReducer.js +6 -0
  408. package/lib/view/cashInCashOut/cashInCashOutReducer.js +6 -0
  409. package/lib/view/cashPosition/cashPositionReducer.js +6 -0
  410. package/lib/view/classList/classListReducer.js +6 -0
  411. package/lib/view/common/recurringViewHelper.d.ts +2 -2
  412. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
  413. package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
  414. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
  415. package/lib/view/companyConfigView/companyConfigReducer.js +6 -0
  416. package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
  417. package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
  418. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
  419. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
  420. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
  421. package/lib/view/companyView/companyViewReducer.js +6 -0
  422. package/lib/view/companyView/types/cockpitTypes.d.ts +3 -3
  423. package/lib/view/createTransferEntry/createTransferEntryReducer.js +7 -1
  424. package/lib/view/creditAgentView/creditAgentViewReducer.js +4 -0
  425. package/lib/view/dashboard/dashboardReducer.js +4 -0
  426. package/lib/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
  427. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
  428. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
  429. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +11 -11
  430. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
  431. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
  432. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
  433. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
  434. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +1 -1
  435. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +3 -3
  436. package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +2 -2
  437. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +2 -2
  438. package/lib/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
  439. package/lib/view/fileView/fileViewReducer.js +6 -0
  440. package/lib/view/financeStatement/financeStatementReducer.js +6 -0
  441. package/lib/view/forecastList/forecastListReducer.js +6 -0
  442. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
  443. package/lib/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
  444. package/lib/view/insightsCard/insightsCardReducer.js +6 -0
  445. package/lib/view/invoicing/auditView/auditViewReducer.js +6 -0
  446. package/lib/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
  447. package/lib/view/invoicing/couponView/couponViewReducer.js +6 -0
  448. package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
  449. package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
  450. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
  451. package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
  452. package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
  453. package/lib/view/invoicing/discountAction/discountActionReducer.js +6 -0
  454. package/lib/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
  455. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
  456. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
  457. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
  458. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
  459. package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
  460. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
  461. package/lib/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
  462. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
  463. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
  464. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +1 -1
  465. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
  466. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
  467. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
  468. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
  469. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +1 -1
  470. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
  471. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
  472. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +1 -1
  473. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
  474. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
  475. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +1 -1
  476. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
  477. package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
  478. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
  479. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +1 -1
  480. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
  481. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +1 -1
  482. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
  483. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
  484. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +1 -1
  485. package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
  486. package/lib/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
  487. package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
  488. package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
  489. package/lib/view/invoicing/settingsView/settingsViewReducer.js +6 -0
  490. package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
  491. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
  492. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
  493. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
  494. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
  495. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
  496. package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +3 -3
  497. package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
  498. package/lib/view/notificationView/notificationViewReducer.d.ts +4 -4
  499. package/lib/view/notificationView/notificationViewReducer.js +6 -0
  500. package/lib/view/notificationView/notificationViewState.d.ts +2 -2
  501. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
  502. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
  503. package/lib/view/opEx/opExReducer.js +6 -0
  504. package/lib/view/opExByVendor/opExByVendorReducer.js +6 -0
  505. package/lib/view/opExByVendor/opExByVendorState.d.ts +1 -1
  506. package/lib/view/opExClassesView/opExClassesViewReducer.js +6 -0
  507. package/lib/view/opExProjectView/opExProjectViewReducer.js +6 -0
  508. package/lib/view/ownerList/ownerListReducer.js +6 -0
  509. package/lib/view/people/peopleReducer.js +6 -0
  510. package/lib/view/profitAndLoss/profitAndLossReducer.js +6 -0
  511. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
  512. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
  513. package/lib/view/projectList/projectListReducer.js +6 -0
  514. package/lib/view/recommendation/recommendationReducer.js +6 -0
  515. package/lib/view/referralView/referralReducer.js +6 -0
  516. package/lib/view/referralView/referralState.d.ts +1 -1
  517. package/lib/view/reimbursementCard/reimbursementCardReducer.js +6 -0
  518. package/lib/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
  519. package/lib/view/reportsResync/reportsResyncReducer.js +6 -0
  520. package/lib/view/revenue/revenueReducer.js +6 -0
  521. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
  522. package/lib/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
  523. package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
  524. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  525. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  526. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
  527. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  528. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
  529. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
  530. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  531. package/lib/view/settingsView/settingsViewReducer.js +6 -0
  532. package/lib/view/settingsView/settingsViewState.d.ts +1 -1
  533. package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
  534. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
  535. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
  536. package/lib/view/spendManagement/billPay/billList/billListReducer.js +6 -0
  537. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +2 -2
  538. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
  539. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
  540. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
  541. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
  542. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
  543. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
  544. package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
  545. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
  546. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
  547. package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
  548. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
  549. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
  550. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
  551. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
  552. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
  553. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
  554. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
  555. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -1
  556. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
  557. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
  558. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
  559. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
  560. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
  561. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
  562. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
  563. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
  564. package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
  565. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
  566. package/lib/view/spendManagement/merchantList/merchantListReducer.js +6 -0
  567. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
  568. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
  569. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
  570. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
  571. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
  572. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  573. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
  574. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
  575. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
  576. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
  577. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
  578. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
  579. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
  580. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
  581. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
  582. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
  583. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
  584. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
  585. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
  586. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
  587. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
  588. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
  589. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
  590. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
  591. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
  592. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
  593. package/lib/view/subscriptionView/subscriptionViewReducer.js +6 -0
  594. package/lib/view/tagView/tagViewReducer.js +6 -0
  595. package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
  596. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
  597. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
  598. package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
  599. package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
  600. package/lib/view/taskManager/taskListView/taskListReducer.js +4 -0
  601. package/lib/view/tasksCard/tasksCardReducer.js +6 -0
  602. package/lib/view/topEx/topExReducer.js +6 -0
  603. package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
  604. package/lib/view/transactionDetail/journalEntryLinesViewModel.d.ts +1 -1
  605. package/lib/view/transactionDetail/transactionDetailReducer.js +6 -0
  606. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  607. package/lib/view/transactionList/transactionListReducer.js +6 -0
  608. package/lib/view/trend/trendReducer.js +6 -0
  609. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
  610. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
  611. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
  612. package/lib/view/userGroupListView/userGroupListViewReducer.js +6 -0
  613. package/lib/view/userListView/userListViewReducer.js +6 -0
  614. package/lib/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
  615. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
  616. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
  617. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
  618. package/lib/view/vendorList/vendorListReducer.js +6 -0
  619. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
  620. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
  621. package/lib/view/vendorTabView/vendorTabViewReducer.js +6 -0
  622. package/lib/view/vendorTypeList/vendorTypeListReducer.js +6 -0
  623. package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
  624. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
  625. package/lib/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
  626. package/package.json +1 -1
  627. package/lib/entity/tenant/clearAllEpic.d.ts +0 -287
  628. package/lib/entity/tenant/clearAllEpic.js +0 -584
  629. package/lib/esm/entity/tenant/clearAllEpic.js +0 -580
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.updateRetryBankAccountConnectionForOnboardingSuccess = exports.updateRetryBankAccountConnectionForOnboardingFailure = exports.retryBankAccountConnectionForOnboarding = exports.sendOnboardingCustomerViewInviteFailure = exports.sendOnboardingCustomerViewInviteSuccess = exports.sendOnboardingCustomerViewInvite = exports.resetNewOnboardedCustomerId = exports.clearOnboardingCockpitView = exports.updateCustomerLocalStoreInitStateOnFailure = exports.updateOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerDataInLocalStore = exports.updateOnboardingUserInfo = exports.saveOnboardingCustomerNotesOnFailure = exports.saveOnboardingCustomerNotesOnSuccess = exports.saveOnboardingCustomerNotes = exports.updateStatusAfterOnboardingCompleted = exports.updateOnboardingCustomerListUIState = exports.updateOnboardingTenantIdsByCompanyIds = exports.saveOnboardingCustomerCompletedStatusOnFailure = exports.saveOnboardingCustomerCompletedStatusOnSuccess = exports.saveOnboardingCustomerCompletedStatus = exports.updateCustomerCreationStatus = exports.saveOnboardingCustomerViewUpdatesFailure = exports.saveOnboardingCustomerViewUpdatesSuccess = exports.saveOnboardingCustomerViewUpdates = exports.clearOnboardingCustomerViewUpdateData = exports.saveOnboardingCustomerViewUpdateData = exports.initializeOnboardingCustomerViewUpdateData = exports.updateOnboardingEmailGroupOnFailure = exports.updateOnboardingEmailGroupOnSuccess = exports.getOnboardingEmailGroup = exports.updateOnboardingCompletedCompaniesOnFailure = exports.updateOnboardingCompletedCompaniesOnSuccess = exports.updateQBOConnectionPoolExternalConnectionOnFailure = exports.updateQBOConnectionPoolExternalConnectionOnSuccess = exports.updateQBOConnectionPoolExternalConnection = exports.updateQBOConnectionPoolOnFailure = exports.updateQBOConnectionPoolOnSuccess = exports.fetchQBOConnectionPool = exports.updateCompanyOnboardingViewOnFailure = exports.updateCompanyOnboardingViewOnSuccess = exports.fetchOnboardingCompletedCompanies = exports.fetchCompanyOnboardingView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../../rootActions");
6
7
  exports.initialState = {
7
8
  emailGroupFetchState: {
8
9
  fetchState: 'Not-Started',
@@ -592,6 +593,11 @@ const onboardingCockpitView = (0, toolkit_1.createSlice)({
592
593
  Object.assign(draft, exports.initialState);
593
594
  },
594
595
  },
596
+ extraReducers: (builder) => {
597
+ builder.addCase(rootActions_1.clearAll, (draft) => {
598
+ Object.assign(draft, exports.initialState);
599
+ });
600
+ },
595
601
  });
596
602
  _a = onboardingCockpitView.actions, exports.fetchCompanyOnboardingView = _a.fetchCompanyOnboardingView, exports.fetchOnboardingCompletedCompanies = _a.fetchOnboardingCompletedCompanies, exports.updateCompanyOnboardingViewOnSuccess = _a.updateCompanyOnboardingViewOnSuccess, exports.updateCompanyOnboardingViewOnFailure = _a.updateCompanyOnboardingViewOnFailure, exports.fetchQBOConnectionPool = _a.fetchQBOConnectionPool, exports.updateQBOConnectionPoolOnSuccess = _a.updateQBOConnectionPoolOnSuccess, exports.updateQBOConnectionPoolOnFailure = _a.updateQBOConnectionPoolOnFailure, exports.updateQBOConnectionPoolExternalConnection = _a.updateQBOConnectionPoolExternalConnection, exports.updateQBOConnectionPoolExternalConnectionOnSuccess = _a.updateQBOConnectionPoolExternalConnectionOnSuccess, exports.updateQBOConnectionPoolExternalConnectionOnFailure = _a.updateQBOConnectionPoolExternalConnectionOnFailure, exports.updateOnboardingCompletedCompaniesOnSuccess = _a.updateOnboardingCompletedCompaniesOnSuccess, exports.updateOnboardingCompletedCompaniesOnFailure = _a.updateOnboardingCompletedCompaniesOnFailure, exports.getOnboardingEmailGroup = _a.getOnboardingEmailGroup, exports.updateOnboardingEmailGroupOnSuccess = _a.updateOnboardingEmailGroupOnSuccess, exports.updateOnboardingEmailGroupOnFailure = _a.updateOnboardingEmailGroupOnFailure, exports.initializeOnboardingCustomerViewUpdateData = _a.initializeOnboardingCustomerViewUpdateData, exports.saveOnboardingCustomerViewUpdateData = _a.saveOnboardingCustomerViewUpdateData, exports.clearOnboardingCustomerViewUpdateData = _a.clearOnboardingCustomerViewUpdateData, exports.saveOnboardingCustomerViewUpdates = _a.saveOnboardingCustomerViewUpdates, exports.saveOnboardingCustomerViewUpdatesSuccess = _a.saveOnboardingCustomerViewUpdatesSuccess, exports.saveOnboardingCustomerViewUpdatesFailure = _a.saveOnboardingCustomerViewUpdatesFailure, exports.updateCustomerCreationStatus = _a.updateCustomerCreationStatus, exports.saveOnboardingCustomerCompletedStatus = _a.saveOnboardingCustomerCompletedStatus, exports.saveOnboardingCustomerCompletedStatusOnSuccess = _a.saveOnboardingCustomerCompletedStatusOnSuccess, exports.saveOnboardingCustomerCompletedStatusOnFailure = _a.saveOnboardingCustomerCompletedStatusOnFailure, exports.updateOnboardingTenantIdsByCompanyIds = _a.updateOnboardingTenantIdsByCompanyIds, exports.updateOnboardingCustomerListUIState = _a.updateOnboardingCustomerListUIState, exports.updateStatusAfterOnboardingCompleted = _a.updateStatusAfterOnboardingCompleted, exports.saveOnboardingCustomerNotes = _a.saveOnboardingCustomerNotes, exports.saveOnboardingCustomerNotesOnSuccess = _a.saveOnboardingCustomerNotesOnSuccess, exports.saveOnboardingCustomerNotesOnFailure = _a.saveOnboardingCustomerNotesOnFailure, exports.updateOnboardingUserInfo = _a.updateOnboardingUserInfo, exports.saveOnboardingCustomerDataInLocalStore = _a.saveOnboardingCustomerDataInLocalStore, exports.updateOnboardingCustomerDataInLocalStore = _a.updateOnboardingCustomerDataInLocalStore, exports.updateCustomerLocalStoreInitStateOnFailure = _a.updateCustomerLocalStoreInitStateOnFailure, exports.clearOnboardingCockpitView = _a.clearOnboardingCockpitView, exports.resetNewOnboardedCustomerId = _a.resetNewOnboardedCustomerId, exports.sendOnboardingCustomerViewInvite = _a.sendOnboardingCustomerViewInvite, exports.sendOnboardingCustomerViewInviteSuccess = _a.sendOnboardingCustomerViewInviteSuccess, exports.sendOnboardingCustomerViewInviteFailure = _a.sendOnboardingCustomerViewInviteFailure, exports.retryBankAccountConnectionForOnboarding = _a.retryBankAccountConnectionForOnboarding, exports.updateRetryBankAccountConnectionForOnboardingFailure = _a.updateRetryBankAccountConnectionForOnboardingFailure, exports.updateRetryBankAccountConnectionForOnboardingSuccess = _a.updateRetryBankAccountConnectionForOnboardingSuccess;
597
603
  exports.default = onboardingCockpitView.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.verifyOnboardingOfficerOtpSuccess = exports.verifyOnboardingOfficerOtp = exports.resendOnboardingOfficerOtp = exports.sendOnboardingOfficerOtpFailure = exports.sendOnboardingOfficerOtpSuccess = exports.sendOnboardingOfficerOtp = exports.updateOnboardingCustomerViewUIState = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = exports.saveOnboardingCustomerViewDataInLocalStore = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerViewAccountDetails = exports.updateCurrentSubStep = exports.updateCurrentStep = exports.getOnboardingPlaidLinkTokenFailure = exports.getOnboardingPlaidLinkTokenSuccess = exports.getOnboardingPlaidLinkToken = exports.establishOnboardingPlaidConnectionFailure = exports.establishOnboardingPlaidConnectionSuccess = exports.establishOnboardingPlaidConnection = exports.updateOnboardingPaymentAccountLoginStatusFailure = exports.updateOnboardingPaymentAccountLoginStatusSuccess = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingPaymentAccountStatusFailure = exports.updateOnboardingPaymentAccountStatusSuccess = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingCustomerViewFailure = exports.updateOnboardingCustomerViewSuccess = exports.updateOnboardingCustomerView = exports.updateOnboardingCustomerViewDashboardLoadedFailure = exports.updateOnboardingCustomerViewDashboardLoadedSuccess = exports.updateOnboardingCustomerViewDashboardLoaded = exports.aiAgentsActivationPhaseChanged = exports.aiAgentsActivationCountsUpdated = exports.fetchAiAgentsActivationStatusFailure = exports.fetchAiAgentsActivationStatusSuccess = exports.fetchAiAgentsActivationStatus = exports.acknowledgeOnboardingAiActivationViewedFailure = exports.acknowledgeOnboardingAiActivationViewedSuccess = exports.acknowledgeOnboardingAiActivationViewed = exports.acknowledgeOnboardingAiFinanceTeamFailure = exports.acknowledgeOnboardingAiFinanceTeamSuccess = exports.acknowledgeOnboardingAiFinanceTeam = exports.updateOnboardingCustomerViewCompleteStatusFailure = exports.updateOnboardingCustomerViewCompleteStatusSuccess = exports.updateOnboardingCustomerViewCompleteStatus = exports.fetchOnboardingCustomerSetupViewFailure = exports.fetchOnboardingCustomerSetupViewSuccess = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.initialState = void 0;
5
5
  exports.clearKycKybAutofillForOnboarding = exports.applyKybDocumentAutofillForOnboarding = exports.applyKycDocumentAutofillForOnboarding = exports.clearOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.verifyOnboardingOfficerOtpFailure = void 0;
6
6
  const toolkit_1 = require("@reduxjs/toolkit");
7
+ const rootActions_1 = require("../../../rootActions");
7
8
  const zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  const kycKybAutofillActions_1 = require("../../spendManagement/commonSetup/kycKybAutofillActions");
9
10
  const onboardingCustomerViewState_1 = require("./onboardingCustomerViewState");
@@ -769,6 +770,9 @@ const onboardingCustomerView = (0, toolkit_1.createSlice)({
769
770
  removeParsingFileId(draft, action.payload.fileId);
770
771
  }
771
772
  });
773
+ builder.addCase(rootActions_1.clearAll, (draft) => {
774
+ Object.assign(draft, exports.initialState);
775
+ });
772
776
  },
773
777
  });
774
778
  _a = onboardingCustomerView.actions, exports.fetchOnboardingCustomerView = _a.fetchOnboardingCustomerView, exports.fetchOnboardingCustomerSetupView = _a.fetchOnboardingCustomerSetupView, exports.fetchOnboardingCustomerSetupViewSuccess = _a.fetchOnboardingCustomerSetupViewSuccess, exports.fetchOnboardingCustomerSetupViewFailure = _a.fetchOnboardingCustomerSetupViewFailure, exports.updateOnboardingCustomerViewCompleteStatus = _a.updateOnboardingCustomerViewCompleteStatus, exports.updateOnboardingCustomerViewCompleteStatusSuccess = _a.updateOnboardingCustomerViewCompleteStatusSuccess, exports.updateOnboardingCustomerViewCompleteStatusFailure = _a.updateOnboardingCustomerViewCompleteStatusFailure, exports.acknowledgeOnboardingAiFinanceTeam = _a.acknowledgeOnboardingAiFinanceTeam, exports.acknowledgeOnboardingAiFinanceTeamSuccess = _a.acknowledgeOnboardingAiFinanceTeamSuccess, exports.acknowledgeOnboardingAiFinanceTeamFailure = _a.acknowledgeOnboardingAiFinanceTeamFailure, exports.acknowledgeOnboardingAiActivationViewed = _a.acknowledgeOnboardingAiActivationViewed, exports.acknowledgeOnboardingAiActivationViewedSuccess = _a.acknowledgeOnboardingAiActivationViewedSuccess, exports.acknowledgeOnboardingAiActivationViewedFailure = _a.acknowledgeOnboardingAiActivationViewedFailure, exports.fetchAiAgentsActivationStatus = _a.fetchAiAgentsActivationStatus, exports.fetchAiAgentsActivationStatusSuccess = _a.fetchAiAgentsActivationStatusSuccess, exports.fetchAiAgentsActivationStatusFailure = _a.fetchAiAgentsActivationStatusFailure, exports.aiAgentsActivationCountsUpdated = _a.aiAgentsActivationCountsUpdated, exports.aiAgentsActivationPhaseChanged = _a.aiAgentsActivationPhaseChanged, exports.updateOnboardingCustomerViewDashboardLoaded = _a.updateOnboardingCustomerViewDashboardLoaded, exports.updateOnboardingCustomerViewDashboardLoadedSuccess = _a.updateOnboardingCustomerViewDashboardLoadedSuccess, exports.updateOnboardingCustomerViewDashboardLoadedFailure = _a.updateOnboardingCustomerViewDashboardLoadedFailure, exports.updateOnboardingCustomerView = _a.updateOnboardingCustomerView, exports.updateOnboardingCustomerViewSuccess = _a.updateOnboardingCustomerViewSuccess, exports.updateOnboardingCustomerViewFailure = _a.updateOnboardingCustomerViewFailure, exports.updateOnboardingPaymentAccountStatus = _a.updateOnboardingPaymentAccountStatus, exports.updateOnboardingPaymentAccountStatusSuccess = _a.updateOnboardingPaymentAccountStatusSuccess, exports.updateOnboardingPaymentAccountStatusFailure = _a.updateOnboardingPaymentAccountStatusFailure, exports.updateOnboardingPaymentAccountLoginStatus = _a.updateOnboardingPaymentAccountLoginStatus, exports.updateOnboardingPaymentAccountLoginStatusSuccess = _a.updateOnboardingPaymentAccountLoginStatusSuccess, exports.updateOnboardingPaymentAccountLoginStatusFailure = _a.updateOnboardingPaymentAccountLoginStatusFailure, exports.establishOnboardingPlaidConnection = _a.establishOnboardingPlaidConnection, exports.establishOnboardingPlaidConnectionSuccess = _a.establishOnboardingPlaidConnectionSuccess, exports.establishOnboardingPlaidConnectionFailure = _a.establishOnboardingPlaidConnectionFailure, exports.getOnboardingPlaidLinkToken = _a.getOnboardingPlaidLinkToken, exports.getOnboardingPlaidLinkTokenSuccess = _a.getOnboardingPlaidLinkTokenSuccess, exports.getOnboardingPlaidLinkTokenFailure = _a.getOnboardingPlaidLinkTokenFailure, exports.updateCurrentStep = _a.updateCurrentStep, exports.updateCurrentSubStep = _a.updateCurrentSubStep, exports.updateOnboardingCustomerViewAccountDetails = _a.updateOnboardingCustomerViewAccountDetails, exports.updateOnboardingCustomerViewLocalStoreData = _a.updateOnboardingCustomerViewLocalStoreData, exports.saveOnboardingCustomerViewDataInLocalStore = _a.saveOnboardingCustomerViewDataInLocalStore, exports.saveOnboardingCompnayOfficerPhoneInLocalStore = _a.saveOnboardingCompnayOfficerPhoneInLocalStore, exports.updateOnboardingCustomerViewUIState = _a.updateOnboardingCustomerViewUIState, exports.sendOnboardingOfficerOtp = _a.sendOnboardingOfficerOtp, exports.sendOnboardingOfficerOtpSuccess = _a.sendOnboardingOfficerOtpSuccess, exports.sendOnboardingOfficerOtpFailure = _a.sendOnboardingOfficerOtpFailure, exports.resendOnboardingOfficerOtp = _a.resendOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtp = _a.verifyOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtpSuccess = _a.verifyOnboardingOfficerOtpSuccess, exports.verifyOnboardingOfficerOtpFailure = _a.verifyOnboardingOfficerOtpFailure, exports.clearOnboardingCustomerViewDataInLocalStore = _a.clearOnboardingCustomerViewDataInLocalStore, exports.clearOnboardingCustomerView = _a.clearOnboardingCustomerView, exports.applyKycDocumentAutofillForOnboarding = _a.applyKycDocumentAutofillForOnboarding, exports.applyKybDocumentAutofillForOnboarding = _a.applyKybDocumentAutofillForOnboarding, exports.clearKycKybAutofillForOnboarding = _a.clearKycKybAutofillForOnboarding;
@@ -9,6 +9,7 @@ const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndRep
9
9
  const dataAvailable_1 = require("../../commonStateTypes/dataAvailable");
10
10
  const thisPeriodHelpers_1 = require("../../commonStateTypes/viewAndReport/thisPeriodHelpers");
11
11
  const insightSummaryPayload_1 = require("../../entity/insights/insightSummaryPayload");
12
+ const rootActions_1 = require("../../rootActions");
12
13
  const zeniDayJS_1 = require("../../zeniDayJS");
13
14
  const getSelectedAndHighlightedRanges_1 = require("../common/getSelectedAndHighlightedRanges");
14
15
  exports.defaultPeriods = {
@@ -337,6 +338,11 @@ const operatingExpenses = (0, toolkit_1.createSlice)({
337
338
  }
338
339
  },
339
340
  },
341
+ extraReducers: (builder) => {
342
+ builder.addCase(rootActions_1.clearAll, (draft) => {
343
+ Object.assign(draft, exports.initialState);
344
+ });
345
+ },
340
346
  });
341
347
  _a = operatingExpenses.actions, exports.fetchOpEx = _a.fetchOpEx, exports.fetchOpExReportForTimeframe = _a.fetchOpExReportForTimeframe, exports.updateOpExForTimeframe = _a.updateOpExForTimeframe, exports.updateOpExFailureForTimeframe = _a.updateOpExFailureForTimeframe, exports.clearOpEx = _a.clearOpEx, exports.updateOpExCOABalancesRange = _a.updateOpExCOABalancesRange, exports.updateOpExAdditionalBalancesSelection = _a.updateOpExAdditionalBalancesSelection, exports.updateOpExThisPeriod = _a.updateOpExThisPeriod, exports.updateOpExDownloadState = _a.updateOpExDownloadState, exports.updateOpExUIState = _a.updateOpExUIState, exports.opExToggleForecastMode = _a.opExToggleForecastMode, exports.fetchOpExWithForecast = _a.fetchOpExWithForecast, exports.waitForForecastListThenFetchOpExWithForecast = _a.waitForForecastListThenFetchOpExWithForecast, exports.updateOpExTimeFrame = _a.updateOpExTimeFrame;
342
348
  exports.default = operatingExpenses.reducer;
@@ -5,6 +5,7 @@ exports.refreshOpExByVendorReportFailure = exports.refreshOpExByVendorReportSucc
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const coaBalancePayload_1 = require("../../commonPayloadTypes/v2/coaBalancePayload");
7
7
  const viewAndReportPayload_1 = require("../../commonPayloadTypes/viewAndReportPayload");
8
+ const rootActions_1 = require("../../rootActions");
8
9
  const zeniDayJS_1 = require("../../zeniDayJS");
9
10
  const opExByVendorState_1 = require("./opExByVendorState");
10
11
  exports.defaultTimeframePeriodsOpExByVendor = {
@@ -291,6 +292,11 @@ const opexByVendor = (0, toolkit_1.createSlice)({
291
292
  Object.assign(draft, exports.initialState);
292
293
  },
293
294
  },
295
+ extraReducers: (builder) => {
296
+ builder.addCase(rootActions_1.clearAll, (draft) => {
297
+ Object.assign(draft, exports.initialState);
298
+ });
299
+ },
294
300
  });
295
301
  _a = opexByVendor.actions, exports.fetchOpExByVendor = _a.fetchOpExByVendor, exports.updateOpExByVendorReportGenerated = _a.updateOpExByVendorReportGenerated, exports.fetchOpExByVendorReportForTimeframe = _a.fetchOpExByVendorReportForTimeframe, exports.updateOpExByVendorReportFailureForTimeframe = _a.updateOpExByVendorReportFailureForTimeframe, exports.updateOpExByVendorReportSuccessForTimeframe = _a.updateOpExByVendorReportSuccessForTimeframe, exports.fetchOpExByVendorReportSummary = _a.fetchOpExByVendorReportSummary, exports.updateOpExByVendorReportSummaryFailure = _a.updateOpExByVendorReportSummaryFailure, exports.updateOpExByVendorReportSummarySuccess = _a.updateOpExByVendorReportSummarySuccess, exports.updateOpExByVendorTimeFrame = _a.updateOpExByVendorTimeFrame, exports.updateOpExByVendorUIState = _a.updateOpExByVendorUIState, exports.clearOpExByVendor = _a.clearOpExByVendor, exports.updateOpExByVendorAdditionalBalancesSelection = _a.updateOpExByVendorAdditionalBalancesSelection, exports.updateOpExByVendorSort = _a.updateOpExByVendorSort, exports.updateOpExByVendorSortOrSearchInProgress = _a.updateOpExByVendorSortOrSearchInProgress, exports.updateOpExByVendorPageFetchInProgress = _a.updateOpExByVendorPageFetchInProgress, exports.updateOpExByVendorDownloadState = _a.updateOpExByVendorDownloadState, exports.clearOpExByVendorSearch = _a.clearOpExByVendorSearch, exports.updateOpExByVendorPageLimit = _a.updateOpExByVendorPageLimit, exports.updateOpExByVendorSearchString = _a.updateOpExByVendorSearchString, exports.refreshOpExByVendorReport = _a.refreshOpExByVendorReport, exports.refreshOpExByVendorReportSuccess = _a.refreshOpExByVendorReportSuccess, exports.refreshOpExByVendorReportFailure = _a.refreshOpExByVendorReportFailure;
296
302
  exports.default = opexByVendor.reducer;
@@ -12,7 +12,7 @@ export interface OpExByVendorQuery {
12
12
  sortOrder: SortOrder;
13
13
  pageLimit?: number;
14
14
  }
15
- export declare const toOpexByVendorSortKeyType: (v: string) => "totals" | "vendor" | "class" | "account";
15
+ export declare const toOpexByVendorSortKeyType: (v: string) => "vendor" | "totals" | "class" | "account";
16
16
  export declare type OpexByVendorSortKey = ReturnType<typeof toOpexByVendorSortKeyType>;
17
17
  export declare function getOpexVendorKey(vendorId: ID, accountId: ID | undefined, classId: ID | undefined): string;
18
18
  export type OpexVendorKey = ReturnType<typeof getOpexVendorKey>;
@@ -6,6 +6,7 @@ const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
7
  const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport");
8
8
  const classPayload_1 = require("../../entity/class/classPayload");
9
+ const rootActions_1 = require("../../rootActions");
9
10
  exports.initialState = {
10
11
  classHierarchy: [],
11
12
  fetchState: {
@@ -101,6 +102,11 @@ const opExClassesView = (0, toolkit_1.createSlice)({
101
102
  Object.assign(draft, exports.initialState);
102
103
  },
103
104
  },
105
+ extraReducers: (builder) => {
106
+ builder.addCase(rootActions_1.clearAll, (draft) => {
107
+ Object.assign(draft, exports.initialState);
108
+ });
109
+ },
104
110
  });
105
111
  _a = opExClassesView.actions, exports.fetchOpExClassesView = _a.fetchOpExClassesView, exports.fetchOpExForTimeframeClassesView = _a.fetchOpExForTimeframeClassesView, exports.updateOpExForTimeframeClassesView = _a.updateOpExForTimeframeClassesView, exports.updateOpExForTimeframeClassesViewFailure = _a.updateOpExForTimeframeClassesViewFailure, exports.updateClassesToFilterOut = _a.updateClassesToFilterOut, exports.updateOpExClassesViewUIState = _a.updateOpExClassesViewUIState, exports.updateAccountViewMode = _a.updateAccountViewMode, exports.clearOpExClassesView = _a.clearOpExClassesView;
106
112
  exports.default = opExClassesView.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearOpExProjectView = exports.resetProjectNodeCollapseState = exports.updateProjectViewAccountViewMode = exports.updateOpExProjectViewUIState = exports.updateProjectsToFilterOut = exports.updateOpExForTimeframeProjectViewFailure = exports.updateOpExForTimeframeProjectView = exports.fetchOpExForTimeframeProjectView = exports.fetchOpExProjectView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  exports.initialState = {
8
9
  fetchState: {
9
10
  month: {
@@ -99,6 +100,11 @@ const opExProjectView = (0, toolkit_1.createSlice)({
99
100
  Object.assign(draft, exports.initialState);
100
101
  },
101
102
  },
103
+ extraReducers: (builder) => {
104
+ builder.addCase(rootActions_1.clearAll, (draft) => {
105
+ Object.assign(draft, exports.initialState);
106
+ });
107
+ },
102
108
  });
103
109
  _a = opExProjectView.actions, exports.fetchOpExProjectView = _a.fetchOpExProjectView, exports.fetchOpExForTimeframeProjectView = _a.fetchOpExForTimeframeProjectView, exports.updateOpExForTimeframeProjectView = _a.updateOpExForTimeframeProjectView, exports.updateOpExForTimeframeProjectViewFailure = _a.updateOpExForTimeframeProjectViewFailure, exports.updateProjectsToFilterOut = _a.updateProjectsToFilterOut, exports.updateOpExProjectViewUIState = _a.updateOpExProjectViewUIState, exports.updateProjectViewAccountViewMode = _a.updateProjectViewAccountViewMode, exports.resetProjectNodeCollapseState = _a.resetProjectNodeCollapseState, exports.clearOpExProjectView = _a.clearOpExProjectView;
104
110
  exports.default = opExProjectView.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearOwnerList = exports.updateOwnerListFetchStatus = exports.updateOwnerList = exports.fetchOwnerList = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialState = {
7
8
  ownerIds: [],
8
9
  fetchState: 'Not-Started',
@@ -33,6 +34,11 @@ const ownerList = (0, toolkit_1.createSlice)({
33
34
  Object.assign(draft, exports.initialState);
34
35
  },
35
36
  },
37
+ extraReducers: (builder) => {
38
+ builder.addCase(rootActions_1.clearAll, (draft) => {
39
+ Object.assign(draft, exports.initialState);
40
+ });
41
+ },
36
42
  });
37
43
  _a = ownerList.actions, exports.fetchOwnerList = _a.fetchOwnerList, exports.updateOwnerList = _a.updateOwnerList, exports.updateOwnerListFetchStatus = _a.updateOwnerListFetchStatus, exports.clearOwnerList = _a.clearOwnerList;
38
44
  exports.default = ownerList.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.mapToChangeZeniPersonUsersPayload = exports.initializeEditPerson = exports.fetchAllPeopleRequiredViews = exports.peopleClearDataInLocalStore = exports.peopleSaveDataInLocalStore = exports.resetUpdateErrorMessage = exports.peopleSaveUpdatesSuccess = exports.peopleSaveUpdatesFailure = exports.peopleSaveUpdates = exports.changeZeniPersonRoles = exports.inviteZeniPeople = exports.updatePeopleUIState = exports.clearPeople = exports.invitePeopleFailure = exports.invitePeopleSuccess = exports.invitePeople = exports.changePersonRoleFailure = exports.changePersonRoleSuccess = exports.resendInviteFailure = exports.resendInviteSuccess = exports.resendInvite = exports.deletePersonFailure = exports.deletePersonSuccess = exports.deletePerson = exports.updatePeopleFailure = exports.updatePersonUserIds = exports.fetchPeople = exports.fetchPeoplePage = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const userRoleType_1 = require("../../entity/userRole/userRoleType");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const zeniDayJS_1 = require("../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  fetchState: 'Not-Started',
@@ -219,6 +220,11 @@ const people = (0, toolkit_1.createSlice)({
219
220
  },
220
221
  },
221
222
  },
223
+ extraReducers: (builder) => {
224
+ builder.addCase(rootActions_1.clearAll, (draft) => {
225
+ Object.assign(draft, exports.initialState);
226
+ });
227
+ },
222
228
  });
223
229
  _a = people.actions, exports.fetchPeoplePage = _a.fetchPeoplePage, exports.fetchPeople = _a.fetchPeople, exports.updatePersonUserIds = _a.updatePersonUserIds, exports.updatePeopleFailure = _a.updatePeopleFailure, exports.deletePerson = _a.deletePerson, exports.deletePersonSuccess = _a.deletePersonSuccess, exports.deletePersonFailure = _a.deletePersonFailure, exports.resendInvite = _a.resendInvite, exports.resendInviteSuccess = _a.resendInviteSuccess, exports.resendInviteFailure = _a.resendInviteFailure, exports.changePersonRoleSuccess = _a.changePersonRoleSuccess, exports.changePersonRoleFailure = _a.changePersonRoleFailure, exports.invitePeople = _a.invitePeople, exports.invitePeopleSuccess = _a.invitePeopleSuccess, exports.invitePeopleFailure = _a.invitePeopleFailure, exports.clearPeople = _a.clearPeople, exports.updatePeopleUIState = _a.updatePeopleUIState, exports.inviteZeniPeople = _a.inviteZeniPeople, exports.changeZeniPersonRoles = _a.changeZeniPersonRoles, exports.peopleSaveUpdates = _a.peopleSaveUpdates, exports.peopleSaveUpdatesFailure = _a.peopleSaveUpdatesFailure, exports.peopleSaveUpdatesSuccess = _a.peopleSaveUpdatesSuccess, exports.resetUpdateErrorMessage = _a.resetUpdateErrorMessage, exports.peopleSaveDataInLocalStore = _a.peopleSaveDataInLocalStore, exports.peopleClearDataInLocalStore = _a.peopleClearDataInLocalStore, exports.fetchAllPeopleRequiredViews = _a.fetchAllPeopleRequiredViews, exports.initializeEditPerson = _a.initializeEditPerson;
224
230
  exports.default = people.reducer;
@@ -5,6 +5,7 @@ exports.clearProfitAndLoss = exports.resetProfitAndLossNodeCollapseState = expor
5
5
  exports.getState = getState;
6
6
  const toolkit_1 = require("@reduxjs/toolkit");
7
7
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
8
+ const rootActions_1 = require("../../rootActions");
8
9
  exports.initialPandLState = {
9
10
  bookCloseDate: undefined,
10
11
  fetchState: {
@@ -122,6 +123,11 @@ const profitAndLoss = (0, toolkit_1.createSlice)({
122
123
  Object.assign(draft, exports.initialState);
123
124
  },
124
125
  },
126
+ extraReducers: (builder) => {
127
+ builder.addCase(rootActions_1.clearAll, (draft) => {
128
+ Object.assign(draft, exports.initialState);
129
+ });
130
+ },
125
131
  });
126
132
  _a = profitAndLoss.actions, exports.fetchProfitAndLoss = _a.fetchProfitAndLoss, exports.fetchProfitAndLossForTimeframe = _a.fetchProfitAndLossForTimeframe, exports.updateProfitAndLossForTimeframe = _a.updateProfitAndLossForTimeframe, exports.updateProfitAndLossForTimeframeFailure = _a.updateProfitAndLossForTimeframeFailure, exports.updateProfitAndLossUIState = _a.updateProfitAndLossUIState, exports.resetProfitAndLossNodeCollapseState = _a.resetProfitAndLossNodeCollapseState, exports.clearProfitAndLoss = _a.clearProfitAndLoss;
127
133
  exports.default = profitAndLoss.reducer;
@@ -6,6 +6,7 @@ const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
7
  const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport");
8
8
  const classPayload_1 = require("../../entity/class/classPayload");
9
+ const rootActions_1 = require("../../rootActions");
9
10
  exports.initialState = {
10
11
  classHierarchy: [],
11
12
  bookCloseDate: undefined,
@@ -109,6 +110,11 @@ const profitAndLossClassesView = (0, toolkit_1.createSlice)({
109
110
  Object.assign(draft, exports.initialState);
110
111
  },
111
112
  },
113
+ extraReducers: (builder) => {
114
+ builder.addCase(rootActions_1.clearAll, (draft) => {
115
+ Object.assign(draft, exports.initialState);
116
+ });
117
+ },
112
118
  });
113
119
  _a = profitAndLossClassesView.actions, exports.fetchProfitAndLossClassesView = _a.fetchProfitAndLossClassesView, exports.fetchProfitAndLossForTimeframeClassesView = _a.fetchProfitAndLossForTimeframeClassesView, exports.updateProfitAndLossForTimeframeClassesView = _a.updateProfitAndLossForTimeframeClassesView, exports.updateProfitAndLossForTimeframeClassesViewFailure = _a.updateProfitAndLossForTimeframeClassesViewFailure, exports.updateClassesToFilterOut = _a.updateClassesToFilterOut, exports.updateProfitAndLossClassesViewUIState = _a.updateProfitAndLossClassesViewUIState, exports.updateAccountViewMode = _a.updateAccountViewMode, exports.updateClassViewLayout = _a.updateClassViewLayout, exports.resetProfitAndLossClassesNodeCollapseState = _a.resetProfitAndLossClassesNodeCollapseState, exports.clearProfitAndLossClassesView = _a.clearProfitAndLossClassesView;
114
120
  exports.default = profitAndLossClassesView.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearProfitAndLossProjectView = exports.resetProfitAndLossProjectNodeCollapseState = exports.updateProjectViewAccountViewMode = exports.updateProfitAndLossProjectViewUIState = exports.updateProjectsToFilterOut = exports.updateProfitAndLossForTimeframeProjectViewFailure = exports.updateProfitAndLossForTimeframeProjectView = exports.fetchProfitAndLossForTimeframeProjectView = exports.fetchProfitAndLossProjectView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  exports.initialState = {
8
9
  bookCloseDate: undefined,
9
10
  fetchState: {
@@ -100,6 +101,11 @@ const profitAndLossProjectView = (0, toolkit_1.createSlice)({
100
101
  Object.assign(draft, exports.initialState);
101
102
  },
102
103
  },
104
+ extraReducers: (builder) => {
105
+ builder.addCase(rootActions_1.clearAll, (draft) => {
106
+ Object.assign(draft, exports.initialState);
107
+ });
108
+ },
103
109
  });
104
110
  _a = profitAndLossProjectView.actions, exports.fetchProfitAndLossProjectView = _a.fetchProfitAndLossProjectView, exports.fetchProfitAndLossForTimeframeProjectView = _a.fetchProfitAndLossForTimeframeProjectView, exports.updateProfitAndLossForTimeframeProjectView = _a.updateProfitAndLossForTimeframeProjectView, exports.updateProfitAndLossForTimeframeProjectViewFailure = _a.updateProfitAndLossForTimeframeProjectViewFailure, exports.updateProjectsToFilterOut = _a.updateProjectsToFilterOut, exports.updateProfitAndLossProjectViewUIState = _a.updateProfitAndLossProjectViewUIState, exports.updateProjectViewAccountViewMode = _a.updateProjectViewAccountViewMode, exports.resetProfitAndLossProjectNodeCollapseState = _a.resetProfitAndLossProjectNodeCollapseState, exports.clearProfitAndLossProjectView = _a.clearProfitAndLossProjectView;
105
111
  exports.default = profitAndLossProjectView.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearProjectList = exports.updateProjectListFailure = exports.updateProjectList = exports.fetchProjectList = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialState = {
7
8
  fetchState: 'Not-Started',
8
9
  error: undefined,
@@ -38,6 +39,11 @@ const projectList = (0, toolkit_1.createSlice)({
38
39
  Object.assign(draft, exports.initialState);
39
40
  },
40
41
  },
42
+ extraReducers: (builder) => {
43
+ builder.addCase(rootActions_1.clearAll, (draft) => {
44
+ Object.assign(draft, exports.initialState);
45
+ });
46
+ },
41
47
  });
42
48
  _a = projectList.actions, exports.fetchProjectList = _a.fetchProjectList, exports.updateProjectList = _a.updateProjectList, exports.updateProjectListFailure = _a.updateProjectListFailure, exports.clearProjectList = _a.clearProjectList;
43
49
  exports.default = projectList.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearRecommendation = exports.indicateReadyToInitializeRecommendation = exports.updateRecommendationForEntityFailure = exports.updateRecommendationForEntity = exports.fetchRecommendationByEntityId = exports.fetchRecommendationByEntityName = exports.fetchEntityRecommendationsForLineUpdate = exports.fetchEntityRecommendationsByTransactionId = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const recommendationState_1 = require("./recommendationState");
7
8
  exports.initialState = {
8
9
  recommendationByEntity: {},
@@ -138,6 +139,11 @@ const recommendation = (0, toolkit_1.createSlice)({
138
139
  Object.assign(draft, exports.initialState);
139
140
  },
140
141
  },
142
+ extraReducers: (builder) => {
143
+ builder.addCase(rootActions_1.clearAll, (draft) => {
144
+ Object.assign(draft, exports.initialState);
145
+ });
146
+ },
141
147
  });
142
148
  _a = recommendation.actions, exports.fetchEntityRecommendationsByTransactionId = _a.fetchEntityRecommendationsByTransactionId, exports.fetchEntityRecommendationsForLineUpdate = _a.fetchEntityRecommendationsForLineUpdate, exports.fetchRecommendationByEntityName = _a.fetchRecommendationByEntityName, exports.fetchRecommendationByEntityId = _a.fetchRecommendationByEntityId, exports.updateRecommendationForEntity = _a.updateRecommendationForEntity, exports.updateRecommendationForEntityFailure = _a.updateRecommendationForEntityFailure, exports.indicateReadyToInitializeRecommendation = _a.indicateReadyToInitializeRecommendation, exports.clearRecommendation = _a.clearRecommendation;
143
149
  exports.default = recommendation.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.updateRewardsPlanFailure = exports.updateRewardsPlan = exports.fetchRewardsPlan = exports.clearReferrals = exports.updateReferViewedFailure = exports.updateReferViewedSuccess = exports.updateReferViewed = exports.resendReferralInviteSuccess = exports.resendReferralInvite = exports.sendReferralInviteFailure = exports.sendReferralInviteSuccess = exports.sendReferralInvite = exports.clearReferralFormDataInLocalStore = exports.saveReferralFormDataInLocalStore = exports.updateReferralsFailure = exports.updateReferralListSortUiState = exports.updateReferrals = exports.fetchReferrals = exports.initialState = exports.DEFAULT_REFERRER_AMOUNT = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const amount_1 = require("../../commonStateTypes/amount");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const zeniDayJS_1 = require("../../zeniDayJS");
8
9
  const zeniUrl_1 = require("../../zeniUrl");
9
10
  const referralPayload_1 = require("./referralPayload");
@@ -189,6 +190,11 @@ const referral = (0, toolkit_1.createSlice)({
189
190
  Object.assign(draft, exports.initialState);
190
191
  },
191
192
  },
193
+ extraReducers: (builder) => {
194
+ builder.addCase(rootActions_1.clearAll, (draft) => {
195
+ Object.assign(draft, exports.initialState);
196
+ });
197
+ },
192
198
  });
193
199
  _a = referral.actions, exports.fetchReferrals = _a.fetchReferrals, exports.updateReferrals = _a.updateReferrals, exports.updateReferralListSortUiState = _a.updateReferralListSortUiState, exports.updateReferralsFailure = _a.updateReferralsFailure, exports.saveReferralFormDataInLocalStore = _a.saveReferralFormDataInLocalStore, exports.clearReferralFormDataInLocalStore = _a.clearReferralFormDataInLocalStore, exports.sendReferralInvite = _a.sendReferralInvite, exports.sendReferralInviteSuccess = _a.sendReferralInviteSuccess, exports.sendReferralInviteFailure = _a.sendReferralInviteFailure, exports.resendReferralInvite = _a.resendReferralInvite, exports.resendReferralInviteSuccess = _a.resendReferralInviteSuccess, exports.updateReferViewed = _a.updateReferViewed, exports.updateReferViewedSuccess = _a.updateReferViewedSuccess, exports.updateReferViewedFailure = _a.updateReferViewedFailure, exports.clearReferrals = _a.clearReferrals, exports.fetchRewardsPlan = _a.fetchRewardsPlan, exports.updateRewardsPlan = _a.updateRewardsPlan, exports.updateRewardsPlanFailure = _a.updateRewardsPlanFailure;
194
200
  exports.default = referral.reducer;
@@ -48,7 +48,7 @@ export declare const SUPPORTED_REWARD_PLANS: readonly ["PLAN_1000", "PLAN_4000"]
48
48
  export declare const toSupportedRewardPlansType: (v: string) => "PLAN_1000" | "PLAN_4000";
49
49
  export declare type SupportedRewardPlans = ReturnType<typeof toSupportedRewardPlansType>;
50
50
  export declare const REFERRAL_LIST_VIEW_SORT_KEYS: readonly ["invitee_email", "amount", "status", "referral_date"];
51
- export declare const toReferralListViewSortKeyType: (v: string) => "amount" | "status" | "invitee_email" | "referral_date";
51
+ export declare const toReferralListViewSortKeyType: (v: string) => "status" | "amount" | "invitee_email" | "referral_date";
52
52
  export declare type ReferralListViewSortKey = ReturnType<typeof toReferralListViewSortKeyType>;
53
53
  declare const toReferralStatusType: (v: string) => "onboarding" | "active" | "declined" | "invite_processing" | "invite_sent" | "resend_invite" | "reward_sent";
54
54
  export declare type ReferralStatus = ReturnType<typeof toReferralStatusType>;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearReimbursementCard = exports.updateReimbursementCardFailure = exports.updateReimbursementCard = exports.fetchReimbursementCard = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const amount_1 = require("../../commonStateTypes/amount");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const remiListState_1 = require("../spendManagement/reimbursement/remiListView/remiListState");
8
9
  exports.initialState = {
9
10
  reportId: 'reimbursement_card',
@@ -50,6 +51,11 @@ const reimbursementCard = (0, toolkit_1.createSlice)({
50
51
  Object.assign(draft, exports.initialState);
51
52
  },
52
53
  },
54
+ extraReducers: (builder) => {
55
+ builder.addCase(rootActions_1.clearAll, (draft) => {
56
+ Object.assign(draft, exports.initialState);
57
+ });
58
+ },
53
59
  });
54
60
  _a = reimbursementCard.actions, exports.fetchReimbursementCard = _a.fetchReimbursementCard, exports.updateReimbursementCard = _a.updateReimbursementCard, exports.updateReimbursementCardFailure = _a.updateReimbursementCardFailure, exports.clearReimbursementCard = _a.clearReimbursementCard;
55
61
  exports.default = reimbursementCard.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearReportUIOption = exports.toggleReportUIOptionForecastMode = exports.updateReportUIOptionSelectedForecast = exports.updateReportUIOptionIsForecastVsActualOn = exports.updateReportUIOptionCompareMode = exports.updateReportUIOptionIsCompareModeOn = exports.updateReportUIOptionCOABalancesRange = exports.updateReportUIOptionThisPeriod = exports.updateReportUIOptionTimeframe = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialState = {
7
8
  timeframe: 'month',
8
9
  thisPeriod: undefined,
@@ -117,6 +118,11 @@ const reportUIOptions = (0, toolkit_1.createSlice)({
117
118
  Object.assign(draft, exports.initialState);
118
119
  },
119
120
  },
121
+ extraReducers: (builder) => {
122
+ builder.addCase(rootActions_1.clearAll, (draft) => {
123
+ Object.assign(draft, exports.initialState);
124
+ });
125
+ },
120
126
  });
121
127
  _a = reportUIOptions.actions, exports.updateReportUIOptionTimeframe = _a.updateReportUIOptionTimeframe, exports.updateReportUIOptionThisPeriod = _a.updateReportUIOptionThisPeriod, exports.updateReportUIOptionCOABalancesRange = _a.updateReportUIOptionCOABalancesRange, exports.updateReportUIOptionIsCompareModeOn = _a.updateReportUIOptionIsCompareModeOn, exports.updateReportUIOptionCompareMode = _a.updateReportUIOptionCompareMode, exports.updateReportUIOptionIsForecastVsActualOn = _a.updateReportUIOptionIsForecastVsActualOn, exports.updateReportUIOptionSelectedForecast = _a.updateReportUIOptionSelectedForecast, exports.toggleReportUIOptionForecastMode = _a.toggleReportUIOptionForecastMode, exports.clearReportUIOption = _a.clearReportUIOption;
122
128
  exports.default = reportUIOptions.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearReportsResync = exports.reportsResyncFailure = exports.reportsResyncSuccess = exports.initiateReportsProjectViewRefetching = exports.initiateReportsClassViewRefetching = exports.initiateReportsResync = exports.initialReportsResyncState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialReportsResyncState = {
7
8
  hasNewData: false,
8
9
  reportsResyncFetchState: {
@@ -56,6 +57,11 @@ const reportsResync = (0, toolkit_1.createSlice)({
56
57
  Object.assign(draft, exports.initialReportsResyncState);
57
58
  },
58
59
  },
60
+ extraReducers: (builder) => {
61
+ builder.addCase(rootActions_1.clearAll, (draft) => {
62
+ Object.assign(draft, exports.initialReportsResyncState);
63
+ });
64
+ },
59
65
  });
60
66
  _a = reportsResync.actions, exports.initiateReportsResync = _a.initiateReportsResync, exports.initiateReportsClassViewRefetching = _a.initiateReportsClassViewRefetching, exports.initiateReportsProjectViewRefetching = _a.initiateReportsProjectViewRefetching, exports.reportsResyncSuccess = _a.reportsResyncSuccess, exports.reportsResyncFailure = _a.reportsResyncFailure, exports.clearReportsResync = _a.clearReportsResync;
61
67
  exports.default = reportsResync.reducer;
@@ -9,6 +9,7 @@ const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndRep
9
9
  const dataAvailable_1 = require("../../commonStateTypes/dataAvailable");
10
10
  const thisPeriodHelpers_1 = require("../../commonStateTypes/viewAndReport/thisPeriodHelpers");
11
11
  const insightSummaryPayload_1 = require("../../entity/insights/insightSummaryPayload");
12
+ const rootActions_1 = require("../../rootActions");
12
13
  const zeniDayJS_1 = require("../../zeniDayJS");
13
14
  const getSelectedAndHighlightedRanges_1 = require("../common/getSelectedAndHighlightedRanges");
14
15
  const reportsHelpers_1 = require("../common/reportsHelpers");
@@ -340,6 +341,11 @@ const revenue = (0, toolkit_1.createSlice)({
340
341
  Object.assign(draft, exports.initialState);
341
342
  },
342
343
  },
344
+ extraReducers: (builder) => {
345
+ builder.addCase(rootActions_1.clearAll, (draft) => {
346
+ Object.assign(draft, exports.initialState);
347
+ });
348
+ },
343
349
  });
344
350
  _a = revenue.actions, exports.fetchRevenue = _a.fetchRevenue, exports.fetchRevenueWithForecast = _a.fetchRevenueWithForecast, exports.fetchRevenueForTimeframe = _a.fetchRevenueForTimeframe, exports.waitForForecastListThenFetchRevenueWithForecast = _a.waitForForecastListThenFetchRevenueWithForecast, exports.updateRevenueForTimeframe = _a.updateRevenueForTimeframe, exports.updateRevenueForTimeframeFailure = _a.updateRevenueForTimeframeFailure, exports.updateRevenueAdditionalBalancesSelection = _a.updateRevenueAdditionalBalancesSelection, exports.updateRevenueCOABalancesRange = _a.updateRevenueCOABalancesRange, exports.updateRevenueThisPeriod = _a.updateRevenueThisPeriod, exports.updateRevenueDownloadState = _a.updateRevenueDownloadState, exports.updateRevenueTimeFrame = _a.updateRevenueTimeFrame, exports.updateRevenueUIState = _a.updateRevenueUIState, exports.revenueToggleForecastMode = _a.revenueToggleForecastMode, exports.clearRevenue = _a.clearRevenue;
345
351
  exports.default = revenue.reducer;
@@ -6,6 +6,7 @@ const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
7
  const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport");
8
8
  const classPayload_1 = require("../../entity/class/classPayload");
9
+ const rootActions_1 = require("../../rootActions");
9
10
  exports.initialState = {
10
11
  classHierarchy: [],
11
12
  fetchState: {
@@ -101,6 +102,11 @@ const revenueClassesView = (0, toolkit_1.createSlice)({
101
102
  Object.assign(draft, exports.initialState);
102
103
  },
103
104
  },
105
+ extraReducers: (builder) => {
106
+ builder.addCase(rootActions_1.clearAll, (draft) => {
107
+ Object.assign(draft, exports.initialState);
108
+ });
109
+ },
104
110
  });
105
111
  _a = revenueClassesView.actions, exports.fetchRevenueClassesView = _a.fetchRevenueClassesView, exports.fetchRevenueForTimeframeClassesView = _a.fetchRevenueForTimeframeClassesView, exports.updateRevenueForTimeframeClassesView = _a.updateRevenueForTimeframeClassesView, exports.updateRevenueForTimeframeClassesViewFailure = _a.updateRevenueForTimeframeClassesViewFailure, exports.updateClassesToFilterOut = _a.updateClassesToFilterOut, exports.updateRevenueClassesViewUIState = _a.updateRevenueClassesViewUIState, exports.updateAccountViewMode = _a.updateAccountViewMode, exports.clearRevenueClassesView = _a.clearRevenueClassesView;
106
112
  exports.default = revenueClassesView.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearRevenueProjectView = exports.resetProjectNodeCollapseState = exports.updateProjectViewAccountViewMode = exports.updateRevenueProjectViewUIState = exports.updateProjectsToFilterOut = exports.updateRevenueForTimeframeProjectViewFailure = exports.updateRevenueForTimeframeProjectView = exports.fetchRevenueForTimeframeProjectView = exports.fetchRevenueProjectView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  exports.initialState = {
8
9
  fetchState: {
9
10
  month: {
@@ -99,6 +100,11 @@ const revenueProjectView = (0, toolkit_1.createSlice)({
99
100
  Object.assign(draft, exports.initialState);
100
101
  },
101
102
  },
103
+ extraReducers: (builder) => {
104
+ builder.addCase(rootActions_1.clearAll, (draft) => {
105
+ Object.assign(draft, exports.initialState);
106
+ });
107
+ },
102
108
  });
103
109
  _a = revenueProjectView.actions, exports.fetchRevenueProjectView = _a.fetchRevenueProjectView, exports.fetchRevenueForTimeframeProjectView = _a.fetchRevenueForTimeframeProjectView, exports.updateRevenueForTimeframeProjectView = _a.updateRevenueForTimeframeProjectView, exports.updateRevenueForTimeframeProjectViewFailure = _a.updateRevenueForTimeframeProjectViewFailure, exports.updateProjectsToFilterOut = _a.updateProjectsToFilterOut, exports.updateRevenueProjectViewUIState = _a.updateRevenueProjectViewUIState, exports.updateProjectViewAccountViewMode = _a.updateProjectViewAccountViewMode, exports.resetProjectNodeCollapseState = _a.resetProjectNodeCollapseState, exports.clearRevenueProjectView = _a.clearRevenueProjectView;
104
110
  exports.default = revenueProjectView.reducer;
@@ -8,6 +8,7 @@ exports.updateRetryBankAccountConnectionSuccess = exports.updateRetryBankAccount
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const keys_1 = __importDefault(require("lodash/keys"));
10
10
  const companyPayload_1 = require("../../entity/company/companyPayload");
11
+ const rootActions_1 = require("../../rootActions");
11
12
  const zeniDayJS_1 = require("../../zeniDayJS");
12
13
  const reviewCompanyViewState_1 = require("./reviewCompanyViewState");
13
14
  exports.initialCockpitReviewUIState = {
@@ -126,6 +127,11 @@ const reviewCompanyView = (0, toolkit_1.createSlice)({
126
127
  Object.assign(draft, exports.initialState);
127
128
  },
128
129
  },
130
+ extraReducers: (builder) => {
131
+ builder.addCase(rootActions_1.clearAll, (draft) => {
132
+ Object.assign(draft, exports.initialState);
133
+ });
134
+ },
129
135
  });
130
136
  _a = reviewCompanyView.actions, exports.fetchReviewCompanyView = _a.fetchReviewCompanyView, exports.updateReviewCompanyOnSuccess = _a.updateReviewCompanyOnSuccess, exports.updateReviewCompanyOnFailure = _a.updateReviewCompanyOnFailure, exports.updateReviewCompanyListUIState = _a.updateReviewCompanyListUIState, exports.clearReviewCompany = _a.clearReviewCompany, exports.updateReviewCompanyNotes = _a.updateReviewCompanyNotes, exports.retryBankAccountConnection = _a.retryBankAccountConnection, exports.updateRetryBankAccountConnectionFailure = _a.updateRetryBankAccountConnectionFailure, exports.updateRetryBankAccountConnectionSuccess = _a.updateRetryBankAccountConnectionSuccess;
131
137
  exports.default = reviewCompanyView.reducer;
@@ -3,7 +3,7 @@ import { SortOrder } from '../../commonStateTypes/selectorTypes/sortOrderTypes';
3
3
  import { OnboardingInfo } from '../../entity/company/companyStateTypes';
4
4
  import { ZeniDate } from '../../zeniDayJS';
5
5
  import { AuditSummaryPayload, ReviewCompanyPayload } from './reviewCompanyPayload';
6
- export declare const toReviewColumnKeyType: (v: string) => "companyName" | "uncategorized" | "notes" | "auditScore" | "miscategorized" | "warnings" | "vendorReview" | "reviewVendor";
6
+ export declare const toReviewColumnKeyType: (v: string) => "uncategorized" | "companyName" | "notes" | "auditScore" | "miscategorized" | "warnings" | "vendorReview" | "reviewVendor";
7
7
  export type ReviewCompanyColumnKey = ReturnType<typeof toReviewColumnKeyType>;
8
8
  export type ReviewTransactionsType = 'income' | 'expense';
9
9
  export interface AuditSummary {
@@ -1,3 +1,3 @@
1
- declare const toLinkBillExpenseKeysType: (v: string) => "amount" | "name" | "attachment" | "memo" | "transactionType" | "creationDate";
1
+ declare const toLinkBillExpenseKeysType: (v: string) => "amount" | "memo" | "transactionType" | "name" | "attachment" | "creationDate";
2
2
  export declare type LinkBillExpenseKey = ReturnType<typeof toLinkBillExpenseKeysType>;
3
3
  export {};
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.cancelScheduleAccruedJournalEntrySuccessOrFailure = exports.updateLinkBillExpenseLocalData = exports.cancelScheduleAccruedJournalEntry = exports.resetAccruedDetailNewScheduleState = exports.resetSelectedJEAccruedScheduleKey = exports.updatedFetchRecommendationBillExpenseSuccessOrFailure = exports.updateFetchedTransactionIds = exports.updateSelectedJEAccruedScheduleKey = exports.updateScheduleAccruedDetailsSuccess = exports.updateScheduleAccruedDetailsLocalData = exports.updateScheduleAccruedDetailsFailure = exports.fetchRecommendedTransactionRowIndex = exports.updatedJELinkInLocalDataAccruedExpenses = exports.updatedJEAccruedLinkWithRecommendedLocalData = exports.updateDeletedScheduleAccruedDetail = exports.clearSelectedJELinkRowIndex = exports.updateAmountsInScheduleAccruedDetail = exports.saveScheduleAccruedDetailsSuccessOrFailure = exports.saveScheduleAccruedDetails = exports.resetJEAccruedLinkInLocalData = exports.initializeScheduleAccruedDetailLocalData = exports.fetchScheduleAccruedDetailsPage = exports.fetchScheduleAccruedDetails = exports.deleteScheduleAccruedDetailSuccessOrFailure = exports.deleteScheduleAccruedDetail = exports.createNewSchedulesAccrued = exports.clearScheduleAccruedDetailView = exports.initialState = exports.initialScheduleDetailsLocalDataAccruedExpenses = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../../rootActions");
6
7
  const transactionDetailState_1 = require("../../transactionDetail/transactionDetailState");
7
8
  const scheduleDetailLocalDataHelper_1 = require("../scheduleDetailView/scheduleDetailLocalDataHelper");
8
9
  exports.initialScheduleDetailsLocalDataAccruedExpenses = {
@@ -319,6 +320,11 @@ const scheduleAccruedDetailView = (0, toolkit_1.createSlice)({
319
320
  Object.assign(draft, exports.initialState);
320
321
  },
321
322
  },
323
+ extraReducers: (builder) => {
324
+ builder.addCase(rootActions_1.clearAll, (draft) => {
325
+ Object.assign(draft, exports.initialState);
326
+ });
327
+ },
322
328
  });
323
329
  _a = scheduleAccruedDetailView.actions, exports.clearScheduleAccruedDetailView = _a.clearScheduleAccruedDetailView, exports.createNewSchedulesAccrued = _a.createNewSchedulesAccrued, exports.deleteScheduleAccruedDetail = _a.deleteScheduleAccruedDetail, exports.deleteScheduleAccruedDetailSuccessOrFailure = _a.deleteScheduleAccruedDetailSuccessOrFailure, exports.fetchScheduleAccruedDetails = _a.fetchScheduleAccruedDetails, exports.fetchScheduleAccruedDetailsPage = _a.fetchScheduleAccruedDetailsPage, exports.initializeScheduleAccruedDetailLocalData = _a.initializeScheduleAccruedDetailLocalData, exports.resetJEAccruedLinkInLocalData = _a.resetJEAccruedLinkInLocalData, exports.saveScheduleAccruedDetails = _a.saveScheduleAccruedDetails, exports.saveScheduleAccruedDetailsSuccessOrFailure = _a.saveScheduleAccruedDetailsSuccessOrFailure, exports.updateAmountsInScheduleAccruedDetail = _a.updateAmountsInScheduleAccruedDetail, exports.clearSelectedJELinkRowIndex = _a.clearSelectedJELinkRowIndex, exports.updateDeletedScheduleAccruedDetail = _a.updateDeletedScheduleAccruedDetail, exports.updatedJEAccruedLinkWithRecommendedLocalData = _a.updatedJEAccruedLinkWithRecommendedLocalData, exports.updatedJELinkInLocalDataAccruedExpenses = _a.updatedJELinkInLocalDataAccruedExpenses, exports.fetchRecommendedTransactionRowIndex = _a.fetchRecommendedTransactionRowIndex, exports.updateScheduleAccruedDetailsFailure = _a.updateScheduleAccruedDetailsFailure, exports.updateScheduleAccruedDetailsLocalData = _a.updateScheduleAccruedDetailsLocalData, exports.updateScheduleAccruedDetailsSuccess = _a.updateScheduleAccruedDetailsSuccess, exports.updateSelectedJEAccruedScheduleKey = _a.updateSelectedJEAccruedScheduleKey, exports.updateFetchedTransactionIds = _a.updateFetchedTransactionIds, exports.updatedFetchRecommendationBillExpenseSuccessOrFailure = _a.updatedFetchRecommendationBillExpenseSuccessOrFailure, exports.resetSelectedJEAccruedScheduleKey = _a.resetSelectedJEAccruedScheduleKey, exports.resetAccruedDetailNewScheduleState = _a.resetAccruedDetailNewScheduleState, exports.cancelScheduleAccruedJournalEntry = _a.cancelScheduleAccruedJournalEntry, exports.updateLinkBillExpenseLocalData = _a.updateLinkBillExpenseLocalData, exports.cancelScheduleAccruedJournalEntrySuccessOrFailure = _a.cancelScheduleAccruedJournalEntrySuccessOrFailure;
324
330
  exports.default = scheduleAccruedDetailView.reducer;
@@ -36,9 +36,9 @@ export declare const createNewSchedules: import("@reduxjs/toolkit").ActionCreato
36
36
  }, "scheduleDetailView/updateDeletedScheduleDetail", never, never>, deleteScheduleDetailSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[fetchState: FetchState, error?: ZeniAPIStatus<Record<string, unknown>> | undefined], {
37
37
  fetchState: FetchState;
38
38
  error: ZeniAPIStatus<Record<string, unknown>> | undefined;
39
- }, "scheduleDetailView/deleteScheduleDetailSuccessOrFailure", never, never>, initializeScheduleDetailLocalData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedJEScheduleKey: `${string}_bill_${string}` | `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`, selectedJeScheduleDetailId?: string | undefined], {
39
+ }, "scheduleDetailView/deleteScheduleDetailSuccessOrFailure", never, never>, initializeScheduleDetailLocalData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedJEScheduleKey: `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`, selectedJeScheduleDetailId?: string | undefined], {
40
40
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
41
- selectedJEScheduleKey: `${string}_bill_${string}` | `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`;
41
+ selectedJEScheduleKey: `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`;
42
42
  selectedJeScheduleDetailId: string | undefined;
43
43
  }, "scheduleDetailView/initializeScheduleDetailLocalData", never, never>, updateScheduleDetailsLocalData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
44
44
  localData: Partial<ScheduleDetailsLocalData>;
@@ -66,9 +66,9 @@ export declare const createNewSchedules: import("@reduxjs/toolkit").ActionCreato
66
66
  originalScheduledJE: ScheduledJournalEntry;
67
67
  rowId: number;
68
68
  scheduleType: ScheduleTypes;
69
- }, "scheduleDetailView/resetJELinkInLocalData">, markAsCompleteScheduleDetail: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", jeScheduleKey: `${string}_bill_${string}` | `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`], {
69
+ }, "scheduleDetailView/resetJELinkInLocalData">, markAsCompleteScheduleDetail: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", jeScheduleKey: `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`], {
70
70
  scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
71
- jeScheduleKey: `${string}_bill_${string}` | `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`;
71
+ jeScheduleKey: `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_refund_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_bill_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`;
72
72
  }, "scheduleDetailView/markAsCompleteScheduleDetail", never, never>, markAsCompleteScheduleDetailSuccessOrFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[fetchState: FetchState, error?: ZeniAPIStatus<Record<string, unknown>> | undefined], {
73
73
  fetchState: FetchState;
74
74
  error: ZeniAPIStatus<Record<string, unknown>> | undefined;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearScheduleDetailView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetailSuccessOrFailure = exports.markAsCompleteScheduleDetail = exports.resetJELinkInLocalData = exports.updatedJELinkWithRecommendedLocalData = exports.updatedSelectedJELinkRowIndex = exports.updateSelectedJEScheduleKey = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.updateScheduleDetailsLocalData = exports.initializeScheduleDetailLocalData = exports.deleteScheduleDetailSuccessOrFailure = exports.updateDeletedScheduleDetail = exports.deleteScheduleDetail = exports.saveScheduleDetailsSuccessOrFailure = exports.saveScheduleDetails = exports.updateScheduleDetailsFailure = exports.updateScheduleDetailsSuccess = exports.fetchScheduleDetails = exports.fetchScheduleDetailsPage = exports.createNewSchedules = exports.initialState = exports.initialScheduleDetailsLocalData = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../../rootActions");
6
7
  const transactionDetailState_1 = require("../../transactionDetail/transactionDetailState");
7
8
  const scheduleDetailLocalDataHelper_1 = require("./scheduleDetailLocalDataHelper");
8
9
  exports.initialScheduleDetailsLocalData = {
@@ -305,6 +306,11 @@ const scheduleDetailView = (0, toolkit_1.createSlice)({
305
306
  Object.assign(draft, exports.initialState);
306
307
  },
307
308
  },
309
+ extraReducers: (builder) => {
310
+ builder.addCase(rootActions_1.clearAll, (draft) => {
311
+ Object.assign(draft, exports.initialState);
312
+ });
313
+ },
308
314
  });
309
315
  _a = scheduleDetailView.actions, exports.createNewSchedules = _a.createNewSchedules, exports.fetchScheduleDetailsPage = _a.fetchScheduleDetailsPage, exports.fetchScheduleDetails = _a.fetchScheduleDetails, exports.updateScheduleDetailsSuccess = _a.updateScheduleDetailsSuccess, exports.updateScheduleDetailsFailure = _a.updateScheduleDetailsFailure, exports.saveScheduleDetails = _a.saveScheduleDetails, exports.saveScheduleDetailsSuccessOrFailure = _a.saveScheduleDetailsSuccessOrFailure, exports.deleteScheduleDetail = _a.deleteScheduleDetail, exports.updateDeletedScheduleDetail = _a.updateDeletedScheduleDetail, exports.deleteScheduleDetailSuccessOrFailure = _a.deleteScheduleDetailSuccessOrFailure, exports.initializeScheduleDetailLocalData = _a.initializeScheduleDetailLocalData, exports.updateScheduleDetailsLocalData = _a.updateScheduleDetailsLocalData, exports.updatedJELinkInLocalData = _a.updatedJELinkInLocalData, exports.updateAmountsInScheduleDetail = _a.updateAmountsInScheduleDetail, exports.updateSelectedJEScheduleKey = _a.updateSelectedJEScheduleKey, exports.updatedSelectedJELinkRowIndex = _a.updatedSelectedJELinkRowIndex, exports.updatedJELinkWithRecommendedLocalData = _a.updatedJELinkWithRecommendedLocalData, exports.resetJELinkInLocalData = _a.resetJELinkInLocalData, exports.markAsCompleteScheduleDetail = _a.markAsCompleteScheduleDetail, exports.markAsCompleteScheduleDetailSuccessOrFailure = _a.markAsCompleteScheduleDetailSuccessOrFailure, exports.resetMarkAsCompleteStatus = _a.resetMarkAsCompleteStatus, exports.clearScheduleDetailView = _a.clearScheduleDetailView;
310
316
  exports.default = scheduleDetailView.reducer;