@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.clearAllOnboardingCustomersInfo = exports.removeOnboardingCustomersInfo = exports.updateOnboardingCustomersInfo = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const onboardingCustomerPayload_1 = require("./onboardingCustomerPayload");
7
8
  exports.initialState = {
8
9
  onboardingCustomerInfoById: {},
@@ -24,6 +25,11 @@ const onboarding = (0, toolkit_1.createSlice)({
24
25
  Object.assign(draft, exports.initialState);
25
26
  },
26
27
  },
28
+ extraReducers: (builder) => {
29
+ builder.addCase(rootActions_1.clearAll, (draft) => {
30
+ Object.assign(draft, exports.initialState);
31
+ });
32
+ },
27
33
  });
28
34
  _a = onboarding.actions, exports.updateOnboardingCustomersInfo = _a.updateOnboardingCustomersInfo, exports.removeOnboardingCustomersInfo = _a.removeOnboardingCustomersInfo, exports.clearAllOnboardingCustomersInfo = _a.clearAllOnboardingCustomersInfo;
29
35
  exports.default = onboarding.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllPaymentAccounts = exports.removePaymentAccount = exports.updatePaymentAccounts = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const paymentAccountPayload_1 = require("./paymentAccountPayload");
7
8
  exports.initialState = {
8
9
  paymentAccountByID: {},
@@ -33,6 +34,11 @@ const paymentAccount = (0, toolkit_1.createSlice)({
33
34
  draft.paymentAccountByID = {};
34
35
  },
35
36
  },
37
+ extraReducers: (builder) => {
38
+ builder.addCase(rootActions_1.clearAll, (draft) => {
39
+ draft.paymentAccountByID = {};
40
+ });
41
+ },
36
42
  });
37
43
  _a = paymentAccount.actions, exports.updatePaymentAccounts = _a.updatePaymentAccounts, exports.removePaymentAccount = _a.removePaymentAccount, exports.clearAllPaymentAccounts = _a.clearAllPaymentAccounts;
38
44
  exports.default = paymentAccount.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllPaymentInstruments = exports.removePaymentInstrument = exports.updatePaymentInstrument = exports.updatePaymentInstruments = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const paymentInstrumentPayload_1 = require("./paymentInstrumentPayload");
7
8
  exports.initialState = {
8
9
  paymentInstrumentByID: {},
@@ -29,6 +30,11 @@ const paymentInstrument = (0, toolkit_1.createSlice)({
29
30
  draft.paymentInstrumentByID = {};
30
31
  },
31
32
  },
33
+ extraReducers: (builder) => {
34
+ builder.addCase(rootActions_1.clearAll, (draft) => {
35
+ draft.paymentInstrumentByID = {};
36
+ });
37
+ },
32
38
  });
33
39
  _a = paymentInstrument.actions, exports.updatePaymentInstruments = _a.updatePaymentInstruments, exports.updatePaymentInstrument = _a.updatePaymentInstrument, exports.removePaymentInstrument = _a.removePaymentInstrument, exports.clearAllPaymentInstruments = _a.clearAllPaymentInstruments;
34
40
  exports.default = paymentInstrument.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllAccountingSummary = exports.removeAccountingSummary = exports.updateAccountingSummary = 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 zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  accountingSummaryByCompanyId: {},
@@ -26,6 +27,11 @@ const accountingSummary = (0, toolkit_1.createSlice)({
26
27
  Object.assign(draft, exports.initialState);
27
28
  },
28
29
  },
30
+ extraReducers: (builder) => {
31
+ builder.addCase(rootActions_1.clearAll, (draft) => {
32
+ Object.assign(draft, exports.initialState);
33
+ });
34
+ },
29
35
  });
30
36
  _a = accountingSummary.actions, exports.updateAccountingSummary = _a.updateAccountingSummary, exports.removeAccountingSummary = _a.removeAccountingSummary, exports.clearAllAccountingSummary = _a.clearAllAccountingSummary;
31
37
  exports.default = accountingSummary.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllProjects = exports.updateProjects = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const projectPayload_1 = require("./projectPayload");
7
8
  exports.initialState = {
8
9
  projects: {},
@@ -26,6 +27,11 @@ const projectSlice = (0, toolkit_1.createSlice)({
26
27
  Object.assign(draft, exports.initialState);
27
28
  },
28
29
  },
30
+ extraReducers: (builder) => {
31
+ builder.addCase(rootActions_1.clearAll, (draft) => {
32
+ Object.assign(draft, exports.initialState);
33
+ });
34
+ },
29
35
  });
30
36
  _a = projectSlice.actions, exports.updateProjects = _a.updateProjects, exports.clearAllProjects = _a.clearAllProjects;
31
37
  exports.default = projectSlice.reducer;
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.clearAllReimbursements = exports.removeReimbursement = exports.updateReimbursementsWithBulkActionStatus = exports.updateReimbursement = exports.updateReimbursements = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const assignWith_1 = __importDefault(require("lodash/assignWith"));
10
+ const rootActions_1 = require("../../rootActions");
10
11
  const billTransactionState_1 = require("../billPay/billTransaction/billTransactionState");
11
12
  const reimbursementPayload_1 = require("./reimbursementPayload");
12
13
  exports.initialState = {
@@ -36,6 +37,11 @@ const reimbursement = (0, toolkit_1.createSlice)({
36
37
  draft.reimbursementById = {};
37
38
  },
38
39
  },
40
+ extraReducers: (builder) => {
41
+ builder.addCase(rootActions_1.clearAll, (draft) => {
42
+ draft.reimbursementById = {};
43
+ });
44
+ },
39
45
  });
40
46
  _a = reimbursement.actions, exports.updateReimbursements = _a.updateReimbursements, exports.updateReimbursement = _a.updateReimbursement, exports.updateReimbursementsWithBulkActionStatus = _a.updateReimbursementsWithBulkActionStatus, exports.removeReimbursement = _a.removeReimbursement, exports.clearAllReimbursements = _a.clearAllReimbursements;
41
47
  exports.default = reimbursement.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSectionsAccountsView = exports.updateCalculatedSectionAccountsView = exports.updateSectionAccountsView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const coaBalancePayload_1 = require("../../commonPayloadTypes/v2/coaBalancePayload");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const accountPayload_1 = require("../account/accountPayload");
8
9
  const accountGroupState_1 = require("../accountGroup/accountGroupState");
9
10
  const getNestedAccountIDHierarchyForSection_1 = require("./getNestedAccountIDHierarchyForSection");
@@ -54,6 +55,11 @@ const sectionAccountsView = (0, toolkit_1.createSlice)({
54
55
  Object.assign(draft, exports.initialState);
55
56
  },
56
57
  },
58
+ extraReducers: (builder) => {
59
+ builder.addCase(rootActions_1.clearAll, (draft) => {
60
+ Object.assign(draft, exports.initialState);
61
+ });
62
+ },
57
63
  });
58
64
  _a = sectionAccountsView.actions, exports.updateSectionAccountsView = _a.updateSectionAccountsView, exports.updateCalculatedSectionAccountsView = _a.updateCalculatedSectionAccountsView, exports.clearAllSectionsAccountsView = _a.clearAllSectionsAccountsView;
59
65
  exports.default = sectionAccountsView.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSectionsClassesViewV2 = exports.updateSectionClassesView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const coaBalancePayload_1 = require("../../commonPayloadTypes/v2/coaBalancePayload");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const classPayload_1 = require("../class/classPayload");
8
9
  const sectionClassesView_1 = require("./sectionClassesView");
9
10
  const sectionClassesViewHelper_1 = require("./sectionClassesViewHelper");
@@ -37,6 +38,11 @@ const sectionClassesViewV2 = (0, toolkit_1.createSlice)({
37
38
  Object.assign(draft, exports.initialState);
38
39
  },
39
40
  },
41
+ extraReducers: (builder) => {
42
+ builder.addCase(rootActions_1.clearAll, (draft) => {
43
+ Object.assign(draft, exports.initialState);
44
+ });
45
+ },
40
46
  });
41
47
  _a = sectionClassesViewV2.actions, exports.updateSectionClassesView = _a.updateSectionClassesView, exports.clearAllSectionsClassesViewV2 = _a.clearAllSectionsClassesViewV2;
42
48
  exports.default = sectionClassesViewV2.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSectionsProjectView = exports.updateSectionProjectView = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const coaBalancePayload_1 = require("../../commonPayloadTypes/v2/coaBalancePayload");
7
+ const rootActions_1 = require("../../rootActions");
7
8
  const accountPayload_1 = require("../account/accountPayload");
8
9
  const getNestedAccountIDHierarchyForSection_1 = require("../sectionAccountsView/getNestedAccountIDHierarchyForSection");
9
10
  const sectionProjectView_1 = require("./sectionProjectView");
@@ -47,6 +48,11 @@ const sectionProjectView = (0, toolkit_1.createSlice)({
47
48
  Object.assign(draft, exports.initialState);
48
49
  },
49
50
  },
51
+ extraReducers: (builder) => {
52
+ builder.addCase(rootActions_1.clearAll, (draft) => {
53
+ Object.assign(draft, exports.initialState);
54
+ });
55
+ },
50
56
  });
51
57
  _a = sectionProjectView.actions, exports.updateSectionProjectView = _a.updateSectionProjectView, exports.clearAllSectionsProjectView = _a.clearAllSectionsProjectView;
52
58
  exports.default = sectionProjectView.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearSnackbar = exports.closeSnackbar = exports.openSnackbar = exports.initialSnackbarState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialSnackbarState = {
7
8
  snackbarOpen: false,
8
9
  snackbarMessage: {
@@ -34,6 +35,11 @@ const snackbar = (0, toolkit_1.createSlice)({
34
35
  Object.assign(draft, exports.initialSnackbarState);
35
36
  },
36
37
  },
38
+ extraReducers: (builder) => {
39
+ builder.addCase(rootActions_1.clearAll, (draft) => {
40
+ Object.assign(draft, exports.initialSnackbarState);
41
+ });
42
+ },
37
43
  });
38
44
  _a = snackbar.actions, exports.openSnackbar = _a.openSnackbar, exports.closeSnackbar = _a.closeSnackbar, exports.clearSnackbar = _a.clearSnackbar;
39
45
  exports.default = snackbar.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSubscriptions = exports.removeSubscription = exports.updateSubscriptions = 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 zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  subscriptionsById: {},
@@ -34,6 +35,11 @@ const subscription = (0, toolkit_1.createSlice)({
34
35
  Object.assign(draft, exports.initialState);
35
36
  },
36
37
  },
38
+ extraReducers: (builder) => {
39
+ builder.addCase(rootActions_1.clearAll, (draft) => {
40
+ Object.assign(draft, exports.initialState);
41
+ });
42
+ },
37
43
  });
38
44
  _a = subscription.actions, exports.updateSubscriptions = _a.updateSubscriptions, exports.removeSubscription = _a.removeSubscription, exports.clearAllSubscriptions = _a.clearAllSubscriptions;
39
45
  exports.default = subscription.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSubscriptionAddOns = exports.removeSubscriptionAddOn = exports.updateSubscriptionAddOns = 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 zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  subscriptionAddOnsById: {},
@@ -33,6 +34,11 @@ const subscriptionAddOn = (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 = subscriptionAddOn.actions, exports.updateSubscriptionAddOns = _a.updateSubscriptionAddOns, exports.removeSubscriptionAddOn = _a.removeSubscriptionAddOn, exports.clearAllSubscriptionAddOns = _a.clearAllSubscriptionAddOns;
38
44
  exports.default = subscriptionAddOn.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSubscriptionCoupons = exports.removeSubscriptionCoupon = exports.updateSubscriptionCoupons = 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 zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  subscriptionCouponsById: {},
@@ -30,6 +31,11 @@ const subscriptionCoupon = (0, toolkit_1.createSlice)({
30
31
  Object.assign(draft, exports.initialState);
31
32
  },
32
33
  },
34
+ extraReducers: (builder) => {
35
+ builder.addCase(rootActions_1.clearAll, (draft) => {
36
+ Object.assign(draft, exports.initialState);
37
+ });
38
+ },
33
39
  });
34
40
  _a = subscriptionCoupon.actions, exports.updateSubscriptionCoupons = _a.updateSubscriptionCoupons, exports.removeSubscriptionCoupon = _a.removeSubscriptionCoupon, exports.clearAllSubscriptionCoupons = _a.clearAllSubscriptionCoupons;
35
41
  exports.default = subscriptionCoupon.reducer;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSubscriptionPlans = exports.removeSubscriptionPlan = exports.updateSubscriptionPlans = 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 zeniDayJS_1 = require("../../../zeniDayJS");
8
9
  exports.initialState = {
9
10
  subscriptionPlansById: {},
@@ -31,6 +32,11 @@ const subscriptionPlan = (0, toolkit_1.createSlice)({
31
32
  Object.assign(draft, exports.initialState);
32
33
  },
33
34
  },
35
+ extraReducers: (builder) => {
36
+ builder.addCase(rootActions_1.clearAll, (draft) => {
37
+ Object.assign(draft, exports.initialState);
38
+ });
39
+ },
34
40
  });
35
41
  _a = subscriptionPlan.actions, exports.updateSubscriptionPlans = _a.updateSubscriptionPlans, exports.removeSubscriptionPlan = _a.removeSubscriptionPlan, exports.clearAllSubscriptionPlans = _a.clearAllSubscriptionPlans;
36
42
  exports.default = subscriptionPlan.reducer;
@@ -5,6 +5,7 @@ exports.clearAllSubscriptionSummary = exports.removeSubscriptionSummary = export
5
5
  exports.toSubscriptionSummary = toSubscriptionSummary;
6
6
  const toolkit_1 = require("@reduxjs/toolkit");
7
7
  const amount_1 = require("../../../commonStateTypes/amount");
8
+ const rootActions_1 = require("../../../rootActions");
8
9
  const zeniDayJS_1 = require("../../../zeniDayJS");
9
10
  exports.initialState = {
10
11
  subscriptionSummaryById: {},
@@ -40,6 +41,11 @@ const subscriptionSummary = (0, toolkit_1.createSlice)({
40
41
  Object.assign(draft, exports.initialState);
41
42
  },
42
43
  },
44
+ extraReducers: (builder) => {
45
+ builder.addCase(rootActions_1.clearAll, (draft) => {
46
+ Object.assign(draft, exports.initialState);
47
+ });
48
+ },
43
49
  });
44
50
  _a = subscriptionSummary.actions, exports.updateSubscriptionSummaries = _a.updateSubscriptionSummaries, exports.removeSubscriptionSummary = _a.removeSubscriptionSummary, exports.clearAllSubscriptionSummary = _a.clearAllSubscriptionSummary;
45
51
  exports.default = subscriptionSummary.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllSubscriptionPaymentAccounts = exports.removeSubscriptionPaymentAccount = exports.updateSubscriptionPaymentAccounts = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const subscriptionPaymentAccountPayload_1 = require("./subscriptionPaymentAccountPayload");
7
8
  exports.initialState = {
8
9
  subscriptionPaymentAccountByID: {},
@@ -23,6 +24,11 @@ const subscriptionPaymentAccount = (0, toolkit_1.createSlice)({
23
24
  draft.subscriptionPaymentAccountByID = {};
24
25
  },
25
26
  },
27
+ extraReducers: (builder) => {
28
+ builder.addCase(rootActions_1.clearAll, (draft) => {
29
+ draft.subscriptionPaymentAccountByID = {};
30
+ });
31
+ },
26
32
  });
27
33
  _a = subscriptionPaymentAccount.actions, exports.updateSubscriptionPaymentAccounts = _a.updateSubscriptionPaymentAccounts, exports.removeSubscriptionPaymentAccount = _a.removeSubscriptionPaymentAccount, exports.clearAllSubscriptionPaymentAccounts = _a.clearAllSubscriptionPaymentAccounts;
28
34
  exports.default = subscriptionPaymentAccount.reducer;
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.clearAllTags = exports.removeTag = exports.updateTags = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const assignWith_1 = __importDefault(require("lodash/assignWith"));
10
+ const rootActions_1 = require("../../rootActions");
10
11
  const tagPayload_1 = require("./tagPayload");
11
12
  exports.initialState = {
12
13
  tagByID: {},
@@ -44,6 +45,11 @@ const tag = (0, toolkit_1.createSlice)({
44
45
  draft.tagByID = {};
45
46
  },
46
47
  },
48
+ extraReducers: (builder) => {
49
+ builder.addCase(rootActions_1.clearAll, (draft) => {
50
+ draft.tagByID = {};
51
+ });
52
+ },
47
53
  });
48
54
  _a = tag.actions, exports.updateTags = _a.updateTags, exports.removeTag = _a.removeTag, exports.clearAllTags = _a.clearAllTags;
49
55
  exports.default = tag.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllTasks = exports.setSubTaskIds = exports.appendSubTaskId = exports.removeTask = exports.updateTask = exports.updateTasks = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const taskPayload_1 = require("./taskPayload");
7
8
  exports.initialState = {
8
9
  taskByID: {},
@@ -53,6 +54,11 @@ const task = (0, toolkit_1.createSlice)({
53
54
  draft.taskByID = {};
54
55
  },
55
56
  },
57
+ extraReducers: (builder) => {
58
+ builder.addCase(rootActions_1.clearAll, (draft) => {
59
+ draft.taskByID = {};
60
+ });
61
+ },
56
62
  });
57
63
  _a = task.actions, exports.updateTasks = _a.updateTasks, exports.updateTask = _a.updateTask, exports.removeTask = _a.removeTask, exports.appendSubTaskId = _a.appendSubTaskId, exports.setSubTaskIds = _a.setSubTaskIds, exports.clearAllTasks = _a.clearAllTasks;
58
64
  exports.default = task.reducer;
@@ -50,7 +50,7 @@ export declare const toPriorityCodeType: (v: string) => "urgent" | "high" | "nor
50
50
  export declare const toPriorityCodeTypeStrict: (v?: string) => "urgent" | "high" | "normal" | "medium" | "low" | undefined;
51
51
  export type PriorityCodeType = ReturnType<typeof toPriorityCodeType>;
52
52
  export declare const ALL_TASK_STATUS_CODE: readonly ["todo", "in_progress", "on_hold", "done", "resolved"];
53
- export declare const toTaskStatusCodeType: (v: string) => "resolved" | "in_progress" | "todo" | "on_hold" | "done";
53
+ export declare const toTaskStatusCodeType: (v: string) => "in_progress" | "resolved" | "todo" | "on_hold" | "done";
54
54
  export type TaskStatusCodeType = ReturnType<typeof toTaskStatusCodeType>;
55
55
  export declare const toTaskCodeType: (v: string) => "one_time" | "recurring";
56
56
  export type TaskCodeType = NonNullable<ReturnType<typeof toTaskCodeType>>;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllTaskGroups = exports.removeTaskGroup = exports.updateTaskGroup = exports.updateTaskGroups = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const taskGroupPayload_1 = require("./taskGroupPayload");
7
8
  exports.initialState = {
8
9
  taskGroupById: {},
@@ -28,6 +29,11 @@ const taskGroup = (0, toolkit_1.createSlice)({
28
29
  draft.taskGroupById = {};
29
30
  },
30
31
  },
32
+ extraReducers: (builder) => {
33
+ builder.addCase(rootActions_1.clearAll, (draft) => {
34
+ draft.taskGroupById = {};
35
+ });
36
+ },
31
37
  });
32
38
  _a = taskGroup.actions, exports.updateTaskGroups = _a.updateTaskGroups, exports.updateTaskGroup = _a.updateTaskGroup, exports.removeTaskGroup = _a.removeTaskGroup, exports.clearAllTaskGroups = _a.clearAllTaskGroups;
33
39
  exports.default = taskGroup.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllTaskGroupTemplates = exports.updateTaskGroupTemplates = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const zeniDayJS_1 = require("../../zeniDayJS");
7
8
  exports.initialState = {
8
9
  taskGroupTemplateById: {},
@@ -27,6 +28,11 @@ const taskGroupTemplate = (0, toolkit_1.createSlice)({
27
28
  Object.assign(draft, exports.initialState);
28
29
  },
29
30
  },
31
+ extraReducers: (builder) => {
32
+ builder.addCase(rootActions_1.clearAll, (draft) => {
33
+ Object.assign(draft, exports.initialState);
34
+ });
35
+ },
30
36
  });
31
37
  _a = taskGroupTemplate.actions, exports.updateTaskGroupTemplates = _a.updateTaskGroupTemplates, exports.clearAllTaskGroupTemplates = _a.clearAllTaskGroupTemplates;
32
38
  exports.default = taskGroupTemplate.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllTaskSummary = exports.removeTaskSummary = exports.updateTaskSummary = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  exports.initialState = {
7
8
  taskSummaryById: {},
8
9
  };
@@ -27,6 +28,11 @@ const taskSummary = (0, toolkit_1.createSlice)({
27
28
  Object.assign(draft, exports.initialState);
28
29
  },
29
30
  },
31
+ extraReducers: (builder) => {
32
+ builder.addCase(rootActions_1.clearAll, (draft) => {
33
+ Object.assign(draft, exports.initialState);
34
+ });
35
+ },
30
36
  });
31
37
  _a = taskSummary.actions, exports.updateTaskSummary = _a.updateTaskSummary, exports.removeTaskSummary = _a.removeTaskSummary, exports.clearAllTaskSummary = _a.clearAllTaskSummary;
32
38
  exports.default = taskSummary.reducer;
@@ -197,9 +197,7 @@ export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWith
197
197
  }, "tenant/deleteConnectionSuccess", never, never>, deleteConnectionFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenantId: string, status: ZeniAPIStatus<Record<string, unknown>>], {
198
198
  tenantId: string;
199
199
  status: ZeniAPIStatus<Record<string, unknown>>;
200
- }, "tenant/deleteConnectionFailure", never, never>, clearAll: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[keepTenantCompanyState?: boolean | undefined], {
201
- keepTenantCompanyState: boolean;
202
- }, "tenant/clearAll", never, never>, fetchSubscriptionSummaryForTenant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenantId: string], {
200
+ }, "tenant/deleteConnectionFailure", never, never>, fetchSubscriptionSummaryForTenant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenantId: string], {
203
201
  tenantId: string;
204
202
  }, "tenant/fetchSubscriptionSummaryForTenant", never, never>, updateSubscriptionSummaryForTenantSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenantId: string, subscriptionSummary: SubscriptionSummaryPayload], {
205
203
  tenantId: string;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  var _a;
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.clearAll = exports.deleteConnectionFailure = exports.deleteConnectionSuccess = exports.deleteConnection = exports.initEmailConnectOAuthFailure = exports.initEmailConnectOAuthSuccess = exports.initEmailConnectOAuth = exports.saveConnectorCredentialsFailure = exports.saveConnectorCredentialsSuccess = exports.saveConnectorCredentials = exports.saveOAuthConnectionFailure = exports.saveOAuthConnectionSuccess = exports.saveOAuthConnection = exports.saveAPIKeyConnectionFailure = exports.saveAPIKeyConnectionSuccess = exports.saveAPIKeyConnection = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.sessionHeartbeatFailure = exports.sessionHeartbeatSuccess = exports.sendSessionHeartbeat = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = exports.sendEmailMagicLinkToUserFailure = exports.sendEmailMagicLinkToUserSuccess = exports.sendEmailMagicLinkToUser = exports.magicLinkSignInFailure = exports.magicLinkSignInSuccess = exports.doMagicLinkSignIn = exports.doSignIn = exports.updateExcludedResourcesFailure = exports.updateExcludedResourcesSuccess = exports.fetchExcludedResources = exports.updateCurrentTenant = exports.updateTenantFailure = exports.updateTenantSuccess = exports.fetchActiveTenant = exports.updateTenantsFailure = exports.updateTenantsSuccess = exports.fetchAllTenants = exports.updateTenants = exports.initialState = exports.toExternalSupportedTool = exports.toExternalIntegrationType = void 0;
8
- exports.toConnection = exports.toRoleResource = exports.resendVerifyDeviceOTPFailure = exports.resendVerifyDeviceOTPSuccess = exports.resendVerifyDeviceOTP = exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = exports.updateTreasuryVideoViewedForLoggedInUser = exports.verifyDeviceWithTwoFAFailure = exports.verifyDeviceWithTwoFASuccess = exports.verifyDeviceWithTwoFA = exports.updateTenantMasterTOSInfo = exports.updateTenantCapitalizationAccountOverride = exports.updateTenantCapitalizationOnboardingDismissed = exports.updateTenantAccountingProjectsEnabled = exports.updateTenantAccountingClassesEnabled = exports.trigger2FA = exports.resetSignInState = exports.updateReferViewedForLoggedInUser = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = exports.fetchSubscriptionSummaryForTenant = void 0;
7
+ exports.fetchSubscriptionSummaryForTenant = exports.deleteConnectionFailure = exports.deleteConnectionSuccess = exports.deleteConnection = exports.initEmailConnectOAuthFailure = exports.initEmailConnectOAuthSuccess = exports.initEmailConnectOAuth = exports.saveConnectorCredentialsFailure = exports.saveConnectorCredentialsSuccess = exports.saveConnectorCredentials = exports.saveOAuthConnectionFailure = exports.saveOAuthConnectionSuccess = exports.saveOAuthConnection = exports.saveAPIKeyConnectionFailure = exports.saveAPIKeyConnectionSuccess = exports.saveAPIKeyConnection = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.sessionHeartbeatFailure = exports.sessionHeartbeatSuccess = exports.sendSessionHeartbeat = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = exports.sendEmailMagicLinkToUserFailure = exports.sendEmailMagicLinkToUserSuccess = exports.sendEmailMagicLinkToUser = exports.magicLinkSignInFailure = exports.magicLinkSignInSuccess = exports.doMagicLinkSignIn = exports.doSignIn = exports.updateExcludedResourcesFailure = exports.updateExcludedResourcesSuccess = exports.fetchExcludedResources = exports.updateCurrentTenant = exports.updateTenantFailure = exports.updateTenantSuccess = exports.fetchActiveTenant = exports.updateTenantsFailure = exports.updateTenantsSuccess = exports.fetchAllTenants = exports.updateTenants = exports.initialState = exports.toExternalSupportedTool = exports.toExternalIntegrationType = void 0;
8
+ exports.toConnection = exports.toRoleResource = exports.resendVerifyDeviceOTPFailure = exports.resendVerifyDeviceOTPSuccess = exports.resendVerifyDeviceOTP = exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = exports.updateTreasuryVideoViewedForLoggedInUser = exports.verifyDeviceWithTwoFAFailure = exports.verifyDeviceWithTwoFASuccess = exports.verifyDeviceWithTwoFA = exports.updateTenantMasterTOSInfo = exports.updateTenantCapitalizationAccountOverride = exports.updateTenantCapitalizationOnboardingDismissed = exports.updateTenantAccountingProjectsEnabled = exports.updateTenantAccountingClassesEnabled = exports.trigger2FA = exports.resetSignInState = exports.updateReferViewedForLoggedInUser = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = void 0;
9
9
  exports.mapCapitalizableAccountsPayload = mapCapitalizableAccountsPayload;
10
10
  exports.mapConnectionsPayloadToState = mapConnectionsPayloadToState;
11
11
  const toolkit_1 = require("@reduxjs/toolkit");
@@ -14,6 +14,7 @@ const assignWith_1 = __importDefault(require("lodash/assignWith"));
14
14
  const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
15
15
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
16
16
  const timePeriod_1 = require("../../commonStateTypes/timePeriod");
17
+ const rootActions_1 = require("../../rootActions");
17
18
  const netBurnOrIncomeStoryCardSelectorTypes_1 = require("../../view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes");
18
19
  const netBurnOrIncomeStoryCardState_1 = require("../../view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState");
19
20
  const zeniDayJS_1 = require("../../zeniDayJS");
@@ -917,19 +918,19 @@ const tenant = (0, toolkit_1.createSlice)({
917
918
  draft.verifyDeviceFetchState.error = action.payload;
918
919
  draft.signInState = 'Error';
919
920
  },
920
- clearAll: {
921
- prepare(keepTenantCompanyState = true) {
922
- return { payload: { keepTenantCompanyState } };
923
- },
924
- reducer(draft, action) {
925
- if (!action.payload.keepTenantCompanyState) {
926
- Object.assign(draft, exports.initialState);
927
- }
928
- },
929
- },
921
+ },
922
+ extraReducers: (builder) => {
923
+ builder.addCase(rootActions_1.clearAll, (draft, action) => {
924
+ // `!== false` rather than `!`: the flag is required at the type level, but an
925
+ // untyped or stale-build caller doing `clearAll()` would send `undefined`,
926
+ // and defaulting that to "wipe" is the dangerous direction. Keep is safe.
927
+ if (action.payload.keepTenantCompanyState === false) {
928
+ Object.assign(draft, exports.initialState);
929
+ }
930
+ });
930
931
  },
931
932
  });
932
- _a = tenant.actions, exports.updateTenants = _a.updateTenants, exports.fetchAllTenants = _a.fetchAllTenants, exports.updateTenantsSuccess = _a.updateTenantsSuccess, exports.updateTenantsFailure = _a.updateTenantsFailure, exports.fetchActiveTenant = _a.fetchActiveTenant, exports.updateTenantSuccess = _a.updateTenantSuccess, exports.updateTenantFailure = _a.updateTenantFailure, exports.updateCurrentTenant = _a.updateCurrentTenant, exports.fetchExcludedResources = _a.fetchExcludedResources, exports.updateExcludedResourcesSuccess = _a.updateExcludedResourcesSuccess, exports.updateExcludedResourcesFailure = _a.updateExcludedResourcesFailure, exports.doSignIn = _a.doSignIn, exports.doMagicLinkSignIn = _a.doMagicLinkSignIn, exports.magicLinkSignInSuccess = _a.magicLinkSignInSuccess, exports.magicLinkSignInFailure = _a.magicLinkSignInFailure, exports.sendEmailMagicLinkToUser = _a.sendEmailMagicLinkToUser, exports.sendEmailMagicLinkToUserSuccess = _a.sendEmailMagicLinkToUserSuccess, exports.sendEmailMagicLinkToUserFailure = _a.sendEmailMagicLinkToUserFailure, exports.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, exports.sendSessionHeartbeat = _a.sendSessionHeartbeat, exports.sessionHeartbeatSuccess = _a.sessionHeartbeatSuccess, exports.sessionHeartbeatFailure = _a.sessionHeartbeatFailure, exports.updateLoggedInUser = _a.updateLoggedInUser, exports.fetchExternalConnections = _a.fetchExternalConnections, exports.saveExternalConnection = _a.saveExternalConnection, exports.saveExternalConnectionSuccess = _a.saveExternalConnectionSuccess, exports.saveExternalConnectionFailure = _a.saveExternalConnectionFailure, exports.fetchExternalConnectionsFailure = _a.fetchExternalConnectionsFailure, exports.fetchExternalConnectionsSuccess = _a.fetchExternalConnectionsSuccess, exports.saveAPIKeyConnection = _a.saveAPIKeyConnection, exports.saveAPIKeyConnectionSuccess = _a.saveAPIKeyConnectionSuccess, exports.saveAPIKeyConnectionFailure = _a.saveAPIKeyConnectionFailure, exports.saveOAuthConnection = _a.saveOAuthConnection, exports.saveOAuthConnectionSuccess = _a.saveOAuthConnectionSuccess, exports.saveOAuthConnectionFailure = _a.saveOAuthConnectionFailure, exports.saveConnectorCredentials = _a.saveConnectorCredentials, exports.saveConnectorCredentialsSuccess = _a.saveConnectorCredentialsSuccess, exports.saveConnectorCredentialsFailure = _a.saveConnectorCredentialsFailure, exports.initEmailConnectOAuth = _a.initEmailConnectOAuth, exports.initEmailConnectOAuthSuccess = _a.initEmailConnectOAuthSuccess, exports.initEmailConnectOAuthFailure = _a.initEmailConnectOAuthFailure, exports.deleteConnection = _a.deleteConnection, exports.deleteConnectionSuccess = _a.deleteConnectionSuccess, exports.deleteConnectionFailure = _a.deleteConnectionFailure, exports.clearAll = _a.clearAll, exports.fetchSubscriptionSummaryForTenant = _a.fetchSubscriptionSummaryForTenant, exports.updateSubscriptionSummaryForTenantSuccess = _a.updateSubscriptionSummaryForTenantSuccess, exports.updateSubscriptionSummaryForTenantFailure = _a.updateSubscriptionSummaryForTenantFailure, exports.updateOnboardingTenants = _a.updateOnboardingTenants, exports.removeOnboardingTenant = _a.removeOnboardingTenant, exports.updateTenantReimbursementInfo = _a.updateTenantReimbursementInfo, exports.updateReferViewedForLoggedInUser = _a.updateReferViewedForLoggedInUser, exports.resetSignInState = _a.resetSignInState, exports.trigger2FA = _a.trigger2FA, exports.updateTenantAccountingClassesEnabled = _a.updateTenantAccountingClassesEnabled, exports.updateTenantAccountingProjectsEnabled = _a.updateTenantAccountingProjectsEnabled, exports.updateTenantCapitalizationOnboardingDismissed = _a.updateTenantCapitalizationOnboardingDismissed, exports.updateTenantCapitalizationAccountOverride = _a.updateTenantCapitalizationAccountOverride, exports.updateTenantMasterTOSInfo = _a.updateTenantMasterTOSInfo, exports.verifyDeviceWithTwoFA = _a.verifyDeviceWithTwoFA, exports.verifyDeviceWithTwoFASuccess = _a.verifyDeviceWithTwoFASuccess, exports.verifyDeviceWithTwoFAFailure = _a.verifyDeviceWithTwoFAFailure, exports.updateTreasuryVideoViewedForLoggedInUser = _a.updateTreasuryVideoViewedForLoggedInUser, exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = _a.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser, exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = _a.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser, exports.resendVerifyDeviceOTP = _a.resendVerifyDeviceOTP, exports.resendVerifyDeviceOTPSuccess = _a.resendVerifyDeviceOTPSuccess, exports.resendVerifyDeviceOTPFailure = _a.resendVerifyDeviceOTPFailure;
933
+ _a = tenant.actions, exports.updateTenants = _a.updateTenants, exports.fetchAllTenants = _a.fetchAllTenants, exports.updateTenantsSuccess = _a.updateTenantsSuccess, exports.updateTenantsFailure = _a.updateTenantsFailure, exports.fetchActiveTenant = _a.fetchActiveTenant, exports.updateTenantSuccess = _a.updateTenantSuccess, exports.updateTenantFailure = _a.updateTenantFailure, exports.updateCurrentTenant = _a.updateCurrentTenant, exports.fetchExcludedResources = _a.fetchExcludedResources, exports.updateExcludedResourcesSuccess = _a.updateExcludedResourcesSuccess, exports.updateExcludedResourcesFailure = _a.updateExcludedResourcesFailure, exports.doSignIn = _a.doSignIn, exports.doMagicLinkSignIn = _a.doMagicLinkSignIn, exports.magicLinkSignInSuccess = _a.magicLinkSignInSuccess, exports.magicLinkSignInFailure = _a.magicLinkSignInFailure, exports.sendEmailMagicLinkToUser = _a.sendEmailMagicLinkToUser, exports.sendEmailMagicLinkToUserSuccess = _a.sendEmailMagicLinkToUserSuccess, exports.sendEmailMagicLinkToUserFailure = _a.sendEmailMagicLinkToUserFailure, exports.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, exports.sendSessionHeartbeat = _a.sendSessionHeartbeat, exports.sessionHeartbeatSuccess = _a.sessionHeartbeatSuccess, exports.sessionHeartbeatFailure = _a.sessionHeartbeatFailure, exports.updateLoggedInUser = _a.updateLoggedInUser, exports.fetchExternalConnections = _a.fetchExternalConnections, exports.saveExternalConnection = _a.saveExternalConnection, exports.saveExternalConnectionSuccess = _a.saveExternalConnectionSuccess, exports.saveExternalConnectionFailure = _a.saveExternalConnectionFailure, exports.fetchExternalConnectionsFailure = _a.fetchExternalConnectionsFailure, exports.fetchExternalConnectionsSuccess = _a.fetchExternalConnectionsSuccess, exports.saveAPIKeyConnection = _a.saveAPIKeyConnection, exports.saveAPIKeyConnectionSuccess = _a.saveAPIKeyConnectionSuccess, exports.saveAPIKeyConnectionFailure = _a.saveAPIKeyConnectionFailure, exports.saveOAuthConnection = _a.saveOAuthConnection, exports.saveOAuthConnectionSuccess = _a.saveOAuthConnectionSuccess, exports.saveOAuthConnectionFailure = _a.saveOAuthConnectionFailure, exports.saveConnectorCredentials = _a.saveConnectorCredentials, exports.saveConnectorCredentialsSuccess = _a.saveConnectorCredentialsSuccess, exports.saveConnectorCredentialsFailure = _a.saveConnectorCredentialsFailure, exports.initEmailConnectOAuth = _a.initEmailConnectOAuth, exports.initEmailConnectOAuthSuccess = _a.initEmailConnectOAuthSuccess, exports.initEmailConnectOAuthFailure = _a.initEmailConnectOAuthFailure, exports.deleteConnection = _a.deleteConnection, exports.deleteConnectionSuccess = _a.deleteConnectionSuccess, exports.deleteConnectionFailure = _a.deleteConnectionFailure, exports.fetchSubscriptionSummaryForTenant = _a.fetchSubscriptionSummaryForTenant, exports.updateSubscriptionSummaryForTenantSuccess = _a.updateSubscriptionSummaryForTenantSuccess, exports.updateSubscriptionSummaryForTenantFailure = _a.updateSubscriptionSummaryForTenantFailure, exports.updateOnboardingTenants = _a.updateOnboardingTenants, exports.removeOnboardingTenant = _a.removeOnboardingTenant, exports.updateTenantReimbursementInfo = _a.updateTenantReimbursementInfo, exports.updateReferViewedForLoggedInUser = _a.updateReferViewedForLoggedInUser, exports.resetSignInState = _a.resetSignInState, exports.trigger2FA = _a.trigger2FA, exports.updateTenantAccountingClassesEnabled = _a.updateTenantAccountingClassesEnabled, exports.updateTenantAccountingProjectsEnabled = _a.updateTenantAccountingProjectsEnabled, exports.updateTenantCapitalizationOnboardingDismissed = _a.updateTenantCapitalizationOnboardingDismissed, exports.updateTenantCapitalizationAccountOverride = _a.updateTenantCapitalizationAccountOverride, exports.updateTenantMasterTOSInfo = _a.updateTenantMasterTOSInfo, exports.verifyDeviceWithTwoFA = _a.verifyDeviceWithTwoFA, exports.verifyDeviceWithTwoFASuccess = _a.verifyDeviceWithTwoFASuccess, exports.verifyDeviceWithTwoFAFailure = _a.verifyDeviceWithTwoFAFailure, exports.updateTreasuryVideoViewedForLoggedInUser = _a.updateTreasuryVideoViewedForLoggedInUser, exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = _a.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser, exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = _a.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser, exports.resendVerifyDeviceOTP = _a.resendVerifyDeviceOTP, exports.resendVerifyDeviceOTPSuccess = _a.resendVerifyDeviceOTPSuccess, exports.resendVerifyDeviceOTPFailure = _a.resendVerifyDeviceOTPFailure;
933
934
  exports.default = tenant.reducer;
934
935
  /**
935
936
  * Applies treasury promo user fields from the tenants API user block when present.
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllToastNotifications = exports.pushToastNotification = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const zeniDayJS_1 = require("../../zeniDayJS");
7
8
  const toastNotificationPayload_1 = require("./toastNotificationPayload");
8
9
  exports.initialState = {
@@ -36,6 +37,11 @@ const toastNotification = (0, toolkit_1.createSlice)({
36
37
  Object.assign(draft, exports.initialState);
37
38
  },
38
39
  },
40
+ extraReducers: (builder) => {
41
+ builder.addCase(rootActions_1.clearAll, (draft) => {
42
+ Object.assign(draft, exports.initialState);
43
+ });
44
+ },
39
45
  });
40
46
  _a = toastNotification.actions, exports.pushToastNotification = _a.pushToastNotification, exports.clearAllToastNotifications = _a.clearAllToastNotifications;
41
47
  exports.default = toastNotification.reducer;
@@ -6,7 +6,7 @@ export declare const TRANSACTION_DIRECTION: readonly ["payment", "deposit"];
6
6
  export declare const toTransactionDirectionType: (v: string) => "payment" | "deposit";
7
7
  export type TransactionDirectionType = ReturnType<typeof toTransactionDirectionType>;
8
8
  export declare const MERCHANT_TYPE: readonly ["customer", "vendor", "none"];
9
- export declare const toMerchantType: (v: string) => "vendor" | "none" | "customer";
9
+ export declare const toMerchantType: (v: string) => "vendor" | "customer" | "none";
10
10
  export type MerchantType = ReturnType<typeof toMerchantType>;
11
11
  export interface MatchedTransaction extends BaseTransaction {
12
12
  isTransactionChecked: boolean;
@@ -3,8 +3,8 @@ export type TypeOfTransactionType = ReturnType<typeof toTypeOfTransaction>;
3
3
  declare const toCustomerTransactionType: (v: string) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge";
4
4
  export declare const toCustomerTransactionTypeStrict: (v?: string) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | undefined;
5
5
  export type CustomerTransactionType = ReturnType<typeof toCustomerTransactionType>;
6
- declare const toVendorTransactionType: (v: string) => "bill" | "expense" | "check" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit";
7
- export declare const toVendorTransactionTypeStrict: (v?: string) => "bill" | "expense" | "check" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit" | undefined;
6
+ declare const toVendorTransactionType: (v: string) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit";
7
+ export declare const toVendorTransactionTypeStrict: (v?: string) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit" | undefined;
8
8
  export type VendorTransactionType = ReturnType<typeof toVendorTransactionType>;
9
9
  declare const toEmployeeTransactionType: (v: string) => never;
10
10
  export type EmployeeTransactionType = ReturnType<typeof toEmployeeTransactionType>;
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.clearAllTransactions = exports.updateTransactionIsMiscategorized = exports.removeTransactionAttachment = exports.removeTransactionCategorization = exports.removeTransaction = exports.updateMultipleReconcileTransactions = exports.updateReconcileTransactions = exports.updateScheduleTransactions = exports.updateTransaction = exports.updateTransactions = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const assignWith_1 = __importDefault(require("lodash/assignWith"));
10
+ const rootActions_1 = require("../../rootActions");
10
11
  const jeSchedulesTypes_1 = require("../jeSchedules/jeSchedulesTypes");
11
12
  const reconciliationTransactionPayloads_1 = require("./payloadTypes/reconciliationTransactionPayloads");
12
13
  const scheduleTransactionPayload_1 = require("./payloadTypes/scheduleTransactionPayload");
@@ -132,6 +133,13 @@ const transaction = (0, toolkit_1.createSlice)({
132
133
  draft.scheduleTransactionById = {};
133
134
  },
134
135
  },
136
+ extraReducers: (builder) => {
137
+ builder.addCase(rootActions_1.clearAll, (draft) => {
138
+ // Full reset rather than mirroring clearAllTransactions, which leaves
139
+ // reconcileTransactionById holding the previous tenant's rows.
140
+ Object.assign(draft, exports.initialState);
141
+ });
142
+ },
135
143
  });
136
144
  _a = transaction.actions, exports.updateTransactions = _a.updateTransactions, exports.updateTransaction = _a.updateTransaction, exports.updateScheduleTransactions = _a.updateScheduleTransactions, exports.updateReconcileTransactions = _a.updateReconcileTransactions, exports.updateMultipleReconcileTransactions = _a.updateMultipleReconcileTransactions, exports.removeTransaction = _a.removeTransaction, exports.removeTransactionCategorization = _a.removeTransactionCategorization, exports.removeTransactionAttachment = _a.removeTransactionAttachment, exports.updateTransactionIsMiscategorized = _a.updateTransactionIsMiscategorized, exports.clearAllTransactions = _a.clearAllTransactions;
137
145
  exports.default = transaction.reducer;
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllTransactionActivityLogs = exports.updateTransactionActivityLogs = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
+ const rootActions_1 = require("../../rootActions");
6
7
  const transactionActivityLogPayload_1 = require("./transactionActivityLogPayload");
7
8
  exports.initialState = {
8
9
  transactionActivityLogById: {},
@@ -22,6 +23,11 @@ const transactionActivityLog = (0, toolkit_1.createSlice)({
22
23
  draft.transactionActivityLogById = {};
23
24
  },
24
25
  },
26
+ extraReducers: (builder) => {
27
+ builder.addCase(rootActions_1.clearAll, (draft) => {
28
+ draft.transactionActivityLogById = {};
29
+ });
30
+ },
25
31
  });
26
32
  _a = transactionActivityLog.actions, exports.updateTransactionActivityLogs = _a.updateTransactionActivityLogs, exports.clearAllTransactionActivityLogs = _a.clearAllTransactionActivityLogs;
27
33
  exports.default = transactionActivityLog.reducer;